View file wapp_antifront.com/dating/index.php

File size: 3.21Kb
<?

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 align=\"left\">";
##-----------------------------------------------------------------------------##

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

print "<small><b>$title</b></small><br/>";
print "<br/>";
print "<small><a href=\"helpreg.php?\">&#x414;&#x43E;&#x431;&#x430;&#x432;&#x438;&#x442;&#x44C; &#x430;&#x43D;&#x43A;&#x435;&#x442;&#x443;</a></small><br/>";
print "<small><a href=\"search.php?loc=search\">&#x41F;&#x43E;&#x438;&#x441;&#x43A; &#x430;&#x43D;&#x43A;&#x435;&#x442;!</a></small><br/>";
print "<small>&#x41F;&#x440;&#x43E;&#x441;&#x43C;&#x43E;&#x442;&#x440;&#x435;&#x442;&#x44C; &#x430;&#x43D;&#x43A;&#x435;&#x442;&#x44B;</small><br/>";
print "<small><a href=\"look.php?sex=m\">&#x41C;&#x443;&#x436;&#x441;&#x43A;&#x438;&#x435;</a></small><br/>";
print "<small><a href=\"look.php?sex=zh\">&#x416;&#x435;&#x43D;&#x441;&#x43A;&#x438;&#x435;</a></small><br/>";

////////////////////////////////////////////////////////////////////////////////

$m_file = @file("m.txt");
$file = file("file.dll");
$total_m = count($m_file);   ////////// читаем сколько строк в файле  m.txt
$zh_file = @file("zh.txt");
$total_zh = count($zh_file);   ////////// читаем сколько строк в файле  zh.txt
$b = $file[0];

////////////////////////////////////////////////////////////////////////////////

$user_info_m = join('', file("posl/m.txt"));
list($name_m, $age_m, $id_m) = explode(":::",$user_info_m);
$user_info_zh = join('', file("posl/zh.txt"));
list($name_zh, $age_zh, $id_zh) = explode(":::",$user_info_zh);
$b = @base64_decode($b);

/////////////// выводим  последние анкеты   ////////////////////////////////////

print "<small><u>&#x41F;&#x43E;&#x441;&#x43B;&#x435;&#x434;&#x43D;&#x438;&#x435; &#x430;&#x43D;&#x43A;&#x435;&#x442;&#x44B;:</u></small><br/>";
print "<small>&#x41C;&#x443;&#x436;&#x441;&#x43A;&#x438;&#x435;: </small><br/>";
print "<small><a href=\"look_user.php?id=$id_m\">$name_m</a> <b>($age_m)</b> </small><br/>";
print "<small>&#x416;&#x435;&#x43D;&#x441;&#x43A;&#x438;&#x435;: </small><br/>";
print "<small><a href=\"look_user.php?id=$id_zh\">$name_zh</a> <b>($age_zh)</b> </small><br/>";
print "<small>*****&#169;*****</small><br/>";

////////////////   всего мужских женских  //////////////////////////////////////

print "<small>&#x41C;&#x443;&#x436;&#x441;&#x43A;&#x438;&#x445; &#x430;&#x43D;&#x43A;&#x435;&#x442;: $total_m</small><br/>";    // Мужских анкет:
print "<small>&#x416;&#x435;&#x43D;&#x441;&#x43A;&#x438;&#x445; &#x430;&#x43D;&#x43A;&#x435;&#x442;: $total_zh</small><br/>"; // Женских анкет:
$counterarray = file("vsego.txt");
print "<small>&#x412;&#x441;&#x435;&#x433;&#x43E; &#x430;&#x43D;&#x43A;&#x435;&#x442;: $counterarray[0]</small><br/>";
print "$line";
print "<br/><small><a href=\"$index\">$iname</a></small>";

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