<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<?php if ($zbp->Config('qiyeseo')->seo) { ?><?php  include $this->GetTemplate('post-header-seo');  ?><?php }else{  ?>
<title><?php  echo $name;  ?>-<?php  echo $title;  ?></title>
<?php } ?>
<?php if ($zbp->Config('qiyeseo')->coloron) { ?>
<link rel="stylesheet" type="text/css" href="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/style.ok.css"><?php }else{  ?>
<link href="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/style.min.css" rel="stylesheet" type="text/css"/>
<?php } ?>
<link href="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/css/iconfont.css" rel="stylesheet" type="text/css"/>
<script src="<?php  echo $host;  ?>zb_system/script/jquery-2.2.4.min.js" type="text/javascript"></script>
<script src="<?php  echo $host;  ?>zb_system/script/zblogphp.js" type="text/javascript"></script>
<script src="<?php  echo $host;  ?>zb_system/script/c_html_js_add.php" type="text/javascript"></script>
<?php if ($zbp->Config( 'qiyeseo' )->ejdh) { ?>
<link href="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/css/style.css" rel="stylesheet" type="text/css"/>
<script src="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/js/jquery-latest.min.js"></script>
<script src="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/js/script.js"></script>
<?php } ?>
<script src="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/js/ft-carousel.min.js"></script>
<style>
.main {max-width: <?php if ($zbp->Config('qiyeseo')->webwidth) { ?><?php  echo $zbp->Config('qiyeseo')->webwidth;  ?><?php }else{  ?>960px<?php } ?>;}
<?php if ($zbp->Config('qiyeseo')->bgon) { ?>body {background-image:url(<?php  echo $zbp->Config('qiyeseo')->bgimg;  ?>);}<?php } ?>
</style>
<?php  echo $header;  ?></head><body>
<div class="main">
 <header>
<?php if ($zbp->Config('qiyeseo')->shopsignon) { ?>
<div class="shopsign"><a target="_blank" href="<?php  echo $host;  ?>"><img src="<?php  echo $zbp->Config('qiyeseo')->shopsign;  ?>" alt="<?php  echo $name;  ?>"></a></div>
<?php }else{  ?>
        <?php if ($zbp->Config( 'qiyeseo' )->search) { ?>
   <div class="search">
    <form method="post" id="search_form" action="<?php  echo $host;  ?>zb_system/cmd.php?act=search">
      <input type="text" name="q" value="请输入关键词" onBlur="if(this.value=='')this.value='请输入关键词';" onFocus="if(this.value=='请输入关键词')this.value='';"/>
      
      <button type="submit">搜索</button>
    </form>
  </div>
        <div class="wapsearch"><i class="iconfont">&#xe63f;</i></div><?php } ?>
<div class="logo">
 <a href="<?php  echo $host;  ?>"><img src="<?php  echo $zbp->Config('qiyeseo')->logo;  ?>" alt="<?php  echo $name;  ?>"></a></div>
  <div class="website">
    <?php if ($type=='index'&&$page=='1') { ?>
    <h1><?php  echo $name;  ?></h1><?php }else{  ?><div class="name"><?php  echo $name;  ?></div><?php } ?>
    <h3><?php  echo $subname;  ?></h3>
  </div>
<?php } ?></header><div class="clear"></div>
<script type="text/javascript" src="<?php  echo $host;  ?>zb_users/theme/<?php  echo $theme;  ?>/style/js/pgwmenu.min.js"></script> 
<script>
$(function() {
    $('.pgwMenu').pgwMenu({
		dropDownLabel: '菜单',
		viewMoreLabel: '更多<span class="icon"></span>'
	});
    $(".wapsearch").click(function() {
		$(".search").fadeToggle(500);
	});
});
</script>
<?php if ($zbp->Config( 'qiyeseo' )->daohang) { ?>
<?php if ($zbp->Config( 'qiyeseo' )->ejdh) { ?>
<div id='cssmenu'>
  <ul>
    <li><a href='<?php  echo $host;  ?>'>首页</a></li>
    <?php  if(isset($modules['catalog'])){echo $modules['catalog']->Content;}  ?>
  </ul>
</div>
<?php }else{  ?>
<ul class="pgwMenu">
  <?php  if(isset($modules['navbar'])){echo $modules['navbar']->Content;}  ?>
</ul>
<div class="clear"></div>
<?php } ?><?php } ?> 

