View file main.php

File size: 3.87Kb
<?
echo'<table border="3" cellpadding="3" cellspacing="3" width="100%" id="table1" height="33">
<tr>
<td bgcolor="#000000" bordercolor="#FFFF00" bordercolorlight="#FFFF00" bordercolordark="#FFFF00">
<p align="center"><b><font face="Courier" color="#FFFF00">..::Меню::..

</font></b></td>
</tr>
</table>';
if (md5($_SESSION['par'])!==$provpar || $_SESSION['log']!==$provlog || $_SESSION['log']=="" || md5($_SESSION['par'])==""){

echo'<p align="left"><img src="/images/img/act1.gif" alt=""> <a href="/pages/index.php?p=pages&amp;f=vhod&amp;'.SID.'">Авторизация</a><br>';
echo'<img src="/images/img/act2.gif" alt=""> <a href="/pages/index.php?p=pages&amp;f=registration&amp;'.SID.'">Регистрация</a><br>';
echo'<img src="/images/img/act3.gif" alt=""> <a href="/mail/index.php?p=mail&amp;f=lostpassword&amp;'.SID.'">Забыли пароль?</a><hr></p>';
}
else { if (!$_SESSION['log']=="" && !md5($_SESSION['par'])=="" && md5($_SESSION['par'])==$provpar && $_SESSION['log']==$provlog ) {

echo'<p align="left"><img src="/images/img/act2.gif" alt=""> <a href="/index.php?action=menu&amp;'.SID.'">Мое меню</a><br>';
if ($dostup==101 || $dostup==102)
{echo'<img src="/images/img/act2.gif" alt=""> <a href="/'.$config_mpanel.'/?'.SID.'">Админка</a><br>';}
if ($dostup==103 || $dostup==105)
{echo'<img src="/images/img/act2.gif" alt=""> <a href="/'.$config_mpanel.'/?'.SID.'">Mодерка</a><br>';}
echo'<img src="/images/img/act1.gif" alt=""> <a href="/input.php?action=exit&amp;'.SID.'">Выход [Exit]</a><hr></p>';


if($action=="menu"){
echo'<p align="left"><img src="/images/img/act1.gif" alt=""> <a href="/pages/index.php?p=pages&amp;f=privat&amp;'.SID.'">Письма ('.$privat.'/'.$totals.')</a><br>';
echo'<img src="/images/img/act2.gif" alt=""> <a href="/games/index.php?p=games&amp;f=bank&amp;'.SID.'">Золото ('.$udata[41].'/';
include_once"$DOCUMENT_ROOT/template/usersumm.php";
echo')</a><br>';
echo'<img src="/images/img/act2.gif" alt=""> <a href="/pages/index.php?p=pages&amp;f=profil&amp;'.SID.'">Мой профиль</a><br>';
echo'<img src="/images/img/act2.gif" alt=""> <a href="/pages/index.php?p=pages&amp;f=anketa&amp;'.SID.'">Моя анкета</a><br>';
echo'<img src="/images/img/act2.gif" alt=""> <a href="/pages/index.php?p=pages&amp;f=setting&amp;'.SID.'">Настройки</a><hr></p>';
}
}
}
?><?
echo'<p align="left"><img src="/images/img/act2.gif" alt=""> <a href="/news/?p=news&amp;'.SID.'">Новости</a><br>';
echo'<img src="/images/img/act2.gif" alt=""> <a href="/lib/?p=lib&amp;'.SID.'">Библиотека</a><br>';
echo'<img src="/images/img/act2.gif" alt=""> <a href="/download/?p=download&amp;'.SID.'">Загрузки</a><br>';
echo'<img src="/images/img/act2.gif" alt=""> <a href="/forum/?p=forum&amp;'.SID.'">Форум</a><br>';
echo'<img src="/images/img/act2.gif" alt=""> <a href="/chat/?p=chat&amp;'.SID.'">Мини-чат</a><br>';
echo'<img src="/images/img/act2.gif" alt=""> <a href="/book/?p=book&amp;'.SID.'">Гостевая книга</a><br>';
echo'<img src="/images/img/act2.gif" alt=""> <a href="/gallery/?p=gallery&amp;'.SID.'">Фотогалерея</a><br>';
echo'<img src="/images/img/act2.gif" alt=""> <a href="/index.php?action=arkada&amp;'.SID.'">Online Casino</a><br>';
echo'<img src="/images/img/act2.gif" alt=""> <a href="/index.php?action=master&amp;'.SID.'">WAP Мастеру</a><br>';
echo'<img src="/images/img/act2.gif" alt=""> <a href="/board/index.php?p=board&amp;'.SID.'">Объявления</a><br>';
echo'<img src="/images/img/act2.gif" alt=""> <a href="/votes/index.php?p=votes&amp;'.SID.'">Голосование</a><br>';
echo'<img src="/images/img/act2.gif" alt=""> <a href="/index.php?action=info&amp;'.SID.'">Интересное</a><br>';
echo'<img src="/images/img/act2.gif" alt=""> <a href="/index.php?action=statistik&amp;'.SID.'">Статистика</a><br></p>';