File size: 1.11Kb
<?
header ("Content-type:text/vnd.wap.wml; charset=utf-8");
print "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
$id=@mysql_escape_string($id);
$pass=@mysql_escape_string($pass);
$login=@mysql_escape_string($login);
?>
<!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" forua="true"/></head>
<card title="">
<p align="center">
<?
include "config2.php";
include "config3.php";
$linkk=mysql_pconnect ($DB_HOST, $DB_USER, $DB_PASS);
mysql_select_db($DB_NAME);
$q_u=mysql_query("select * from users where id='".$id."';");
$data=mysql_fetch_array($q_u);
if ($adm==$password) {
mysql_query("Delete from users where id='".$id."'");
print "<b>Регистрация удалена</b><br/>";
print "<a href=\"top.php?adm=$password\">$topic</a>";
} else {
print "Доступ закрыт";
}
?>
</p>
</card>
</wml>
<?
mysql_close($linkk);
?>