{"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\/
\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

 <\/p>\n

\u624b\u673a\u7aef\u7684URL\u5730\u5740\uff1a<\/p>\n

\u5217\u8868\u9875\u2003\u00a0 \u00a0 \u00a0 \u00a0http:\/\/m.123.com\/news\/
\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

\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
\n
<\/i>GBK<\/a>
\n
<\/i>UTF8<\/a><\/p>\n

\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

\u4e00\u3001\u540e\u53f0-\u7cfb\u7edf\u53c2\u6570-\u6838\u5fc3\u8bbe\u7f6e-\u5f00\u542f\u4f2a\u9759\u6001<\/h2>\n

\"1\"<\/a><\/p>\n

\u6838\u5fc3\u8bbe\u7f6e\u91cc\u9762\uff0c\u542f\u7528\u7edd\u5bf9\u7f51\u5740\u5173\u95ed
\n
\"2\"<\/a><\/p>\n

 <\/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

\"3\"<\/a><\/p>\n

 <\/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

\u53d8\u91cf\u540d\u79f0:cfg_mobile
\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>
\"4\"<\/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

\"5\"<\/p>\n

 <\/p>\n

\"6\"<\/p>\n

\u56db\u3001\u4fee\u6539\u6587\u4ef6<\/h2>\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

$tid = (isset($tid) && is_numeric($tid) ? $tid : 0);<\/code><\/pre>\n

\u4fee\u6539\u4e3a<\/p>\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

\u6253\u5f00 \/plus\/view.php \u641c\u7d22<\/p>\n

$t1 = ExecTime();<\/code><\/pre>\n

\u5728\u5b83\u4e0b\u9762\u52a0\u5165<\/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()) die(\" Request Error! \");\r\n}<\/code><\/pre>\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\u793aRequest Error!<\/code>\u00a0 \u5982\u679c\u4f60\u60f3\u8ba9\u5b83\u663e\u793a404\u9875\u9762<\/p>\n

\u53ef\u7528\u4e0b\u9762\u4ee3\u7801<\/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

 <\/p>\n

\u6253\u5f00 \/include\/arc.listview.class.php \u641c\u7d22<\/p>\n

\/\/\u83b7\u5f97\u4e0a\u4e00\u9875\u548c\u4e0b\u4e00\u9875\u7684\u94fe\u63a5<\/code><\/pre>\n

\u5728\u5b83\u4e0a\u9762\u52a0\u5165<\/p>\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

\u7ee7\u7eed\u641c\u7d22<\/p>\n

$plist = str_replace('.php?tid=', '-', $plist);<\/code><\/pre>\n

\u5728\u5b83\u4e0a\u9762\u52a0\u4e0a<\/p>\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

\u6253\u5f00 \/include\/helpers\/channelunit.helper.php \u641c\u7d22<\/p>\n

global $cfg_typedir_df;<\/code><\/pre>\n

\u4fee\u6539\u4e3a<\/p>\n

global $cfg_typedir_df, $cfg_rewrite;<\/code><\/pre>\n

\u7ee7\u7eed\u641c\u7d22<\/p>\n

$reurl = $GLOBALS['cfg_phpurl'].\"\/list.php?tid=\".$typeid;<\/code><\/pre>\n

\u4fee\u6539\u4e3a<\/p>\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

\u7ee7\u7eed\u641c\u7d22<\/p>\n

return $GLOBALS[\"cfg_plus_dir\"].\"\/view-\".$aid.'-1.html';<\/code><\/pre>\n

\u4fee\u6539\u4e3a<\/p>\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

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

$PageList = preg_replace(\"#.php\\?aid=(\\d+)#i\", '-\\\\1-1.html', $PageList);<\/code><\/pre>\n

\u67092\u5904\uff0c\u4fee\u6539\u4e3a<\/p>\n

$PageList = preg_replace(\"#view.php\\?aid=(\\d+)#i\", '\\\\1.html', $PageList);<\/code><\/pre>\n

\u7ee7\u7eed\u641c\u7d22<\/p>\n

$PageList = str_replace(\".php?aid=\", \"-\", $PageList);<\/code><\/pre>\n

\u67093\u5904\uff0c\u4fee\u6539\u4e3a<\/p>\n

$PageList = str_replace(\"view.php?aid=\", \"\", $PageList);<\/code><\/pre>\n

\u7ee7\u7eed\u641c\u7d22<\/p>\n

$PageList =  preg_replace(\"#&pageno=(\\d+)#i\", '-\\\\1.html', $PageList);<\/code><\/pre>\n

\u67093\u5904\uff0c\u4fee\u6539\u4e3a<\/p>\n

$PageList =  preg_replace(\"#&pageno=(\\d+)#i\", '_\\\\1.html', $PageList);<\/code><\/pre>\n

3\u3001TAG\u6807\u7b7e\u4f2a\u9759\u6001\u94fe\u63a5<\/strong><\/p>\n

\u6253\u5f00 \/include\/taglib\/tag.lib.php \u641c\u7d22<\/p>\n

$row['link'] = $cfg_cmsurl.\"\/tags.php?\/\".urlencode($row['keyword']).\"\/\";<\/code><\/pre>\n

\u4fee\u6539\u4e3a<\/p>\n

$row['link'] = $cfg_cmsurl.\"\/tags\/\".urlencode($row['keyword']).\"\/\";<\/code><\/pre>\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

$this->PageNo = $GLOBALS['PageNo'];<\/code><\/pre>\n

\u5728\u5b83\u4e0b\u9762\u52a0\u5165<\/p>\n

if($this->PageNo == 0)\r\n{\r\n    $this->PageNo = 1;\r\n}<\/code><\/pre>\n

\u7ee7\u7eed\u641c\u7d22<\/p>\n

$prepage=\"\";<\/code><\/pre>\n

\u5728\u5b83\u4e0a\u9762\u52a0\u5165<\/p>\n

global $cfg_rewrite;<\/code><\/pre>\n

\u7ee7\u7eed\u641c\u7d22<\/p>\n

$purl .= \"?\/\".urlencode($this->Tag);<\/code><\/pre>\n

\u4fee\u6539\u4e3a<\/p>\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

5\u3001\u641c\u7d22\u9875\u4f2a\u9759\u6001\u94fe\u63a5<\/strong><\/p>\n

\u6253\u5f00 \/plus\/search.php \u641c\u7d22<\/p>\n

$mid = (isset($mid) && is_numeric($mid)) ? $mid : 0;<\/code><\/pre>\n

\u5728\u5b83\u4e0b\u9762\u52a0\u5165<\/p>\n

if ( $mobile==1 )\r\n{\r\n    define('DEDEMOB', 'Y');\r\n}<\/code><\/pre>\n

\u7ee7\u7eed\u641c\u7d22<\/p>\n

$t1 = ExecTime();<\/code><\/pre>\n

\u5728\u5b83\u4e0b\u9762\u52a0\u5165<\/p>\n

$keyword = preg_replace(\"\/-(\\d+)\/i\",'',$keyword);\r\n$oldkeyword = preg_replace(\"\/-(\\d+)\/i\",'',$oldkeyword);<\/code><\/pre>\n

\u6253\u5f00 \/include\/arc.searchview.class.php \u641c\u7d22<\/p>\n

global $oldkeyword;<\/code><\/pre>\n

\u4fee\u6539\u4e3a<\/p>\n

global $oldkeyword, $cfg_rewrite;<\/code><\/pre>\n

\u7ee7\u7eed\u641c\u7d22<\/p>\n

$purl .= \"?\".$geturl;<\/code><\/pre>\n

\u4fee\u6539\u4e3a<\/p>\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

\u7ee7\u7eed\u641c\u7d22<\/p>\n

return $plist;<\/code><\/pre>\n

\u4fee\u6539\u4e3a<\/p>\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

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

$indexpage = \"<a href='index.php'>\".$this->indexName.\"<\/a>\";<\/code><\/pre>\n

\u4fee\u6539\u6210<\/p>\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

\u7ee7\u7eed\u641c\u7d22<\/p>\n

return 'list.php?tid='.$typeinfos['id'];<\/code><\/pre>\n

\u4fee\u6539\u6210<\/p>\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

 <\/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

<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

\u6807\u7ea2\u7684\u90e8\u5206\u67e5\u770b\u4e0b\u56fe\u3002<\/p>\n

\"\"<\/a><\/p>\n

\u624b\u673a\u7aef<\/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

\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

<\/i>\u7f51\u76d8\u4e0b\u8f7d \u5bc6\u7801: ahcu<\/a><\/p>\n

\u672c\u5730\u4e0b\u8f7d\n\n\t\"Placeholder\"\n\t\u4e0b\u8f7d2151<\/div>\n\n\t\n\n\t\t

\u7ec7\u68a6\u7535\u8111\u7ad9\u624b\u673a\u7ad9\u4f2a\u9759\u6001\u5168\u5957\u4f2a\u9759\u6001\u89c4\u5219-\u81ea\u7531\u76ee\u5f55\u7248.zip<\/h1>\n\n\t\t\t\t\t\t\n\t\t\t\u4e0b\u8f7d\u6587\u4ef6\t\t\t\u7ec7\u68a6\u7535\u8111\u7ad9\u624b\u673a\u7ad9\u4f2a\u9759\u6001\u5168\u5957\u4f2a\u9759\u6001\u89c4\u5219-\u81ea\u7531\u76ee\u5f55\u7248.zip\t\t\t\t– 9.44 KB<\/small>\n\t\t<\/a>\n\t\t\t<\/div>\n<\/aside>\n\n\n<\/p>\n

\u516d\u3001\u7ec7\u68a6\u624b\u673a\u7ad9\u7ec7\u68a6\u4f2a\u9759\u6001\u89c4\u5219-\u56fa\u5b9a\u81ea\u7531\u7248m\u76ee\u5f55\u6587\u4ef6\u66ff\u6362\u6587\u4ef6\uff0c\u89e3\u538b\u540e\uff0c\u66ff\u6362\u6839\u76ee\u5f55\u4e0b\u7684m\u6587\u4ef6\u5939\u5373\u53ef\u3002<\/h2>\n

<\/i>\u7f51\u76d8\u4e0b\u8f7d \u5bc6\u7801: ugjb<\/a><\/p>\n

\u672c\u5730\u4e0b\u8f7d\n\n\t\"Placeholder\"\n\t\u4e0b\u8f7d1935<\/div>\n\n\t\n\n\t\t

\u7ec7\u68a6\u624b\u673a\u7ad9\u7ec7\u68a6\u4f2a\u9759\u6001\u89c4\u5219-\u56fa\u5b9a\u81ea\u7531\u7248m\u76ee\u5f55\u6587\u4ef6\u66ff\u6362\u548c\u6dfb\u52a0.zip<\/h1>\n\n\t\t\t\t\t\t\n\t\t\t\u4e0b\u8f7d\u6587\u4ef6\t\t\t\u7ec7\u68a6\u624b\u673a\u7ad9\u7ec7\u68a6\u4f2a\u9759\u6001\u89c4\u5219-\u56fa\u5b9a\u81ea\u7531\u7248m\u76ee\u5f55\u6587\u4ef6\u66ff\u6362\u548c\u6dfb\u52a0.zip\t\t\t\t– 14.92 KB<\/small>\n\t\t<\/a>\n\t\t\t<\/div>\n<\/aside>\n\n\n<\/p>\n

\u4e03\u3001\u7535\u8111\u7aef\u6a21\u677f\u6dfb\u52a0\u8df3\u8f6c\u4ee3\u7801\uff1a<\/h2>\n

\u4e3b\u9875<\/p>\n

<meta http-equiv=\"mobile-agent\" content=\"format=xhtml;url={dede:global.cfg_mobile\/}\">\r\n<script type=\"text\/javascript\">if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(\/AppleWebKit.*Mobile\/i.test(navigator.userAgent) || (\/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE\/.test(navigator.userAgent))){if(window.location.href.indexOf(\"?mobile\")<0){try{if(\/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry\/i.test(navigator.userAgent)){window.location.href=\"{dede:global.cfg_mobile\/}\";}else if(\/iPad\/i.test(navigator.userAgent)){}else{}}catch(e){}}}}<\/script><\/code><\/pre>\n

\u5217\u8868\u9875<\/p>\n

<meta http-equiv=\"mobile-agent\" content=\"format=xhtml;url={dede:global.cfg_mobile\/}{dede:type}[field:typeurl\/]{\/dede:type}\">\r\n<script type=\"text\/javascript\">if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(\/AppleWebKit.*Mobile\/i.test(navigator.userAgent) || (\/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE\/.test(navigator.userAgent))){if(window.location.href.indexOf(\"?mobile\")<0){try{if(\/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry\/i.test(navigator.userAgent)){window.location.href=\"{dede:global.cfg_mobile\/}{dede:type}[field:typeurl\/]{\/dede:type}\";}else if(\/iPad\/i.test(navigator.userAgent)){}else{}}catch(e){}}}}<\/script><\/code><\/pre>\n

\u5185\u5bb9\u9875<\/p>\n

<meta http-equiv=\"mobile-agent\" content=\"format=xhtml;url={dede:global.cfg_mobile\/}{dede:field.id runphp=yes}$result=GetOneArchive(@me);@me=$result['arcurl'];{\/dede:field.id}\">\r\n<script type=\"text\/javascript\">if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(\/AppleWebKit.*Mobile\/i.test(navigator.userAgent) || (\/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE\/.test(navigator.userAgent))){if(window.location.href.indexOf(\"?mobile\")<0){try{if(\/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry\/i.test(navigator.userAgent)){window.location.href=\"{dede:global.cfg_mobile\/}{dede:field.id runphp=yes}$result=GetOneArchive(@me);@me=$result['arcurl'];{\/dede:field.id}\";}else if(\/iPad\/i.test(navigator.userAgent)){}else{}}catch(e){}}}}<\/script><\/code><\/pre>\n

\u6d4b\u8bd5\u770b\u770b\u4f2a\u9759\u6001\u73b0\u5728\u6b63\u5e38\u4e86\u4e48\u3002<\/p>\n

\u538b\u7f29\u5305\u91cc\u9762\u7684\u624b\u673a\u6a21\u677f\u90fd\u662f\u9ed8\u8ba4\u7684\u624b\u673a\u6a21\u677f\uff0c\u5982\u679c\u51fa\u73b0\u6837\u5f0f\u95ee\u9898\u6216\u8005\u662f\u6570\u636e\u8c03\u7528\u4e0d\u51fa\u6765\u3002\u4f60\u53ef\u4ee5\u6309\u7167\u4e0b\u9762\u7684\u65b9\u6cd5\u4fee\u6539\u4f60\u7684\u624b\u673a\u6a21\u677f<\/p>\n

 <\/p>\n

css\u3001js\u3001images \u6539\u6210\u7edd\u5bf9\u8def\u5f84\uff0c\u4f8b\u5982 assets\/css\/\u00a0\u6539\u6210\u00a0\/assets\/css\/\r\n\r\nindex.php\u00a0\u6539\u6210\u00a0{dede:global.cfg_mobile\/}\r\n\r\nlist.php?tid=[field:id\/]\u00a0\u6539\u6210\u00a0[field:typelink\/]\r\n\r\nlist.php?tid=~id~\u00a0\u6539\u6210\u00a0~typelink~\r\n\r\nlist.php?tid={dede:field name='id'\/}\u00a0\u6539\u6210\u00a0{dede:field.typeurl\/}\r\n\r\nview.php?aid=[field:id\/]\u00a0\u6539\u6210\u00a0[field:arcurl\/]\r\n\r\n[field:litpic\/]\u00a0\u6539\u6210\u00a0[field:global.cfg_basehost\/][field:litpic\/]\r\n\r\n[field:image\/]\u00a0\u6539\u6210\u00a0<img src=\"[field:global.cfg_basehost\/][field:litpic\/]\">\r\n<\/code><\/pre>\n

\u4e0a\u4e00\u9875\u6807\u7b7e {dede:prenext get='pre'\/}<\/p>\n

\u6539\u6210<\/p>\n

{dede:prenext get=pre runphp=yes}\r\n$preurl = @me;\r\npreg_match('\/aid=(d*)\/'<\/span>,$preurl,$match);\r\n$result = GetOneArchive($match[1<\/span>]);\r\n@me = !empty($result) ? \"\u4e0a\u4e00\u7bc7\uff1a<a href=\"<\/span>\/m<\/span>{$result['arcurl'<\/span>]}\">{$result['title']}<\/a>\"<\/span> : \"\u4e0a\u4e00\u7bc7\uff1a\u6ca1\u6709\u4e86\"<\/span>;\r\n{\/dede:prenext}<\/span><\/pre>\n

\u4e0b\u4e00\u9875\u6807\u7b7e\u00a0{dede:prenext get='next'\/}<\/p>\n

\u6539\u6210<\/p>\n

{dede:prenext get=next<\/span> runphp=yes}\r\n$preurl = @me;\r\npreg_match('\/aid=(d*)\/'<\/span>,$preurl,$match);\r\n$result = GetOneArchive($match[1<\/span>]);\r\n@me = !empty($result) ? \"\u4e0b\u4e00\u7bc7\uff1a<a href=\"<\/span>\/m<\/span>{$result['arcurl'<\/span>]}\">{$result['title']}<\/a>\"<\/span> : \"\u4e0b\u4e00\u7bc7\uff1a\u6ca1\u6709\u4e86\"<\/span>;\r\n{\/dede:prenext}<\/span><\/pre>\n

\u6587\u7ae0\u5185\u5bb9\u00a0{dede:field.body\/}\u6539\u6210<\/p>\n

{dede:field.body runphp=yes}\r\nglobal $cfg_basehost;\r\n$str = @me;\r\n$search = '\/(<img.*?)width=([\"\\'])?.*?(?(2)\\2|\\s)([^>]+>)\/is';\r\n$search1 = '\/(<img.*?)height=([\"\\'])?.*?(?(2)\\2|\\s)([^>]+>)\/is';\r\n$search2 = '#(<img.*?style=\".*?)width:\\d+px;([^\"]*?.*?>)#i';\r\n$search3 = '#(<img.*?style=\".*?)height:\\d+px;([^\"]*?.*?>)#i';\r\n$content = preg_replace($search,'$1$3',$str);\r\n$content = preg_replace($search1,'$1$3',$content);\r\n$content = preg_replace($search2,'$1$2',$content);\r\n$content = preg_replace($search3,'$1$2',$content);\r\n@me = $content;\r\n@me = str_replace('\/uploads\/allimg\/', $cfg_basehost.'\/uploads\/allimg\/', $content);\r\n{\/dede:field.body}<\/code><\/pre>\n

\u680f\u76ee\u5185\u5bb9\u00a0{dede:field.content\/}<\/p>\n

\u6539\u6210<\/p>\n

{dede:field.content runphp=yes}\r\nglobal $cfg_basehost;\r\n$str = @me;\r\n$search = '\/(<img.*?)width=([\"\\'])?.*?(?(2)\\2|\\s)([^>]+>)\/is';\r\n$search1 = '\/(<img.*?)height=([\"\\'])?.*?(?(2)\\2|\\s)([^>]+>)\/is';\r\n$search2 = '#(<img.*?style=\".*?)width:\\d+px;([^\"]*?.*?>)#i';\r\n$search3 = '#(<img.*?style=\".*?)height:\\d+px;([^\"]*?.*?>)#i';\r\n$content = preg_replace($search,'$1$3',$str);\r\n$content = preg_replace($search1,'$1$3',$content);\r\n$content = preg_replace($search2,'$1$2',$content);\r\n$content = preg_replace($search3,'$1$2',$content);\r\n@me = $content;\r\n@me = str_replace('\/uploads\/allimg\/', $cfg_basehost.'\/uploads\/allimg\/', $content);\r\n{\/dede:field.content}<\/code><\/pre>\n

\u597d\u4e86\uff0c\u5b8c\u6210\u4e86\uff0c\u6709\u95ee\u9898\u8bf7\u7559\u8a00\u3002\u5982\u679c\u4f2a\u9759\u6001\u4e0d\u6b63\u5e38\uff0c\u8bf7\u7ee7\u7eed\u770b\u4e0b\u9762\uff0c\u5982\u679c\u6b63\u5e38\u3002\u4e0b\u9762\u5c31\u4e0d\u7528\u770b\u4e86\u3002<\/p>\n

\u8fd8\u6709\u4e00\u4e2a\u8981\u6ce8\u610f\uff0c\u4f2a\u9759\u6001\u540e\uff0c\u8bbf\u95ee\u540e\u53f0\u7ba1\u7406\u5730\u5740\u540e\u9762\u8981\u52a0\u4e0aindex.php<\/span><\/h1>\n

\u6700\u540e\u7ed9\u51e0\u4e2a\u6f14\u793a\u5730\u5740\uff1a<\/p>\n

http:\/\/www.qzm4.com<\/a><\/p>\n

http:\/\/www.441516.com<\/a><\/p>\n

\u8865\u5145\uff1a<\/strong><\/span><\/h1>\n

\u4e0a\u9762\u7684\u4f2a\u9759\u6001\u662f\u5728IIS\u4e0b\u72b6\u6001\u5168\u90e8\u662f\u6b63\u5e38\u7684\uff0c\u4f46\u5728NGINX\u4e0btags\u5c31\u663e\u793a404\u9519\u8bef\u4e86\u3002\u7531\u4e8e\u5bf9\u6b63\u89c4\u5219\u4e0d\u592a\u4e86\u89e3\uff0c\u7f51\u4e0a\u67e5\u4e86\u597d\u591a\u6559\u7a0b\uff0c\u7ec8\u4e8e\u641e\u5b9a\uff0c\u5217\u8868\u9875\uff0c\u5206\u9875\u540e\u9762\u90fd\u5e26.html\uff0c\u4e0a\u9762\u6559\u7a0b\u91cc\u9762\u4e0d\u5e26.html<\/p>\n

\u5730\u5740\u5982\u4e0b\uff1a<\/p>\n

\"\"<\/a><\/p>\n