Файл: test.zfarm.mobi/styledb/mystyleusermenu.php
Строк: 49
<?php
echo '<div class="feedbackPanel">Мой кабинет</div>';
echo '<li>';
echo '<a class="btnm" href="?friends">';
echo '<img width="16" height="16" src="images/zombi/zombi_img/FEB_3.png" alt="0" title="" />';
echo ' Друзья <span class="fr like">('.mysql_result(mysql_query("SELECT COUNT(*) FROM `mystyle_friends` WHERE `user` = '".num($user['id'])."'"), 0).'/'.mysql_result(mysql_query("SELECT COUNT(*) FROM `mystyle_blacklist` WHERE `user` = '".num($user['id'])."'"), 0).')</span>';
echo '</a>';
echo '</li>';
echo '<li><a class="btnm" href="?mystylecollectionsindex"><img width="16" height="16" src="images/Collections/hc_lila.png" alt="0" title=""/> Книга коллекций</a></li> ';
echo '<li><a class="btnm" href="?linkpayment&link"><img width="16" height="16" src="images/zombi/cash.png" alt="рубины"/> Сервисы + WebMoney</a></li>';
echo '<li><a class="btnm" href="?linkpaymentuser"><img width="16" height="16" src="images/zombi/cash.png" alt="рубины"/> Мои покупки</a></li>';
$vol_user_type = mysql_result(mysql_query("SELECT COUNT(*) FROM `mystyle_collections_exp` WHERE `type` = '".my_esc(yes)."' AND `user` = '".num($user['id'])."'"), 0);
if($vol_user_type) $vol_user = '<span class="fr like">Выполнено</span>';
echo '<li><a class="btnm" href="?mystylecollectionexp"><img width="16" height="16" src="images/zombi/zombi_img/HL_23.png" alt="+" title=""/> Волшебник '.$vol_user.'</a></li> ';
echo url_img('?usersunduk', 'images/m_cherep2.png', 'Мой сундук', 'Мой сундук');
echo url_img('?profile='.$user['id'].'', 'images/icons/m_off_guard.png', 'Профиль', 'Профиль');
if($user['postroyki1'] == 1 || $user['postroyki2'] == 2 || $user['postroyki3'] == 3 || $user['postroyki4'] == 4 || $user['postroyki5'] == 5 || $user['postroyki6'] == 6 || $user['postroyki7'] == 7 || $user['postroyki8'] == 8 || $user['postroyki9'] == 9 || $user['postroyki10'] == 10 || $user['postroyki11'] == 11 || $user['postroyki12'] == 12){
echo '<li><a class="btnm" href="?menupostroyki"><img width="16" height="16" src="images/s_brick.png" alt="0" title=""/> Мои постройки</a></li> '; }
echo '<li><a class="btnm" href="?setting"><img width="16" height="16" src="images/s_gear.png" alt="0" title=""/> Настройки</a></li> ';
echo '<li><a class="btnm" href="?linkuserresursy"><img width="16" height="16" src="images/s_woodpalm.png" alt="0" title=""/> Мои ресурсы</a></li> ';
echo '<li><a class="btnm" href="?linkusersklad"><img width="16" height="16" src="images/s_zolian.png" alt="0" title=""/> Склад</a></li> ';
?>