Просмотр файла znak_otzuv(mysql)/search.php

Размер файла: 2.2Kb
<?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.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">
<wml>";
include "c.php";
print "<card title=\"&#1055;&#1086;&#1080;&#1089;&#1082;\">";
print "<p>";

$query_users = @mysql_query("SELECT * FROM `users` WHERE `sex`= '$sex' and `byear`= '$byear' and `rost`= '$rost' ");
$data = @mysql_fetch_array($query_users);
if($sex=="") {print "<small>!!!!!!</small><br/>";}
if($data['id']=="") {print "<small>&#1053;&#1080;&#1095;&#1077;&#1075;&#1086; &#1085;&#1077; &#1085;&#1072;&#1081;&#1076;&#1077;&#1085;&#1086;</small><br/>";}
else
{print "<img src=\"http://".$data['foto']."\" alt=\"".$data['foto']."\"/><br/>
<small><b>ID:</b> ".$data['id']."</small><br/>
<small><b>&#1053;&#1080;&#1082;</b>: ".$data['nick']."</small><br/>
<small><b>&#1048;&#1084;&#1103;:</b> ".$data['name']."</small><br/>
<small><b>&#1043;&#1086;&#1088;&#1086;&#1076;:</b> ".$data['gorod']."</small><br/>
<small><b>&#1044;&#1077;&#1085;&#1100; &#1074;&#1072;&#1088;&#1077;&#1085;&#1100;&#1103;</b>: ".$data['bday']."-".$data['bmonth']."-".$data['byear']."</small><br/>
<small><b>&#1056;&#1086;&#1089;&#1090;:</b> ".$data['rost']."</small><br/>
<small><b>&#1042;&#1077;&#1089;:</b> ".$data['ves']."</small><br/>
<small><b>&#1054; &#1089;&#1077;&#1073;&#1077;</b>: ".$data['infa']."</small><br/>
<small><b>&#1048;&#1097;&#1091; ".$data['ssex']." &#1076;&#1083;&#1103; ".$data['swhy']."</b></small><br/>
<small><b>&#1053;&#1086;&#1084;&#1077;&#1088; &#1090;&#1077;&#1083;&#1077;&#1092;&#1086;&#1085;&#1072;:</b> ".$data['mob']."</small><br/>
<small><b>e-mail:</b> ".$data['mail']."</small><br/><small>*****</small><br/>";}
print "<small><a href=\"./search.wml\">&#1048;&#1089;&#1082;&#1072;&#1090;&#1100; &#1077;&#1097;&#1077;</a></small><br/>";
print "<small><a href=\"./index.php\">&#1047;&#1085;&#1072;&#1082;&#1086;&#1084;&#1089;&#1090;&#1074;&#1072;</a></small><br/>";
print "<small><a href=\"./reg.wml\">&#1056;&#1077;&#1075;&#1080;&#1089;&#1090;&#1088;&#1072;&#1094;&#1080;&#1103;</a></small><br/>";
print "<small><a href=\"../index.php\">Mas.Net.Ru</a></small>";
print "</p>
</card>
</wml>";
@mysql_close();
?>