Файл: inc/_user_menu.php
Строк: 197
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
<STYLE>
body, input{
font-family: Calibri, Arial;
}
#accordion {
list-style: none;
padding: 0 0 0 0;
width: 300px;
}
#accordion li{
display: block;
background-color: #3a75c4;
text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.298);
box-shadow: inset 0px 1px 10px 0px rgba(55, 55, 55, 0.400), 3px 5px 10px rgba(0, 0, 0, 0.402);
margin: 3px;
cursor: pointer;
padding: 6 15 6 10px;
list-style: circle;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}
#accordion ul {
list-style: none;
padding: 0 0 0 0;
display: none;
}
#accordion ul li{
font-weight: normal;
box-shadow: inset 0px 1px 10px 1px rgba(5, 5, 5, 0.900), 3px 5px 10px rgba(0, 0, 0, 0.302);
cursor: auto;
background-color: #0bda51;
padding: 5 0 5 20px;
}
#accordion a {
text-decoration: none;
}
#accordion a:hover {
text-decoration: underline;
}
</STYLE>
<div class="akk">
<table style="width: 320; align="center" width=""">
<tr><td align="center" style="border-top-color: black; border-left-color: black; border-right-color: black; border-bottom-color: black; border-top-width: 1px; border-left-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-left-style: solid; border-right-style: solid; border-bottom-style: solid; background-color: d0f0c0" "="" "><a href="/account"><font color="#483d8b"><b>Мой профиль</b>
</font>
</a>
</td>
<td colspan="2" align="center" style=" border-top-color: black; border-left-color: black; border-right-color: black; border-bottom-color: black; border-top-width: 1px; border-left-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-left-style: solid; border-right-style: solid; border-bottom-style: solid; background-color: d0f0c0 ">
<a href="/account/exit"><font color="#D20001"><b>ВЫХОД</b></font></a>
</td>
</tr>
<tr>
<td rowspan="3" style="border-top-color: black; border-left-color: black; border-right-color: black; border-bottom-color: black; border-top-width: 1px; border-left-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-left-style: solid; border-right-style: solid; border-bottom-style: solid; background-color: d0f0c0">
<center>
<img src="/img/diz/menu_up.png">
</b><hr>
<?
$user_id = $_SESSION["user_id"];
$db->Query("SELECT * FROM db_users_a, db_users_b WHERE db_users_a.id = db_users_b.id AND db_users_a.id = '$user_id'");
$prof_data = $db->FetchArray();
?>
<font color="blue">
<b>Привет! <br>
<?=$_SESSION["user"]; ?>
</font>
<br>
</center>
</td>
<td colspan="2" align="center" style="border-top-color: black; border-left-color: black; border-right-color: black; border-bottom-color: black; border-top-width: 1px; border-left-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-left-style: solid; border-right-style: solid; border-bottom-style: solid; background-color: DBF4F6"><b>Баланс счета для:</b><br></td>
</tr>
<tr>
<td style="border-top-color: black; border-left-color: black; border-right-color: black; border-bottom-color: black; border-top-width: 1px; border-left-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-left-style: solid; border-right-style: solid; border-bottom-style: solid; background-color: DBF4F6"><div align="center">покупок<br>
<div class="line-st2">
<a href="/account/insert">{!BALANCE_B!}</a>
</div>
<br>
</div>
</td>
<td style="border-top-color: black; border-left-color: black; border-right-color: black; border-bottom-color: black; border-top-width: 1px; border-left-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-left-style: solid; border-right-style: solid; border-bottom-style: solid; background-color: DBF4F6">
<div align="center">вывода<br>
<div class="line-st2">
<a href="/account/payment">{!BALANCE_P!}</a>
</div>
<br>
</div>
</td>
</tr>
<tr>
<td style="border-top-color: black; border-left-color: black; border-right-color: black; border-bottom-color: black; border-top-width: 1px; border-left-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-left-style: solid; border-right-style: solid; border-bottom-style: solid; background-color: DBF4F6">
<div align="center">
<a href="/account/insert">
<font color="#000080">
<img border="0" align="absmiddle" src="/img/insert.png"><br>Пополнить</div</font>
</a>
</div>
</td>
<td style="border-top-color: black; border-left-color: black; border-right-color: black; border-bottom-color: black; border-top-width: 1px; border-left-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-left-style: solid; border-right-style: solid; border-bottom-style: solid; background-color: DBF4F6">
<div align="center"><a href="/account/payment">
<font color="#000080"><img border="0" align="absmiddle" src="/img/payment.png"><br>Вывести</font>
</a>
</div>
</td>
</tr>
</table>
<ul id="accordion">
<li><img border="0" align="absmiddle" src="/img/diz/eco_mmenu.png"> <span style="font-size:14pt"><font color="#000000" align="left" ><b>Профиль</b></font></span></li>
<ul>
<li><a href="/account">Профиль</a></li>
<li><a href="/account/swap">Обменник ВП</a></li>
<li><a href="/account/swap2">Обменник ПВ</a></li>
<li><a href="/account/help">Помощь проекту</a></li>
<li><a href="/account/bitva">Битва за экологию</a></li>
<li><a href="/account/static">Статистика проекта</a></li>
<li><a href="/account/donations">Пожертвования</a></li>
<li><a href="/account/config">Настройки</a></li>
</ul>
<li><img border="0" align="absmiddle" src="/img/diz/menu_eco.png"> <span style="font-size:14pt"><font color="#000000" align="left" ><b>Экология воздуха</b></font></span></li>
<ul>
<li><a href="/account/farm">Эко-Магазин</a></li>
<li><a href="/account/store">Эко-Участок</a></li>
<li><a href="/account/market">Гос-Рынок</a></li>
</ul>
<li><img border="0" align="absmiddle" src="/img/diz/menu_aqua.png"> <span style="font-size:14pt"><font color="#000000" align="left" ><b>Экология воды</b></font></span></li>
<ul>
<li><a href="/account/aqua">Аква-Магазин</a></li>
<li><a href="/account/aquastore">Аква-Участок</a></li>
<li><a href="/account/aquamarket">Аква-Рынок</a></li>
</ul>
<li><img border="0" align="absmiddle" src="/img/diz/partnerka.png"> <span style="font-size:14pt"><font color="#000000"><b>Партнерка</b></font></span></li>
<ul>
<li><a href="/account/referals">Ваши рефералы</a></li>
<li><a href="/account/promo">Рекламные материалы</a></li>
<li><a href="/competition">Конкурс рефералов</a></li>
</ul>
<li><img border="0" align="absmiddle" src="/img/diz/menu_igri.png"> <span style="font-size:14pt"><font color="#000000"><b>Развлечения</b></font></span></li>
<ul>
<li><a href="/webtomat.php">1000 Игр</a></li>
<li><a href="/account/knb">КНБ</a></li>
<li><a href="/account/lottery">Лотерея</a></li>
<li><a href="/account/auc">Аукцион ставок</a></li>
<li><a href="/account/rul">Наперстки</a></li>
<li><a href="/account/eco">Эко-Житель</a></li>
<li><a href="/account/chat">Чат</a></li>
</ul>
<li><img border="0" align="absmiddle" src="/img/diz/bonus.png"> <span style="font-size:14pt"><font color="#000000"><b>Бонусы</b></font></span></li>
<ul>
<li><a href="/account/bonus">Ежедневный бонус</a></li>
<li><a href="/account/bonus2">Бонус с риском</a></li>
<li><a href="/account/set">WM SET Бонусы</a></li>
<li><a href="/account/best">Акции | Конкурсы</a></li>
<li><a href="/account/back">Накопительны банк</a></li>
</ul>
</ul>
</div>
<SCRIPT>
$("#accordion > li").click(function(){
if(false == $(this).next().is(':visible')) {
$('#accordion > ul').slideUp(300);
}
$(this).next().slideToggle(300);
});
$('#accordion > ul:eq(0)').show();
</SCRIPT>