content |
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:42:"./template/default/index/show_article.html";i:1585539567;s:64:"D:\1\v5082538\wwwroot\template\default\index\public_header1.html";i:1664171578;s:63:"D:\1\v5082538\wwwroot\template\default\index\public_footer.html";i:1594431869;}*/ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php if(strlen($content['seo_title']) != 0): ?><?php echo $content['seo_title']; else: ?><?php echo $content['title']; ?>-<?php echo "苏(Su)州(Zhou)福(Fu)尔(?)特(Te)电(Dian)子(Zi)科(Ke)技(Ji)有(You)限(Xian)公(Gong)司(Si)"; endif; ?></title>
<meta name="keywords" content="<?php if(strlen($content['seo_keywords']) != 0): ?><?php echo $content['seo_keywords']; else: ?><?php echo $content['title']; endif; ?>">
<meta name="description" content="<?php if(strlen($content['seo_desc']) != 0): ?><?php echo str2sub($content['seo_desc'],160, true); else: ?><?php echo str2sub($content['content'],160, true); endif; ?>">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/style/css/style.css">
<script type="text/javascript" src="__PUBLIC__/style/js/jquery-1.6.4.min.js"></script>
</head>
<body>
<?php error_reporting(0); ?>
<div id="hhh">
<div class="hhh">
您(Nin)好(Hao)!(?)欢(Huan)迎(Ying)您(Nin)访(Fang)问(Wen)"<?php echo "苏(Su)州(Zhou)福(Fu)尔(?)特(Te)电(Dian)子(Zi)科(Ke)技(Ji)有(You)限(Xian)公(Gong)司(Si)"; ?>"企(Qi)业(Ye)网(Wang)站(Zhan)!(?)
<ul>
<li><a href="#">设(She)为(Wei)首(Shou)页(Ye)</a></li>
<li><a href="#">加(Jia)入(Ru)收(Shou)藏(Cang)</a></li>
<li><a href="#">联(Lian)系(Xi)我(Wo)们(Men)</a></li>
</ul>
</div>
</div>
<div id="head">
<div class="head">
<a href="/"><img src="<?php echo "/uploads/image/20221118/4c2bfff2b7ffbf774fa50c7cef315c34.png"; ?>"/></a>
<div class="pho">
<span>咨(Zi)询(Xun)热(Re)线(Xian)</span>
<p><?php
$_block = db('block')->where("title='".'head_text3'."'")->find();
$_block = update_str_dq($_block, session('sys_areainfo'));
$_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);//清(Qing)除(Chu)html再(Zai)截(Jie)取(Qu)
}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;
?></p>
</div>
</div>
</div>
<div id="daohang">
<ul id="webmenu" class="first-menu">
<li><a href="/" >网(Wang)站(Zhan)首(Shou)页(Ye)</a></li>
<?php
$_limit = "10";
$_typeid = intval('1');
$_category = new app\index\model\CategoryModel();
$_navlist = $_category->getCategory('', $_typeid, true);
$_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, session('sys_areainfo'));
?>
<li > <a href="<?php echo $nav['url']; ?>" target="<?php echo $nav['target']; ?>" <?php if($nav['id'] == $cid): ?>class="on"<?php endif; ?>> <?php echo $nav['title']; ?> </a>
<?php if($nav['child']): ?>
<ul style="display:none;" class="second-menu">
<?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['url']; ?>" id="arrow"><?php echo $v['title']; ?></a></li>
<?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
</li>
<?php endforeach;?>
</ul>
</div>
<?php
$_type = '2';
$_where = [];
if ($_type) {
$_where['type'] = $_type;
}
$_limit = "1";
//地(Di)区(Qu)独(Du)立(Li)内(Nei)容(Rong)
$_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'];
}
$_infolist = db('banner')->where($_where)->order("sort desc")->limit($_limit)->select();
foreach ($_infolist as $k => $banner):
$banner = update_str_dq($banner, session('sys_areainfo'));
?>
<div class="neibanner" style="background:url(<?php echo $banner['pic']; ?>) no-repeat 50%/cover;"></div>
<?php endforeach;?>
<div class="nein">
<p>您(Nin)现(Xian)在(Zai)所(Suo)在(Zai)位(Wei)置(Zhi):(?)<?php
$_sname = "";
$_cid = $cid;
echo getPosition($_cid, $_sname, "", ">>");
?> </p>
</div>
<div id="Mid_two">
<div id="Mid_two_R1">
<div class="titlec"><h1><?php echo $content['title']; ?></h1></div>
<div class="itemc"> 来(Lai)源(Yuan):(?)<?php echo $content['source']; ?> (?)日(Ri)期(Qi):(?)<?php echo date('Y-m-d',$content['create_time']); ?> (?)人(Ren)气(Qi):(?)<?php echo $content['click']; ?></div>
<div class="ppp">
<?php echo sitelink($content['content']); ?>
</div>
<div class="wen_bottom_left ">
<div style="line-height:35px;"> <span>上(Shang)一(Yi)篇(Pian):(?)</span> <?php echo $content['prev']; ?> </div>
<div style="line-height:35px;"> <span>下(Xia)一(Yi)篇(Pian):(?)</span> <?php echo $content['next']; ?> </div>
</div>
</div>
</div>
<div class="clear"></div>
<div id="llink">
<p>友(You)情(Qing)链(Lian)接(Jie)</p>
<?php
$_type = '1';
$_flag = '';
$_where = [];
if ($_type) {
$_where['type'] = $_type;
}
if ($_flag) {
$_where['pic'] = $_flag == 'true' ? ['NEQ', ''] : ['EQ', ''];
}
//地(Di)区(Qu)独(Du)立(Li)内(Nei)容(Rong)
$_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("id DESC")->limit($_limit)->select();
foreach ($_infolist as $k => $link):
$link = update_str_dq($link, session('sys_areainfo'));
?>
<a href="<?php echo $link['url']; ?>" ><?php echo $link['title']; ?></a>
<?php endforeach;?>
</div>
<div id="llink">
<p>城(Cheng)市(Shi)分(Fen)站(Zhan)</p>
<?php
$_limit = "10";
$_top = intval('1');
$_con = intval('0');
$_url = intval('0');
$_topzm = -1;
$_pid = 0;
$_conurl = intval('');
$_type = 'level';
$_where = [];
if ($_top) {
$_where['istop'] = $_top;
}
if ($_con) {
$_where['iscon'] = $_con;
}
if ($_url) {
$_where['isurl'] = $_url;
}
if ($_topzm != -1) {
$_where['etitle'] = ['LIKE', $_topzm.'%'];
}
$_area = session('sys_areainfo');
if ($_type == "current") {
$_where['id']= $_area ? $_area['id'] : '';
}
if ($_type == "province") {
$_where['id']= $_area ? getprovince($_area['id']) : '';
}
if ($_type == -1 || $_type == "group" || $_type == "1" ) {
if ($_pid) {
$_where['pid'] = $_pid;
}else{
if ($_area && !$_conurl) {
$_where['pid'] = $_area['id'];
}else{
$_where['pid'] = 0;
}
}
}
$_where['isopen'] = 1;
$_limit = "10";
$_infolist = db('area')->where($_where)->order("sort asc")->limit($_limit)->select();
if (empty($_infolist)) {
if ($_area && !$_conurl) {
$_where['pid'] = $_area['pid'];
$_infolist = db('area')->where($_where)->order("sort asc")->limit($_limit)->select();
}
}
$_areamodel = new app\index\model\AreaModel();
$_category = new app\index\model\CategoryModel();
$_content = new app\index\model\ContentModel();
foreach($_infolist as $autoindex => $area):
$area['ys_url'] = $_areamodel->getAreaUrl($area);
$area['ys_title'] = $area['title'];
$area['ys_stitle'] = $area['stitle'];
if ($_conurl) {
$area['url'] = $_areamodel->getAreaUrl($area);
}else{
if (isset($content)) {
$_data = $_content->getContentArea($content, $area);
$area['url'] = $_data['url'];
$area['title'] = $area['stitle'].$content['ys_title'];
}else{
if (isset($category)){
$_data = $_category->getCategoryArea($category, $area);
$area['url'] = $_data['url'];
$area['title'] = $area['stitle'].$category['ys_title'];
}else{
$area['url'] = $_areamodel->getAreaUrl($area);
}
}
}
?>
<a href="<?php echo $area['url']; ?>" ><?php echo $area['title']; ?></a>
<?php endforeach;?>
</div>
<div id="footer">
<div class="bnav">
<ul>
<li><a href="/">网(Wang)站(Zhan)首(Shou)页(Ye)</a></li>
<?php
$_limit = "10";
$_typeid = intval('1');
$_category = new app\index\model\CategoryModel();
$_navlist = $_category->getCategory('', $_typeid, true);
$_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, session('sys_areainfo'));
?>
<li><a href="<?php echo $nav['url']; ?>"><?php echo $nav['title']; ?></a></li>
<?php endforeach;?>
</ul>
</div>
<div class="bfoot">
<div class="blogo"><img src="__PUBLIC__/style/img/logob.png" /></div>
<div class="blian">
<?php
$_block = db('block')->where("title='".'ccc'."'")->find();
$_block = update_str_dq($_block, session('sys_areainfo'));
$_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);//清(Qing)除(Chu)html再(Zai)截(Jie)取(Qu)
}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;
?>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?6c8bdf4d348a1423cef5a28add123e3e";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</div>
<div class="erwm"><?php
$_block = db('block')->where("title='".'ewm'."'")->find();
$_block = update_str_dq($_block, session('sys_areainfo'));
$_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);//清(Qing)除(Chu)html再(Zai)截(Jie)取(Qu)
}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>
<SCRIPT type="text/javascript" src="__PUBLIC__/style/js/lrscroll.js"></SCRIPT>
<!----banner--->
<script type="text/javascript" src="__PUBLIC__/style/js/superslide.2.1.js"></script>
<!----bannerend--->
<script>
(function(){
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split(':')[0];
if (curProtocol === 'https') {
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
}
else {
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s);
})();
</script>
<!--hot_product-->
<script src="__PUBLIC__/style/js/jscarousel.js" type="text/javascript"></script>
<!--hot_product_end--->
<script type="text/javascript" src="__PUBLIC__/style/js/heji.js"></script>
<script src="http://www.szrongbang.com/theme/boge/js/zxkefu.js"></script>
</div>
</body>
</html>
|