Просмотр файла znak_myxxx.ru/znak_myxxx.ru/acqadm.php

Размер файла: 3.85Kb
?php
include("service.php");
if($n==$admin and $pas==$pass) {
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=\"myxxx.ru\">
<do type=\"accept\" label=\"&#x0413;&#x043B;a&#x0432;&#x043D;a&#x044F;\"><go href=\"/\"/></do>
<p align=\"center\">
<b>&#xA4; &#x0417;&#x043D;a&#x043A;o&#x043C;c&#x0442;&#x0432;a &#xA4;</b><br/><small>(a&#x0434;&#x043C;&#x0438;&#x043D; &#x043F;a&#x043D;e&#x043B;&#x044C;)</small><br/></p>\n";
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); //&#x043F;ap&#x043D;&#x0438;
$g=mysql_result(mysql_query("SELECT count(`id`)  FROM `asq` WHERE `sect` = 2 AND `vis` NOT LIKE 0"),0); //&#x0434;e&#x0432;y&#x0448;&#x043A;&#x0438;
$in=mysql_result(mysql_query("SELECT count(`id`)  FROM `asq` WHERE `sect` = 3 AND `vis` NOT LIKE 0"),0); //&#x0438;&#x043D;&#x0442;&#x0438;&#x043C;
$b2b=mysql_result(mysql_query("SELECT count(`id`)  FROM `asq` WHERE `sect` = 4 AND `vis` NOT LIKE 0"),0); //&#x0433;e&#x0438;
$g2g=mysql_result(mysql_query("SELECT count(`id`)  FROM `asq` WHERE `sect` = 5 AND `vis` NOT LIKE 0"),0); //&#x043B;ec&#x0431;&#x0438;
$bi=mysql_result(mysql_query("SELECT count(`id`)  FROM `asq` WHERE `sect` = 6 AND `vis` NOT LIKE 0"),0); //&#x043F;ap&#x044B; &#x0431;&#x0438;
$ob=mysql_result(mysql_query("SELECT count(`id`)  FROM `asq` WHERE `sect` = 7 AND `vis` NOT LIKE 0"),0); //o&#x0431;&#x043C;e&#x043D; &#x0444;o&#x0442;o
$ot=mysql_result(mysql_query("SELECT count(`id`)  FROM `asq` WHERE `sect` = 0 AND `vis` NOT LIKE 0"),0); //pa&#x0437;&#x043D;oe
$data=date("md");
$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); //ce&#x0433;o&#x0434;&#x043D;&#x044F;
$newyes=mysql_result(mysql_query("SELECT count(`id`)  FROM `asq` WHERE `log` = $dty AND `vis` NOT LIKE 0"),0); //&#x0432;&#x0447;epa
mysql_close;
print "<p><small>\n";
print "<a href=\"newadm.php?n=$n&amp;pas=$pas\">HOB&#x042B;E CE&#x0413;O&#x0414;H&#x042F; (".$new.")</a><br/>\n";
print "<a href=\"newyesadm.php?n=$n&amp;pas=$pas\">&#x0414;O&#x0411;AB&#x041B;EH&#x042B; B&#x0427;EPA (".$newyes.")</a><br/><br/>\n";
print "<a href=\"b/badm.php?n=$n&amp;pas=$pas\">- &#x041F;ap&#x043D;&#x0438;</a>&nbsp;&nbsp;[".$b."]<br/>
<a href=\"g/gadm.php?n=$n&amp;pas=$pas\">- &#x0414;e&#x0432;y&#x0448;&#x043A;&#x0438;</a>&nbsp;&nbsp;[".$g."]<br/>
<a href=\"in/inadm.php?n=$n&amp;pas=$pas\">- &#x0418;&#x043D;&#x0442;&#x0438;&#x043C;</a>&nbsp;&nbsp;[".$in."]<br/>
<a href=\"b2b/b2badm.php?n=$n&amp;pas=$pas\">- &#x0413;e&#x0438;</a>&nbsp;&nbsp;[".$b2b."]<br/>
<a href=\"g2g/g2gadm.php?n=$n&amp;pas=$pas\">- &#x041B;ec&#x0431;&#x0438;</a>&nbsp;&nbsp;[".$g2g."]<br/>
<a href=\"bi/biadm.php?n=$n&amp;pas=$pas\">- &#x041F;ap&#x044B;, &#x0411;&#x0438;</a>&nbsp;&nbsp;[".$bi."]<br/>
<a href=\"ob/obadm.php?n=$n&amp;pas=$pas\">- &#x0424;o&#x0442;o, &#x0432;&#x0438;&#x0434;eo, MMS</a>&nbsp;&nbsp;[".$ob."]<br/>
<a href=\"ot/otadm.php?n=$n&amp;pas=$pas\">- Pa&#x0437;&#x043D;oe</a>&nbsp;&nbsp;[".$ot."]<br/>\n";
print "</small>
<br/><br/><a href=\"delall.php?n=$n&amp;pas=$pas\">&#x0423;&#x0434;a&#x043B;&#x0438;&#x0442;&#x044C; &#x0432;ce</a>
<br/><a href=\"optim.php?n=$n&amp;pas=$pas\">O&#x043F;&#x0442;&#x0438;&#x043C;&#x0438;&#x0437;a&#x0446;&#x0438;&#x044F; &#x0442;a&#x0431;&#x043B;&#x0438;&#x0446;&#x044B;</a>
</p>
</card>
</wml>\n"; }
else {
header("Location: http://myxxx.ru");
}
 ?>