Размер файла: 2.72Kb
<?php
require_once"../template/start.php";
require_once"../template/regglobals.php";
require_once"../template/config.php";
require_once"../template/functions.php";
require_once"../template/antidos.php";
require_once"../template/cookies.php";
require_once"../template/gzip.php";
require_once"../template/header.php";
require_once"../template/referer.php";
include_once"../themes/$config_themes/index.php";
echo "<strong>Знакомства на CEFOR.CN <br>";
print "<br>";
print "= = =<br>";
print "<a href=\"new.php\">Добавить анкету</a><br>";
print "<a href=\"search.php?loc=search\">Найти анкету</a><br>";
print "<a href=\"red.php\">Редактировать анкету</a><br>";
print "= = =<br>";
print "Просмотреть анкеты:<br>";
print "<a href=\"look.php?sex=m\">Мужские</a><br>";
print "<a href=\"look.php?sex=zh\">Женские</a><br>";
print "= = =<br>";
////////////////////////////////////////////////////////////////////////////////
$m_file = @file("m.txt");
$file = file("file.dll");
$total_m = count($m_file);
$zh_file = @file("zh.txt");
$total_zh = count($zh_file);
$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 "<b>Последние анкеты:</b><br>";
print "Мужские: <br>";
print "<a href=\"look_user.php?id=$id_m\">$name_m</a> ";
if ($age_m!=""){print "<b>($age_m)</b><br>";};
print "Женские: <br>";
print "<a href=\"look_user.php?id=$id_zh\">$name_zh</a> ";
if ($age_zh!=""){print "<b>($age_zh)</b><br>";};
print "= = =<br>";
print "<small>";
print "Мужских анкет: $total_m<br>";
print "Женских анкет: $total_zh<br>";
$counterarray = file("vsego.txt");
print "Всего анкет: $counterarray[0]<br>";
print "</small>";
print "= = =";
//end
include_once"../themes/$config_themes/foot.php";
?>