File size: 3.59Kb
<?
Error_Reporting(E_ALL & ~E_NOTICE); /////////////// игнорируем ошибки
header("Content-type:text/vnd.wap.wml;charset=utf-8"); //////// тип и кодировка документа
////////////// Параметры книги /////////////////////////////////////////////////
$gl="../index.php"; /////////ссылка на главную
$admin="Admin"; ////////админ
$parad="admin"; ////////пароль админа
$zag="Административная панель";
//////////////////////////////////////////////////////////////////////////////
$currHour=date("H",time());///////////формат даты и времени
$currDate=date("dS F, Y", time());
$curr=date("i:s", time());
$currTime=date("$currHour:i:s", time());
if($parad!=$pas) {$log="";}
print "<?xml version=\"1.0\" encoding=\"utf-8\"?>
<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.2//EN\" \"http://www.wapforum.org/DTD/wml12.dtd\">
<wml><card id=\"mas\" title=\"$zag\"><p align=\"center\">";
///////////// выводим вмл заголовок
//<b>$currTime</b><br/><small>$currDate</small></p><p>
include ("online.php");
if($log==$admin){
print"Удаление сообщений:";
print"<br/>
<anchor title=\"del\">по имени:
<go href=\"del.php?delname=true\" method=\"post\">
<postfield name=\"log\" value=\"$admin\"/>
<postfield name=\"pas\" value=\"$pas\"/>
<postfield name=\"namedel\" value=\"$(namedel)\"/>
</go>
</anchor><br/>
<input name=\"namedel\" maxlength=\"20\" value=\"\"/><br/>
<anchor title=\"del\">По номерам
<go href=\"del.php?delnumber=true\" method=\"post\">
<postfield name=\"log\" value=\"$admin\"/>
<postfield name=\"pas\" value=\"$pas\"/>
<postfield name=\"number\" value=\"$(number)\"/>
</go>
</anchor><br/>
<input name=\"number\" maxlength=\"10\" value=\"\"/><br/>
<b>Забанить:<br/></b>
<anchor title=\"ban\">По имени:
<go href=\"bann.php?\" method=\"post\">
<postfield name=\"log\" value=\"$admin\"/>
<postfield name=\"pas\" value=\"$pas\"/>
<postfield name=\"banname\" value=\"$(banname)\"/>
</go>
</anchor><br/>
<input name=\"banname\" maxlength=\"20\" value=\"\"/><br/>
<anchor title=\"ban\">По IP:
<go href=\"bann.php?\" method=\"post\">
<postfield name=\"log\" value=\"$admin\"/>
<postfield name=\"pas\" value=\"$pas\"/>
<postfield name=\"banip\" value=\"$(banip)\"/>
</go>
</anchor><br/>
<input name=\"banip\" maxlength=\"20\" value=\"\"/>
<br/>
<anchor title=\"ban\">Забаненные
<go href=\"bannview.php?\" method=\"post\">
<postfield name=\"log\" value=\"$admin\"/>
<postfield name=\"pas\" value=\"$pas\"/>
</go>
</anchor><br/>
";
print"<br/>";
print"<br/>";
}
print"<br/><a href=\"$gl\">На главную</a><br/>
</p></card></wml>";
?>