Вход Регистрация
Файл: coliseum/apply.php
Строк: 13
<?
include_once '../core/system.php';
echo 
only_reg();
echo 
ban();
echo 
blok();
$header 'Очередь';
include_once 
'../core/head.php';
$req mysql_query("SELECT * from `coliseum` where `usr` = '$user[id]' and `fight`=''");
$avtomysql_num_rows($req);
if(
$avto>0){
header("Location: /coliseum/");
$_SESSION['err'] = 'Вы уже записаны!';
exit();
}

mysql_query("INSERT INTO `coliseum` SET `usr` = '$user[id]'");
header("Location: /coliseum/");
$_SESSION['message'] = 'Заявка принята!';
exit();

echo
"</div>";
include_once 
'../core/foot.php';
?>
Онлайн: 3
Реклама