<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<?php $general_options = get_option('ashuwp_general');//调用后台总数据?>
<title><?php if ( is_home() ) { ?><?php if($general_options['wpd_title']) {?><?php echo $general_options['wpd_title']; ?><?php }else{?><?php bloginfo('name'); ?><?php } ?><?php } ?>
<?php if ( is_tag() ) { ?><?php single_tag_title(); ?><? $paged = get_query_var('paged'); if ( $paged > 1 ) printf('_ 第 %s 页 ',$paged); ?> - <?php bloginfo('name'); ?><?php } ?>
<?php if ( is_page() ) { ?><?php echo trim(wp_title('',0)); ?><?php if (get_query_var('page')) { echo ' _ 第'; echo get_query_var('page'); echo '页';}?> - <?php bloginfo('name'); ?><?php } ?>
<?php if ( is_category() ) {?><?php $cattitle = get_term_meta($cat,'cattitle',true);if($cattitle){echo $cattitle;}else{single_cat_title();}?><?php echo ' - '; bloginfo('name'); $paged = get_query_var('paged'); if ( $paged > 1 ) printf('_ 第 %s 页 ',$paged);} ?>
<?php if ( is_single() ) { ?><?php $wzseotit = get_post_meta($post->ID,'wzseotit',true);if($wzseotit){echo $wzseotit;}else{echo trim(wp_title('',0));} ?> - <?php bloginfo('name'); ?><?php } ?>
<?php if ( is_author() ) { ?><?php } ?>
<?php if ( is_month() || is_day() ) { ?><?php the_time('Y - F'); ?> - <?php bloginfo('name'); ?><?php } ?>
<?php if (is_search() ) {?>'<?php echo $s; ?>' - <?php bloginfo('name'); ?><?php } ?>
<?php if (is_404() ) {?>'404' - <?php bloginfo('name'); ?><?php } ?>
</title>
<?php if ( is_home() ) { ?>
<meta name='description' content='<?php if($general_options['wpd_des']) {?><?php echo $general_options['wpd_des']; ?><?php }else{?><?php bloginfo('name'); ?><?php } ?>'/>
<meta name='keywords' content='<?php if($general_options['wpd_keys']) {?><?php echo $general_options['wpd_keys']; ?><?php }else{?><?php bloginfo('name'); ?><?php } ?>' />
<?php } ?>
<?php if ( is_single() ) { ?>
<?php $wzseodes = get_post_meta($post->ID,'wzseodes',true);if($wzseodes){?>
<meta name='description' content='<?php echo $wzseodes;?>' />
<?php }else{?>
<meta name='description' content='<?php echo trim(wp_title('',0)); ?>，<?php $des= mb_strimwidth(strip_tags(apply_filters('the_content', $post->post_content)), 0, 50,''); echo str_replace(array('\r\n', '\r', '\n'), '', $des);?>' />
<?php } ?><?php } ?>
<?php if ( is_category() ) { ?>
<meta name='description' content='<?php bloginfo('name'); ?><?php single_cat_title(); ?>' />
<meta name='keywords' content='<?php single_cat_title(); ?>' />
<?php } ?>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/wap/static/css/subpage.css">
<script src="<?php bloginfo('template_directory'); ?>/wap/static/js/jquery.js"></script>
<script src="<?php bloginfo('template_directory'); ?>/wap/static/js/nav.js"></script>
<style>
.head {
	background: #2869d5
}
.foot {
	background: #231F1D
}
.nav {
	background: #2869d5
}
.nav_color {
	background: #2869d5
}
</style>
<script src="<?php bloginfo('template_directory'); ?>/wap/static/js/respond.js"></script>
<script src="<?php bloginfo('template_directory'); ?>/wap/static/js/sdcms.js"></script>
<script src="<?php bloginfo('template_directory'); ?>/wap/static/js/jquery.validator.js"></script>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/wap/static/css/master.css">
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/wap/static/css/swiper.css">
<script src="<?php bloginfo('template_directory'); ?>/wap/static/js/swipe.js"></script>
<script src="<?php bloginfo('template_directory'); ?>/wap/static/js/lihe.js"></script>
</head>
<body>
<!--导航开始--> 
<ul class="nav">
 <?php if(function_exists('wp_nav_menu')) wp_nav_menu(array('theme_location' =>'topmenu','container' => false, 'items_wrap' => '%3$s','depth' => 1 )); ?>
  
</ul>
 
<!--导航结束--> 

<!--内容开始-->
<div class="allpage">
  <div class="black-fixed iconfont">&#xe60f;</div>
  <!--页头开始-->
  <div class="header">
    <div class="head"> <a href="<?php echo get_option('home'); ?>"  title="<?php bloginfo('name'); ?>" class="logo"> <img src="<?php if($general_options['logo']) {?><?php echo $general_options['logo']; ?><?php }else{?><?php bloginfo('template_directory'); ?>/wap/static/picture/logo.png<?php } ?>"/> </a>
      <div class="nav-btn iconfont">&#xe605;</div>
      <div class="search_hl iconfont">&#xe600;</div>
      <div class="search" style="display: block;">
        <form class="am-topbar-form am-topbar-left am-form-inline am-topbar-right" role="search" action="<?php bloginfo('url'); ?>/">
         
          <a class="xbtn iconfont" href="javascript:;">&#xe60f;</a>
          <input type="text" name="s" class="search-input" placeholder="请输入关键词" onFocus="if(this.value==defaultValue)this.value=''" onBlur="if(this.value=='')this.value=defaultValue">
          <input type="submit" class="search-btn iconfont" value="&#xe600;">
        </form>
      </div>
    </div>
  </div>
  <!--页头结束-->