refactor: OOP code movements started :)

This commit is contained in:
Martin Ambrus
2017-10-25 13:38:38 +02:00
parent ab461e5945
commit 30d3b9c4fa
20 changed files with 484 additions and 76 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ $search = $_SESSION['search'];
echo "<tr><td class=\"ra \" >";
}
echo $i.".</td><td class=\"pla \" >";
if($ranking[$i]['access'] > 2){
if(isset($ranking[$i]['access']) && $ranking[$i]['access'] > 2){
echo"<u><a href=\"spieler.php?uid=".$ranking[$i]['userid']."\">".$ranking[$i]['username']."</a></u>";
} else {
echo"<a href=\"spieler.php?uid=".$ranking[$i]['userid']."\">".$ranking[$i]['username']."</a>";