Размер файла: 2.49Kb
<?
include "../config2.php";
$admin="логин";
$parad="пароль";
list($msec,$sec)=explode(chr(32),microtime());
$HeadTime=$sec+$msec;
$link=mysql_connect ($DB_HOST, $DB_USER, $DB_PASS);
mysql_select_db($DB_NAME);
if(!$o) $o = 'h';
if($o=='h') $arr=mysql_query("select * from users order by counthost desc;");
if($o=='hi') $arr=mysql_query("select * from users order by today desc;");
if($o=='a') $arr=mysql_query("select * from users order by allday desc;");
$i=mysql_num_rows($arr);
///////////////////////////////
while ($data=@mysql_fetch_array($arr))
{
if($cid==$data['id']) $start=count($ids);
$titles[] = $data['title'];
$links[] = $data['link'];
$ids[] = $data['id'];
$abouts[] = $data['about'];
$pass[] = $data['pass'];
}
if ($log ==$admin)
if ($pas ==$parad){
///////////////////////////////
function go()
{
include "../top.php";
echo "<p>";
include"uch.php";
print "<br/>";
};
/////////////////////////////////
function ending()
{
print "</p>
</body>
</html>";
};
/////////////////////////////////
go();
$count=$i;
$count1=$count;
if(empty($start))
$start=0;
$start=intval($start);
if($start<0)
$start=0;
if($count>$start+15) $count=$start+15;
for($i=$start;$i<$count;$i++)
{
$n=$i+1;
if(5%$i!=0||$i==1) $br="<br/>";
print "<small><font color=\"#FFFF00\">$br$n.</font><b><a href=\"$links[$i]\"><font color=\"#FF0000\">$titles[$i]</font></a></b><a href=\"admi.php?id=$ids[$i]&pass=$pass[$i]&log=$log&pas=$pas\"><font color=\"#00FF00\">[+]</font></a>";
print "<br/> <font color=\"#00FFFF\">$abouts[$i]</font></small>";
}
if($count1>$start+5)
{
print "<br/><a href=\"admintop.php?log=$log&pas=$pas&start=".($start+15)."\"><font color=\"#FFFF00\">Далее</font></a><br/>";
}
if($start!=0)
{
print "<a href=\"admintop.php?log=$log&pas=$pas&start=".($start-15)."\"><font color=\"#FFFF00\">Назад</font></a><br/>";
}
print "<br/><br/><font color=\"#FFFFFF\">*********</font><br/><a href=\"../index.php\"><font color=\"#00FF00\">TOP.PIZDEC.RU</font></a><br/>";
list($msec,$sec)=explode(chr(32),microtime());
echo "<small><font color=\"#FFFFFF\">[".round(($sec+$msec)-$HeadTime,4)."]</font></small>";
ending();
mysql_close($link); exit;}
include "top.php";
echo"<p><font color=\"#FF0000\">Ты не охуел ли мудак?</font>
<br/><br/>
<a href=\"http://top.pizdec.ru\"><font color=\"#FFFF00\">Съебался нахуй!</font></a>
</p>
</body>
</html>";
?>