<?php

if (LANG_VERSION == 'en'){
    $left_mob_menu = 'leftenmenu';

    $part_title = 'Topics';

}
else{
    $left_mob_menu = 'leftmenu'; 
    $part_title = 'Рубрики';  
}

//$menu_items = wp_get_nav_menu_items($gamburger_menu);?>

<?php $menu_items = wp_get_nav_menu_items(vij_lang('gamburger', LANG_VERSION));?>

<div id="mobile_main_menu">


<div class="main_main">
    
    <ul id="gamburer_menu" class="menu">
    <li id="rubrics_start"><a href="#"><?=$part_title?><span class="rub_arrow">></span></a></li>
        <?foreach ($menu_items as $item):?>
            <li><a href="<?=$item->url?>"><?=$item->title?></a></li>
        <?endforeach?>
      
    </ul>
</div>   

<div class="mob_menu_contacts">
      <div class="mob_menu_tel">+7 (495) 925 06 34</div>
      <div class="mob_menu_mail"><a href="maito:info@vetandlife.ru">info@vetandlife.ru</a></div>      
</div>    

<div class="mob_menu_info"> 
    <?php  include get_template_directory().'/blocks/mobile-gazeta.php';?>
    <?php include get_template_directory().'/blocks/mobile-subscript.php';?>
    <?php include get_template_directory().'/blocks/social-buttons.php';?>
</div>
           
                <?php /**wp_nav_menu( array( 
                    'container_class' => 'main_main', 
                    'menu' => 'mob_topmenu',
                    'menu_id' => 'gamburer_menu'
                ) ); **/?>
    <div id="mobile_submenu">  
        <div id="lang_mobile_title"><a href="<?=get_site_url().vij_lang('btn_lan_link', LANG_VERSION)?>"><?=vij_lang('btn_lan', LANG_VERSION)?></a></div>            
        <div id="closed_mobile_menu"></div>  
    </div>              
</div>

<div id="mobile_rubrics_menu">
    <div id='rubrics_back'><strong><</strong> <span class="rub_back_title"><?=vij_lang('back_btn_rubric_menu', LANG_VERSION)?></span></div>
    <?php wp_nav_menu( array(
	            'menu_class'=>'menu_left',
                'menu'=>$left_mob_menu
            ));?>

    <div id="closed_mobile_rubrics_menu"></div>         
</div>    
