View file znak/look_user.php

File size: 2.29Kb
<?

##------------------------------ заголовок -----------------------------------##
header("Content-type:text/vnd.wap.wml;charset=utf-8");
print "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
print "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.2//EN\" \"http://www.wapforum.org/DTD/wml12.dtd\">";
print "<wml>";
print "<card id=\"index\" title=\"xwap.org\">";
print "<p>";
##-----------------------------------------------------------------------------##

#####################################################
$index = "http://xwap.org";    /// ссылка на главную!

$user_info = join('', file("base/$id.txt")); /// читаем user/id.txt в одну строку
// строка такая ник:::мыло:::имя:::возраст:::город:::увлечения:::цель знакомства:::о себе:::дата реги:::
list($nic, $mail, $name, $age, $rost, $hair, $eye, $city, $hobbi, $pov, $info, $date) = explode(":::",$user_info);

print "<b>Login</b>: $nic <br/>"; /////// логин
print "<b>Email</b>: $mail<br/>"; /////////  маил
print "<b>&#x418;&#x43C;&#x44F;</b>: $name<br/>";  /////// имя
print "<b>&#x412;&#x43E;&#x437;&#x440;&#x430;&#x441;&#x442;</b>: $age<br/>";   ///////// возраст
print "<b>&#x420;&#x43E;&#x441;&#x442;</b>: $rost<br/>";  ///////     рост
print "<b>&#x417;&#x43D;&#x430;&#x43A; &#x437;&#x430;&#x434;&#x438;&#x430;&#x43A;&#x430;</b>: $hair<br/>";  ///////  цвет волос
print "<b>&#x426;&#x432;&#x435;&#x442; &#x433;&#x43B;&#x430;&#x437;</b>: $eye<br/>";  ///////      цвет глаз
print "<b>&#x413;&#x43E;&#x440;&#x43E;&#x434;</b>: $city<br/>";  ///////     город
print "<b>&#x41A;&#x430;&#x43A; &#x441;&#x432;&#x44F;&#x437;&#x430;&#x442;&#x44C;&#x441;&#x44F;</b>: $hobbi<br/>";  ///////     увлечения
print "<b>&#x426;&#x435;&#x43B;&#x44C; &#x437;&#x43D;&#x430;&#x43A;&#x43E;&#x43C;&#x441;&#x442;&#x432;&#x430;</b>: $pov<br/>";  ///////     цель знакомства
print "<b>&#x41E; &#x441;&#x435;&#x431;&#x435;</b>: $info<br/>";  /// инфо о себе
print "<b>&#x414;&#x430;&#x442;&#x430; &#x440;&#x435;&#x433;&#x438;&#x441;&#x442;&#x440;&#x430;&#x446;&#x438;&#x438;</b>: $date <br/>";  // дата регистрации





print "------<br/>";
print "<a href=\"index.php?\">&#x417;&#x43D;&#x430;&#x43A;&#x43E;&#x43C;&#x441;&#x442;&#x432;&#x430;</a>";
print "<br/><a href=\"$index\">&#x413;&#x43B;&#x430;&#x432;&#x43D;&#x430;&#x44F;</a><br/>";
print "</p></card></wml>";
?>