Файл: billing/_rootmenu.php
Строк: 366
<style type="text/css">
<!--
body
{
margin: 0px;
padding: 0px;
background: white;
font-size: 14px;
font-family: Tahoma, Arial, Helvetica, serif;
font-weight: normal;
}
/* Menu */
a.menu, a.title, a.menu:visited, a.title:visited
{
display: block;
height: 20px;
line-height: 20px;
font-size: 12px;
font-weight: bold;
color: white;
text-decoration: none;
cursor: pointer;
background: #027777;
border: 1px solid;
border-color: #03C8FF #01576F #01576F #03C8FF;
padding: 0px 8px 0px 8px;
z-index: 100;
}
a.title:hover, a.menu:hover
{
color: yellow;
}
div.menu
{
position: absolute;
margin-top: -18px;
background: none;
padding-top: 4px;
border: 0px hidden;
display: block;
z-index: 95;
}
div.menu_hidden
{
display: none;
}
td.menu
{
text-align: left;
padding-left: 1px;
padding-right: 1px;
}
-->
</style>
<script type="text/javascript" language="JavaScript" src="func.js"></script>
<table class="menu">
<tr>
<td class="menu" onmouseover="menu_on('menu_1')" onmouseout="menu_off();"><a class="title" href="javascript:void(0)" onfocus="this.blur()">Language</a><br>
<div id="menu_1" class="menu_hidden" style="width:70px">
<!-- <a class="menu" onclick="menu_off()" onmouseout="return false" href="?sl=english">English</a>
--> <a class="menu" onclick="menu_off()" onmouseout="return false" href="?sl=russian">Russian</a>
<!-- <a class="menu" onclick="menu_off()" onmouseout="return false" href="?sl=ukrainian">Ukranian</a>
--> </div>
</td>
<td class="menu" onmouseover="menu_on('menu_2')" onmouseout="menu_off();"><a class="title" href="javascript:void(0)" onfocus="this.blur()"><?=$rmlang[1]?></a><br>
<div id="menu_2" class="menu_hidden" style="width:140px">
<a class="menu" onclick="menu_off()" onmouseout="return false" href="/"><?=$rmlang[3]?></a>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="/?do=news"><?=$rmlang[5]?></a>
<!-- <a class="menu" onclick="menu_off()" onmouseout="return false" href="http://maxejhost.blogspot.com/" target="_blank"><?=$rmlang[6]?></a> -->
<a class="menu" onclick="menu_off()" onmouseout="return false" href="/?do=rules"><?=$rmlang[7]?></a>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="/?do=faq"><?=$rmlang[9]?></a>
<? if (GetSetting("catalog_enable")) { ?>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="/?do=sites"><?=$rmlang[10]?></a>
<? } ?>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="/feedback.php"><?=$rmlang[12]?></a>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="http://hosting101.ru/maxejhost.ru" target="_blank"><?=$rmlang[58]?></a>
</div>
</td>
<td class="menu" onmouseover="menu_on('menu_3')" onmouseout="menu_off();"><a class="title" href="javascript:void(0)" onfocus="this.blur()"><?=$rmlang[13]?></a><br>
<div id="menu_3" class="menu_hidden" style="width:170px">
<a class="menu" onclick="menu_off()" onmouseout="return false" href="billing.php"><?=$rmlang[15]?></a>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="http://maxejhost.ru:2222/" target="_blank"><?=$rmlang[17]?></a>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="pma" target="_blank"><?=$rmlang[19]?></a>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="roundcube" target="_blank"><?=$rmlang[21]?></a>
</div>
</td>
<td class="menu" onmouseover="menu_on('menu_4')" onmouseout="menu_off();"><a class="title" href="javascript:void(0)" onfocus="this.blur()"><?=$rmlang[23]?></a><br>
<div id="menu_4" class="menu_hidden" style="width:220px">
<? $r = @mysql_query("select * from tarifs where active=1 and vid='hosting'") or die(mysql_error()); if (mysql_num_rows($r) >0) { ?>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="/?do=hosting"><?=$rmlang[25]?></a>
<? } $r = @mysql_query("select * from tarifs where active=1 and vid='reseller'") or die(mysql_error()); if (mysql_num_rows($r) >0) { ?>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="/?do=reseller"><?=$rmlang[27]?></a>
<? } $r = @mysql_query("select * from tarifs where active=1 and vid='vds'") or die(mysql_error()); if (mysql_num_rows($r) >0) { ?>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="/?do=vds_vps"><?=$rmlang[29]?></a>
<? } $r = @mysql_query("select * from tarifs where active=1 and vid='dedicated'") or die(mysql_error()); if (mysql_num_rows($r) >0) { ?>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="/?do=dedicated"><?=$rmlang[31]?></a>
<? } $r = @mysql_query("select * from zones where active=1") or die(mysql_error()); if (mysql_num_rows($r) >0) { ?>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="/?do=domain"><?=$rmlang[33]?></a>
<? } if (GetSetting("partnerEnable")) { ?>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="/?do=partner"><?=$rmlang[35]?></a>
<? } ?>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="/?do=admins"><?=$rmlang[57]?></a>
</div>
</td>
<td class="menu" onmouseover="menu_on('menu_5')" onmouseout="menu_off();"><a class="title" href="javascript:void(0)" onfocus="this.blur()"><?=$rmlang[37]?></a><br>
<div id="menu_5" class="menu_hidden" style="width:210px">
<? $r = @mysql_query("select * from tarifs where active=1 and vid='hosting'") or die(mysql_error()); if (mysql_num_rows($r) >0) { ?>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="order.php?vid=hosting"><?=$rmlang[38]?></a>
<? } $r = @mysql_query("select * from tarifs where active=1 and vid='reseller'") or die(mysql_error()); if (mysql_num_rows($r) >0) { ?>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="order.php?vid=reseller"><?=$rmlang[40]?></a>
<? } $r = @mysql_query("select * from tarifs where active=1 and vid='vds'") or die(mysql_error()); if (mysql_num_rows($r) >0) { ?>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="order.php?vid=vds"><?=$rmlang[42]?></a>
<? } $r = @mysql_query("select * from tarifs where active=1 and vid='dedicated'") or die(mysql_error()); if (mysql_num_rows($r) >0) { ?>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="order.php?vid=dedicated"><?=$rmlang[43]?></a>
<? } $r = @mysql_query("select * from zones where active=1") or die(mysql_error()); if (mysql_num_rows($r) >0) { ?>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="order.php?type=d"><?=$rmlang[44]?></a>
<? } if (GetSetting("partnerEnable")) { ?>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="order.php?type=partner"><?=$rmlang[46]?></a>
<? } ?>
</div>
</td>
<td class="menu" onmouseover="menu_on('menu_6')" onmouseout="menu_off();"><a class="title" href="javascript:void(0)" onfocus="this.blur()"><?=$rmlang[48]?></a><br>
<div id="menu_6" class="menu_hidden" style="width:150px">
<? $r = @mysql_query("select * from tarifs where active=1 and vid='hosting'") or die(mysql_error()); if (mysql_num_rows($r) >0) { ?>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="calc.php?vid=hosting"><?=$rmlang[50]?></a>
<? } $r = @mysql_query("select * from tarifs where active=1 and vid='reseller'") or die(mysql_error()); if (mysql_num_rows($r) >0) { ?>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="calc.php?vid=reseller"><?=$rmlang[52]?></a>
<? } $r = @mysql_query("select * from tarifs where active=1 and vid='vds'") or die(mysql_error()); if (mysql_num_rows($r) >0) { ?>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="calc.php?vid=vds"><?=$rmlang[54]?></a>
<? } $r = @mysql_query("select * from tarifs where active=1 and vid='dedicated'") or die(mysql_error()); if (mysql_num_rows($r) >0) { ?>
<a class="menu" onclick="menu_off()" onmouseout="return false" href="calc.php?vid=dedicated"><?=$rmlang[56]?></a>
<? } ?>
</div>
</td>
</tr>
</table>