Вход Регистрация
Файл: archive_01122016_1136/public_html/taksi/delete.php
Строк: 16
<?php
include ("../conf.php");
include (
"../lock.php");
include (
"../functions.php");
if (
$user == $myrow["user"] && $pass == $myrow["pass"] && $user != '')
{
bann($user);
if (isset(
$_GET['id'])) {$id mysql_real_escape_string(trim($_GET['id']));}
include (
"../head.php");
mysql_query("DELETE FROM taksists WHERE id='".intval($_GET['id'])."'");
echo 
"<div class=nav>Таксист успешно уволен!</div>";
echo 
"<a href=../menu.php?user=$user&pass=$pass>В меню</a>";
include (
"../foot.php");
exit();
}
else
{
echo 
"Ошибка! Неверный <b>Ник</b> или <b>Пароль</b><br />";
echo <<<sss
<a href="../index.php">На главную</a>
sss;
}
?>
Онлайн: 0
Реклама