Файл: archive_01122016_1136/public_html/taksi/del.php
Строк: 20
<?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 taksists WHERE id_taksi='$myrow[id]'",$db);
////////////////////////////
$avto=mysql_num_rows($b);
if($avto>=1){
While($best = mysql_fetch_array($b))
{
$baa = mysql_query("SELECT * FROM userlist WHERE id='$best[id]'",$db);
$bbb = mysql_fetch_array($baa);
echo"<a href="delete.php?&id=$best[id]&user=$user&pass=$pass">$bbb[user]</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");
}
?>