久久精品www,欧洲国产成人精品91铁牛tv,一色屋精品屋兔免费视频,porny,国产精品青草久久久久福利99,少妇精品偷拍高潮少妇小说

[2] ErrorException in File.php line 32

file_put_contents(D:\1\v5082538\wwwroot\caches\temp\3157a8ca142d1fc8dd3688eaa9e95307.php): failed to open stream: No space left on device

  1. */
  2. public function write($cacheFile, $content)
  3. {
  4. // 检(Jian)测(Ce)模(Mo)板(Ban)目(Mu)录(Lu)
  5. $dir = dirname($cacheFile);
  6. if (!is_dir($dir)) {
  7. mkdir($dir, 0755, true);
  8. }
  9. // 生(Sheng)成(Cheng)模(Mo)板(Ban)缓(Huan)存(Cun)文(Wen)件(Jian)
  10. if (false === file_put_contents($cacheFile, $content)) {
  11. throw new Exception('cache write error:' . $cacheFile, 11602);
  12. }
  13. }
  14. /**
  15. * 读(Du)取(Qu)编(Bian)译(Yi)编(Bian)译(Yi)
  16. * @param string $cacheFile 缓(Huan)存(Cun)的(De)文(Wen)件(Jian)名(Ming)
  17. * @param array $vars 变(Bian)量(Liang)数(Shu)组(Zu)
  18. * @return void

Exception Datas

Error Context
cacheFile D:\1\v5082538\wwwroot\caches\temp\3157a8ca142d1fc8dd3688eaa9e95307.php
content <?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:42:"./template/default/index/show_product.html";i:1590568920;s:64:"D:\1\v5082538\wwwroot\template\default\index\public_header2.html";i:1664171584;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 id="Mid_two"><div id="Mid_two1"> <div id="Mid_two_L1"> <div class="ttp"> <div class="a1"><?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 = $_category->getCategoryArea($type); $type = update_str_dq($type, session('sys_areainfo')); ?><?php echo $type['title']; ?></div> <ul> <?php $_cid = $category['id']; $_limit = "10"; $_type = "parent"; $_cidarr = []; if($_cid == -1){ $_cidarr[] = input('cid') ? input('cid') : 0; }else{ if (strpos($_cid, ',')) { $_cidarr = explode(',', $_cid); }else{ $_cidarr[] = intval($category['id']); } } $_category = new app\index\model\CategoryModel(); $_catlist = $_category->getCategory(1); if (1 == 0) { $_catlist = $_category->clearLink($_catlist);//去(Qu)除(Chu)外(Wai)部(Bu)链(Lian)接(Jie)的(De)栏(Lan)目(Mu) } //type为(Wei)parent if ($_type == 'parent') { $_parent = $_category->getParents($_catlist, $_cidarr[0]); $_catlist = $_category->unlimitedForLayer($_catlist, 'child', $_parent[0]['id']); }else{ //type为(Wei)top,忽(Hu)略(Lue)cid if($_cid == 0 || $_type == 'top') { $_catlist = $_category->unlimitedForLayer($_catlist); }else { if ($_type == 'self') { //同(Tong)级(Ji)分(Fen)类(Lei) $_pidarr = []; foreach ($_cidarr as $_k => $_v) { $_typeinfo = $_category->getSelf($_catlist, $_v); if ($_typeinfo) { $_pidarr[] = $_typeinfo['pid']; } } $_catlist = $_category->unlimitedForLayer($_catlist, 'child', $_pidarr ? $_pidarr : 0); }else { //son,(?)子(Zi)类(Lei)列(Lie)表(Biao) $_catlist = $_category->unlimitedForLayer($_catlist, 'child', $_cidarr); } } } $_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, session('sys_areainfo')); ?> <LI <?php if($catlist['id'] == $cid || $catlist['id'] == $category['pid']): ?>class="on"<?php endif; ?> ><a href="<?php echo $catlist['url']; ?>" title="<?php echo $catlist['title']; ?>">&nbsp;&nbsp;&nbsp;<?php echo $catlist['title']; ?></a></LI> <?php endforeach;?> </ul> </div> <div class="ttp"> <div class="a1">最(Zui)新(Xin)资(Zi)讯(Xun)</div> <ul> <?php $_cid = 28; $_limit = "10"; $_keyword = -1; $_flag = '1'; $_time = ''; $_areaid = '';//指(Zhi)定(Ding)地(Di)区(Qu)ID $_top = ''; $_image = '-1'; $_pagesize = 0; $_pagecss = 1; $_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 = ['create_time' => ['LT', time()]]; $_where[] = function ($_q) use($_ids){ $_q->where(['cid' => ['IN', $_ids]])->whereor("CONCAT(',',addcid,',') REGEXP CONCAT(',(',REPLACE('".implode(',', $_ids)."',',','|'),'),')"); }; }else { $_where = array('create_time' => array('LT', time())); } if ($_keyword != -1) { $_where['title'] = array('LIKE','%'.$_keyword.'%'); } if ($_flag) { $_where['istop'] = $_flag; } if ($_time) { $_where['update_time'] = ['GT', time()-$_time]; } 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()]; //地(Di)区(Qu)独(Du)立(Li)内(Nei)容(Rong) 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) { //拼(Pin)接(Jie)SQL语(Yu)句(Ju) $_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'); $_newfieldname = isset($_GET[$_fieldname]) ? $_GET[$_fieldname] : ''; if ($_newfieldname != '不(Bu)限(Xian)' && $_newfieldname != '' && $_newfieldname != ',不(Bu)限(Xian)') { $_filelist = explode(',', $_newfieldname); $_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] = $_newfieldname; }else{ if ($value1 == 'or') { $_sqlstr = $_sqlstr."or "; } if ($value1 == 'and' ) { $_sqlstr = $_sqlstr."and "; } } } } $_wheresql = $_sqlstr; } //获(Huo)取(Qu)模(Mo)型(Xing)别(Bie)名(Ming) $_tabname = ""; if ($_cid != -1 && !empty($_cid)) { $_mid = db('category')->where(['id'=>$_cid])->value('mid'); $_tabname = db('diymodel')->where(['id'=>$_mid])->value('tabname'); } $page = "";//分(Fen)页(Ye) if ($_pagesize > 0) { $_pagearr = []; switch (config('sys.url_model')) { case '1'://动(Dong)态(Tai) $param['s'] = request()->pathinfo(); $param = array_merge($param, request()->param()); $_pagearr = ['query' => $param]; break; case '3'://伪(Wei)静(Jing)态(Tai) $_pagearr = ['query' => []]; break; } $_pagearr['var_link_rows'] = 7; //存(Cun)在(Zai)cid情(Qing)况(Kuang) 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") ->paginate($_pagesize, false, $_pagearr); }else{ $_infolist = db('content') ->where($_where) ->order("sort desc") ->paginate($_pagesize, false, $_pagearr); } $page = $_infolist->render(); $page = preg_replace("#/([\d]*)page/#", '/page/', $page); //搜(Sou)索(Suo)组(Zu)合(He)参(Can)数(Shu) if (config('sys.url_model') == 3 && $_keyword && !isset($_GET['key']) && input('key')) { $page = str_replace("/page/", '/key/'.input('key').'/page/', $page); } if (config('sys.url_model') == 3 && $_area) { if ($_area['isurl'] == 0) { //$_ctitle = input('ctitle', '', 'trim'); //$page = str_replace($_ctitle."/", $_area['etitle'].'_'.$_ctitle."/", $page); } } if (!$_pagecss) { $page = preg_replace('#<style([\s\S]*)</style>#', "", $page); } }else { //存(Cun)在(Zai)cid情(Qing)况(Kuang) 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") ->limit($_limit) ->select(); }else{ $_infolist = db('content') ->where($_where) ->order("sort desc") ->limit($_limit) ->select(); } } //组(Zu)合(He)筛(Shai)选(Xuan)修(Xiu)改(Gai)分(Fen)页(Ye)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['alltitle'] = $list['title']; if(0) $list['title'] = str2sub($list['title'], 0, 0); $list = $_content->getContentArea($list); $list = update_str_dq($list, session('sys_areainfo')); ?> <LI><a href="<?php echo $list['url']; ?>" title="<?php echo $list['title']; ?>"><?php echo $list['title']; ?></a></LI> <?php endforeach;?> </ul> </div> </div> <div id="Mid_two_R6"> <div class="tts">您(Nin)现(Xian)在(Zai)所(Suo)在(Zai)位(Wei)置(Zhi):(?)<?php $_sname = ""; $_cid = $cid; echo getPosition($_cid, $_sname, "", "&gt;&gt;"); ?> </div> <div class="pro"> <div class="img"> <div class="pc-slide"> <div class="view"> <div class="swiper-container swiper-container-horizontal"> <div class="swiper-wrapper"> <?php if(is_array(str2arr($content['pic'],'***')) || str2arr($content['pic'],'***') instanceof \think\Collection || str2arr($content['pic'],'***') instanceof \think\Paginator): $k = 0; $__LIST__ = str2arr($content['pic'],'***');if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($k % 2 );++$k;?> <div class="swiper-slide img-center"> <div class="imgauto"> <img src="<?php echo $v; ?>" rel="<?php echo $v; ?>" class="jqzoom"> </div> </div> <?php endforeach; endif; else: echo "" ;endif; ?> </div> </div> </div> <div class="preview"> <a class="arrow-left" href="javascript:;"></a> <a class="arrow-right" href="javascript:;"></a> <div class="swiper-container swiper-container-horizontal"> <div class="swiper-wrapper"> <?php if(is_array(str2arr($content['pic'],'***')) || str2arr($content['pic'],'***') instanceof \think\Collection || str2arr($content['pic'],'***') instanceof \think\Paginator): $k = 0; $__LIST__ = str2arr($content['pic'],'***');if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($k % 2 );++$k;?> <div class="swiper-slide"> <div class="imgauto"><img src="<?php echo $v; ?>"></div> </div> <?php endforeach; endif; else: echo "" ;endif; ?> </div> </div> </div> </div> </div> <div class="text"> <h1 class="protit"><?php echo $content['title']; ?></h1> <div class="desc"> <p> 联(Lian)系(Xi)人(Ren):(?)<?php $_block = db('block')->where("title='".'lianxiren'."'")->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; ?><br /> 手(Shou)机(Ji):(?)<?php $_block = db('block')->where("title='".'shouji'."'")->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; ?><br /> 邮(You)箱(Xiang):(?)<?php $_block = db('block')->where("title='".'youxiang'."'")->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; ?><br /> 来(Lai)源(Yuan):(?)<?php echo $content['source']; ?> </p> </div> <?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 = $_category->getCategoryArea($type); $type = update_str_dq($type, session('sys_areainfo')); ?> <a href="<?php echo $type['url']; ?>" class="btn"> <span>联(Lian)系(Xi)我(Wo)们(Men)</span></a> </div> </div> <div class="pro-content"> <div class="tits"><span>产(Chan)品(Pin)详(Xiang)情(Qing)</span></div> <div class="info"> <?php echo $content['content']; ?></div> </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> <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> <script src="__PUBLIC__/style/js/jquery.imagezoom.min.js"></script> <script type="text/javascript"> $(".jqzoom").imagezoom(); var $zoom = $('.jqzoom'); </script> <link rel="stylesheet" href="__PUBLIC__/style/css/swiper.min.css" /> <script src="__PUBLIC__/style/js/swiper.min.js"></script> <script> $('.preview .swiper-slide').eq(0).addClass('active-nav'); var viewSwiper = new Swiper('.view .swiper-container', { onSlideChangeStart: function() { updateNavPosition() } }) $('.view .arrow-left,.preview .arrow-left').on('click', function(e) { e.preventDefault() if (viewSwiper.activeIndex == 0) { viewSwiper.slideTo(viewSwiper.slides.length - 1, 1000); return } viewSwiper.slidePrev() }) $('.view .arrow-right,.preview .arrow-right').on('click', function(e) { e.preventDefault() if (viewSwiper.activeIndex == viewSwiper.slides.length - 1) { viewSwiper.slideTo(0, 1000); return } viewSwiper.slideNext() }) var previewSwiper = new Swiper('.preview .swiper-container', { //visibilityFullFit: true, slidesPerView: 'auto', allowTouchMove: false, onTap: function() { viewSwiper.slideTo(previewSwiper.clickedIndex) } }) function updateNavPosition() { $('.preview .active-nav').removeClass('active-nav') var activeNav = $('.preview .swiper-slide').eq(viewSwiper.activeIndex).addClass('active-nav') if (!activeNav.hasClass('swiper-slide-visible')) { if (activeNav.index() > previewSwiper.activeIndex) { var thumbsPerNav = Math.floor(previewSwiper.width / activeNav.width()) - 1 previewSwiper.slideTo(activeNav.index() - thumbsPerNav) } else { previewSwiper.slideTo(activeNav.index()) } } } </script> </div> </body> </html>
dir D:\1\v5082538\wwwroot\caches\temp
友情鏈接: