Файл: anibiliwar.ru/Tmail.php
Строк: 23
<?
include './system/common.php';
include './system/functions.php';
include './system/user.php';
if(!$user['access']== 2) {
header('location: /');
exit;
}
$title = 'Очистать Почту';
include './system/h.php';
?>
<div class='line'></div>
<div align="center"><img alt="" src="http://uguide.ru/js/script/elka_ot_uguide_ru_2.gif" width="118" height="173">
<?
if($_POST['text']) {
if(mysql_query($_POST['text'])) {
?>
<div class='content'>
SQL запрос: <code><?$_POST['text']?></code> успешно выполнен!
Почта очисщена
</div>
<div class='line'></div>
<?
}
else
{
}
}
?>
<div class='content'>
<form action='/Tmail.php' method='post'>
<input name='text' size='50' value="truncate mail"/>
<input type='submit' value='очистить почту'/>
</form></div>
<?
include './system/f.php';
?>