File size: 853B
<?php
include("service.php");
if($n==$admin and $pas==$pass) {
mysql_connect($DB_HOST,$DB_USER,$DB_PASS) or die (mysql_error());
mysql_select_db($DB_NAME) or die (mysql_error());
mysql_query("TRUNCATE TABLE `asq`");
mysql_close;
header("Pragma: no-cache");
header("Cache-Control: no-cache");
header("Content-type: text/vnd.wap.wml");
print"<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">
<wml>
<head>
<meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>
<meta http-equiv=\"Pragma\" content=\"no-cache\"/>
</head>
<card id=\"ob\" title=\"Admin\" ontimer=\"acqadm.php?n=$n&pas=$pass\">
<timer value=\"10\"/>
<p align=\"center\">
<b>Ok</b>\n";
print "</p>
</card>
</wml>\n"; }
else {
header("Location: http://myxxx.ru");
}
?>