Файл: intro/stat_game_loto.php
Строк: 52
<? include "header.php"; ?>
<center><h4><font face="Verdana" color="maroon">История игр игрока:</font><font color=#7C87C2> </font><font color="red"><b><? echo $user; ?></b></font></h4>
<table border style="BORDER-COLLAPSE: collapse" cellspacing=0 cellpadding=3>
<tr><td class=text1 bgcolor="#CC0000"><b><font color="white">№</font></b></td>
<td class=text1 bgcolor="#CC0000"><b><font color="white">Название игры</font></b></td>
<td class=text1 bgcolor="#CC0000"><b><font color="white">Дата</font></b></td>
<td class=text1 bgcolor="#CC0000"><b><font color="white">Время</font></b></td>
<td class=text1 bgcolor="#CC0000"><b><font color="white">Логин</font></b></td>
<td class=text1 bgcolor="#CC0000"><b><font color="white">Валюта</font></b></td>
<td class=text1 bgcolor="#CC0000"><b><font color="white">Ставка</font></b></td>
<td class=text1 bgcolor="#CC0000"><b><font color="white">Выигрыш</font></b></td></tr>
<?
$lstcount =100;
$result=mysql_query("select * from stat_game_loto WHERE login ='$user' ");
$strokinbase = mysql_num_rows($result);
If ($lst == "") { $lst = "1"; }
$lfrom = (integer) $lst * $lstcount - $lstcount;
$lto = (integer) $lst * $lstcount;
If ($lto > $strokinbase) { $lto = $strokinbase; }
for ($i = $lfrom; $i < $lto; $i++) {
$row=mysql_fetch_array(mysql_query("SELECT * FROM stat_game_loto WHERE login ='$user' LIMIT $i , $strokinbase"));
echo "
<tr><td class=text1>$row[0]</td><td class=text1>$row[8]</td><td class=text1>$row[1]</td><td class=text1>$row[2]</td><td class=text1>$row[3]</td><td class=text1>$row[4]</td><td class=text1>$row[10]</td><td class=text1>$row[9]</td></tr>
";
}
?>
</table>
<?
for ($c = 1; $c <= ceil ($strokinbase / $lstcount); $c++) {
If ($lst == $c) {
echo "<font size=2><a href='?user=$user&lst=$c'>[$c]</a></font>";
}
Else
{
echo "<font size=2><a href='?user=$user&lst=$c'>$c</a></font>";
}
If ($c <> ceil($strokinbase / $lstcount)) {
echo " ";
}
}
?>
</center>
<? include "footer.php"; ?>