Trying to fix this monstrosity #1

This commit is contained in:
Domen Kajdič
2016-09-13 15:38:14 +02:00
parent 0e4b22d99f
commit 2cf2f3c343
22 changed files with 969 additions and 4733 deletions
+2 -2
View File
@@ -111,7 +111,7 @@ $query2 = "SELECT
//$query2;
$result2 = mysql_query($query2) or die(mysql_error());
$result2 = mysqli_query($GLOBALS['link'],$query2) or die(mysqli_error());
$targetalliance = array();
$neutralarray = array();
@@ -129,7 +129,7 @@ $map_js ='';
$map_gen='';
$map_content='';
while ($donnees = mysql_fetch_assoc($result2)){
while ($donnees = mysqli_fetch_assoc($result2)){
$targetalliance=$donnees["aliance_id"];
$friendarray=$database->getAllianceAlly($donnees["aliance_id"],1);