content |
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:41:"./template/default/home/list_article.html";i:1574396858;s:72:"D:\wwwroot\free8wouqda1\wwwroot\template\default\home\public_header.html";i:1574405640;s:72:"D:\wwwroot\free8wouqda1\wwwroot\template\default\home\public_footer.html";i:1576118898;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title><?php echo $seo_title; ?></title>
<meta name="keywords" content="<?php echo $seo_keywords; ?>">
<meta name="description" content="<?php echo $seo_description; ?>">
<meta name="360-site-verification" content="a888accec44d9ad5c2bacce181ff5107" />
<!-- public css -->
<link rel="stylesheet" href="__HPUBLIC__/css/body.css">
<link rel="stylesheet" href="__HPUBLIC__/css/selfanimate.css">
<link rel="stylesheet" href="__HPUBLIC__/css/public.css">
<link rel="stylesheet" type="text/css" href="__HPUBLIC__/css/animate.min.css">
<!-- public js -->
<script src="__HPUBLIC__/js/jquery3.3.1.js"></script>
<script src="__HPUBLIC__/js/public.js"></script>
<script src="__HPUBLIC__/js/wow.min.js"></script>
<!-- private js -->
<script src="__HPUBLIC__/js/index.js"></script>
</head>
<body>
<!-- nav star -->
<div class="nav-box">
<div class="nav-sbox" style="display: flex;justify-content: space-around;">
<div class="logo">
<a href="/"><img src="<?php echo "/uploads/sys/20190411/8e5a3a3a84bc5f0c2159c0ac7c16c7d1.png"; ?>"></a>
</div>
<div class="nav">
<ul>
<li><a href="/" <?php if(input('ctitle') == null): ?>class="cli"<?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;
}
$nav['target'] = $nav['target'] ? '_blank' : '_self';
$nav['url'] = $_category->getCategoryUrl($nav, []);
$nav = update_str_dq($nav, config('sys.sys_area'));
?>
<li>丨</li>
<li <?php if(input('ctitle') == $nav['etitle']): ?>class="cli"<?php endif; ?>><a href="<?php echo $nav['url']; ?>"><?php echo $nav['title']; ?></a></li>
<?php endforeach;?>
</ul>
</div>
<div class="lxfs" style="font-size: 18px;color: #000;float: right;line-height: 30px; margin-top: 20px;">
服务热线:<br>
<span style="font-size: 22px;color: #f00;">15294636851</span>
</div>
</div>
</div>
<!-- nav end -->
<div class="clear"></div>
<!-- private css -->
<link rel="stylesheet" href="__HPUBLIC__/css/news.css">
<!-- private js -->
<script src="__HPUBLIC__/js/news.js"></script>
<!-- banner star -->
<div class="new_banner_box minw">
<img src="__HPUBLIC__/img/newbanner.png" alt="">
<img src="__HPUBLIC__/img/ban_bg.png" alt="">
</div>
<!-- banner end -->
<!-- news star -->
<div class="news_box minw">
<div class="news container">
<div class="news_title title donghua">
<h3>新闻中心</h3>
<div class="news_st jg">
<p><img src="__HPUBLIC__/img/aboutleft.png" alt=""></p>
<h3>十五年专注网站设计和优化托管</h3>
<p><img src="__HPUBLIC__/img/aboutright.png" alt=""></p>
</div>
</div>
<div class="news_footer container">
<ul>
<?php
$_limit = "10";
$_cid = intval(6);
$_type = "son";
$_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'] == 7): ?>class="news_tab"<?php endif; ?>><?php echo $catlist['title']; ?></li>
<?php endforeach;?>
</ul>
</div>
<div class="news_footer_neirong">
<?php
$_limit = "10";
$_cid = intval(6);
$_type = "son";
$_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'));
?>
<ul class="news_none <?php if($catlist['id'] == 7): ?>news_block<?php endif; ?>">
<?php
$_cid = $catlist['id'];
$_limit = "10";
$_keyword = -1;
$_flag = '1';
$_areaid = '';//指定地区ID
$_top = '';
$_image = '-1';
$_pagesize = 100;
$_tag = -1;
$_sql = "-1";
if($_cid == -1) $_cid = input('cid');
if ($_cid > 0 || substr($_cid, 0, 1) == '$') {
$_category = new app\index\model\CategoryModel();
if (strpos($_cid, ',')) {
$_cidarr = explode(',', $_cid);
$_ids = [];
foreach ($_cidarr as $_k => $_v) {
$_ids = array_merge($_ids, $_category->getChildsId($_category->getCategory(), $_v, true));
}
}else{
$_ids = $_category->getChildsId($_category->getCategory(), $_cid, true);
}
$_where = array('create_time' => array('LT', time()), 'cid'=> array('IN', $_ids));
}else {
$_where = array('create_time' => array('LT', time()));
}
if ($_keyword != -1) {
$_where['title'] = array('LIKE','%'.$_keyword.'%');
}
if ($_flag) {
$_where['istop'] = $_flag;
}
if ($_top) {
$_where['top'] = $_top;
}
if ($_image != -1) {
$_where['pic'] = $_image ? ['NEQ', ''] : ['EQ', ''];
}
if ($_tag != -1) {
$_jgf = ',';
$_jgf = strpos($_tag, ',') ? ',' : $_jgf;
$_taglist = explode($_jgf,$_tag);
if (count($_taglist) > 1) {
$_tagarr = array();
foreach ($_taglist as $_k => $_v) {
$_tagarr[] = ['LIKE','%'.$_v.'%'];
}
$_tagarr[] = 'or';
$_where['tag'] = $_tagarr;
}else{
$_where['tag'] = ['LIKE','%'.$_tag.'%'];
}
}
$_where['create_time'] = ['LT', time()];
//地区独立内容
if ($_areaid) {
$_arealist = explode(',', $_areaid);
$_areawhere = [];
foreach ($_arealist as $key => $value) {
if ($value) {
$_areawhere[] = ['LIKE','%,'.$value.',%'];
}
}
if (count($_areawhere) > 1) {
$_areawhere[] = 'or';
$_where['area'] = $_areawhere;
}else{
$_where['area'] = $_areawhere[0];
}
}else{
$_area = session('sys_areainfo');
if ($_area) {
$_where['area'] = [['exp',' is NULL'],['eq',''],['eq',',,'],['LIKE','%,'.$_area['id'].',%'], 'or'];
}else{
$_where['area'] = [['exp',' is NULL'],['eq',''],['eq',',,'],['LIKE','%,88888888,%'], 'or'];
}
}
$_wheresql = '';
$_pageurlarr = [];
if ($_sql != -1) {
//拼接SQL语句
$_db = db('diyfield');
$_sqlstrlist = explode(" ", $_sql);
$_sqlstr = ' ';
if ($_sqlstrlist) {
foreach ($_sqlstrlist as $key1 => $value1) {
if (is_numeric($value1)) {
$_fieldname = $_db->where(['id'=>$value1])->value('field');
if ($_GET[$_fieldname] != '不限' && $_GET[$_fieldname] != '') {
$_filelist = explode(',', $_GET[$_fieldname]);
$_instr = "";
foreach ($_filelist as $key2 => $value2) {
if ($value2) {
$_instr = $_instr ? $_instr." OR ($_fieldname LIKE '%".$value2."%')" : "($_fieldname LIKE '%".$value2."%')";
}
}
$_sqlstr = $_sqlstr."($_instr) ";
}else{
$_sqlstr = $_sqlstr."( 1 = 1 ) ";
}
$_pageurlarr[$_fieldname] = $_GET[$_fieldname];
}else{
if ($value1 == 'or') {
$_sqlstr = $_sqlstr."or ";
}
if ($value1 == 'and' ) {
$_sqlstr = $_sqlstr."and ";
}
}
}
}
$_wheresql = $_sqlstr;
}
//获取模型别名
$_tabname = "";
if ($_cid != -1 && !empty($_cid)) {
$_mid = db('category')->where(['id'=>$_cid])->value('mid');
$_tabname = db('diymodel')->where(['id'=>$_mid])->value('tabname');
}
$page = "";//分页
if ($_pagesize > 0) {
$_pagearr = [];
switch (config('sys.url_model')) {
case '1'://动态
$_pagearr = ['query' => request()->param()];
break;
case '3'://伪静态
$_pagearr = ['path' => ''];
break;
}
$_pagearr['var_link_rows'] = 7;
//存在cid情况
if ($_tabname) {
$_infolist = db('content')
->alias('con')
->join(config('database.prefix').'diy_'.$_tabname.' diy','con.vid = diy.conid')
->where($_where)
->where($_wheresql)
->order("sort desc, id desc")
->paginate($_pagesize, false, $_pagearr);
}else{
$_infolist = db('content')
->where($_where)
->order("sort desc, id desc")
->paginate($_pagesize, false, $_pagearr);
}
$page = $_infolist->render();
if (config('sys.url_model') == 3 && $_area) {
if ($_area['isurl'] == 0) {
$_ctitle = input('ctitle', '', 'trim');
$page = str_replace($_ctitle."/", $_area['etitle'].'_'.$_ctitle."/", $page);
}
}
}else {
//存在cid情况
if ($_tabname) {
$_infolist = db('content')
->alias('con')
->join(config('database.prefix').'diy_'.$_tabname.' diy','con.vid = diy.conid')
->where($_where)
->where($_wheresql)
->order("sort desc, id desc")
->limit($_limit)
->select();
}else{
$_infolist = db('content')
->where($_where)
->order("sort desc, id desc")
->limit($_limit)
->select();
}
}
//总数
$count = count($_infolist);
//组合筛选修改分页URL
if ($_pageurlarr) {
$_ljstr = config('sys.url_model') == '1' ? "&" : "?";
$page = preg_replace('/href=[\'|\"](\S+)[\'|\"]/i', 'href=$1'.$_ljstr.build_query($_pageurlarr), $page);
}
$_content = new app\index\model\ContentModel();
foreach ($_infolist as $k => $list):
$list = $_content->getContentByCon($list);
$list['k'] = $k;
$list['alltitle'] = $list['title'];
if(20) $list['title'] = str2sub($list['title'], 20, 0);
$list = $_content->getContentArea($list);
$list = update_str_dq($list, config('sys.sys_area'));
?>
<li>
<div class="news_a">
<div class="news_a1">
<div class="news_a_l">
<img src="<?php echo $list['pic']; ?>" alt="">
</div>
<div class="news_a_c">
<a href="<?php echo $list['url']; ?>"><h4><?php echo $list['title']; ?></h4></a>
<p> <?php echo str2sub($list['content'],120, true); ?>
</p>
<div class="news_btn">
<input type="button" value="新闻中心">
<input type="button" value="<?php echo $catlist['title']; ?>">
</div>
</div>
<div class="news_a_r">
<div class="news_a_r_img">
<img src="__HPUBLIC__/img/liulanh.png" alt="">
<img class="news_none" src="__HPUBLIC__/img/liulan.png" alt="">
</div>
<p><a href="<?php echo $list['url']; ?>">浏览详情</a></p>
</div>
</div>
<div class="dask"></div>
</div>
</li>
<?php endforeach;?>
</ul>
<?php endforeach;?>
</div>
</div>
</div>
<!-- news end -->
<!-- footer star -->
<!-- footer star -->
<div class="footer-box">
<div class="footer">
<div class="footer-l">
<?php
$_limit = "10";
$_typeid = intval('2');
$_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;
}
$nav['target'] = $nav['target'] ? '_blank' : '_self';
$nav['url'] = $_category->getCategoryUrl($nav, []);
$nav = update_str_dq($nav, config('sys.sys_area'));
?>
<div class="f-l-a">
<h1><?php echo $nav['title']; ?></h1>
<ul>
<?php if(is_array($nav['child']) || $nav['child'] instanceof \think\Collection || $nav['child'] instanceof \think\Paginator): $i = 0; $__LIST__ = $nav['child'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
<li><a href="#"><?php echo $v['title']; ?></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
</div>
<?php endforeach;?>
</div>
<div class="footer-r">
<div class="f-r-l">
<div class="f-r-l-t">
<img src="__HPUBLIC__/img/qq.png" alt="在线客服">
<span><a href="tencent://message/?Menu=yes&uin=2283996364&Site=80fans&Service=300&sigT=45a1e5847943b64c6ff3990f8a9e644d2b31356cb0b4ac6b24663a3c8dd0f8aa12a545b1714f9d45" target="_blank">在线客服1号</a></span>
<span><a href="tencent://message/?Menu=yes&uin=2283996364&Site=80fans&Service=300&sigT=45a1e5847943b64c6ff3990f8a9e644d2b31356cb0b4ac6b24663a3c8dd0f8aa12a545b1714f9d45" target="_blank">在线客服2号</a></span>
</div>
<div class="f-r-l-txt">
<?php
$_block = db('block')->where("title='".'footer_info'."'")->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'];
}
}
}
echo $_block_content;
?>
</div>
</div>
<div class="f-r-r">
<img src=" <?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 (!1) {
$_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'];
}
}
}
echo $_block_content;
?>" alt="底部二维码">
</div>
</div>
</div>
<style>
.link-p{margin:15px;;display: -webkit-box;}
.link-p a{color:#bbbbbb;}
</style>
<p class="link-p">
<a href="http://www.hnqykj.top/">郑州网站建设 </a>
<a href="http://www.hnqykj.top/">网站建设 </a>
<a href="http://www.hnqykj.top/">郑州网站托管 </a>
<a href="http://www.hnqykj.top/">网站托管 </a>
<a href="http://www.hnqykj.top/">企业网站托管 </a>
<a href="http://www.hnqykj.top/">郑州网站推广 </a>
<a href="http://www.hnqykj.top/">网站推广 </a>
<a href="http://www.hnqykj.top/">郑州小程序开发 </a>
<a href="http://www.hnqykj.top/">小程序开发 </a>
<a href="http://www.hnqykj.top/">郑州APP开发 </a>
<a href="http://www.hnqykj.top/">APP开发 </a>
<a href="http://www.hnqykj.top/">郑州公众号托管 </a>
<a href="http://www.hnqykj.top/">公众号托管 </a>
<a href="http://www.hnqykj.top/">公众号建设</a>
</p>
</div>
<!-- footer end -->
<!-- below star -->
<div class="below-box">
<div class="below">
<div class="below-top">
<ul>
<li>友情链接:</li>
<?php
$_type = '1';
$_flag = '';
$_where = [];
if ($_type) {
$_where['type'] = $_type;
}
if ($_flag) {
$_where['pic'] = $_flag ? array('NEQ', '') : array('EQ', '');
}
//地区独立内容
$_area = session('sys_areainfo');
if ($_area) {
$_where['area'] = [['exp',' is NULL'],['eq',''],['eq',',,'],['LIKE','%,'.$_area['id'].',%'], 'or'];
}else{
$_where['area'] = [['exp',' is NULL'],['eq',''],['eq',',,'],['LIKE','%,88888888,%'], 'or'];
}
$_limit = "10";
$_infolist = db('link')->where($_where)->order("sort ASC")->limit($_limit)->select();
foreach ($_infolist as $k => $link):
$link = update_str_dq($link, config('sys.sys_area'));
?>
<li><a href="<?php echo $link['url']; ?>" target="_blank"><?php echo $link['title']; ?> </a></li>
<?php endforeach;?>
</ul>
</div>
<div class="below-bottom">
<p><?php echo "Copyright©2005-2019 红狐企业网 All Rights Reserved
"; ?><span><a href="http://www.miibeian.gov.cn" target="__blank"> <?php
$_block = db('block')->where("title='".'beian'."'")->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'];
}
}
}
echo $_block_content;
?></a></span></p>
</div>
</div>
</div>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?d0e670fd719cf85237590ebcc3469311";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</body>
</html>
|