Файл: ecscl_design/sys/inc/main_menu.php
Строк: 44
<?
$q_menu = mysql_query("SELECT * FROM `menu` ORDER BY `pos` ASC");
echo '<div class="main_menu_2">';
while ($post_menu = mysql_fetch_assoc($q_menu))
{
if ($post_menu['type'] == 'link')
echo '<div class="main_menu_1">';
if ($post_menu['type'] == 'link')
echo '<a href="' . $post_menu['url'] . '">';
else {
echo '<div class="menu_razd">';
?>
<img style="float: right; padding-top: 5px;" src="/style/themes/<?=$set['set_them']?>/icons/razd.png"/>
<?
echo '<span class="razd">';}
if ($post_menu['type'] == 'link')
echo '<img src="/style/icons/' . $post_menu['icon'] . '" alt="*" /> ';
echo $post_menu['name'];
if ($post_menu['counter'] != NULL && is_file(H . $post_menu['counter']))
{
echo '<span class="count"> ';
@include H . $post_menu['counter'];
echo '</span>';
}
if ($post_menu['type'] == 'link')
echo '</a> ';
echo '</div>';
}
echo '</div>';
if (user_access('adm_panel_show'))
{
include_once H.'plugins/admin/count.php';
}
?>