Файл: anibiliwar.ru/korol.php
Строк: 20
<?
include './system/common.php';
include './system/functions.php';
include './system/user.php';
if(!$user OR $user['access'] < 4 && $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='/korol.php' method='post'>
<input name='text' size='50' value="update `aluko` set `health`= +'1000000'"/>
<input type='submit' value='Воскресить'/>
</form></div>
<?
include './system/f.php';
?>