mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-11 15:16:08 +00:00
update automation
This commit is contained in:
@@ -3833,6 +3833,7 @@ $crannyimg = "<img src=\"".GP_LOCATE."img/g/g23.gif\" height=\"20\" width=\"15\"
|
||||
global $database, $ranking;
|
||||
$users = "SELECT * FROM " . TB_PREFIX . "users WHERE tribe!=0 AND tribe!=4 AND tribe!=5";
|
||||
$array = $database->query_return($users);
|
||||
if(mysql_num_rows(mysql_query($users)) > 0){
|
||||
$ranking->procRankArray();
|
||||
foreach($array as $session){
|
||||
$oldrank = $ranking->searchRank($session['username'], "username");
|
||||
@@ -3883,6 +3884,7 @@ $crannyimg = "<img src=\"".GP_LOCATE."img/g/g23.gif\" height=\"20\" width=\"15\"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
$automation = new Automation;
|
||||
|
||||
Reference in New Issue
Block a user