<?php if (!defined('THINK_PATH')) exit(); /*a:5:{s:61:"F:\sywork\www\hsycms.v2.0/app/index\view\index\showvideo.html";i:1564388590;s:63:"F:\sywork\www\hsycms.v2.0/app/index\view\index\showproduct.html";i:1564387805;s:64:"F:\sywork\www\hsycms.v2.0/app/index\view\index\showdownload.html";i:1564478787;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="wrap">
    <div class="location"><a href="/index.html">首页</a><i>/</i><a href="<?php echo u($entitle); ?>"><?php echo $cateName; ?></a><i>/</i>文章详情</div>
    <div class="newbox">
      <div class="newtit">
        <h1><?php echo $one['title']; ?></h1>
        <p>发表时间：<?php echo date('Y-m-d H:i:s',$one['datetime']); ?> &nbsp;&nbsp; 浏览次数：<?php echo $one['views']; ?></p>
      </div>
      <div class="pdbox"><?php echo $one['content']; ?></div>     
    </div>
     <div class="prevnext">
        <p class="fl"><a href="<?php echo $pn['prev']['url']; ?>">上一篇：<?php echo msubstr($pn['prev']['title'],0,20,utf8,true); ?></a></p>
        <p  class="fr"><a href="<?php echo $pn['next']['url']; ?>">上一篇：<?php echo msubstr($pn['next']['title'],0,20,utf8,true); ?></a></p>
      </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>