Вход Регистрация
Файл: public_html/style/themes/default/head.php
Строк: 201
<!DOCTYPE html>
<html lang="ru" class="vk vk_js_yes vk_flex_yes r m h">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#5d80a6" />

<link rel="stylesheet" href="http://nasimbe.ru/style/themes/vk/s_cfmxw.css?v=1514675846" type="text/css" /> 
<link rel="stylesheet" href="http://nasimbe.ru/style/themes/vk/s_yzgt.css?v=1514466761" type="text/css" /> 

 <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> 
<script src="http://nasimbe.ru/js/visibility.min.js"></script>
 <script src="http://nasimbe.ru/js/jquery.ajaxRequest.js?v=1516275317"></script> 
<script src="http://nasimbe.ru/js/main.js?v=1516354513"></script>
 <script type="text/javascript" src="http://nasimbe.ru/js/ny2018.js?v=36"></script>



<style> .title { font-weight: bold; display: block; color: #657e9b; padding: 8px; background: #DEE5EB; } 
 .err { font-weight: bold; display: block; color: #657e9b; padding: 8px; background: #ddd; } 

 .msg { font-weight: bold; display: block; color: #657e9b; padding: 8px; background: #ddd; } 
 .mess { font-weight: bold; display: block; color: #657e9b; padding: 8px; background: #ddd; } 
</style>


<title> <?= $set['title'?> </title>
</head>


<?

// запросы 

    
$k_new mysql_result(mysql_query("SELECT COUNT(`mail`.`id`) FROM `mail`
             LEFT JOIN `users_konts` ON `mail`.`id_user` = `users_konts`.`id_kont` AND `users_konts`.`id_user` = '
$user[id]'
             WHERE `mail`.`id_kont` = '
$user[id]' AND (`users_konts`.`type` IS NULL OR `users_konts`.`type` = 'common' OR `users_konts`.`type` = 'favorite') AND `mail`.`read` = '0'"),0);
             
            
$k_new_fav mysql_result(mysql_query("SELECT COUNT(`mail`.`id`) FROM `mail`
             LEFT JOIN `users_konts` ON `mail`.`id_user` = `users_konts`.`id_kont` AND `users_konts`.`id_user` = '
$user[id]'
             WHERE `mail`.`id_kont` = '
$user[id]' AND (`users_konts`.`type` = 'favorite') AND `mail`.`read` = '0'"),0); // Почта            
             
             
$lenta mysql_result(mysql_query("SELECT COUNT(`read`) FROM `tape` WHERE `id_user` = '$user[id]' AND `read` = '0' "),0); // Лента            
             
             
$discuss mysql_result(mysql_query("SELECT COUNT(`count`) FROM `discussions` WHERE `id_user` = '$user[id]' AND `count` > '0' "),0); // Обсуждения            
             
             
$k_frend mysql_result(mysql_query("SELECT COUNT(id) FROM `frends_new` WHERE `to` = '$user[id]'"), 0); // Друзья            
             
             
$k_notif mysql_result(mysql_query("SELECT COUNT(`read`) FROM `notification` WHERE `id_user` = '$user[id]' AND `read` = '0'"), 0); // Уведомления    
?>     
<body id="vk" class="_hover _lm _ivk _hfixed">
    <div id="vk_head" class="mhead">
        <div class="hb_wrap"><div class="hb_btn">&nbsp;</div></div>
    </div>
    <div id="vk_wrap" class="_vpan qs_enabled">
        <div id="l">
            <div class="mhead">
                <div class="head_search">
                    <form action="/plugins/search/?search" class="qsearch" method="post">
                        <table class="row_table">
                            <tbody>
                                <tr>
                                    <td class="row_table_main_column">
                                        <div class="qs_field_wrap">
                                        <i class="i_search"></i>
                                            <div class="iwrap">
                                                <input type="text" class="textfield qs_textfield" name="search" value="" autocomplete="off" placeholder="Люди, Форум, Файлы, Дневники...">
                                            </div>
                                        </div>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </form>
  </div>
                <a href="/" class="hb_wrap mhb_logo al_menu" style="height: 43px"></a>
            </div>
            <div id="lm_cont" class="m_search_cont">
                <div class="pcont fit_box">
     

                    <ul class="main_menu bli_cont">


                   <li class="mmi_friends">
                            <a href="/info.php" class="mm_item al_menu bli" >
                                <i class="i_icon"></i>
                                <span class="mmi_wrap">
                                    <span class="mm_label">Моя страница</span>
                                </span>
                            </a>
                        </li>
                        <li class="mmi_feed">
                            <a href="/user/tape/" class="mm_item al_menu bli" >
                                <i class="i_icon"></i>
                                <span class="mmi_wrap">
                                    <span class="mm_label">Лента 
<?
        
if ($lenta 0)
            {
                
$j2 'tape';
            }
            elseif (
$discuss 0)
            {
                
$j2 'discussions';
            }
            elseif (
$k_notif 0)
            {
                
$j2 'notification';
            }
            else
            {
                
$j2 'tape';
            }
        
// Cкладываем сумму счетчиков
            
$k_l $lenta $k_notif $discuss;
            
            if(
$k_l 0)
            {
    
                
?>
     

<em class="pm_counter"> <?=$k_l?> </em> 
<?
}
?>

</span>
                                                                    </span>
                            </a>

                      </li>

               <li class="mmi_mail">
                            <a href="/mail.php" class="mm_item al_menu bli" >
                                <i class="i_icon"></i>
                                <span class="mmi_wrap">
                                    <span class="mm_label">Сообщения 
    <? if ($k_new != && $k_new_fav == 0)
            {                
?>
<em class="pm_counter"> <?=$k_new?> </em> <?
}
else
{
}
?>

</span>
                                                                    </span>
                            </a>
                        </li>


                        <li class="mmi_friends">
                            <a href="/user/frends/" class="mm_item al_menu bli" >
                                <i class="i_icon"></i>
                                <span class="mmi_wrap">
                                    <span class="mm_label">Друзья<?
            
if ($k_frend 0)
            {
                
?>
<em class="pm_counter"> <?=$k_frend?> </em> <?
}
?>

</span>
                                                                    </span>
                            </a>
                        </li>
                        <li class="mmi_groups">
                            <a href="#" class="mm_item al_menu">
                                <i class="i_icon"></i>
                                <span class="mmi_wrap">
                                    <span class="mm_label">Группы</span> (в разработке)
                                </span>
                            </a>
                        </li>
                        <li class="mmi_games">
                            <a href="/plugins/apps/" class="mm_item al_menu bli" >
                                <i class="i_icon"></i>
                                <span class="mmi_wrap">
                                    <span class="mm_label">Игры</span>
                                </span>
                            </a>
                        </li>
                        <li class="mmi_photos">
                            <a href="/foto/30/" class="mm_item al_menu bli" >
                                <i class="i_icon"></i>
                                <span class="mmi_wrap">
                                    <span class="mm_label">Фотографии</span>
                                </span>
                            </a>
                        </li>
                        <li class="mmi_video">
                            <a href="/plugins/video/" class="mm_item al_menu bli" >
                                <i class="i_icon"></i>
                                <span class="mmi_wrap">
                                    <span class="mm_label">Видео</span>
                                </span>
                            </a>
                        </li>
                        <li class="mmi_audio">
                            <a href="/audio/" class="mm_item al_menu bli" >
                                <i class="i_icon"></i>
                                <span class="mmi_wrap">
                                    <span class="mm_label">Музыка</span>
                                </span>
                            </a>
                        </li>
                    </ul>
                    <div id="lm_player" class="lm_player">
                        <div id="lm_audio" class="audio_item al_player">
                <div class="audio_prev" onclick="audio.prev();">
                <i class="icon"></i>
                </div>
                            <div class="ai_play" onclick="audioplayer.playPause(event);">
                                <i class="i_play"></i>
                            </div>
                <div class="audio_next" onclick="audio.next();">
                <i class="icon"></i>
                </div>
                            <div class="ai_body">
                                <i class="i_arr"></i>
                                <div class="ai_label">
                                    <div class="ai_title"></div>
                                    <div class="ai_artist"></div>
                                </div>
                            </div>
                        </div>    
                    </div>
                </div>
                <div class="mfoot">
                    <ul class="left_footer_menu">
                                            <li class="mmi_settings">
                            <a href="/user/info/settings.php" class="lfm_item al_menu">
                                <i class="i_icon"></i>
                                <span class="mmi_wrap">
                                    <span class="mm_label">Настройки</span>
                                </span>
                            </a>
                        </li>
                        <li class="mmi_help">
                            <a href="http://nasimbe.ru/support_service/?" class="lfm_item al_menu">
                                <i class="i_icon"></i>
                                <span class="mmi_wrap">
                                    <span class="mm_label">Помощь</span>
                                </span>
                            </a>
                        </li>
                                                <li class="mmi_logout">
                            <a href="/exit.php" class="lfm_item" data-noajax="">
                                <i class="i_icon"></i>

                                <span class="mmi_wrap">
                                    <span class="mm_label">Выход</span>    
                                </span>
                            </a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>  
        <div id="m">
            <div id="mhead" class="mhead">
                <a id="_l_open" href="/" accesskey="*" class="hb_wrap mhb_home">

                    <div class="hb_btn mhi_home">&nbsp;</div>
                </a>
                <a href="/mail/" class="hb_wrap mhb_notify">
                    <div id="mhb_notify" class="hb_btn mhi_notify"><em class="mh_notify_counter"></em></div>
                </a>
                <a class="hb_wrap mhb_back al_back mh_nobr" href="">
                    <h1 class="hb_btn mh_header"> <?= $set['title'?> </h1>
                </a>
            </div>
            <div id="mcont" class="mcont">
                <div id="al_loading" class="al_loading"></div>
                <div id="content" class="pcont fit_box">
Онлайн: 1
Реклама