include_once('_nahore2.php'); ?> $ob="nazev"; if ($TEXTS['lang']=='en') $ob="nazev_en"; $vysledek = MySQL_Query("SELECT * FROM $db_table_2 ORDER BY id_hra DESC LIMIT 0,15", $spojeni) or die ($error_db_2.mysql_error()); while ($zaznam = MySQL_Fetch_Row($vysledek)): ?>
$id_hra=$zaznam[0]; ?>
$vysledek10 = MySQL_Query("SELECT * FROM $db_table_3 WHERE id_hra=".$id_hra." ORDER BY rand();", $spojeni) or die ($error_db_2.mysql_error());
$zaznam10 = MySQL_Fetch_Row($vysledek10);
if ($zaznam10[0]<>'') { //pokud jsou nejake screenshoty
echo("");
} else {
echo("");
}
?>
$vysledek11 = MySQL_Query("SELECT * FROM $db_table_2 WHERE id_hra=".$id_hra." LIMIT 0,1;", $spojeni) or die ($error_db_2.mysql_error());
$zaznam11 = MySQL_Fetch_Row($vysledek11);
?>
echo($TEXTS["hrahodnoceninase"]); ?>:
echo("$zaznam11[3]"); ?>%
|
if (($zaznam11[6]<>'')&&($TEXTS['lang']<>'en')) { //popis cz ?>
echo("".$TEXTS["hrapopis"].": ".$zaznam11[6]." \n");
}
if (($zaznam11[9]<>'')&&($TEXTS['lang']=='en')) { //popis en
?>
echo("".$TEXTS["hrapopis"].": ".$zaznam11[9]." \n");
}
?>
|
Info
if (($zaznam11[7]<>'')&&($zaznam11[7]>0)) { //velikost
?>
echo("".$TEXTS["gamevelikost"].": ".human_file_size($zaznam11[7])." \n");
}
if ($zaznam11[11]<>'') { //rok
?>
echo("".$TEXTS["hrarok"].": $zaznam11[11] \n");
}
if ($zaznam11[12]<>'') { //výrobce
?>
echo("".$TEXTS["hravyrobce"].": $zaznam11[12] \n");
}
//lang
?>
$vysledek12 = MySQL_Query("SELECT $db_table_7.* FROM $db_table_7,$db_table_8 WHERE $db_table_8.id_hra=$id_hra AND $db_table_8.id_lang=$db_table_7.id_lang", $spojeni) or die ($error_db_2.mysql_error());
echo("".$TEXTS["hralang"].": ");
while ($zaznam12 = MySQL_Fetch_Row($vysledek12)):
if ($TEXTS['lang']=='en') echo($zaznam12[2]." ");
if ($TEXTS['lang']<>'en') echo($zaznam12[1]." ");
endwhile;
echo(" \n");
//kompatibilita
?>
$vysledek12 = MySQL_Query("SELECT $db_table_9.* FROM $db_table_9,$db_table_10 WHERE $db_table_10.id_hra=$id_hra AND $db_table_9.id_comp=$db_table_10.id_comp", $spojeni) or die ($error_db_2.mysql_error());
echo("".$TEXTS["hrakompatibilita"].": ");
while ($zaznam12 = MySQL_Fetch_Row($vysledek12)):
if ($TEXTS['lang']=='en') echo($zaznam12[2]." ");
if ($TEXTS['lang']<>'en') echo($zaznam12[1]." ");
endwhile;
echo(" \n");
echo(" |