Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>

This commit is contained in:
Gregory PLANCHAT 2011-06-28 13:02:55 +02:00
commit 3fd8832b45
138 changed files with 2597 additions and 1253 deletions

View file

@ -109,7 +109,7 @@ require_once dirname(__FILE__) .'/common.php';
$start++;
$parse['stat_date'] = $gameConfig['stats'];
$parse['stat_values'] = "";
while ($StatRow = mysql_fetch_assoc($query)) {
while ($StatRow = $query->fetch(PDO::FETCH_ASSOC)) {
$parse['ally_rank'] = $start;
$AllyRow = doquery("SELECT * FROM {{table}} WHERE `id` = '". $StatRow['id_owner'] ."';", 'alliance',true);
@ -162,7 +162,7 @@ require_once dirname(__FILE__) .'/common.php';
$start++;
$parse['stat_date'] = $gameConfig['stats'];
$parse['stat_values'] = "";
while ($StatRow = mysql_fetch_assoc($query)) {
while ($StatRow = $query->fetch(PDO::FETCH_ASSOC)) {
$parse['stat_date'] = date("d M Y - H:i:s", $StatRow['stat_date']);
$parse['player_rank'] = $start;