<div id="top">
    <div class="top container">
        <div class="text left">
            <p><?php  echo $name;  ?><?php  echo $subname;  ?></p>
        </div>
        <div class="topnav right">
        <span class="top_map"><a href="<?php  echo $host;  ?>" target="_blank">返回首页</a></span>
            <span class="top_weixin"><i class="fa fa-weixin"></i>微信
                <div class="wxqr">
                    <img src="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/images/weixin.jpg" alt="微信">
                </div>
            </span>
            <span class="top_mobile"><i class="fa fa-mobile"></i>手机版
                <div class="mbqr">
                    <img src="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/images/shouji.png" alt="手机版">
                </div>
            </span>
            
        </div>
    </div>
</div>
<div id="header">
    <div class="header container sabit">
        <div class="logo"><a href="/" title=""><img src="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/images/logo.png" alt=""></a></div>
        <div class="search">
            <form onSubmit="return checkSearchForm()" method="post" name="searchform" action="<?php  echo $host;  ?>search.php?act=search">
                <input class="left" name="q" placeholder="输入关键词" type="text">
                <button class="right" type="submit" value="搜索">
                    <i class="fa fa-search"></i>
                </button>
            </form>
        </div>
        <div class="mnav"><i class="fa fa-bars"></i></div>
        <div class="msearch"><i class="fa fa-search"></i></div>
    </div>
</div>
<div id="nav">
    <div id="monavber" class="nav container" data-type="index" data-infoid="">
        <ul class="navbar">
            <li class="active"><a href="<?php  echo $host;  ?>">网站首页</a></li>
            <?php  $menu=$zbp->Config('bluecms')->NavArray ?>
     <?php if ($zbp->Config('bluecms')->NavArray) { ?>
	<?php  if(json_decode($menu,true)){ $menu = json_decode($menu,true);}  ?> 
    <?php  foreach ( $menu as $slider) { ?>
	<li><?php  echo $slider['navico'];  ?><a href="<?php  echo $slider['navurl'];  ?>"><?php  echo $slider['navname'];  ?></a>
    <?php if ($slider['navurl']) { ?>
		  <UL>
<?php  echo bluecms_subCate($slider['twomenu']);  ?>
		</UL><?php } ?>
	</li>
    <?php }   ?>
			               	<?php } ?>	
                                                     
        </ul>
    </div>
</div><?php  echo $header;  ?>