Файл: archive_01122016_1136/public_html/taksi/taksi.php
Строк: 21
<?php
include ("../conf.php");
include ("../lock.php");
include ("../functions.php");
if ($user == $myrow["user"] && $pass == $myrow["pass"] && $user != '')
{
bann($user);
mysql_query("DELETE FROM bann WHERE time<".time());
include ("../head.php");
$b = mysql_query("SELECT * FROM taksi ORDER BY users*1 DESC LIMIT 0, 15");
////////////////////////////
$avto=mysql_num_rows($b);
if($avto>=1){
While($best = mysql_fetch_array($b))
{
echo '<a class="url" href="../taksi.php?user='.$user.'&pass='.$pass.'&&id='.$best[id].'"> '.$best[name].'</a>';
}
}else{
echo"<b>Нет Великих</b><br/>";
}
echo '</div><a class="url" href="../menu.php?user='.$user.'&pass='.$pass.'"> В меню</a>';
sss;
include ("../foot.php");
exit();
}
else
{
include ("../head.php");
echo "<div class='nav'>";
echo "Ошибка! <br />Неверный <b>Ник</b> или <b>Пароль</b>!<br />";
echo "</div>";
echo <<<sss
<div class='nav'>
<a href="../index.php">На главную</a>
</div>
sss;
include ("../foot.php");
}
?>