File size: 2.13Kb
<?
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"
$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/>
<anchor title=\"ok\">$sktext[10]
<go href=\"inprof.php?razd=$razd&prazd=$prazd&tem=$tem&mest=$mest&log=$log&par=$par\" method=\"post\">
<postfield name=\"npar\" value=\"$(npar)\"/>
<postfield name=\"otkel\" value=\"$(otkel)\"/>
<postfield name=\"infa\" value=\"$(infa)\"/>
<postfield name=\"meil\" value=\"$(meil)\"/>
<postfield name=\"site\" value=\"$(site)\"/>
</go>
</anchor><br/>";
}
else {print"Неправильный парль!<br/>";}}
else {print"Пользователь $uz не зарегестрирован<br/>";}
print "---<br/>
<img src=\"st/32.gif\" alt =\"+\"/>
<a href=\"profil2.php?mest=index&log=$log&par=$par\"><font color=\"blue\">[html]</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>";
?>