View file znak_myxxx.ru/znak_myxxx.ru/acq.php

File size: 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\">== &#x0414;o&#x0431;a&#x0432;&#x0438;&#x0442;&#x044C; ==</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\">* &#x041F;ap&#x043D;&#x0438;*</a> [".$b."]<br/>
<a href=\"g/g.php\">* &#x0414;e&#x0432;y&#x0448;&#x043A;&#x0438;*</a> [".$g."]<br/>
<a href=\"in/in.php\">* &#x0418;&#x043D;&#x0442;&#x0438;&#x043C;, ce&#x043A;c*</a> [".$in."]<br/>
<a href=\"b2b/b2b.php\">* &#x0413;e&#x0438;*</a> [".$b2b."]<br/>
<a href=\"g2g/g2g.php\">* &#x041B;ec&#x0431;&#x0438;*</a> [".$g2g."]<br/>
<a href=\"bi/bi.php\">* &#x041F;ap&#x044B;, &#x0411;&#x0438;*</a> [".$bi."]<br/>
<a href=\"ob/ob.php\">* &#x0424;o&#x0442;o, &#x0432;&#x0438;&#x0434;eo, MMS*</a> [".$ob."]<br/>
<a href=\"ot/ot.php\">* Pa&#x0437;&#x043D;oe*</a> [".$ot."]<br/>\n";
print "</small></p>
<p align=\"center\">******<br/><a href=\"/\">Ha &#x0433;&#x043B;a&#x0432;&#x043D;y&#x044E;</a><br/>
</p>
</card>
</wml>\n";
 ?>