<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:57:"F:\sywork\www\hsycms.v2.0/app/index\view\index\index.html";i:1564481243;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:1564538539;}*/ ?>
<!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="banner">
  <div class="bd">
    <ul>
      <?php $test_arr=db("article")->where("nid = 81")->order("istop desc,sort desc,id desc")->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;?>
      <li><a href="<?php echo $vo['url']; ?>"><img src="<?php echo $vo['img']; ?>" alt="" /></a></li>
      <?php endforeach; endif; else: echo "" ;endif; ?>
    </ul>
  </div>
  <div class="hd">
    <ul>
      <?php $test_arr=db("article")->where("nid = 81")->order("istop desc,sort desc,id desc")->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;?>
      <li></li>
      <?php endforeach; endif; else: echo "" ;endif; ?>
    </ul>
  </div>
  <a href="javascript:void(0);" class="prev"></a> <a href="javascript:void(0);" class="next"></a> </div>
<script>
jQuery(".banner").slide({ titCell:".hd li", mainCell:".bd ul", effect:"leftLoop",  autoPlay:true, delayTime:700, interTime:3500 });	
</script>
<div class="clear"></div>
<div class="product">
  <div class="wrap">
    <div class="title wow fadeInUp">
      <h1>PRODUCT CENTER</h1>
      <h2><span>产品中心</span></h2>
    </div>
    <ul class="cate wow fadeInUp">
      <?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;?>
      <li><a href="<?php echo u($vo['entitle']); ?>"><?php echo $vo['title']; ?></a></li>
      <?php endforeach; endif; else: echo "" ;endif; ?>
    </ul>
    <ul class="plist">
      <?php $test_arr=db("article")->where("nid = 3 and cid in (24,34)")->order("istop desc,sort desc,id desc")->limit("6")->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;?>
      <li class="wow zoomIn"> <a href="<?php echo u('product',$vo['id']); ?>" title="<?php echo $vo['title']; ?>"> <img src="<?php echo $vo['img']; ?>" alt="<?php echo $vo['title']; ?>" title="<?php echo $vo['title']; ?>" /> <span><?php echo $vo['title']; ?></span> </a> </li>
      <?php endforeach; endif; else: echo "" ;endif; ?>
    </ul>
    <p><a href="<?php echo u('product'); ?>" class="more">查看更多产品</a></p>
  </div>
</div>
<div class="about wow fadeInUp">
  <div class="wrap">
    <div class="title wow fadeInUp">
      <h1>ABOUT US</h1>
      <h2>关于我们</h2>
    </div>
    <div class="abox wow fadeInUp">
      <div class="fl wow fadeInLeft">
        <div class="imgk">
          <sy:one id="932">
          <img src="<?php $test_arr=db("article")->where("id = 14")->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;?><?php echo $vo['img']; endforeach; endif; else: echo "" ;endif; ?>" class=""  alt="思厨" /></a></div>
      </div>
      <div class="fr  wow fadeInRight">
        <div class="atit">
          <h1>ABOUT US</h1>
          <p class="line"></p>
          <h2>为什么选择Hsycms?</h2>
        </div>
        <div class="aboxc"> <?php $test_arr=db("article")->where("id = 14")->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;?><?php echo msubstr($vo['note'],0,220,utf8,true); endforeach; endif; else: echo "" ;endif; ?> <a href="<?php echo u('about'); ?>" style="color:#db082a">[查看详情]</a> </div>
      </div>
    </div>
  </div>
</div>
<div class="case wow fadeInUp">
  <div class="wrap">
    <div class="title wow fadeInUp">
      <h1>VIDEO SHOW</h1>
      <h2>视频展示</h2>
    </div>
    <div class="wow fadeInLeft">
      <ul class="plist">
        <?php $test_arr=db("article")->where("nid = 80")->order("istop desc,sort desc,id desc")->limit("6")->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;?>
        <li class="wow zoomIn"> <a href="<?php echo u('video',$vo['id']); ?>" title="<?php echo $vo['title']; ?>"> <img src="<?php echo $vo['img']; ?>" alt="<?php echo $vo['title']; ?>" title="<?php echo $vo['title']; ?>" /> <span><?php echo $vo['title']; ?></span> </a> </li>
        <?php endforeach; endif; else: echo "" ;endif; ?>
      </ul>
    </div>
    <div class="clear"></div>
    <p><a href="<?php echo u('video'); ?>" class="more">查看更多视频</a></p>
  </div>
</div>
<div class="news">
  <div class="wrap">
    <div class="title wow fadeInUp">
      <h1>NEWS INFOMATION</h1>
      <h2>新闻资讯</h2>
    </div>
    <div class="fl wow fadeInLeft"> <?php $test_arr=db("article")->where("nid = 2")->order("istop desc,sort desc,id desc")->limit("1")->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 u('news',$vo['id']); ?>" title="<?php echo $vo['title']; ?>">
      <div class="pic"><img src="<?php echo $vo['img']; ?>" alt="<?php echo $vo['title']; ?>" title="<?php echo $vo['title']; ?>" />
        <div class="date">
          <p><b><?php echo date('m-d',$vo['datetime']); ?></b></p>
          <p><?php echo date('Y',$vo['datetime']); ?></p>
          <p class="line"></p>
        </div>
      </div>
      <h2><?php echo $vo['title']; ?></h2>
      <div class="note"><?php echo msubstr($vo['note'],0,100,utf8,true); ?></div>
      </a>
      <p><a href="<?php echo u('news',$vo['id']); ?>" class="mo">查看更多</a></p>
      <?php endforeach; endif; else: echo "" ;endif; ?> </div>
    <div class="fr  wow fadeInRight">
      <ul>
        <?php $test_arr=db("article")->where("nid = 2")->order("istop desc,sort desc,id desc")->limit("4")->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;?>
        <li><a href="<?php echo u('news',$vo['id']); ?>" title="<?php echo $vo['title']; ?>">
          <div class="date">
            <p><b><?php echo date('m-d',$vo['datetime']); ?></b></p>
            <p><?php echo date('Y',$vo['datetime']); ?></p>
            <p class="line"></p>
          </div>
          <div class="note">
            <h2><?php echo $vo['title']; ?></h2>
            <p><?php echo msubstr($vo['note'],0,50,utf8,true); ?></p>
          </div>
          </a></li>
        <?php endforeach; endif; else: echo "" ;endif; ?>
      </ul>
    </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>
//手机判断
var webmurl = "<?php echo $webmurl; ?>";
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)){
				window.location.href = '/m';
			}
		}catch(e){}
	}
} 
var href = window.location.href;
if(href=='http://'+webmurl+'/'){
	window.location.href = '/m';
} 
</script>
<?php endif; ?>
<script>
//下拉动画 	
if (!(/msie [6|7|8|9]/i.test(navigator.userAgent))) {
new WOW().init();
};  
</script>
</body></html>