   <!-- header section start-->
   <div class="header-section">

   	<a class="toggle-btn"><i class="fa fa-bars"></i></a>


   	<!--notification menu start -->
   	<div class="menu-right">
   		<ul class="notification-menu">
            
             
             <li>
               <a style="padding:12px 6px" href="../mod_block/mod_block.php?lang=<?php echo LANG?>&ppid=jtblock_bkcustom" class="btn btn-default  info-number"  >
               <i class="fa fa-gear" aria-hidden="true"></i> 区块</a>
            </li>

            <li>
               <a  style="padding:12px 6px" href="../mod_node/mod_node.php?lang=<?php echo LANG?>" class="btn btn-default  info-number"  >
                <i class="fa fa-file-text-o" aria-hidden="true"></i> 内容</a>
            </li>

            <li>
               <a  style="padding:12px 6px" href="../mod_category/mod_category.php?lang=<?php echo LANG?>" class="btn btn-default  info-number"  >
                <i class="fa fa-gear" aria-hidden="true"></i> 分类</a>
            </li>

 

   
    <?php 
if(ENABLEMULTISITE=='y') {

   $nowlang = $_GET['lang'];
  $nowlangimg = $nowlang.' <img src="'.STAPATH.'img/langimg/'.$nowlang.'.gif" style="width:auto;height:15px;" alt="" />';
   ?>

<li>
     <a href="#" class="btn btn-default dropdown-toggle info-number" data-toggle="dropdown">
                  <i class="fa fa-language" aria-hidden="true"></i>
                 切换语言 ( <?php echo $nowlangimg?>)<span class="caret"></span>
               </a>
               <ul class="dropsubdivbg dropdown-menu dropdown-menu-usermenu pull-right">

<?php
 $sql = "SELECT * from ".TABLE_LANG." where pbh='".USERBH."' and sta_visible='y'  order by pos desc,id";
$rowlist = getall($sql);
if($rowlist=='no') echo '暂无内容';
else{
   foreach($rowlist as $v){
    
   $header_curlang=$v['lang'];
     
   $header_sitename=$v['sitename'];

   $domain=$v['domain'];

   //if(SITEIDBYDOMAIN=='y') $link = $httpv.$domain.'/'.ADMINDIR.'/mod_basic/mod_lang.php?lang='.$header_curlang; ---not use domain in admin
  // else 
   if($switchlanglink == '')    $link = '../mod_basic/mod_lang.php?lang='.$header_curlang;
   else $link = '../'.$switchlanglink.'&lang='.$header_curlang; 
      echo '<li><a   href="'.$link.'"><i class="fa fa-caret-right" aria-hidden="true"></i> '.$header_sitename.'</a> </li>';
   }

}
?>
                 

 
               </ul>
            </li>
<?php 
}
  
  ?>
      



   			<li>
   				<a href="#" class="btn btn-default dropdown-toggle info-number" data-toggle="dropdown">
   					<i class="fa fa-file-image-o" aria-hidden="true"></i>
   					媒体与标识<span class="caret"></span>
   				</a>
   				<ul class="dropsubdivbg dropdown-menu dropdown-menu-usermenu pull-right">


   					<li><a class="needpopup" href="../mod_imgfj/mod_imgfj.php?pid=name&amp;lang=<?php echo LANG?>"><i class="fa fa-caret-right" aria-hidden="true"></i> 名称附件管理</a> </li>
   					<li><a class="needpopup" href="../mod_imgfj/mod_imgfj.php?pid=common&amp;lang=<?php echo LANG?>"><i class="fa fa-caret-right" aria-hidden="true"></i> 公共编辑器附件管理</a> </li>
   					<li><a class="needpopup" href="../mod_module/mod_showid.php?lang=<?php echo LANG?>"><i class="fa fa-caret-right" aria-hidden="true"></i>  查看标识 &gt;</a> </li> 


 
   				</ul>
   			</li>






   			<li>
   				<a title="用户管理" href="#" class="btn btn-default dropdown-toggle info-number" data-toggle="dropdown"> 

   					<?php 
                        // <img class="clicknextshow" src="../cssjs/img/user.png" height="24" alt="user" />
   					?>

   					<i class="fa fa-user-circle-o" aria-hidden="true"></i><span class="caret"></span>
   				</a>
   				<ul class="dropsubdivbg dropdown-menu dropdown-menu-usermenu pull-right">


   					<li>  <a href="../mod_account/mod_account.php?lang=<?php echo LANG?>"><i class="fa fa-caret-right" aria-hidden="true"></i> 修改密码 </a>
   					</li>
   					<li> <a  title="退出" href="../mod_common/logout.php"> <i class="fa fa-caret-right" aria-hidden="true"></i> 退出 </a> </li>
   				</ul>
   			</li>

   			<li>
   				<a title="访问前台" target="_blank" href="<?php echo fronturl(BASEURLPATH);?>" class="btn btn-default dropdown-toggle info-number" >
   					<i class="fa fa-external-link-square" aria-hidden="true"></i>

   				</a>

   			</li>



   		</ul>
   	</div>
   	<!--notification menu end -->

   </div>
   <!-- header section end-->
