content |
<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:42:"./template/default/index/show_article.html";i:1566201082;s:67:"/www/wwwroot/www.777w.fun/template/default/index/public_header.html";i:1565779018;s:65:"/www/wwwroot/www.777w.fun/template/default/index/public_left.html";i:1566201138;s:67:"/www/wwwroot/www.777w.fun/template/default/index/public_footer.html";i:1548299904;}*/ ?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="keywords" content="<?php echo "网红桥,七彩滑道,网红弹跳床,蹦蹦云,星空帐篷,冲浪模拟器,洛阳海丽斯,海丽斯游乐设备"; ?>">
<meta name="description" content="<?php echo "海丽斯集团,洛阳海丽斯,海丽斯游乐设备成立于1990年,致力于打造高新技术集团公司,占地面积50000余亩,拥有专业化产品研发部、销售部、国际贸易部等员工1000余人。我们的主营产品有蹦床桥、冲浪模拟器、蹦蹦云、七彩滑道、网红桥、星空帐篷、网红弹跳床类等百余款中大型游乐设备。"; ?>">
<title><?php echo $content['title']; ?>-<?php echo $category['title']; ?>-<?php echo "海丽斯实业有限公司"; ?></title>
<link rel="stylesheet" href="__PUBLIC__/css/777w.css">
</head>
<body>
<?php error_reporting(0); ?>
<div class="header">
<div class="center">
<div class="head_top_content">
<div class="head_logo fl">
<img src="<?php echo "/uploads/image/20190814/d6c643513c82a68b0de861af13701e4f.png"; ?>" alt="">
<div class="head_tit fl">
<h4><?php echo "海丽斯实业有限公司"; ?></h4>
<?php
$_block = db('block')->where("title='".'head_text1'."'")->find();
$_block = update_str_dq($_block, config('sys.sys_area'));
$_block_content = '';
if ($_block) {
if ($_block['type'] == 2) {
if (!0) {
$_block_content = '<img src="'. $_block['content'] .'" />';
}else {
$_block_content = $_block['content'];
}
}else {
if(0) {
$_block_content = str2sub(strip_tags($_block['content']), 0, 0);//清除html再截取
}else {
$_block_content = $_block['content'];
}
}
$_blockurl = '';
if ($_block['url']) {
$_blockurl = $_block['url'];
if (substr($_blockurl, 0,1) == '@') {
$_catemodel = new app\index\model\CategoryModel();
$_category = $_catemodel->getOneCategory(substr($_blockurl, 1));
if ($_category) {
$_blockurl = $_catemodel->getCategoryUrl($_category);
}
}
$_block_content= "<a href='".$_blockurl."' target='_blank'>".$_block_content."</a>";
}
}
echo $_block_content;
?>
</div>
<div class="head_text fl">
<?php
$_block = db('block')->where("title='".'head_text2'."'")->find();
$_block = update_str_dq($_block, config('sys.sys_area'));
$_block_content = '';
if ($_block) {
if ($_block['type'] == 2) {
if (!0) {
$_block_content = '<img src="'. $_block['content'] .'" />';
}else {
$_block_content = $_block['content'];
}
}else {
if(0) {
$_block_content = str2sub(strip_tags($_block['content']), 0, 0);//清除html再截取
}else {
$_block_content = $_block['content'];
}
}
$_blockurl = '';
if ($_block['url']) {
$_blockurl = $_block['url'];
if (substr($_blockurl, 0,1) == '@') {
$_catemodel = new app\index\model\CategoryModel();
$_category = $_catemodel->getOneCategory(substr($_blockurl, 1));
if ($_category) {
$_blockurl = $_catemodel->getCategoryUrl($_category);
}
}
$_block_content= "<a href='".$_blockurl."' target='_blank'>".$_block_content."</a>";
}
}
echo $_block_content;
?>
</div>
</div>
<div class="fr">
<img src="__PUBLIC__/img/客服.jpg" alt="">
<?php
$_block = db('block')->where("title='".'head_text3'."'")->find();
$_block = update_str_dq($_block, config('sys.sys_area'));
$_block_content = '';
if ($_block) {
if ($_block['type'] == 2) {
if (!0) {
$_block_content = '<img src="'. $_block['content'] .'" />';
}else {
$_block_content = $_block['content'];
}
}else {
if(0) {
$_block_content = str2sub(strip_tags($_block['content']), 0, 0);//清除html再截取
}else {
$_block_content = $_block['content'];
}
}
$_blockurl = '';
if ($_block['url']) {
$_blockurl = $_block['url'];
if (substr($_blockurl, 0,1) == '@') {
$_catemodel = new app\index\model\CategoryModel();
$_category = $_catemodel->getOneCategory(substr($_blockurl, 1));
if ($_category) {
$_blockurl = $_catemodel->getCategoryUrl($_category);
}
}
$_block_content= "<a href='".$_blockurl."' target='_blank'>".$_block_content."</a>";
}
}
echo $_block_content;
?>
</div>
</div>
<div class="head_nav">
<ul>
<?php $cid = isset($cid) ? $cid : 0; ?>
<li><a href="<?php echo "http://www.777w.fun/"; ?>" <?php if(!isset($cid)): ?>class="active"<?php endif; ?>>网站首页</a></li>
<?php
$_limit = "10";
$_typeid = intval('1');
$_category = new app\index\model\CategoryModel();
$_navlist = $_category->getCategory('', $_typeid, false);
$_navlist = $_category->unlimitedForLayer($_navlist);
foreach($_navlist as $autoindex => $nav):
$_limit_list = explode(',', $_limit);
if(count($_limit_list) > 1){
if(($autoindex < $_limit_list[0]) || ($autoindex > $_limit_list[1])) continue;
} else{
if($autoindex >= $_limit) break;
}
$navmainurl = $nav['catmainurl'] ? false : true;
$nav['url'] = $_category->getCategoryUrl($nav, [] , $navmainurl);
$nav = update_str_dq($nav, config('sys.sys_area'));
?>
<li><a href="<?php echo $nav['url']; ?>" <?php if($nav['id'] == $cid): ?>class="active"<?php endif; ?> target="<?php echo $nav['target']; ?>"><?php echo $nav['title']; ?></a></li>
<?php endforeach;?>
</ul>
</div>
</div>
</div>
<?php if(!is_array([index])): ?>
<div class="banner">
<div class="banner_img" id="wowslider-container">
<div class="ws_images" id="banner">
<ul>
<?php
$_type = '1';
$_where = [];
if ($_type) {
$_where['type'] = $_type;
}
$_limit = "10";
$_infolist = db('banner')->where($_where)->order("sort desc")->limit($_limit)->select();
foreach ($_infolist as $k => $banner):
$banner = update_str_dq($banner, config('sys.sys_area'));
?>
<li>
<a href="<?php echo $banner['url']; ?>"><img src="<?php echo $banner['pic']; ?>" alt="<?php echo $banner['title']; ?>" width="1920" height="600"></a>
</li>
<?php endforeach;?>
</ul>
</div>
<!-- <div class="ws_bullets">xin
<div>
<a href="javascript:;">
<span>1</span>
</a>
<a href="javascript:;">
<span>2</span>
</a>
</div>
</div>
<div class="ws_shadow"></div> -->
</div>
<!-- <script type="text/javascript" src="__PUBLIC__/js/wowslider.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/script.js"></script> -->
<div class="banner_text">
<div class=" center">
<div class="banner_text_content">
<img class="imgleft" id="imgleft" src="__PUBLIC__/img/jb.png" alt="">
<div class="banner_text_bg">
<?php
$_block = db('block')->where("title='".'banner_text'."'")->find();
$_block = update_str_dq($_block, config('sys.sys_area'));
$_block_content = '';
if ($_block) {
if ($_block['type'] == 2) {
if (!0) {
$_block_content = '<img src="'. $_block['content'] .'" />';
}else {
$_block_content = $_block['content'];
}
}else {
if(0) {
$_block_content = str2sub(strip_tags($_block['content']), 0, 0);//清除html再截取
}else {
$_block_content = $_block['content'];
}
}
$_blockurl = '';
if ($_block['url']) {
$_blockurl = $_block['url'];
if (substr($_blockurl, 0,1) == '@') {
$_catemodel = new app\index\model\CategoryModel();
$_category = $_catemodel->getOneCategory(substr($_blockurl, 1));
if ($_category) {
$_blockurl = $_catemodel->getCategoryUrl($_category);
}
}
$_block_content= "<a href='".$_blockurl."' target='_blank'>".$_block_content."</a>";
}
}
echo $_block_content;
?>
</div>
<script type="text/javascript">
$(document).ready(function(){
$('#banner').roll({
height: 550,
banner: true,
btn: true,
center: false
});
$('#imgleft').animate({left: "0"},1000);
$('#pbottom').animate({top: "0"},1000);
$('#fonts').animate({fontSize: "43px"},1000);
$('#fonts').animate({opacity: "1"},2000);
});
</script>
</div>
</div>
</div>
</div>
<?php else: ?>
<div class="page_banner">
<?php
$_block = db('block')->where("title='".'page_banner'."'")->find();
$_block = update_str_dq($_block, config('sys.sys_area'));
$_block_content = '';
if ($_block) {
if ($_block['type'] == 2) {
if (!0) {
$_block_content = '<img src="'. $_block['content'] .'" />';
}else {
$_block_content = $_block['content'];
}
}else {
if(0) {
$_block_content = str2sub(strip_tags($_block['content']), 0, 0);//清除html再截取
}else {
$_block_content = $_block['content'];
}
}
$_blockurl = '';
if ($_block['url']) {
$_blockurl = $_block['url'];
if (substr($_blockurl, 0,1) == '@') {
$_catemodel = new app\index\model\CategoryModel();
$_category = $_catemodel->getOneCategory(substr($_blockurl, 1));
if ($_category) {
$_blockurl = $_catemodel->getCategoryUrl($_category);
}
}
$_block_content= "<a href='".$_blockurl."' target='_blank'>".$_block_content."</a>";
}
}
echo $_block_content;
?>
</div>
<?php endif; ?>
<div class="main container">
<div class="center">
<div class="main_l fl" id="main_l">
<p>
<span><?php
$_type = "parent";
$_typeid = intval($category['id']);
$_category = new app\index\model\CategoryModel();
$_catlist = $_category->getCategory(1);
if ($_type == 'parent') {
$_parent = $_category->getParents($_catlist, $_typeid);
$_typeid = $_parent[0]['id'];
}
$type = $_category->getOneCategory($_typeid);
$type['url'] = $_category->getCategoryUrl($type);
$type = update_str_dq($type, config('sys.sys_area'));
?><?php echo $type['title']; ?></span>
<i>PRODUCT DISPLAY</i>
</p>
<ul>
<?php
$_limit = "10";
$_cid = intval($category['id']);
$_type = "parent";
$_category = new app\index\model\CategoryModel();
if($_cid == -1) $_cid = input('cid');
$_catlist = $_category->getCategory(1);
if (1 == 0) {
$_catlist = $_category->clearLink($_catlist);//去除外部链接的栏目
}
//type为parent
if ($_type == 'parent') {
$_parent = $_category->getParents($_catlist, $_cid);
$_catlist = $_category->unlimitedForLayer($_catlist, 'child', $_parent[0]['id']);
}else{
//type为top,忽略cid
if($_cid == 0 || $_type == 'top') {
$_catlist = $_category->unlimitedForLayer($_catlist);
}else {
if ($_type == 'self') {
//同级分类
$_typeinfo = $_category->getSelf($_catlist, $_cid );
$_catlist = $_category->unlimitedForLayer($_catlist, 'child', $_typeinfo['pid']);
}else {
//son,子类列表
$_catlist = $_category->unlimitedForLayer($_catlist, 'child', $_cid);
}
}
}
$_limit_list = explode(',', $_limit);
foreach($_catlist as $autoindex => $catlist):
if(count($_limit_list) > 1){
if(($autoindex < $_limit_list[0]) || ($autoindex > $_limit_list[1])) continue;
} else{
if($autoindex >= $_limit_list[0]) break;
}
$catlist = update_str_dq($catlist, config('sys.sys_area'));
?>
<li <?php if($catlist['id'] == $cid || $catlist['id'] == $category['pid']): ?>class="active"<?php endif; ?>><a href="<?php echo $catlist['url']; ?>"><span><?php echo $catlist['title']; ?></span></a>
</li>
<ul>
<?php if(is_array($catlist['child']) || $catlist['child'] instanceof \think\Collection || $catlist['child'] instanceof \think\Paginator): $i = 0; $__LIST__ = $catlist['child'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
<li><a href="<?php echo $v['url']; ?>"><?php echo $v['title']; ?></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endforeach;?>
</ul>
<div class="liuyan">
<b>
<?php
$_type = "son";
$_typeid = intval(30);
$_category = new app\index\model\CategoryModel();
$_catlist = $_category->getCategory(1);
if ($_type == 'parent') {
$_parent = $_category->getParents($_catlist, $_typeid);
$_typeid = $_parent[0]['id'];
}
$type = $_category->getOneCategory($_typeid);
$type['url'] = $_category->getCategoryUrl($type);
$type = update_str_dq($type, config('sys.sys_area'));
?>
<a href="<?php echo $type['url']; ?>">
<img src="__PUBLIC__/img/lxa1.jpg" alt="">
<img src="__PUBLIC__/img/lxa2.jpg" alt="">
</a>
</b>
<b>
<a href="javascript:;">
<img src="__PUBLIC__/img/lya1.jpg" alt="">
<img src="__PUBLIC__/img/lya2.jpg" alt="">
</a>
</b>
</div>
</div>
<script type="text/javascript" src="__PUBLIC__/js/777w.1.js"></script>
<script type="text/javascript">
;(function () {
var last_dom = $('#main_l .active').next('ul').show();
$('#main_l>ul>li').filter(function () {
var t = $(this),
ul = t.next('ul');
if (ul.children().length) {
t.on('mouseenter', function () {
if (ul.index() != last_dom.index()) {
last_dom.slideUp('fast');
last_dom = ul.slideDown('fast');
};
});
}else{
t.addClass('no_child');
}
});
})();
</script>
<div class="main_r fr">
<div class="crumbs">
<p>
<?php
$_sname = "";
$_cid = $cid;
echo getPosition($_cid, $_sname, "", ">>");
?>
</p>
</div>
<div class="content_tit">
<h3><?php echo $content['title']; ?></h3>
<p>
<span>来源:<?php echo $content['source']; ?></span>
<span>发布时间:<?php echo date('Y-m-d',$content['create_time']); ?></span>
<span><?php echo $content['click']; ?> 次浏览</span>
</p>
</div>
<div class="content_des">
<p><?php echo str2sub($content['desc'],"50"); ?></p>
</div>
<div class="content">
<?php echo sitelink($content['content']); ?>
</div>
<div class="prve">
<p>上一篇: <?php echo $content['prev']; ?></p>
<p>下一篇: <?php echo $content['next']; ?></p>
</div>
</div>
</div>
</div>
<div class="footer">
<div class="center clearfix">
<div class="fl">
<?php
$_block = db('block')->where("title='".'logo2'."'")->find();
$_block = update_str_dq($_block, config('sys.sys_area'));
$_block_content = '';
if ($_block) {
if ($_block['type'] == 2) {
if (!0) {
$_block_content = '<img src="'. $_block['content'] .'" />';
}else {
$_block_content = $_block['content'];
}
}else {
if(0) {
$_block_content = str2sub(strip_tags($_block['content']), 0, 0);//清除html再截取
}else {
$_block_content = $_block['content'];
}
}
$_blockurl = '';
if ($_block['url']) {
$_blockurl = $_block['url'];
if (substr($_blockurl, 0,1) == '@') {
$_catemodel = new app\index\model\CategoryModel();
$_category = $_catemodel->getOneCategory(substr($_blockurl, 1));
if ($_category) {
$_blockurl = $_catemodel->getCategoryUrl($_category);
}
}
$_block_content= "<a href='".$_blockurl."' target='_blank'>".$_block_content."</a>";
}
}
echo $_block_content;
?>
<div class="foot_contact">
<?php echo "<p>TEL:400-0379-440 MOB:18238880808 EMAIL:385215264@qq.com</p>
<p>备案号:<a href=\"http://www.beian.miit.gov.cn/\">豫ICP备15010466号</a></p>
<p>地址: 老城区春都路53号2楼业务室 官方指定唯一QQ: 4000379440</p>
<p>站点地图:<a href=\"http://www.777w.fun/rss.xml\">rss.xml</a>|<a href=\"http://www.777w.fun/sitemap.xml\">sitemap.xml</a>|
<a href=\"http://www.777w.fun/sitemap.htm\">站点地图</a>|<a href=\"http://www.777w.fun/sitemap.txt\">txt地图</a>|</</p>"; ?>
</div>
</div>
<div class="fr">
<?php
$_block = db('block')->where("title='".'ewm'."'")->find();
$_block = update_str_dq($_block, config('sys.sys_area'));
$_block_content = '';
if ($_block) {
if ($_block['type'] == 2) {
if (!0) {
$_block_content = '<img src="'. $_block['content'] .'" />';
}else {
$_block_content = $_block['content'];
}
}else {
if(0) {
$_block_content = str2sub(strip_tags($_block['content']), 0, 0);//清除html再截取
}else {
$_block_content = $_block['content'];
}
}
$_blockurl = '';
if ($_block['url']) {
$_blockurl = $_block['url'];
if (substr($_blockurl, 0,1) == '@') {
$_catemodel = new app\index\model\CategoryModel();
$_category = $_catemodel->getOneCategory(substr($_blockurl, 1));
if ($_category) {
$_blockurl = $_catemodel->getCategoryUrl($_category);
}
}
$_block_content= "<a href='".$_blockurl."' target='_blank'>".$_block_content."</a>";
}
}
echo $_block_content;
?>
</div>
</div>
</div>
</div>
</body>
</html>
|