Вход Регистрация
Файл: btwars.ru/Tmail.php
Строк: 21
<?
    
    
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>
 
<?

  
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';
  
?>
Онлайн: 2
Реклама