File size: 744B
<?
require_once '../core/system.php';
echo admin();
$header = 'Почта';
require_once H.'core/head.php';
switch($act) {
case 'ok':
$id = check($_POST['id']);
if($id==1 and $user['prava']<5){header("Location: /"); exit;}
if($id==500 and $user['prava']<5){header("Location: /"); exit;}
header("Location: amail2.php?id=$id");
break;
default;
echo "<div class='player'><form method='post' action='?act=ok'>Введите id:
<input class='text-area' type='text' name='id' />
<input class='inpc-ar form-submit' type='submit' value='Далее'>
</form></div>";
echo "<div class='line'></div>";
echo "<div class='but-list'><a href='/adm_root/'><img src='/images/icon/r.png'>Админ-Панель</a></div>";
}
require_once H.'core/foot.php';
?>