File size: 3.07Kb
<?
Error_Reporting(E_ALL & ~E_NOTICE); /////////////// игнорируем ошибки
header("Content-type:text/vnd.wap.wml;charset=utf-8"); //////// тип и кодировка документа
include 'dan.php';
include 'uzdan.php';
include 'rumdan.php';
$new=time();
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=\"Модераторская\"
ontimer=\"modr.php?login=$login&pas=$pas&nr=$nr&new=$new&key=$key\" >
<timer value=\"$timeobn\"/><p align=\"center\">";
if($statys=="admin" || $forst=="moder"){
$mesto="chat";
if($login!=""){
$lokpo="chat";
include 'online.php';
include 'kto.php';
$key=trim($key);
include 'sig.php';
if($mess!=""){include 'addmm.php';}
$time=time();
print"
Сказать:
<input name=\"mess$time\" maxlength=\"200\" value=\"\"/>
<anchor title=\"say\">ok
<go href=\"modr.php\" method=\"post\">
<postfield name=\"login\" value=\"$login\"/>
<postfield name=\"pas\" value=\"$pas\"/>
<postfield name=\"nr\" value=\"$nr\"/>
<postfield name=\"key\" value=\"$key\"/>
<postfield name=\"mess\" value=\"$(mess$time)\"/>
</go>
</anchor><br/>
<anchor title=\"ref\">Обновить
<go href=\"modr.php?new=$new\" method=\"post\">
<postfield name=\"login\" value=\"$login\"/>
<postfield name=\"pas\" value=\"$pas\"/>
<postfield name=\"nr\" value=\"$nr\"/>
<postfield name=\"key\" value=\"$key\"/>
</go>
</anchor><br/>=======</p><p>";
include 'pmomes.php';
print"</p><p align=\"center\">=======<br/>";
if($ns<$strok){print"<anchor title=\"next\">Далее
<go href=\"modr.php\" method=\"post\">
<postfield name=\"login\" value=\"$login\"/>
<postfield name=\"pas\" value=\"$pas\"/>
<postfield name=\"nr\" value=\"$nr\"/>
<postfield name=\"ns\" value=\"$ns\"/>
<postfield name=\"key\" value=\"$key\"/>
</go>
</anchor><br/>
";
}print"<anchor title=\"chat\">Вернутся в чат
<go href=\"chat.php\" method=\"post\">
<postfield name=\"login\" value=\"$login\"/>
<postfield name=\"pas\" value=\"$pas\"/>
<postfield name=\"nr\" value=\"$nr\"/>
<postfield name=\"key\" value=\"$key\"/>
</go>
</anchor><br/>";
}else{print"Данные не верны. Попробуйте ввести их снова.<br/>
<a href=\"index.php\">Попробывать еще</a><br/>";}
}
print"<br/><a href=\"$gl\">На главную</a><br/>
</p></card></wml>";
?>