File size: 1.35Kb
<?
Error_Reporting(E_ALL & ~E_NOTICE);
header("Content-type:text/vnd.wap.wml;charset=UTF-8");
$provpar = @implode("",@file("parol/$nom.dionisij"));
$provpar = trim("$provpar");
If($provpar==$pas) {
$mailn = @implode("",@file("meil/$nom.dionisij"));
$mailn = trim("$mailn");
$adresn = @implode("",@file("konfig/$nom.dionisij"));
$adresn = trim("$adresn");
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=\"gos\" title=\"Adminka\">
<p>
<a href=\"http://mobilka.us\">На главную</a>
<br/>
Адрес сайта:<br/>
<input name=\"adres\" value=\"$adresn\"/><br/>
Пароль:<br/>
<input name=\"pasi\" value=\"$provpar\"/><br/>
E-mail:<br/>
<input name=\"mail\" value=\"$mailn\"/><br/>
<anchor title=\"rega\">Применить
<go href=\"izm.php?nom=$nom&pas=$pas\" method=\"post\">
<postfield name=\"adres\" value=\"$(adres)\"/>
<postfield name=\"pasi\" value=\"$(pasi)\"/>
<postfield name=\"mail\" value=\"$(mail)\"/>
</go>
</anchor>
<br/>
</p>
</card>
</wml>"; };
?>