Просмотр файла znak_myxxx.ru/znak_myxxx.ru/acq.php
Размер файла: 2.94Kb
<?php
include("service.php");
header("Pragma: no-cache");
header("Cache-Control: no-cache");
header("Content-type: text/vnd.wap.wml");
print"<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">
<wml>
<head>
<meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>
<meta http-equiv=\"Pragma\" content=\"no-cache\"/>
</head>
<card id=\"ob\" title=\"Mas.Net.Ru\">
<do type=\"accept\" label=\"\"><noop/></do>
<do type=\"options\" name=\"home\" label=\"Home\"><go href=\"/\"/></do>
<p align=\"center\">
<small>";
include 't.php';
include 't.php';
;
mysql_connect($DB_HOST,$DB_USER,$DB_PASS) or die (mysql_error());
mysql_select_db($DB_NAME) or die (mysql_error());
$b=mysql_result(mysql_query("SELECT count(`id`) FROM `asq` WHERE `sect` = 1 AND `vis` NOT LIKE 0"),0);
$g=mysql_result(mysql_query("SELECT count(`id`) FROM `asq` WHERE `sect` = 2 AND `vis` NOT LIKE 0"),0);
$in=mysql_result(mysql_query("SELECT count(`id`) FROM `asq` WHERE `sect` = 3 AND `vis` NOT LIKE 0"),0);
$b2b=mysql_result(mysql_query("SELECT count(`id`) FROM `asq` WHERE `sect` = 4 AND `vis` NOT LIKE 0"),0);
$g2g=mysql_result(mysql_query("SELECT count(`id`) FROM `asq` WHERE `sect` = 5 AND `vis` NOT LIKE 0"),0);
$bi=mysql_result(mysql_query("SELECT count(`id`) FROM `asq` WHERE `sect` = 6 AND `vis` NOT LIKE 0"),0);
$ob=mysql_result(mysql_query("SELECT count(`id`) FROM `asq` WHERE `sect` = 7 AND `vis` NOT LIKE 0"),0);
$ot=mysql_result(mysql_query("SELECT count(`id`) FROM `asq` WHERE `sect` = 0 AND `vis` NOT LIKE 0"),0);
$data=date("md");
$dty=$dty=strftime ("%m%d", strtotime("-1 day"));
$new=mysql_result(mysql_query("SELECT count(`id`) FROM `asq` WHERE `log` = $data AND `vis` NOT LIKE 0"),0);
$newyes=mysql_result(mysql_query("SELECT count(`id`) FROM `asq` WHERE `log` = $dty AND `vis` NOT LIKE 0"),0);
mysql_close;
print "<br/><a href=\"add.php\">== Дoбaвить ==</a><br/>\n";
print "<a href=\"new.php\">Новички сегодня (".$new.")</a><br/>\n";
print "<a href=\"newyes.php\">Вчерашние анкеты (".$newyes.")</a><br/><br/>\n";
print "<a href=\"b/b.php\">* Пapни*</a> [".$b."]<br/>
<a href=\"g/g.php\">* Дeвyшки*</a> [".$g."]<br/>
<a href=\"in/in.php\">* Интим, ceкc*</a> [".$in."]<br/>
<a href=\"b2b/b2b.php\">* Гeи*</a> [".$b2b."]<br/>
<a href=\"g2g/g2g.php\">* Лecби*</a> [".$g2g."]<br/>
<a href=\"bi/bi.php\">* Пapы, Би*</a> [".$bi."]<br/>
<a href=\"ob/ob.php\">* Фoтo, видeo, MMS*</a> [".$ob."]<br/>
<a href=\"ot/ot.php\">* Paзнoe*</a> [".$ot."]<br/>\n";
print "</small></p>
<p align=\"center\">******<br/><a href=\"/\">Ha глaвнyю</a><br/>
</p>
</card>
</wml>\n";
?>