{"id":1309,"date":"2021-11-03T12:00:27","date_gmt":"2021-11-03T04:00:27","guid":{"rendered":"http:\/\/www.baishitou.cn\/?p=1309"},"modified":"2021-11-24T11:01:52","modified_gmt":"2021-11-24T03:01:52","slug":"%e6%9c%80%e6%96%b0%e7%bb%87%e6%a2%a6dedecms%e5%85%a8%e7%ab%99%e7%9b%ae%e5%bd%95%e5%8c%96%e4%bc%aa%e9%9d%99%e6%80%81%e8%ae%be%e7%bd%ae%e7%bd%91%e5%9d%80%e5%92%8c%e7%94%9f%e6%88%90%e9%9d%99%e6%80%81","status":"publish","type":"post","link":"https:\/\/www.baishitou.cn\/1309.html","title":{"rendered":"\u6700\u65b0\u7ec7\u68a6DEDECMS\u5168\u7ad9\u76ee\u5f55\u5316\u4f2a\u9759\u6001\u8bbe\u7f6e(\u7f51\u5740\u548c\u751f\u6210\u9759\u6001\u5730\u5740\u4e00\u6837\u3001\u7535\u8111\u548c\u624b\u673a\u8bbf\u95ee\u5730\u5740\u4e5f\u4e00\u6837)"},"content":{"rendered":"
\u6700\u65b0\u7ec7\u68a6DEDECMS\u5168\u7ad9\u76ee\u5f55\u5316\u4f2a\u9759\u6001\u8bbe\u7f6e\uff0c\u4f2a\u9759\u6001\u8bbe\u7f6e\u6210\u529f\u540e\uff0c\u7f51\u5740\u548c\u751f\u6210\u9759\u6001\u5730\u5740\u4e00\u6837\u3001\u7535\u8111\u548c\u624b\u673a\u8bbf\u95ee\u5730\u5740\u4e5f\u4e00\u6837\u3002<\/p>\n
\u5982\u679c\u4f60\u7535\u8111\u7aef\u662f\u751f\u6210\u9759\u6001\u800c\u624b\u673a\u7aef\u662f\u52a8\u6001\u7684\u8bdd\uff0c\u8bf7\u67e5\u770b\u7ec7\u68a6\u624b\u673a\u7aef\u4f2a\u9759\u6001\u8bbe\u7f6ehttp:\/\/www.baishitou.cn\/1157.html<\/a><\/p>\n \u6b64\u6559\u7a0b\u9002\u5408\u6587\u7ae0\u547d\u540d\u9009\u62e9\u7684\u662f{aid},\u5982\u679c\u4f60\u7684\u6587\u7ae0\u547d\u540d\u9009\u62e9\u7684\u662f{pinying},\u8bf7\u770b\u7ec7\u68a6DEDECMS\u5168\u7ad9\u4f2a\u9759\u6001\uff08\u7535\u8111+\u624b\u673a\u79fb\u52a8\uff09{pinyin}\u62fc\u97f3\u7248https:\/\/www.baishitou.cn\/2506.html<\/a><\/p>\n \u4f2a\u9759\u6001\u8bbe\u7f6e\u6210\u529f\u540e\uff0c\u8bbf\u95eeURL\u5730\u5740\u6548\u679c\u5982\u4e0b\u3002<\/p>\n \u7535\u8111\u7aef\u7684URL\u5730\u5740\uff1a<\/p>\n \u5217\u8868\u9875\u2003 http:\/\/www.123.com\/news\/ <\/p>\n \u624b\u673a\u7aef\u7684URL\u5730\u5740\uff1a<\/p>\n \u5217\u8868\u9875\u2003\u00a0 \u00a0 \u00a0 \u00a0http:\/\/m.123.com\/news\/ \u662f\u4e0d\u662f\u5fc3\u52a8\u4e86\u5462\uff0c\u90a3\u6211\u4eec\u5f00\u59cb\u52a8\u624b\u8bbe\u7f6e\u5427\u3002<\/p>\n \u51c6\u5907\u5de5\u4f5c\uff1a\u5148\u5907\u4efd\u597d\u7f51\u7ad9\u6570\u636e\uff0c\u7f51\u7ad9\u9700\u8981\u4fee\u6539\u7684\u6587\u4ef6\u6211\u5df2\u6253\u5305\u597d\uff0c\u90fd\u662f\u4ece\u5b98\u7f51\u4e0a\u76f4\u63a5\u4e0b\u8f7d\uff0c\u7136\u540e\u4fee\u6539\u7684\uff0c\u4f60\u53ef\u6839\u636e\u81ea\u5df1\u7f51\u7ad9\u7f16\u7801\u4e0b\u8f7d\uff0c\u7136\u540e\u8986\u76d6\u4ee5\u524d\u7684\u6587\u4ef6\u5373\u53ef\u3002\u628a\u4f60\u7684\u79fb\u52a8\u57df\u540d\u89e3\u6790\u5230\u7f51\u7ad9\u5e76\u7ed1\u5b9a\u7f51\u7ad9\u6839\u76ee\u5f55\u4e0b\u7684m\u6587\u4ef6\u5939\u3002 \u5982\u679c\u4f60\u60f3\u81ea\u5df1\u4fee\u6539\u6587\u4ef6\uff0c\u4e0a\u9762\u7684\u4e0b\u8f7d\u8bf7\u5ffd\u7565\uff0c\u7136\u540e\u67e5\u770b\u4e0b\u9762\u7684\u4fee\u6539\u6559\u7a0b\u3002<\/p>\n \u7f51\u7ad9\u540e\u53f0\u8bbe\u7f6e\uff1a<\/p>\n \u6838\u5fc3\u8bbe\u7f6e\u91cc\u9762\uff0c\u542f\u7528\u7edd\u5bf9\u7f51\u5740\u5173\u95ed <\/p>\n <\/p>\n \u53d8\u91cf\u540d\u79f0:cfg_mobile <\/p>\n <\/p>\n 1\u3001\u5217\u8868\u9875\u548c\u5185\u5bb9\u9875\u4f2a\u9759\u6001\u94fe\u63a5<\/strong><\/p>\n \u6253\u5f00 \/plus\/list.php \u641c\u7d22<\/p>\n \u4fee\u6539\u4e3a<\/p>\n \u6253\u5f00 \/plus\/view.php \u641c\u7d22<\/p>\n \u5728\u5b83\u4e0b\u9762\u52a0\u5165<\/p>\n \u4e0a\u9762\u4ee3\u7801\u91cc\uff0c\u5982\u679c\u6253\u5f00\u7684\u5185\u5bb9\u9875\u5730\u5740\u4e0d\u662f\u5b9e\u9645\u5730\u5740\u7684\u8bdd\uff0c\u9875\u9762\u4f1a\u76f4\u63a5\u663e\u793a \u53ef\u7528\u4e0b\u9762\u4ee3\u7801<\/p>\n <\/p>\n \u6253\u5f00 \/include\/arc.listview.class.php \u641c\u7d22<\/p>\n \u5728\u5b83\u4e0a\u9762\u52a0\u5165<\/p>\n \u7ee7\u7eed\u641c\u7d22<\/p>\n \u5728\u5b83\u4e0a\u9762\u52a0\u4e0a<\/p>\n \u6253\u5f00 \/include\/helpers\/channelunit.helper.php \u641c\u7d22<\/p>\n \u4fee\u6539\u4e3a<\/p>\n \u7ee7\u7eed\u641c\u7d22<\/p>\n \u4fee\u6539\u4e3a<\/p>\n \u7ee7\u7eed\u641c\u7d22<\/p>\n \u4fee\u6539\u4e3a<\/p>\n 2\u3001\u5185\u5bb9\u6587\u7ae0\u5206\u9875\u4f2a\u9759\u6001<\/strong><\/p>\n \u6253\u5f00 \/include\/arc.archives.class.php \u641c\u7d22<\/p>\n \u67092\u5904\uff0c\u4fee\u6539\u4e3a<\/p>\n \u7ee7\u7eed\u641c\u7d22<\/p>\n \u67093\u5904\uff0c\u4fee\u6539\u4e3a<\/p>\n \u7ee7\u7eed\u641c\u7d22<\/p>\n \u67093\u5904\uff0c\u4fee\u6539\u4e3a<\/p>\n 3\u3001TAG\u6807\u7b7e\u4f2a\u9759\u6001\u94fe\u63a5<\/strong><\/p>\n \u6253\u5f00 \/include\/taglib\/tag.lib.php \u641c\u7d22<\/p>\n \u4fee\u6539\u4e3a<\/p>\n 4\u3001TAG\u6807\u7b7e\u5206\u9875\u4f2a\u9759\u6001\u94fe\u63a5<\/strong><\/p>\n \u6253\u5f00 \/include\/arc.taglist.class.php \u641c\u7d22<\/p>\n \u5728\u5b83\u4e0b\u9762\u52a0\u5165<\/p>\n \u7ee7\u7eed\u641c\u7d22<\/p>\n \u5728\u5b83\u4e0a\u9762\u52a0\u5165<\/p>\n \u7ee7\u7eed\u641c\u7d22<\/p>\n \u4fee\u6539\u4e3a<\/p>\n 5\u3001\u641c\u7d22\u9875\u4f2a\u9759\u6001\u94fe\u63a5<\/strong><\/p>\n \u6253\u5f00 \/plus\/search.php \u641c\u7d22<\/p>\n \u5728\u5b83\u4e0b\u9762\u52a0\u5165<\/p>\n \u7ee7\u7eed\u641c\u7d22<\/p>\n \u5728\u5b83\u4e0b\u9762\u52a0\u5165<\/p>\n \u6253\u5f00 \/include\/arc.searchview.class.php \u641c\u7d22<\/p>\n \u4fee\u6539\u4e3a<\/p>\n \u7ee7\u7eed\u641c\u7d22<\/p>\n \u4fee\u6539\u4e3a<\/p>\n \u7ee7\u7eed\u641c\u7d22<\/p>\n \u4fee\u6539\u4e3a<\/p>\n 6\u3001\u79fb\u52a8\u7248\u5f53\u524d\u4f4d\u7f6e {dede:field.position\/} \u6807\u7b7e\u52a8\u6001\u6539\u6210\u4f2a\u9759\u6001<\/strong><\/p>\n \u6253\u5f00 \/include\/typelink.class.php \u641c\u7d22<\/p>\n \u4fee\u6539\u6210<\/p>\n \u7ee7\u7eed\u641c\u7d22<\/p>\n \u4fee\u6539\u6210<\/p>\n <\/p>\n 7\u3001\u6a21\u677f\u91cc\u628a\u641c\u7d22\u6846\u4ee3\u7801\u6539\u6210\u9759\u6001\u7684js\u63d0\u4ea4\u641c\u7d22\uff0c\u53c2\u8003\u4e0b\u9762\u4ee3\u7801\uff0c\u6ce8\u610f\u6807\u7ea2\u7684\u5730\u65b9<\/strong><\/p>\n \u7535\u8111\u7aef<\/p>\n \u6807\u7ea2\u7684\u90e8\u5206\u67e5\u770b\u4e0b\u56fe\u3002<\/p>\n \u624b\u673a\u7aef<\/p>\n <\/i>\u7f51\u76d8\u4e0b\u8f7d \u5bc6\u7801: ahcu<\/a><\/p>\n \u672c\u5730\u4e0b\u8f7d
\n\u5217\u8868\u5206\u9875 http:\/\/www.123.com\/news\/list_1_2.html
\n\u5185\u5bb9\u9875\u2003\u2003\u2003 http:\/\/www.123.com\/xinwenzixun\/6.html
\n\u5185\u5bb9\u9875\u5206\u9875\u2003 http:\/\/www.123.com\/news\/6_2.html
\nTAG\u6807\u7b7e\u9875\u2003 http:\/\/www.123.com\/tags\/\u804c\u573a\/
\nTAG\u6807\u7b7e\u5206\u9875 http:\/\/www.123.com\/tags\/\u804c\u573a\/2\/
\n\u641c\u7d22\u9875\u2003\u2003\u2003 http:\/\/www.123.com\/search\/\u804c\u573a.html
\n\u641c\u7d22\u9875\u5206\u9875\u2003 http:\/\/www.123.com\/search\/\u804c\u573a-2.html<\/p>\n
\n\u5217\u8868\u5206\u9875\u00a0 \u00a0 \u00a0 \u00a0http:\/\/m.123.com\/news\/list_1_2.html
\n\u5185\u5bb9\u9875\u2003\u2003\u2003 http:\/\/m.123.com\/news\/6.html
\n\u5185\u5bb9\u9875\u5206\u9875\u2003 http:\/\/m.123.com\/xinwenzixun\/6_2.html
\nTAG\u6807\u7b7e\u9875\u2003 http:\/\/m.123.com\/tags\/\u804c\u573a\/
\nTAG\u6807\u7b7e\u5206\u9875 http:\/\/m.123.com\/tags\/\u804c\u573a\/2\/
\n\u641c\u7d22\u9875\u2003\u2003\u2003 http:\/\/m.123.com\/search\/\u804c\u573a.html
\n\u641c\u7d22\u9875\u5206\u9875\u2003 http:\/\/m.123.com\/search\/\u804c\u573a-2.htm<\/p>\n
\n<\/i>GBK<\/a>
\n<\/i>UTF8<\/a><\/p>\n\u4e00\u3001\u540e\u53f0-\u7cfb\u7edf\u53c2\u6570-\u6838\u5fc3\u8bbe\u7f6e-\u5f00\u542f\u4f2a\u9759\u6001<\/h2>\n
<\/a><\/p>\n
\n<\/a><\/p>\n
\u4e8c\u3001\u5b89\u88c5\u5168\u7ad9\u52a8\u9759\u6001\u63d2\u4ef6\uff0c\u4e0b\u8f7d\u7684\u538b\u7f29\u5305\u91cc\u6709\u3002\u8bbe\u7f6e\u5168\u7ad9\u4e3a\u52a8\u6001\u3002<\/h2>\n
<\/a><\/p>\n
\u4e09\u3001\u540e\u53f0\u6dfb\u52a0\u4e24\u4e2a\u65b0\u53d8\u91cf\uff1a\uff08\u6ce8\u610f\uff1a\u5982\u679c\u4f60\u7684\u7f51\u7ad9\u6a21\u677f\u662f\u81ea\u9002\u5e94\u7684\uff0c\u6ca1\u6709\u624b\u673a\u7ad9\uff0c\u6b64\u6b65\u53ef\u4ee5\u8df3\u8fc7\uff09<\/h2>\n
\n\u53d8\u91cf\u7c7b\u578b:\u6587\u672c
\n\u53c2\u6570\u8bf4\u660e:\u624b\u673a\u7248\u7f51\u5740
\n\u53d8\u91cf\u503c:http:\/\/m.verywen.com
\n\u6240\u5c5e\u7ec4:\u7ad9\u70b9\u8bbe\u7f6e
\n
\n<\/a> <\/a><\/p>\n
\n<\/a>
\n
\n<\/a>\u53d8\u91cf\u540d\u79f0:cfg_rewritem
\n\u53d8\u91cf\u7c7b\u578b:\u5e03\u5c14(Y\/N)
\n\u53c2\u6570\u8bf4\u660e:\u624b\u673a\u7248\u4f2a\u9759\u6001
\n\u53d8\u91cf\u503c:Y
\n\u6240\u5c5e\u7ec4:\u7ad9\u70b9\u8bbe\u7f6e<\/p>\n<\/p>\n
<\/p>\n
\u56db\u3001\u4fee\u6539\u6587\u4ef6<\/h2>\n
$tid = (isset($tid) && is_numeric($tid) ? $tid : 0);<\/code><\/pre>\n
if($cfg_rewrite == 'Y')\r\n{\r\n if(!is_numeric($tid))\r\n {\r\n $typedir = parse_url($tid, PHP_URL_PATH);\r\n $PageNo = stripos(GetCurUrl(), '.html') ? intval(str_replace('.html', '', end(explode(\"_\", GetCurUrl())))) : 1;\r\n $tinfos = $dsql->GetOne(\"SELECT * FROM `#@__arctype` WHERE typedir='\/$typedir' or typedir='{cmspath}\/$typedir'\");\r\n\r\n if(is_array($tinfos))\r\n {\r\n $tid = $tinfos['id'];\r\n $typeid = GetSonIds($tid);\r\n $row = $dsql->GetOne(\"Select count(id) as total From `#@__archives` where typeid in({$typeid})\");\r\n }\r\n else\r\n {\r\n $tid = 0;\r\n }\r\n }\r\n}\r\nelse\r\n{\r\n\t$tid = (isset($tid) && is_numeric($tid) ? $tid : 0);\r\n}<\/code><\/pre>\n
$t1 = ExecTime();<\/code><\/pre>\n
if($cfg_rewrite == 'Y')\r\n{\r\n\tif(!is_numeric($aid))\r\n\t{\r\n $aid = stripos(GetCurUrl(), '.html') ? str_replace('.html', '', end(explode(\"\/\", GetCurUrl()))) : 0;\r\n\t\t$aidpage = explode(\"_\",$aid);\r\n\t\t$aid = intval($aidpage[0]);\r\n\t\t$pageno = intval($aidpage[1]);\r\n\t}\r\n $arcrow = GetOneArchive($aid);\r\n if ($arcrow['arcurl'] != GetCurUrl()) die(\" Request Error! \");\r\n}<\/code><\/pre>\n
Request Error!<\/code>\u00a0 \u5982\u679c\u4f60\u60f3\u8ba9\u5b83\u663e\u793a404\u9875\u9762<\/p>\n
if($cfg_rewrite == 'Y')\r\n{\r\n\tif(!is_numeric($aid))\r\n\t{\r\n $aid = stripos(GetCurUrl(), '.html') ? str_replace('.html', '', end(explode(\"\/\", GetCurUrl()))) : 0;\r\n\t\t$aidpage = explode(\"_\",$aid);\r\n\t\t$aid = intval($aidpage[0]);\r\n\t\t$pageno = intval($aidpage[1]);\r\n\t}\r\n $arcrow = GetOneArchive($aid);\r\n if ($arcrow['arcurl'] != GetCurUrl())\r\n {\r\n header(\"location:\/404.html\");\r\n die ();\r\n }\r\n}<\/code><\/pre>\n
\/\/\u83b7\u5f97\u4e0a\u4e00\u9875\u548c\u4e0b\u4e00\u9875\u7684\u94fe\u63a5<\/code><\/pre>\n
if($cfg_rewrite == 'Y')\r\n{\r\n\t$purl = \"\";\r\n}\r\nelse\r\n{\r\n\t$geturl = \"tid=\".$this->TypeID.\"&TotalResult=\".$this->TotalResult.\"&\";\r\n\t$purl .= '?'.$geturl;\r\n}<\/code><\/pre>\n
$plist = str_replace('.php?tid=', '-', $plist);<\/code><\/pre>\n
$tnamerule = $this->GetMakeFileRule($this->Fields['id'],\"list\",$this->Fields['typedir'],$this->Fields['defaultname'],$this->Fields['namerule2']);\r\n$tnamerule = preg_replace(\"\/^(.*)\\\/\/\", '', $tnamerule);\r\n$plist = preg_replace(\"\/PageNo=(\\d+)\/i\",str_replace(\"{page}\",\"\\\\1\",$tnamerule),$plist);<\/code><\/pre>\n
global $cfg_typedir_df;<\/code><\/pre>\n
global $cfg_typedir_df, $cfg_rewrite;<\/code><\/pre>\n
$reurl = $GLOBALS['cfg_phpurl'].\"\/list.php?tid=\".$typeid;<\/code><\/pre>\n
if($cfg_rewrite == 'Y')\r\n{\r\n $reurl = $typedir.'\/';\r\n}\r\nelse\r\n{\r\n \/\/\u52a8\u6001\r\n $reurl = $GLOBALS['cfg_phpurl'].\"\/list.php?tid=\".$typeid;\r\n}<\/code><\/pre>\n
return $GLOBALS[\"cfg_plus_dir\"].\"\/view-\".$aid.'-1.html';<\/code><\/pre>\n
$articleDir = MfTypedir($typedir);\r\n$articleRule = strtolower($namerule);\r\nif($articleRule=='')\r\n{\r\n\t$articleRule = strtolower($GLOBALS['cfg_df_namerule']);\r\n}\r\nif($typedir=='')\r\n{\r\n\t$articleDir = $GLOBALS['cfg_cmspath'].$GLOBALS['cfg_arcdir'];\r\n}\r\n$dtime = GetDateMk($timetag);\r\nlist($y, $m, $d) = explode('-', $dtime);\r\n$arr_rpsource = array('{typedir}','{y}','{m}','{d}','{timestamp}','{aid}','{cc}');\r\n$arr_rpvalues = array($articleDir,$y, $m, $d, $timetag, $aid, dd2char($m.$d.$aid.$y));\r\nif($filename != '')\r\n{\r\n\t$articleRule = dirname($articleRule).'\/'.$filename.$GLOBALS['cfg_df_ext'];\r\n}\r\n$articleRule = str_replace($arr_rpsource,$arr_rpvalues,$articleRule);\r\nif(preg_match(\"\/\\{p\/\", $articleRule))\r\n{\r\n\t$articleRule = str_replace('{pinyin}',GetPinyin($title).'_'.$aid,$articleRule);\r\n\t$articleRule = str_replace('{py}',GetPinyin($title,1).'_'.$aid,$articleRule);\r\n}\r\n$articleUrl = '\/'.preg_replace(\"\/^\\\/\/\", '', $articleRule);\r\nif(preg_match(\"\/index\\.html\/\", $articleUrl) && $cfg_arc_dirname=='Y')\r\n{\r\n\t$articleUrl = str_replace('index.html', '', $articleUrl);\r\n}\r\nreturn $articleUrl;<\/code><\/pre>\n
$PageList = preg_replace(\"#.php\\?aid=(\\d+)#i\", '-\\\\1-1.html', $PageList);<\/code><\/pre>\n
$PageList = preg_replace(\"#view.php\\?aid=(\\d+)#i\", '\\\\1.html', $PageList);<\/code><\/pre>\n
$PageList = str_replace(\".php?aid=\", \"-\", $PageList);<\/code><\/pre>\n
$PageList = str_replace(\"view.php?aid=\", \"\", $PageList);<\/code><\/pre>\n
$PageList = preg_replace(\"#&pageno=(\\d+)#i\", '-\\\\1.html', $PageList);<\/code><\/pre>\n
$PageList = preg_replace(\"#&pageno=(\\d+)#i\", '_\\\\1.html', $PageList);<\/code><\/pre>\n
$row['link'] = $cfg_cmsurl.\"\/tags.php?\/\".urlencode($row['keyword']).\"\/\";<\/code><\/pre>\n
$row['link'] = $cfg_cmsurl.\"\/tags\/\".urlencode($row['keyword']).\"\/\";<\/code><\/pre>\n
$this->PageNo = $GLOBALS['PageNo'];<\/code><\/pre>\n
if($this->PageNo == 0)\r\n{\r\n $this->PageNo = 1;\r\n}<\/code><\/pre>\n
$prepage=\"\";<\/code><\/pre>\n
global $cfg_rewrite;<\/code><\/pre>\n
$purl .= \"?\/\".urlencode($this->Tag);<\/code><\/pre>\n
if($cfg_rewrite == 'Y')\r\n{\r\n $purl = \"\/tags\/\".urlencode($this->Tag);\r\n}\r\nelse\r\n{\r\n $purl .= \"?\/\".urlencode($this->Tag);\r\n}<\/code><\/pre>\n
$mid = (isset($mid) && is_numeric($mid)) ? $mid : 0;<\/code><\/pre>\n
if ( $mobile==1 )\r\n{\r\n define('DEDEMOB', 'Y');\r\n}<\/code><\/pre>\n
$t1 = ExecTime();<\/code><\/pre>\n
$keyword = preg_replace(\"\/-(\\d+)\/i\",'',$keyword);\r\n$oldkeyword = preg_replace(\"\/-(\\d+)\/i\",'',$oldkeyword);<\/code><\/pre>\n
global $oldkeyword;<\/code><\/pre>\n
global $oldkeyword, $cfg_rewrite;<\/code><\/pre>\n
$purl .= \"?\".$geturl;<\/code><\/pre>\n
if($cfg_rewrite != 'Y' && !defined('DEDEMOB'))\r\n{\r\n $purl .= \"?\".$geturl;\r\n}\r\nelse\r\n{\r\n $purl = '\/search\/'.urlencode($oldkeyword);\r\n}<\/code><\/pre>\n
return $plist;<\/code><\/pre>\n
if($cfg_rewrite == 'Y')\r\n{\r\n\t$plist = preg_replace(\"\/PageNo=(\\d+)\/i\",'-\\\\1.html',$plist);\r\n}\r\nreturn $plist;<\/code><\/pre>\n
$indexpage = \"<a href='index.php'>\".$this->indexName.\"<\/a>\";<\/code><\/pre>\n
if($GLOBALS['cfg_rewritem'] == 'Y')\r\n{\r\n\t$indexpage = \"<a href='\".$GLOBALS['cfg_mobile'].\"'>\".$this->indexName.\"<\/a>\";\r\n}\r\nelse\r\n{\r\n\t$indexpage = \"<a href='index.php'>\".$this->indexName.\"<\/a>\";\r\n}<\/code><\/pre>\n
return 'list.php?tid='.$typeinfos['id'];<\/code><\/pre>\n
if($GLOBALS['cfg_rewritem'] == 'Y')\r\n{\r\n\treturn GetTypeUrl($typeinfos['id'],MfTypedir($typeinfos['typedir']),$typeinfos['isdefault'],$typeinfos['defaultname'],$typeinfos['ispart'],$typeinfos['namerule2'],$typeinfos['moresite'],$typeinfos['siteurl'],$typeinfos['sitepath']);\r\n}\r\nelse\r\n{\r\n\treturn 'list.php?tid='.$typeinfos['id'];\r\n}<\/code><\/pre>\n
<script type=\"text\/javascript\">\r\nfunction search()<\/span>\r\n{\r\n var q = document.getElementById(\"q<\/span>\").value;\r\n window.location.href = \"http:\/\/www.441516.com\/search<\/span>\/\"+q+\".html\";\r\n}\r\nfunction enterIn(obj,evt)\r\n{\r\n var evt = evt ? evt : (window.event ? window.event : null);\r\n if (evt.keyCode == 13)\r\n {\r\n var q = obj.value;\r\n window.location.href = \"http:\/\/www.441516.com\/search<\/span>\/\"+q+\".html\";\r\n }\r\n}\r\n<\/script>\r\n<form action=\"\"<\/span> method=\"post\" onsubmit=\"return false<\/span>\">\r\n <div class=\"form\">\r\n <h4>\u641c\u7d22<\/h4>\r\n <input name=\"q\" id=\"q\" onkeydown=\"enterIn(this,event);\"<\/span> type=\"text\" \/>\r\n <button type=\"submit\" class=\"search-submit\" onclick=\"search()<\/span>\">\u641c\u7d22<\/button>\r\n <\/div>\r\n<\/form><\/code><\/pre>\n
<\/a><\/p>\n
<script type=\"text\/javascript\">\r\nfunction search()<\/span>\r\n{\r\n var q = document.getElementById(\"q<\/span>\").value;\r\n window.location.href = \"http:\/\/m.441516.com\/search<\/span>\/\"+q+\".html\";\r\n}\r\nfunction enterIn(obj,evt)\r\n{\r\n var evt = evt ? evt : (window.event ? window.event : null);\r\n if (evt.keyCode == 13)\r\n {\r\n var q = obj.value;\r\n window.location.href = \"http:\/\/m.441516.com\/search<\/span>\/\"+q+\".html\";\r\n }\r\n}\r\n<\/script>\r\n<form action=\"\"<\/span> method=\"post\" onsubmit=\"return false\"<\/span>>\r\n <div class=\"form\">\r\n <h4>\u641c\u7d22<\/h4>\r\n <input name=\"q\" id=\"q\" onkeydown=\"enterIn(this,event);\"<\/span> type=\"text\" \/>\r\n <button type=\"submit\" class=\"search-submit\" onclick=\"search()\"<\/span>>\u641c\u7d22<\/button>\r\n <\/div>\r\n<\/form><\/code><\/pre>\n
<\/a><\/p>\n
\u4e94\u3001\u7ec7\u68a6\u7535\u8111\u7248\u53ca\u624b\u673a\u7248\u7684\u4f2a\u9759\u6001\u89c4\u5219\u4e0b\u8f7d\uff0c\u6839\u636e\u4f60\u7684\u8fd0\u884c\u73af\u5883\u9009\u62e9\u76f8\u5e94\u7684\u89c4\u5219\u3002<\/h2>\n