Размер файла: 2.01Kb
<?
Error_Reporting(E_ALL & ~E_NOTICE);
header("Content-type:text/vnd.wap.wml;charset=utf-8");
include 'config.php';
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=\"$log\"><p>";
$text = @file("profil/$log.prof");
if ($text!=""){
$udata = explode(":||:",$text[0]);
$provpar=trim($udata[1]);
$otkel=trim($udata[2]);
$osebe=trim($udata[3]);
$mail=trim($udata[4]);
$site=trim($udata[5]);
$kmes = @implode("",@file("profil/$log.st"));
if ($par==$provpar){
print"
<form method=\"post\" action=\"inprof.php?razd=$razd&prazd=$prazd&tem=$tem&mest=$mest&log=$log&par=$par&npar=$npar&otkel=$otkel&infa=$infa&meil=$meil&site=$site\" name=\"b1\">
$sktext[3]<br/><input name=\"npar\" value=\"$par\"/>
<br/>
$sktext[7]
<br/><input name=\"otkel\" value=\"$otkel\"/>
<br/>
$sktext[8]
<br/><input name=\"infa\" value=\"$osebe\"/>
<br/>
e-mail:
<br/><input name=\"meil\" value=\"$mail\"/>
<br/>
$sktext[9]
<br/><input name=\"site\" value=\"$site\"/><br/>";
print"<input class=\"button\" type=\"submit\" value=\"[ok]\"/></form>";
}
else {print"Неправильный парль!<br/>";}}
else {print"Пользователь $uz не зарегестрирован<br/>";}
print "---<br/>
<img src=\"st/32.gif\" alt =\"+\"/>
<a href=\"profil.php?mest=index&log=$log&par=$par\"><font color=\"blue\">[wap]</font></a><br/>
<img src=\"st/44.gif\" alt =\"+\"/>
<a href=\"$mest.php?razd=$razd&prazd=$prazd&tem=$tem&nmes=$nmes&log=$log&par=$par\"><font color=\"blue\">[$sktext[11]]</font></a><br/>
</p></card></wml>";
?>