Файл: sys/inc/main_menu.php
Строк: 81
<?
$q_menu = mysql_query("SELECT * FROM `menu` ORDER BY `pos` ASC");
while ($post_menu = mysql_fetch_assoc($q_menu))
{
    
    ?><style>.br2
{background: url(/style/themes/default/img/sne.png) no-repeat right, url(/style/themes/default/img/new2.png) repeat-x top #F6F7F8;
    color: #6A7480;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 0 6px 16px;
    border: 0px solid #D3D6DB;
    border-bottom: 1px solid #accdec;
    line-height: 25px;
}
.br2 a:link, .br2 a:visited {
color : #ad3232;
}
    .br
{background: url(/style/themes/default/img/igr.png) no-repeat right, url(/style/themes/default/img/new1.png) repeat-x top #F6F7F8;
    color: #bacfe4;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 0 6px 16px;
    border: 0px solid #D3D6DB;
    border-bottom: 1px solid #accdec;
    line-height: 25px;
}
 .br a:link, .br a:visited {
color : #29345a;
}
    
    </style><?
    
    
    
    
    if ($post_menu['type'] == 'link')
    echo '<div class="' . ($num % 2 ? "br2" : "br") . '">';
    $num++;
        if ($post_menu['type'] == 'link')
    echo '<img src="/style/icons/' . $post_menu['icon'] . '" alt="*" /> ';
    if ($post_menu['type'] == 'link')
    echo '<a  href="' . $post_menu['url'] . '">';
    else 
    echo '<div class="menu_razd">';
    
    echo $post_menu['name'];
    
    
    if ($post_menu['type'] == 'link')
    echo '</a> ';
    
    if ($post_menu['counter'] != NULL && is_file(H . $post_menu['counter']))
    {
        ?><style>
        
       .count1 {
    background: #212223!important;
    border: 1px solid #044e6b;
    color: #fff;
    padding: 0px 3px;
    margin: 0 1px;
    border-radius: 4px;
    display: inline-block;
    
    
}
        
     .count2 {
   background: #9c9696;
    border: 1px solid #3c3939;
    color: #fff;
    padding: 0px 3px;
    margin: 0 1px;
    border-radius: 4px;
    display: inline-block;
}   
        
        </style><?
        
        
        
            echo '<span class="' . (@$numn % 2 ? "count1" : "count2") . '">';
    @$numn++;
        
        
        @include H . $post_menu['counter'];
        
        echo '</span>';
    }
    echo '</div>';
}
if (user_access('adm_panel_show'))
{
    ?>
    <div class="main2">
    <img src="/style/icons/adm.gif" alt="DS" /> <a href="/plugins/admin/">Админ кабинет</a> 
    <?
    include_once H.'plugins/admin/count.php';
    ?>
    </div>
    <?
}
?>