Fixed mysql_* calls
Updated skin Fixed minor bugs in shipyard pages display Fixed various bugs in legacy fleet pages source code. Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
parent
be8c6a6629
commit
cfeb6aca6d
68 changed files with 1561 additions and 1451 deletions
|
|
@ -50,7 +50,7 @@ require_once dirname(__FILE__) .'/common.php';
|
|||
$CanDestroy = $CurrentPlanet[$resource[213]] + $CurrentPlanet[$resource[214]];
|
||||
|
||||
$maxfleet = doquery("SELECT * FROM {{table}} WHERE `fleet_owner` = '". $user['id'] ."';", 'fleets');
|
||||
$maxfleet_count = mysql_num_rows($maxfleet);
|
||||
$maxfleet_count = $maxfleet->rowCount();
|
||||
|
||||
CheckPlanetUsedFields($CurrentPlanet);
|
||||
CheckPlanetUsedFields($lunarow);
|
||||
|
|
|
|||
Loading…
Reference in a new issue