View file wapp_antifront.com/dating/look_user.php

File size: 2.48Kb
<?

require("inc.php");

##------------------------------ заголовок -----------------------------------##
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=\"$title\">";
print "$sindex";
print "$swapshop";
print "<p>";
##-----------------------------------------------------------------------------##

#####################################################

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

##-----------------------------------------------------------------------------##

print "<br/>$line";
print "<br/><small><a href=\"index.php?&amp;$r\">&#x417;&#x43D;&#x430;&#x43A;&#x43E;&#x43C;&#x441;&#x442;&#x432;&#x430;</a></small>";
print "<br/><small><a href=\"$index\">$iname</a></small>";

print "</p></card></wml>";
?>