<header class="c-layout-header c-layout-header-default c-layout-header-default-mobile">
    <div class="top-menu">
    <div class="container">
     <div class="c-brand c-pull-left">
      <a href="/" class="c-logo">
                        <img src="assets/base/img/layout/logos/logo-1.png" alt="" class="c-desktop-logo m-logo-s">
                        <img src="assets/base/img/layout/logos/logo-1.png" alt="" class="c-desktop-logo-inverse m-logo-s">
                        <img src="assets/base/img/layout/logos/logo-1.png" alt="" class="c-mobile-logo m-logo-s">
      </a>
     </div>
     <div class="pull-right t-m-top">
      <ul>
          <?php
          $emenu1=$db->query("SELECT * FROM m_user_menu where usergroup = '0' and parent = '0' AND position=2  order BY id ASC");
          while($menu1=$db->fetchNextArray($emenu1)){
          $emenu11=$db->query("SELECT * FROM m_user_menu where usergroup = '0' and parent = '".$menu1['id']."' AND position=2  order BY id ASC");
          $menu1c1 = mysql_num_rows($emenu11);

          if($menu1c1>0){?>
              <?php while($menu11=$db->fetchNextArray($emenu11)){?>
              <?php } ?>
          <?php }else{?>
              <li><a href="<?php echo $globalConfig['baseurl'];?>/<?php echo $menu1['link'];?>"><?php echo $menu1['title']; ?></a></li>
          <?php } } ?>


      </ul>
     </div>
     </div>
    </div>

</header>