View file adminka/apanel.php

File size: 1.35Kb
<?php

session_name("SESID");
session_start();

// выводим верх страницы
include '../verh.php';

list($rcount)=mysql_fetch_row(mysql_query("SELECT COUNT(*) FROM `inet_payreq` WHERE `st`='0'"));

if($_SESSION['pass']==$adminpass) {
list($tcount)=mysql_fetch_row(mysql_query("SELECT COUNT(*) FROM `inet_sites` WHERE resultat='off'"));
echo"Админ-панель<br/>
&#187;<a href=\"addnews.php\">Новости</a><br/>
&#187;<a href=\"../index.php\">В каталог</a><br/>
&#187;<a href=\"analise.php\">Анализатор</a><br/>
&#187;<a href=\"admincat.php\">Категории</a><br/>
&#187;<a href=\"payreqs.php\">Запрос выплат</a> ($rcount)<br/>
<hr size='1' width='120' align='left' color='blue'>
&#187;<a href=\"logs.php\">Логи</a><br/>
&#187;<a href=\"change.php\">Накрутить клики</a><br/>
&#187;<a href=\"support.php\">Поддержка</a><br/>
&#187;<a href=\"reklama.php\">Реклама</a><br/>
&#187;<a href=\"test.php\">На модерации</a> ($tcount)<br/>
<hr size='1' width='120' align='left' color='blue'>
&#187;<a href=\"exit.php\">Выход</a><br/>
<form method=\"post\" action=\"view.php\">
ID сайта:<br/>
<input name=\"id\" value=\"\" /><input value=\"OK\" type=\"submit\" />
</form>
";
}
 else
{
echo "ERROR 404! Not fond.</div></body></html>\n";exit;
}

include ('../niz.php');

?>