SetQuery("Select id,typename,channeltype From `#@__arctype`"); $dsql->Execute(); while($row = $dsql->GetArray()) { fwrite($fp, "\$typeArr[{$row['id']}] = '{$row['typename']}';\r\n"); } fwrite($fp, '?'.'>'); fclose($fp); } //引入栏目¾~“å­˜òq¶çœ‹å…³é”®å­—是否有相关栏目内容 require_once($typenameCacheFile); if(isset($typeArr) && is_array($typeArr)) { foreach($typeArr as $id=>$typename) { //$keywordn = str_replace($typename, ' ', $keyword); $keywordn = $keyword; if($keyword != $keywordn) { $keyword = HtmlReplace($keywordn); $typeid = intval($id); break; } } } } $keyword = addslashes(cn_substr($keyword,30)); $typeid = intval($typeid); if($cfg_notallowstr !='' && preg_match("#".$cfg_notallowstr."#i", $keyword)) { ShowMsg("你的搜烦关键字中存在非法内容åQŒè¢«¾pȝ»Ÿ¼›æ­¢åQ?,"-1"); exit(); } if(($keyword=='' || strlen($keyword)<2) && empty($typeid)) { $keyword='没有相关数据'; //ShowMsg('关键字不能小äº?个字节!','-1'); //exit(); } //‹‚€æŸ¥æœç´¢é—´éš”æ—¶é—?$lockfile = DEDEDATA.'/time.lock.inc'; $lasttime = file_get_contents($lockfile); if(!empty($lasttime) && ($lasttime + $cfg_search_time) > time()) { ShowMsg('½Ž¡ç†å‘˜è®¾å®šæœç´¢æ—¶é—´é—´éš”äؓ'.$cfg_search_time.'¿U’,è¯ïL¨åŽå†è¯•ï¼','-1'); exit(); } //开始时é—?if(empty($starttime)) $starttime = -1; else { $starttime = (is_numeric($starttime) ? $starttime : -1); if($starttime>0) { $dayst = GetMkTime("2008-1-2 0:0:0") - GetMkTime("2008-1-1 0:0:0"); $starttime = time() - ($starttime * $dayst); } } $t1 = ExecTime(); $sp = new SearchView($typeid,$keyword,$orderby,$channeltype,$searchtype,$starttime,$pagesize,$kwtype,$mid); $keyword = $oldkeyword; $sp->Display(); PutFile($lockfile, time()); //echo ExecTime() - $t1; 亚洲色欧美色2019在线办公室的_免费黃色大片三级片_制服丝袜自拍另类亚洲_中国毛片在线观看

<acronym id="swdq3"><em id="swdq3"><dfn id="swdq3"></dfn></em></acronym>

<var id="swdq3"><strong id="swdq3"><sup id="swdq3"></sup></strong></var>

    1. <acronym id="swdq3"></acronym>
        1. <acronym id="swdq3"></acronym><acronym id="swdq3"><em id="swdq3"><address id="swdq3"></address></em></acronym>