Размер файла: 22.8Kb
<?php
#==============================================================================================#
# Name : Imperial CHAT #
# Made by : MaZaFaKa (___хакер___) #
# MODED : vipsds ( BOT ) #
# ICQ : 350502220 (vipsds) #
# E-mai : [email protected] #
# По всем вопросам и дополнительным модам обращайтесь на выше указанные данные #
#==============================================================================================#
error_reporting(0);
include("config.php");
include('start.php');
$ttl = "Супер-Админ панель";
$nocache = mt_rand(10000, 99999);
$superadmin_pass = $passadmin;//PAROL' K ADMINKE
if(!isset($_POST['pass'])){
$pass = $_GET['pass'];
}
else{
$pass = $_POST['pass'];
}
if($pass !== $superadmin_pass){
switch($_GET['ver'])
{
case 'wml':
header("Content-type: text/vnd.wap.wml; charset=utf-8");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-cache, must-revalidate");
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.3//EN\" \"http://www.wapforum.org/DTD/wml13.dtd\"><wml>\n";
echo "<card title=\"Authentification\"><p align=\"left\">\n";
echo "Пароль к админке*:<br/>\n";
echo "<input type=\"password\" name=\"pass\" maxlength=\"15\"/><br/>\n";
echo "<anchor>Войти<go href=\"superadmin.php?".SID."&ver=wml&nocache=$nocache\" method=\"post\">\n";
echo "<postfield name=\"pass\" value=\"$(pass)\"/>\n";
echo "</go></anchor><br/>\n";
echo"<br/>$wmlfoot";
echo "</p></card></wml>";
break;
case 'html';
if(!isset($_COOKIE['theme']))
{
$font = "sans-serif";
$color = "#000000";
$background = "#FFF68F";
$links = "blue";
$form_color = "#FFC125";
}
else
{
include("themes_switch.php");
}
header("Content-type: text/html; charset=utf-8");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-cache, must-revalidate");
echo "$css";
echo'<title>'.$ttl.'</title>';
echo'<div class="d3">'.$ttl.'</div>';
echo "<div>\n";
echo "<form method=\"post\" action=\"superadmin.php?".SID."&ver=html&nocache=$nocache\">\n";
echo "Пароль к супер-админке*:<br/>\n";
echo "<input name=\"pass\" type=\"password\" maxlength=\"15\" title=\"pass\"/><br/>\n";
echo "<input type=\"submit\" value=\"Войти\"/></form></div><br/>\n";
echo "<div class=\"d1\">• <a href=\"menu.php?".SID."&ver=html\">В прихожую</a></div>";
echo'<div class="d3">';
echo"$sitefoot";
echo'</div>';
echo "</body></html>";
break;
}
}
else{
include("./includes/constants/superadmin");
include("./includes/".$ver."/banned");
list($msec, $sec) = explode(chr(32), microtime());
$headtime = $sec + $msec;
$bots = file("bots/bots.dat");
switch($ver)
{
////////////////////////////////////////////////////////
//WML VERSION
////////////////////////////////////////////////////////
case 'wml':
header("Content-type: text/vnd.wap.wml; charset=utf-8");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-cache, must-revalidate");
//AUTH
$id = intval($_SESSION['id']);
$password = mysql_escape_string($_SESSION['password']);
$q = mysql_query("SELECT `level` FROM `chat_users` WHERE `id` = '".$id."' AND `password` = '".md5($password)."';");
if(mysql_num_rows($q) == 0)
{
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.3//EN\" \"http://www.wapforum.org/DTD/wml13.dtd\"><wml>\n";
echo "<card title=\"ERROR\" ontimer=\"index.php?ver=wml\"><timer value=\"15\"/><p align=\"left\">\n";
echo "<small>Ошибка авторизации!<br/>\n";
echo"<br/>$wmlfoot";
list($msec, $sec) = explode(chr(32), microtime());
echo "[".round(($sec+$msec)-$headtime,5)."] сек.<br/>\n";
echo "</small></p></card></wml>";
exit();
}
//END AUTH
$level = mysql_result($q, 0);
if($level != 5)
{
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.3//EN\" \"http://www.wapforum.org/DTD/wml13.dtd\"><wml>\n";
echo "<card title=\"ERROR\" ontimer=\"menu.php?ver=wml&".SID."&pass=$pass&\"><timer value=\"15\"/><p align=\"left\">\n";
echo "<small>Доступ запрещен<br/>\n";
echo"<br/>$wmlfoot";
list($msec, $sec) = explode(chr(32), microtime());
echo "[".round(($sec+$msec)-$headtime,5)."] сек.<br/>\n";
echo "</small></p></card></wml>";
exit();
}
//ONLINE
$online = time() + 60;
$update = mysql_query("UPDATE `chat_users` SET `time` = '".$online."', `place` = 0, `ip` = '".getenv('REMOTE_ADDR')."', `ua` = '".htmlspecialchars(getenv('HTTP_USER_AGENT'))."' WHERE `id` = '".$id."';");
//END ONLINE
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.3//EN\" \"http://www.wapforum.org/DTD/wml13.dtd\"><wml>\n";
echo "<card title=\"".TITLE."\"><p align=\"left\">\n";
if(isset($_GET['mod']))
{
$mod = $_GET['mod'];
}
else
{
$mod = "";
}
switch($mod)
{
case 'edit':
case 'kick':
case 'ban':
case 'ipua':
case 'ip':
case 'deluser':
case 'search':
case 'allusers':
case 'bannedip':
case 'bannedipua':
case 'banned':
case 'kicklist':
case 'addroom':
case 'removeroom':
case 'editroom':
case 'uproom':
case 'clear':
case 'addob':
case 'delob':
case 'addnews':
case 'delnews':
case 'addmeet':
case 'delmeet':
case 'addjoke':
case 'addquestion':
case 'announcement':
case 'settings':
case 'podarok':
case 'renamebots':
case 'main_page':
case 'main_page_rekla':
case 'banner':
case 'cena':
case 'logs':
case 'antiban':
case 'addinsult':
case 'add_bad_answer':
case 'bots_intervals':
case 'changerid':
case 'cancel_all_kicks':
include("./includes/".$ver."/superadmin/".$mod);
break;
default:
echo "[Пользователи]<br/>\n";
echo "Никнейм:<br/>\n";
echo "<input name=\"nickname$nocache\" maxlength=\"20\" title=\"nickname\"/><br/>\n";
echo "Транслитировать:<br/>\n";
echo "<select multiple=\"false\" name=\"translit$nocache\" value=\"no\">\n";
echo "<option value=\"no\">Нет</option>\n";
echo "<option value=\"yes\">Да</option></select><br/>\n";
echo "<anchor>[Редактировать]<go href=\"superadmin.php?nocache=$nocache&ver=wml&".SID."&pass=$pass&mod=edit\" method=\"post\">\n";
echo "<postfield name=\"nickname\" value=\"$(nickname$nocache)\"/>\n";
echo "<postfield name=\"translit\" value=\"$(translit$nocache)\"/>\n";
echo "</go></anchor><br/>\n";
echo "Время пинка (сек):<br/>\n";
echo "<input name=\"time$nocache\" format=\"*N\" size=\"6\" maxlength=\"8\" title=\"time\"/><br/>\n";
echo "Причина:<br/>\n";
echo "<input name=\"reason$nocache\" maxlength=\"200\" title=\"reason\"/><br/>\n";
echo "<anchor>[Пнуть]<go href=\"superadmin.php?nocache=$nocache&ver=wml&".SID."&pass=$pass&mod=kick\" method=\"post\">\n";
echo "<postfield name=\"nickname\" value=\"$(nickname$nocache)\"/>\n";
echo "<postfield name=\"translit\" value=\"$(translit$nocache)\"/>\n";
echo "<postfield name=\"reason\" value=\"$(reason$nocache)\"/>\n";
echo "<postfield name=\"time\" value=\"$(time$nocache)\"/>\n";
echo "</go></anchor><br/>\n";
echo "<anchor>[Забанить]<go href=\"superadmin.php?nocache=$nocache&ver=wml&".SID."&pass=$pass&mod=ban\" method=\"post\">\n";
echo "<postfield name=\"nickname\" value=\"$(nickname$nocache)\"/>\n";
echo "<postfield name=\"translit\" value=\"$(translit$nocache)\"/>\n";
echo "</go></anchor><br/>\n";
echo "<anchor>[Бан IP+UA]<go href=\"superadmin.php?nocache=$nocache&ver=wml&".SID."&pass=$pass&mod=ipua\" method=\"post\">\n";
echo "<postfield name=\"nickname\" value=\"$(nickname$nocache)\"/>\n";
echo "<postfield name=\"translit\" value=\"$(translit$nocache)\"/>\n";
echo "</go></anchor><br/>\n";
echo "<anchor>[Бан IP]<go href=\"superadmin.php?nocache=$nocache&ver=wml&".SID."&pass=$pass&mod=ip\" method=\"post\">\n";
echo "<postfield name=\"nickname\" value=\"$(nickname$nocache)\"/>\n";
echo "<postfield name=\"translit\" value=\"$(translit$nocache)\"/>\n";
echo "</go></anchor><br/>\n";
echo "<anchor>[Удалить]<go href=\"superadmin.php?nocache=$nocache&ver=wml&".SID."&pass=$pass&mod=deluser\" method=\"post\">\n";
echo "<postfield name=\"nickname\" value=\"$(nickname$nocache)\"/>\n";
echo "<postfield name=\"translit\" value=\"$(translit$nocache)\"/>\n";
echo "</go></anchor><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=search&nocache=$nocache\">Поиск по ID</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=allusers\">Все пользователи</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=bannedip\">Список забаненных по IP</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=bannedipua\">Список забаненных по IP+UA</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=banned\">Список забаненных по нику</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=kicklist\">Список \"выпнутых\"</a><br/>\n";
echo "---<br/>\n";
echo "[Комнаты]<br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=addroom&nocache=$nocache\">Создать</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=removeroom&nocache=$nocache\">Удалить</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=editroom&nocache=$nocache\">Изменить</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=clear\">Очистить комнаты</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=changerid\">Change rid</a><br/>\n";
echo "---<br/>\n";
echo "[Реклама]<br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=main_page\">Логотип/Сообщение при входе</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=main_page_rekla\">Рекламу на главную</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=banner\">Баннер в чат</a><br/>\n";
echo "---<br/>\n";
echo "[Прочее]<br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=addob&nocache=$nocache\">Добавить Объявление</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=delob&nocache=$nocache\">Удалить Объявление</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=addnews&nocache=$nocache\">Добавить новость</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=delnews&nocache=$nocache\">Удалить новость</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=addmeet&nocache=$nocache\">Добавить свадьбу</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=delmeet&nocache=$nocache\">Удалить свадьбу</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=addjoke&nocache=$nocache\">Добавить анекдот</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=addquestion&nocache=$nocache\">Добавить вопрос</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=addinsult&nocache=$nocache\">Добавить оскорбление</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=add_bad_answer\">Добавить ответ бота</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=announcement&nocache=$nocache\">Объявление в чат</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=settings&nocache=$nocache\">Дополнительные настройки</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=podarok\">Подарок юзерам при регистрации</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=cena\">Курс/Цены</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=renamebots&nocache=$nocache\">Ники ботов</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=bots_intervals&nocache=$nocache\">Время постов ботов</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=wml&mod=logs&nocache=$nocache\">Логи</a><br/>\n";
echo "<a href=\"/adletters.php?".SID."&ver=цml\">Контроль писем</a><br/>\n";
break;
}
if(!empty($mod)) echo "• <a href=\"superadmin.php?".SID."&pass=$pass&ver=wml\">Супер-Админка</a><br/>\n";
echo "• <a href=\"menu/wml\">В прихожую</a><br/>\n";
echo"<br/>$wmlfoot";
list($msec, $sec) = explode(chr(32), microtime());
echo "[".round(($sec+$msec)-$headtime,5)."] сек.<br/>\n";
echo "</p></card></wml>";
break;
////////////////////////////////////////////////////////
//HTML VERSION
////////////////////////////////////////////////////////
case 'html':
header("Content-type: text/html; charset=utf-8");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-cache, must-revalidate");
//AUTH
$id = intval($_SESSION['id']);
$password = mysql_escape_string($_SESSION['password']);
$q = mysql_query("SELECT * FROM `chat_users` WHERE `id` = '".$id."' AND `password` = '".md5($password)."';");
if(mysql_num_rows($q) == 0)
{
echo "$css";
echo'<title>'.$ttl.'</title>';
echo'<div class="d3">Ошибка</div>';
echo "<div class=\"d5\">Ошибка авторизации!</div>\n";
echo'<div class="d3">';
echo"$sitefoot";
list($msec, $sec) = explode(chr(32), microtime());
echo "[".round(($sec+$msec)-$headtime,5)."] сек.<br/>\n";
echo'</div>';
echo "</body></html>";
exit();
}
//END AUTH
//USER DATA
$user = mysql_fetch_array($q);
$id = $user['id'];
$nickname = $user['nickname'];
$level = $user['level'];
$status = $user['status'];
$time = $user['time'];
$fsize = $user['fsize'];
//END USER DATA
if($fsize == 0)
{
$fsize = "small";
}
if($fsize == 1)
{
$fsize = "normal";
}
if($fsize == 2)
{
$fsize = "large";
}
if($level != 5)
{
echo "$css";
echo'<title>'.$ttl.'</title>';
echo'<div class="d3">'.$ttl.'</div>';
echo "Доступ запрещен<br/>\n";
echo'<div class="d3">';
echo"$sitefoot";
list($msec, $sec) = explode(chr(32), microtime());
echo "[".round(($sec+$msec)-$headtime,5)."] сек.<br/>\n";
echo'</div>';
echo "</body></html>";
exit();
}
//ONLINE
$online = time() + 60;
$update = mysql_query("UPDATE `chat_users` SET `time` = '".$online."', `place` = 0 WHERE `id` = '".$id."';");
//END ONLINE
echo "$css";
echo'<title>'.$ttl.'</title>';
echo'<div class="d3">'.$ttl.'</div>';
if(isset($_GET['mod']))
{
$mod = $_GET['mod'];
}
else
{
$mod = "";
}
if(isset($_GET['handler']))
{
$action = intval($_POST['mod']);
switch($action)
{
case 0:
$mod = "edit";
break;
case 1:
$mod = "kick";
break;
case 2:
$mod = "ban";
break;
case 3:
$mod = "ipua";
break;
case 4:
$mod = "ip";
break;
case 5:
$mod = "deluser";
break;
}
}
switch($mod)
{
case 'edit':
case 'kick':
case 'ban':
case 'ipua':
case 'ip':
case 'deluser':
case 'search':
case 'allusers':
case 'bannedip':
case 'bannedipua':
case 'banned':
case 'kicklist':
case 'addroom':
case 'removeroom':
case 'editroom':
case 'uproom':
case 'clear':
case 'addob':
case 'delob':
case 'addnews':
case 'delnews':
case 'addmeet':
case 'delmeet':
case 'addjoke':
case 'addquestion':
case 'announcement':
case 'settings':
case 'podarok':
case 'renamebots':
case 'main_page':
case 'main_page_rekla':
case 'banner':
case 'cena':
case 'logs':
case 'antiban':
case 'addinsult':
case 'add_bad_answer':
case 'bots_intervals':
case 'changerid':
case 'cancel_all_kicks':
include("./includes/".$ver."/superadmin/".$mod);
break;
default:
echo "<div class=\"form\">\n";
echo "<form method=\"post\" action=\"superadmin.php?nocache=$nocache&ver=html&".SID."&pass=$pass&handler\">\n";
echo "Никнейм:<br/>\n";
echo "<input name=\"nickname\" maxlength=\"20\" title=\"nickname\"/><br/>\n";
echo "Транслитировать:<br/>\n";
echo "<select name=\"translit\">\n";
echo "<option value=\"no\">Нет</option>\n";
echo "<option value=\"yes\">Да</option></select><br/>\n";
echo "Время пинка (сек):<br/>\n";
echo "<input name=\"time\" size=\"6\" maxlength=\"8\" title=\"time\"/><br/>\n";
echo "Причина:<br/>\n";
echo "<input name=\"reason\" maxlength=\"200\" title=\"reason\"/><br/>\n";
echo "Действие:<br/>\n";
echo "<select name=\"mod\">\n";
echo "<option value=\"0\" selected=\"selected\">Редактировать</option>\n";
echo "<option value=\"1\">Пинок</option>\n";
echo "<option value=\"2\">Забанить</option>\n";
echo "<option value=\"3\">Забанить IP+UA</option>\n";
echo "<option value=\"4\">Забанить IP</option>\n";
echo "<option value=\"5\">Удалить</option></select><br/>\n";
echo "<input type=\"submit\" value=\"OK\"/></form></div><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=search\">Поиск по ID</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=allusers\">Все пользователи</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=bannedip\">Список забаненных по IP</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=bannedipua\">Список забаненных по IP+UA</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=banned\">Список забаненных по нику</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=kicklist\">Список \"выпнутых\"</a><br/>\n";
echo "---<br/>\n";
echo "<div class=\"d3\">[Комнаты]</div><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=addroom\">Создать</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=removeroom\">Удалить</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=editroom\">Изменить</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=clear\">Очистить комнаты</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=changerid\">Change rid</a><br/>\n";
echo "---<br/>\n";
echo "<div class=\"d3\">[Реклама]</div><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=main_page\">Логотип/Сообщение при входе</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=main_page_rekla\">Рекламу на главную</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=banner\">Баннер в чат</a><br/>\n";
echo "---<br/>\n";
echo "<div class=\"d3\">[Прочее]</div><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=addob\">Добавить Объявление</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=delob\">Удалить Объявление</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=addnews\">Добавить новость</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=delnews\">Удалить новость</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=addmeet\">Добавить свабьбу</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=delmeet\">Удалить свадьбу</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=addjoke\">Добавить анекдот</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=addquestion\">Добавить вопрос</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=addinsult\">Добавить оскорбление</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=add_bad_answer\">Добавить ответ бота</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=announcement\">Объявление в чат</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=settings\">Дополнительные настройки</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=podarok\">Подарок новым юзерам</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=cena\">Курс/Цены</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=renamebots\">Ники ботов</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=bots_intervals&nocache=$nocache\">Время постов ботов</a><br/>\n";
echo "<a href=\"superadmin.php?".SID."&pass=$pass&ver=html&mod=logs\">Логи</a><br/>\n";
echo "<a href=\"/adletters.php?".SID."&ver=html\">Контроль писем</a><br/>\n";
break;
}
if(!empty($mod)) echo "<div class=\"d1\">• <a href=\"superadmin.php?".SID."&pass=$pass&ver=html\">Супер-Админка</a></div>\n";
echo "<div class=\"d1\">• <a href=\"/menu/html\">В прихожую</a></div>";
echo'<div class="d3">';
echo"$sitefoot";
list($msec, $sec) = explode(chr(32), microtime());
echo "[".round(($sec+$msec)-$headtime,5)."] сек.<br/>\n";
echo'</div>';
echo "</body></html>";
break;
}
}
?>