TABLE_RANK_PLAYER_FLEET
Database MySQL Error
ErrNo:1146
Query:
SELECT max(datadate) FROM TABLE_RANK_PLAYER_FLEET WHERE player='Vice Artemis'
Error:
Table 'ogame.table_rank_player_fleet' doesn't exist
function get_spies_string($position,$texte="<color=red>E</color>"){ // Renvoi le lien vers le popup qui affiche les espionnages fait sur cette planete
global $db;
list($galaxy,$system,$row)=get_coord($position);
$report_spy = 0;
$request = "select id_spy from ".TABLE_PARSEDSPY." where active = '1' and coordinates = '$galaxy:$system:$row'";
if ($db->sql_numrows($result_2) > 0)
$report_spy = $db->sql_numrows($result_2);
if ($report_spy > 0) $spy = " <A HREF=\'#\' onClick=\"window.open(\'index.php?action=show_reportspy&galaxy=$galaxy&system=$system&row=$row\',\'_blank\',\'width=640, height=480, toolbar=0, location=0, directories=0, status=0, scrollbars=1, resizable=1, copyhistory=0, menuBar=0\');return(false)\"><i>$texte</i></A>";
else $spy = "";
return $spy;
function get_spies_string($position,$texte="<color=red>E</color>"){ // Renvoi le lien vers le popup qui affiche les espionnages fait sur cette planete
global $db,$result_2;
list($galaxy,$system,$row)=get_coord($position);
$report_spy = 0;
$request = "select id_spy from ".TABLE_PARSEDSPY." where active = '1' and coordinates = '$galaxy:$system:$row'";
if ($db->sql_numrows($result_2) > 0)
$report_spy = $db->sql_numrows($result_2);
if ($report_spy > 0) $spy = " <A HREF=\'#\' onClick=\"window.open(\'index.php?action=show_reportspy&galaxy=$galaxy&system=$system&row=$row\',\'_blank\',\'width=640, height=480, toolbar=0, location=0, directories=0, status=0, scrollbars=1, resizable=1, copyhistory=0, menuBar=0\');return(false)\"><i>$texte</i></A>";
else $spy = "";
return $spy;
// Création du BBCode pour les statistiques
function remove_html($text){
return ereg_replace("<[^>]*>","",$text);
}
function get_bbcode_footer(){
global $version,$lang;
$foot = sprintf($lang['qms_details_bbcode_footer'],$version,date($lang['qms_format_full'], time()))."\n";
return $foot;
// Création du BBCode pour les statistiques
function remove_html($text){
return preg_replace("#<[^>]*>#","",$text);
}
function get_bbcode_footer(){
global $version,$lang;
$foot = sprintf($lang['qms_details_bbcode_footer'],$version,date($lang['qms_format_full'], time()))."\n";
return $foot;
home_empire.php