Файл: anibiliwar.ru/Tchat.php
Строк: 15
<?
include './system/common.php';
include './system/functions.php';
include './system/user.php';
if(!$user['access']== 2) {
header('location: /');
exit;
}
$title = 'Очистить чат';
include './system/h.php';
if(isset($_GET['clear'])){
$yes = mysql_query('TRUNCATE `chat`');
}
?>Вы действительно хотите очистить чат:<br/> <a href='?clear'>Да</a> / <a href='/adm/'> Нет</a>
<div class='mini-line'></div><div class='menuList'>
<a href='/adm/'><img src='/images/icon/arrow_b.png' alt='*'> В админку</a></div>
<?
include './system/f.php';
?>