   <!-- 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">



   
    <?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."' order by pos desc,id $limit";
$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 
   $link = '../mod_basic/mod_lang.php?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> 
  <li><a class="needpopup" href="../mod_style/mod_style_pop.php?lang=<?php echo LANG?>&file=clearcache"><i class="fa fa-caret-right" aria-hidden="true"></i> 清除缓存</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-->
