 {"id":494,"date":"2012-11-15T10:35:59","date_gmt":"2012-11-15T02:35:59","guid":{"rendered":"http:\/\/www.qyuef.com\/?p=494"},"modified":"2012-11-15T10:35:59","modified_gmt":"2012-11-15T02:35:59","slug":"%e7%bb%87%e6%a2%a6dedecms5-7%e6%8f%90%e7%a4%ba%e4%bf%a1%e6%81%af%e7%be%8e%e5%8c%96%e5%88%86%e4%ba%ab%e3%80%82","status":"publish","type":"post","link":"http:\/\/www.qyuef.com\/?p=494","title":{"rendered":"\u7ec7\u68a6dedecms5.7\u63d0\u793a\u4fe1\u606f\u7f8e\u5316\u5206\u4eab\u3002"},"content":{"rendered":"<p>\n\t\u6709\u65f6\u5019\u6211\u4eec\u5728\u7528dede\u5efa\u7ad9\u7684\u65f6\u5019\uff0c\u4f1a\u5220\u6389\u548c\u9690\u85cf\u4e00\u4e9b\u4fe1\u606f\u8ba9\u522b\u4eba\u4e0d\u77e5\u9053\u662f\u7ec7\u68a6\u5efa\u7684\u7f51\u7ad9\u6765\u9488\u5bf9\u6027\u653b\u51fb\u3002\u8fd9\u91cc\u535a\u4e3b\u5206\u4eab\u4e00\u4e2a\u7f8e\u5316\u7684\u63d0\u793a\u4fe1\u606f\u3002\u3002<\/p>\n<p>\n\t\u8be5\u529f\u80fd\u4e3b\u8981\u662f\u4fee\u6539\u4e86\u9ed8\u8ba4\u7684\u51fd\u6570\u6587\u4ef6common.func.php\u3002<\/p>\n<p>\n\t<img alt=\"\" class=\"lazyload \" src=\"http:\/\/www.qyuef.com\/wp-content\/themes\/2022072007404724\/img\/post_loading.gif\" data-original=\"http:\/\/www.qyuef.com\/wp-content\/uploads\/3333333333333.jpg\" \/><\/p>\n<p>\n\t<span style=\"color: rgb(51, 51, 51); font-family: Arial; font-size: 14px; line-height: 21px; \">\u4fee\u6539\uff1ainclude\/common.func.php<\/span><br style=\"color: rgb(51, 51, 51); font-family: Arial; font-size: 14px; line-height: 21px; \" \/><br \/>\n\t<span style=\"color: rgb(51, 51, 51); font-family: Arial; font-size: 14px; line-height: 21px; \">\u7b2c178-255\u884c<\/span><br style=\"color: rgb(51, 51, 51); font-family: Arial; font-size: 14px; line-height: 21px; \" \/><br \/>\n\t<span style=\"color: rgb(51, 51, 51); font-family: Arial; font-size: 14px; line-height: 21px; \">\u8986\u76d6\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/span><\/p>\n<p><\/p>\n<pre class=\"brush:php;first-line:1;pad-line-numbers:true;highlight:null;collapse:false;\">\nfunction ShowMsg($msg, $gourl, $onlymsg=0, $limittime=0)\n{\n    if(empty($GLOBALS[&#39;cfg_plus_dir&#39;])) $GLOBALS[&#39;cfg_plus_dir&#39;] = &#39;..&#39;;\n\n    $htmlhead  = &quot;&lt;html&gt;\\r\\n&lt;head&gt;\\r\\n&lt;title&gt;DedeCMS\u63d0\u793a\u4fe1\u606f&lt;\/title&gt;\\r\\n&lt;meta http-equiv=\\&quot;Content-Type\\&quot; content=\\&quot;text\/html; charset=gb2312\\&quot; \/&gt;\\r\\n&quot;;\n    $htmlhead .= &quot;&lt;base target=&#39;_self&#39;\/&gt;\\r\\n&lt;style&gt;div{line-height:160%;}&lt;\/style&gt;&lt;\/head&gt;\\r\\n&lt;body leftmargin=&#39;0&#39; topmargin=&#39;0&#39; bgcolor=&#39;#FFFFFF&#39;&gt;&quot;.(isset($GLOBALS[&#39;ucsynlogin&#39;]) ? $GLOBALS[&#39;ucsynlogin&#39;] : &#39;&#39;).&quot;\\r\\n&lt;center&gt;\\r\\n&lt;script&gt;\\r\\n&quot;;\n    $htmlfoot  = &quot;&lt;\/script&gt;\\r\\n&lt;\/center&gt;\\r\\n&lt;\/body&gt;\\r\\n&lt;\/html&gt;\\r\\n&quot;;\n\n    $litime = ($limittime==0 ? 1000 : $limittime);\n    $func = &#39;&#39;;\n\n    if($gourl==&#39;-1&#39;)\n    {\n        if($limittime==0) $litime = 5000;\n        $gourl = &quot;javascript:history.go(-1);&quot;;\n    }\n\n    if($gourl==&#39;&#39; || $onlymsg==1)\n    {\n        $msg = &quot;&lt;script&gt;alert(\\&quot;&quot;.str_replace(&quot;\\&quot;&quot;,&quot;&ldquo;&quot;,$msg).&quot;\\&quot;);&lt;\/script&gt;&quot;;\n    }\n    else\n    {\n        \/\/\u5f53\u7f51\u5740\u4e3a:close::objname \u65f6, \u5173\u95ed\u7236\u6846\u67b6\u7684id=objname\u5143\u7d20\n        if(preg_match(&#39;\/close::\/&#39;,$gourl))\n        {\n            $tgobj = trim(preg_replace(&#39;\/close::\/&#39;, &#39;&#39;, $gourl));\n            $gourl = &#39;javascript:;&#39;;\n            $func .= &quot;window.parent.document.getElementById(&#39;{$tgobj}&#39;).style.display=&#39;none&#39;;\\r\\n&quot;;\n        }\n        \n        $func .= &quot;      var pgo=0;\n      function JumpUrl(){\n        if(pgo==0){ location=&#39;$gourl&#39;; pgo=1; }\n      }\\r\\n&quot;;\n        $rmsg = $func;\n        $rmsg .= &quot;document.write(\\&quot;&lt;br \/&gt;&lt;div style=&#39;width:450px;padding:0px;border:1px solid #DADADA;&#39;&gt;&quot;;\n        $rmsg .= &quot;&lt;div style=&#39;padding:6px;font-size:12px;border-bottom:1px solid #DADADA;background:#DBEEBD url({$GLOBALS[&#39;cfg_plus_dir&#39;]}\/img\/wbg.gif)&#39;;&#39;&gt;&lt;b&gt;DedeCMS \u63d0\u793a\u4fe1\u606f\uff01&lt;\/b&gt;&lt;\/div&gt;\\&quot;);\\r\\n&quot;;\n        $rmsg .= &quot;document.write(\\&quot;&lt;div style=&#39;height:130px;font-size:10pt;background:#ffffff&#39;&gt;&lt;br \/&gt;\\&quot;);\\r\\n&quot;;\n        $rmsg .= &quot;document.write(\\&quot;&quot;.str_replace(&quot;\\&quot;&quot;,&quot;&ldquo;&quot;,$msg).&quot;\\&quot;);\\r\\n&quot;;\n        $rmsg .= &quot;document.write(\\&quot;&quot;;\n        \n        if($onlymsg==0)\n        {\n            if( $gourl != &#39;javascript:;&#39; &amp;&amp; $gourl != &#39;&#39;)\n            {\n                $rmsg .= &quot;&lt;br \/&gt;&lt;a href=&#39;{$gourl}&#39;&gt;\u5982\u679c\u4f60\u7684\u6d4f\u89c8\u5668\u6ca1\u53cd\u5e94\uff0c\u8bf7\u70b9\u51fb\u8fd9\u91cc...&lt;\/a&gt;&quot;;\n                $rmsg .= &quot;&lt;br\/&gt;&lt;\/div&gt;\\&quot;);\\r\\n&quot;;\n                $rmsg .= &quot;setTimeout(&#39;JumpUrl()&#39;,$litime);&quot;;\n            }\n            else\n            {\n                $rmsg .= &quot;&lt;br\/&gt;&lt;\/div&gt;\\&quot;);\\r\\n&quot;;\n            }\n        }\n        else\n        {\n            $rmsg .= &quot;&lt;br\/&gt;&lt;br\/&gt;&lt;\/div&gt;\\&quot;);\\r\\n&quot;;\n        }\n        $msg  = $htmlhead.$rmsg.$htmlfoot;\n    }\n    echo $msg;\n}\n<\/pre>\n<p>\u6587\u4ef6\u8986\u76d6\u76f4\u63a5\u4e0b\u8f7d\u5730\u5740\uff1a<a href=\"http:\/\/yunpan.cn\/lk\/sV2yqriILa8uQ?sid=301\">http:\/\/yunpan.cn\/lk\/sV2yqriILa8uQ?sid=301<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6709\u65f6\u5019\u6211\u4eec\u5728\u7528dede\u5efa\u7ad9\u7684\u65f6\u5019\uff0c\u4f1a\u5220\u6389\u548c\u9690\u85cf\u4e00\u4e9b\u4fe1\u606f\u8ba9\u522b\u4eba\u4e0d\u77e5\u9053\u662f\u7ec7\u68a6\u5efa\u7684\u7f51\u7ad9\u6765\u9488\u5bf9\u6027\u653b\u51fb\u3002\u8fd9\u91cc\u535a\u4e3b\u5206\u4eab\u4e00\u4e2a\u7f8e\u5316\u7684\u63d0\u793a\u4fe1\u606f\u3002\u3002<br \/>\n\u8be5\u529f\u80fd\u4e3b\u8981\u662f\u4fee\u6539\u4e86\u9ed8\u8ba4\u7684\u51fd\u6570\u6587\u4ef6common.func.php\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2,8],"tags":[],"tcat":[],"_links":{"self":[{"href":"http:\/\/www.qyuef.com\/index.php?rest_route=\/wp\/v2\/posts\/494"}],"collection":[{"href":"http:\/\/www.qyuef.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.qyuef.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.qyuef.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.qyuef.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=494"}],"version-history":[{"count":0,"href":"http:\/\/www.qyuef.com\/index.php?rest_route=\/wp\/v2\/posts\/494\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.qyuef.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=494"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.qyuef.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=494"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.qyuef.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=494"},{"taxonomy":"tcat","embeddable":true,"href":"http:\/\/www.qyuef.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftcat&post=494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}