<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:63:"F:\sywork\www\hsycms.v2.0/app/index\view\index\showonepage.html";i:1564390510;s:56:"F:\sywork\www\hsycms.v2.0\app\index\view\index\head.html";i:1564394375;s:56:"F:\sywork\www\hsycms.v2.0\app\index\view\index\foot.html";i:1564481249;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $site['webtitle']; ?></title>
<meta name="keywords" content="<?php echo $site['webkeywords']; ?>">
<meta name="description" content="<?php echo $site['webdescription']; ?>">
<link href="__PUBLIC__/static/index/css/animate.min.css" rel="stylesheet" type="text/css">
<link href="__PUBLIC__/static/index/css/style.css?v=<?php echo time(); ?>" rel="stylesheet" type="text/css">
<script src="__PUBLIC__/static/index/js/jquery.js"></script>
<script src="__PUBLIC__/static/index/js/teixiao.js"></script>
<script src="__PUBLIC__/static/index/js/wow.min.js"></script>
</head>
<body>
<div class="headtop">
  <div class="wrap">
    <div class="fl">您好，Sycms 建站系统！</div>
    <div class="fr">
      <form action="/search/">
        <input type="text" name="title" class="intxt" placeholder="请输入关键词" />
        <input type="submit" value="" class="sbtn" />
      </form>
      <div class="tel"> 全国咨询热线：<span><?php echo config('contact_tel'); ?></span> </div>
    </div>
  </div>
</div>
<div class="headnav">
  <div class="wrap">
  <a href="/index.html"><img src="<?php echo config('weblogo'); ?>" alt="Sycms 建站系统" class="logo" /></a>
  <ul>
   <li><a href="/index.html" <?php if($nid == 0): ?>class=on<?php endif; ?> ><span>首页</span><em>首页</em></a></li>
   <?php if(is_array($nav) || $nav instanceof \think\Collection || $nav instanceof \think\Paginator): $i = 0; $__LIST__ = $nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
   <li><a href="<?php echo $v['link']; ?>" <?php if($v['id'] == $nid): ?>class=on<?php endif; ?> ><span><?php echo $v['title']; ?></span><em><?php echo $v['title']; ?></em></a></li>
   <?php endforeach; endif; else: echo "" ;endif; ?>
  </ul>
  </div>
</div>

<div class="content">
  <div class="topimg" style="background:url(<?php echo (isset($banner) && ($banner !== '')?$banner:'__PUBLIC__/static/index/img/topimg.jpg'); ?>) no-repeat center top;"></div>
  <div class="cate2 n">
    <ul>
      <?php if(is_array($leftlist) || $leftlist instanceof \think\Collection || $leftlist instanceof \think\Paginator): $i = 0; $__LIST__ = $leftlist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
        <li><a href="<?php echo u($entitle,$vo['id']); ?>" <?php if($vo['id'] == $one['id']): ?>class=on<?php endif; ?>><?php echo $vo['title']; ?></a></li>
      <?php endforeach; endif; else: echo "" ;endif; ?>
    </ul>
  </div>
  <div class="wrap">
   <div class="pdbox" style="padding:50px 0;"><?php echo htmlspecialchars_decode($one['content']); ?></div>     
  </div>
</div>
<div class="footer">
  <div class="wrap">
    <div class="ftel">
      <p>24小时全国服务热线</p>
      <h2><?php echo config('contact_tel'); ?></h2>
      <div class="share"><a href="javascript:void(0);" class="a1"><img src="<?php echo config('contact_ewm'); ?>" alt="" /></a><a href="javascript:void(0);" class="a2"><img src="<?php echo config('contact_ewm'); ?>" alt="" /></a></div>
    </div>
    <div class="fr">
      <dl>
        <dt><a href="/product.html">产品</a></dt>
        <?php $test_arr=db("cate")->where("pid = 0 and nid = 3 and isshow=1")->order("sort,id")->limit("")->select();$__LIST__ = $test_arr; if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $i = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
        <dd><a href="<?php echo u($vo['entitle']); ?>"><?php echo $vo['title']; ?></a></dd>
        <?php endforeach; endif; else: echo "" ;endif; ?>
      </dl>
      <dl>
        <dt><a href="/about.html">关于</a></dt>
        <?php $test_arr=db("article")->where("nid = 1")->order("sort,id")->limit("10")->select();$__LIST__ = $test_arr; if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $i = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
        <dd><a href="<?php echo u('about',$vo['id']); ?>"><?php echo $vo['title']; ?></a></dd>
        <?php endforeach; endif; else: echo "" ;endif; ?>
      </dl>      
      <dl>
        <dt><a href="/news.html">新闻</a></dt>
        <?php $test_arr=db("cate")->where("pid = 0 and nid = 2 and isshow=1")->order("sort,id")->limit("")->select();$__LIST__ = $test_arr; if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $i = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
        <dd><a href="<?php echo u($vo['entitle']); ?>"><?php echo $vo['title']; ?></a></dd>
        <?php endforeach; endif; else: echo "" ;endif; ?>
      </dl>
      <dl>
        <dt><a href="/contact.html">联系</a></dt>
        <?php $test_arr=db("article")->where("nid = 5")->order("sort,id")->limit("10")->select();$__LIST__ = $test_arr; if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $i = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
        <dd><a href="<?php echo u('contact',$vo['id']); ?>"><?php echo $vo['title']; ?></a></dd>
        <?php endforeach; endif; else: echo "" ;endif; ?>
      </dl>
    </div>
    <div class="clear"></div>
    <div class="link"> <span>友情连接：</span>
      <?php $test_arr=db("link")->order("id")->limit("")->select();$__LIST__ = $test_arr; if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $i = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><a href="<?php echo $vo['url']; ?>" target="_blank"><?php echo $vo['title']; ?></a><?php endforeach; endif; else: echo "" ;endif; ?>
    </div>
  </div>
  <div class="copyright">
    <div class="wrap"> <?php echo config('webcopyright'); ?> </div>
  </div>
</div>
<?php if($weburltype): ?>
<script>
//手机判断
if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){
	if(window.location.href.indexOf("?mobile")<0){
		try{
			if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){
				var webmurl = "<?php echo $webmurl; ?>";
				if(webmurl!=""){
					window.location.href = webmurl;
				}else{
					window.location.href = '/m';
				}
			}
		}catch(e){}
	}
}  
</script>
<?php endif; ?>
<script>
//下拉动画 	
if (!(/msie [6|7|8|9]/i.test(navigator.userAgent))) {
new WOW().init();
};  
</script>
</body></html> 