{"id":29878,"date":"2024-11-25T17:36:16","date_gmt":"2024-11-25T09:36:16","guid":{"rendered":"https:\/\/fwq.ai\/blog\/29878\/"},"modified":"2024-11-25T17:36:16","modified_gmt":"2024-11-25T09:36:16","slug":"%e5%88%86%e4%ba%ab%e5%b8%9d%e5%9b%bdcms%e5%88%a4%e6%96%ad%e4%bc%9a%e5%91%98%e6%98%af%e5%90%a6%e7%99%bb%e5%bd%95%e5%8f%8a%e7%99%bb%e5%bd%95%e5%90%8e%e6%89%8d%e8%83%bd%e7%9c%8b%e5%88%b0%e5%86%85","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/29878\/","title":{"rendered":"\u5206\u4eab\u5e1d\u56fdCMS\u5224\u65ad\u4f1a\u5458\u662f\u5426\u767b\u5f55\u53ca\u767b\u5f55\u540e\u624d\u80fd\u770b\u5230\u5185\u5bb9\u7684\u65b9\u6cd5"},"content":{"rendered":"<p style=\"text-align: center\"><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/033\/5de0acd078378646.gif\" class=\"aligncenter\" title=\"\u5206\u4eab\u5e1d\u56fdCMS\u5224\u65ad\u4f1a\u5458\u662f\u5426\u767b\u5f55\u53ca\u767b\u5f55\u540e\u624d\u80fd\u770b\u5230\u5185\u5bb9\u7684\u65b9\u6cd5\u63d2\u56fe\" alt=\"\u5206\u4eab\u5e1d\u56fdCMS\u5224\u65ad\u4f1a\u5458\u662f\u5426\u767b\u5f55\u53ca\u767b\u5f55\u540e\u624d\u80fd\u770b\u5230\u5185\u5bb9\u7684\u65b9\u6cd5\u63d2\u56fe\" \/><\/p>\n<p>\u672c\u6587\u5b9e\u4f8b\u8bb2\u8ff0\u4e86\u5224\u65ad\u4f1a\u5458\u662f\u5426\u767b\u5f55\u53ca\u767b\u5f55\u540e\u624d\u80fd\u770b\u5230\u5185\u5bb9\u7684\u65b9\u6cd5\u3002\u5206\u4eab\u7ed9\u5927\u5bb6\u4f9b\u5927\u5bb6\u53c2\u8003\u3002\u5177\u4f53\u5b9e\u73b0\u65b9\u6cd5\u5982\u4e0b\uff1a<\/p>\n<p>\u9002\u7528\u7248\u672c6.6<\/p>\n<p>\u6548\u679c\u662f:\u4f1a\u5458\u767b\u5f55\u540e\u624d\u80fd\u770b\u5230\u624b\u673a\u53f7\u7801,\u672a\u767b\u5f55\u65f6\u663e\u793a\u201c\u767b\u5f55\u540e\u53ef\u89c1\u201d<\/p>\n<p>1\u3001\u65b0\u5efashow.php\u6587\u4ef6,\u653e\u5230e\u76ee\u5f55\u91cc\u4e0b\u9762\uff1b<\/p>\n<p>2\u3001show.php\u5185\u5bb9\u4ee5\u4e0b:<\/p>\n<p>\u63a8\u8350\u5b66\u4e60\u300a\u300b<\/p>\n<p>\u4ee3\u7801\u5982\u4e0b:<\/p>\n<pre>&lt;?php require(\"class\/connect.php\");\ninclude(\"class\/db_sql.php\");\ninclude(\"class\/config.php\");\ninclude(\"data\/dbcache\/class.php\");\n$link=db_connect();\n$empire=new mysqlquery();\n$classid=intval($_GET[&#039;classid&#039;]);\n$id=intval($_GET[&#039;id&#039;]);\n$muserid=(int)getcvar(&#039;mluserid&#039;);\/\/\u7528\u6237id\n$musername=RepPostVar(getcvar(&#039;mlusername&#039;));\/\/\u7528\u6237\u540d\n$mgroupid=(int)getcvar(&#039;mlgroupid&#039;);\/\/\u4f1a\u5458\u7ec4id\nif($classid&amp;&amp;$id&amp;&amp;$class_r[$classid][tbname]&amp;&amp;$muserid)\n{\n$r=$empire-&gt;fetch1(\"select&nbsp;id,phone&nbsp;from&nbsp;{$dbtbpre}ecms_\".$class_r[$classid][tbname].\"&nbsp;where&nbsp;id='$id'&nbsp;and&nbsp;\nclassid='$classid'&nbsp;limit&nbsp;1\");\nif($r[id])\n{\n?&amp;gt;\ndocument.write('<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<li>&#8220;&gt;\u624b\u673a\uff1a=$r[phone]?&gt;<\/li>\n<p>&#8216;); document.write(&#8216; <\/p>\n<li> <span>\u624b\u673a\uff1a<\/span> <span><\/span> <\/li>\n<p>&#8216;); <\/p>\n<p>3\u3001\u5185\u5bb9\u6a21\u677f\u663e\u793a\u8c03\u7528:<\/p>\n<p>\u4ee3\u7801\u5982\u4e0b:<\/p>\n<pre>&lt;script&gt;&lt;\/script&gt;<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>4\u3001\u4e0a\u9762\u7684sql\u8bed\u53e5\u53ea\u662f\u67e5\u8be2phone,\u5176\u4ed6\u5b57\u6bb5\u81ea\u884c\u4fee\u6539(\u6ce8:phone\u6709\u4e24\u5904\u5730\u65b9\u7684,\u5982\u679c\u4fee\u6539\u8981\u540c\u65f6\u8fdb\u884c)<\/p>\n<p>5\u3001\u82e5\u662f\u591a\u5b57\u6bb5,\u8bf7\u53c2\u8003:http:\/\/bbs.phome.net\/showthread-13-89138-6.html<\/p>\n<p>\u5e0c\u671b\u672c\u6587\u6240\u8ff0\u5bf9\u5927\u5bb6\u7684\u5e1d\u56fdCMS\u5efa\u7ad9\u6709\u6240\u5e2e\u52a9\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5206\u4eab\u5e1d\u56fdCMS\u5224\u65ad\u4f1a\u5458\u662f\u5426\u767b\u5f55\u53ca\u767b\u5f55\u540e\u624d\u80fd\u770b\u5230\u5185\u5bb9\u7684\u65b9\u6cd5\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u5b9e\u4f8b\u8bb2\u8ff0\u4e86\u5224\u65ad\u4f1a\u5458\u662f\u5426\u767b\u5f55\u53ca\u767b\u5f55\u540e\u624d\u80fd\u770b\u5230\u5185\u5bb9\u7684\u65b9\u6cd5\u3002\u5206\u4eab\u7ed9\u5927\u5bb6\u4f9b\u5927\u5bb6\u53c2\u8003\u3002\u5177\u4f53\u5b9e\u73b0\u65b9\u6cd5\u5982\u4e0b\uff1a \u9002\u7528\u7248\u672c6.6 \u6548\u679c\u662f:\u4f1a\u5458\u767b\u5f55\u540e\u624d\u80fd\u770b\u5230\u624b\u673a\u53f7\u7801,\u672a\u767b\u5f55\u65f6\u663e\u793a\u201c\u767b\u5f55\u540e\u53ef\u89c1\u201d 1\u3001\u65b0\u5efashow.php\u6587\u4ef6,\u653e\u5230e\u76ee\u5f55\u91cc\u4e0b\u9762\uff1b 2\u3001show.php\u5185\u5bb9\u4ee5\u4e0b: \u63a8\u8350\u5b66\u4e60\u300a\u300b \u4ee3\u7801\u5982\u4e0b: &lt;?php require(&#8220;class\/connect.php&#8221;); include(&#8220;class\/db_sql.php&#8221;); include(&#8220;class\/config.php&#8221;); include(&#8220;data\/dbcache\/class.php&#8221;); $link=db_connect(); $empire=new mysqlquery(); $classid=intval($_GET[&#039;classid&#039;]); $id=intval($_GET[&#039;id&#039;]); $muserid=(int)getcvar(&#039;mluserid&#039;);\/\/\u7528\u6237id $musername=RepPostVar(getcvar(&#039;mlusername&#039;));\/\/\u7528\u6237\u540d $mgroupid=(int)getcvar(&#039;mlgroupid&#039;);\/\/\u4f1a\u5458\u7ec4id if($classid&amp;&amp;$id&amp;&amp;$class_r[$classid][tbname]&amp;&amp;$muserid) { $r=$empire-&gt;fetch1(&#8220;select&nbsp;id,phone&nbsp;from&nbsp;{$dbtbpre}ecms_&#8221;.$class_r[$classid][tbname].&#8221;&nbsp;where&nbsp;id=&#8217;$id&#8217;&nbsp;and&nbsp; classid=&#8217;$classid&#8217;&nbsp;limit&nbsp;1&#8243;); if($r[id]) { ?&amp;gt; document.write(&#8216; \u767b\u5f55\u540e\u590d\u5236 &#8220;&gt;\u624b\u673a\uff1a=$r[phone]?&gt; &#8216;); document.write(&#8216; \u624b\u673a\uff1a &#8216;); 3\u3001\u5185\u5bb9\u6a21\u677f\u663e\u793a\u8c03\u7528: \u4ee3\u7801\u5982\u4e0b: &lt;script&gt;&lt;\/script&gt; \u767b\u5f55\u540e\u590d\u5236 4\u3001\u4e0a\u9762\u7684sql\u8bed\u53e5\u53ea\u662f\u67e5\u8be2phone,\u5176\u4ed6\u5b57\u6bb5\u81ea\u884c\u4fee\u6539(\u6ce8:phone\u6709\u4e24\u5904\u5730\u65b9\u7684,\u5982\u679c\u4fee\u6539\u8981\u540c\u65f6\u8fdb\u884c) 5\u3001\u82e5\u662f\u591a\u5b57\u6bb5,\u8bf7\u53c2\u8003:http:\/\/bbs.phome.net\/showthread-13-89138-6.html \u5e0c\u671b\u672c\u6587\u6240\u8ff0\u5bf9\u5927\u5bb6\u7684\u5e1d\u56fdCMS\u5efa\u7ad9\u6709\u6240\u5e2e\u52a9\u3002 \u4ee5\u4e0a\u5c31\u662f\u5206\u4eab\u5e1d\u56fdCMS\u5224\u65ad\u4f1a\u5458\u662f\u5426\u767b\u5f55\u53ca\u767b\u5f55\u540e\u624d\u80fd\u770b\u5230\u5185\u5bb9\u7684\u65b9\u6cd5\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-29878","post","type-post","status-publish","format-standard","hentry","category-cms"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/29878","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=29878"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/29878\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=29878"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=29878"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=29878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}