{"id":199229,"date":"2025-05-03T10:19:43","date_gmt":"2025-05-03T02:19:43","guid":{"rendered":"https:\/\/server.hk\/cnblog\/199229\/"},"modified":"2025-05-03T10:19:43","modified_gmt":"2025-05-03T02:19:43","slug":"ecshop%e5%90%8e%e5%8f%b0%e5%a2%9e%e5%8a%a0%e6%a0%8f%e7%9b%ae%e6%9f%a5%e8%af%a2%e4%bc%9a%e5%91%98%e6%98%af%e5%90%a6%e9%87%8d%e5%a4%8d%e6%b3%a8%e5%86%8c","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/199229\/","title":{"rendered":"ecshop\u540e\u53f0\u589e\u52a0\u680f\u76ee\u67e5\u8be2\u4f1a\u5458\u662f\u5426\u91cd\u590d\u6ce8\u518c"},"content":{"rendered":"<p><span>ecshop\u7684\u540e\u53f0\u8981<\/span><span style=\"font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 14px;line-height: 22px;text-align: left\">\u67e5\u8be2\u54ea\u4e9b\u4f1a\u5458\u662f\u5426\u6709\u91cd\u590d<\/span><span style=\"cursor: pointer;border-bottom-width: 1px;border-bottom-style: solid;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 14px;text-align: left\">\u6ce8\u518c<\/span><span style=\"font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 14px;line-height: 22px;text-align: left\">\u65f6\uff0c\u53ef\u4ee5\u5229\u7528\u7279\u5b9a\u7684\u680f\u76ee\u6765\u5224\u65ad~ \u8b6c\u5982\u4f1a\u5458\u7535\u8bdd&#8230;<\/span><\/p>\n<p><strong>\u4fee\u6539\u524d\u8bf7\u52a1\u5fc5\u5148\u5907\u4efd\u4e0b\u5217\u6863\u6848!!!<\/strong><\/p>\n<ul>\n<li>admin\/users.php<\/li>\n<li>admin\/templates\/users_list.htm<\/li>\n<li>languages\/zh_cn\/admin\/users.php<\/li>\n<\/ul>\n<p> <strong>\u5f00\u542f admin\/users.php<\/strong><br \/> <span style=\"font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 14px;line-height: 22px\">\u627e\u5230<\/span><\/p>\n<ol>\n<li>$ex_where .= &#8221; AND user_name LIKE &#8216;%&#8221; .&nbsp;<span style=\"line-height: normal;cursor: pointer;border-bottom-width: 1px;border-bottom-style: solid\">mysql<\/span>_like_<span style=\"line-height: normal;cursor: pointer;border-bottom-width: 1px;border-bottom-style: solid\">quot<\/span>e($filter[&#8216;keywords&#8217;]) .&#8221;%'&#8221;;<\/li>\n<\/ol>\n<p><em>\u590d\u5236<span style=\"cursor: pointer;border-bottom-width: 1px;border-bottom-style: solid\">\u4ee3\u7801<\/span><\/em>  <\/p>\n<p><span style=\"font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 14px;line-height: 22px;text-align: left\">\u66ff\u6362<\/span><\/p>\n<ol>\n<li>\/\/$ex_where .= &#8221; AND user_name LIKE &#8216;%&#8221; . mysql_like_quote($filter[&#8216;keywords&#8217;]) .&#8221;%'&#8221;;<\/li>\n<li>$ex_where .= &#8221; AND (user_name LIKE &#8216;%&#8221; . mysql_like_quote($filter[&#8216;keywords&#8217;]) .&#8221;%&#8217; &#8220;;<\/li>\n<li>$ex_where .= &#8221; OR email LIKE &#8216;%&#8221; . mysql_like_quote($filter[&#8216;keywords&#8217;]) .&#8221;%&#8217; &#8220;;<\/li>\n<li>$ex_where .= &#8221; OR mobile_phone LIKE &#8216;%&#8221; . mysql_like_quote($filter[&#8216;keywords&#8217;]) .&#8221;%&#8217; &#8220;;<\/li>\n<li>$ex_where .= &#8221; OR office_phone LIKE &#8216;%&#8221; . mysql_like_quote($filter[&#8216;keywords&#8217;]) .&#8221;%&#8217; &#8220;;<\/li>\n<li>$ex_where .= &#8221; OR home_phone LIKE &#8216;%&#8221; . mysql_like_quote($filter[&#8216;keywords&#8217;]) .&#8221;%&#8217; &#8220;;<\/li>\n<li>$ex_where .= &#8221; OR msn LIKE &#8216;%&#8221; . mysql_like_quote($filter[&#8216;keywords&#8217;]) .&#8221;%&#8217; &#8220;;<\/li>\n<li>$ex_where .= &#8221; OR qq LIKE &#8216;%&#8221; . mysql_like_quote($filter[&#8216;keywords&#8217;]) .&#8221;%&#8217; &#8220;;<\/li>\n<li>$ex_where .= &#8220;) &#8220;;<\/li>\n<\/ol>\n<p><em>\u590d\u5236\u4ee3\u7801<\/em>  <\/p>\n<p><span style=\"font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 14px;line-height: 22px;text-align: left\">\u6b64\u6b65\u9aa4\u4e3a\u641c\u5bfb\u4f1a\u5458\u680f\u4f4d(\u540d\u79f0\u3001<\/span><span style=\"cursor: pointer;border-bottom-width: 1px;border-bottom-style: solid;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 14px;text-align: left\">\u90ae\u4ef6<\/span><span style=\"font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 14px;line-height: 22px;text-align: left\">\u3001\u624b\u673a\u3001\u516c\u53f8\u7535\u8bdd\u3001\u5bb6\u7528\u7535\u8bdd\u3001MSN\u3001QQ&#8230;)<\/span><br \/> <span style=\"font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 14px;line-height: 22px;text-align: left\">\u5b9e\u9645\u680f\u4f4d\u8fd8\u662f\u5f97\u4f9d\u4f60\u7684\u8d44\u6599\u8868(ecs_users)\u4e3a\u4e3b\uff0c\u628a\u60f3\u8c03\u6574\u7684\u680f\u4f4d\u52a0\u8fdb\u53bb\u5373\u53ef&#8230; \u9700\u7559\u610f\u7684\u662f\u884c2\u53ca\u884c\u884c9\u662f\u4e0d\u80fd<\/span><span style=\"cursor: pointer;border-bottom-width: 1px;border-bottom-style: solid;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 14px;text-align: left\">\u5220\u9664<\/span><span style=\"font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 14px;line-height: 22px;text-align: left\">\u7684!<\/span><br \/> <span style=\"font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 14px;line-height: 22px;text-align: left\">\u5b58\u6863\u5f8c\u5173\u95ed\u4e0a\u4f20<\/span><\/p>\n<p> <strong>\u5f00\u542f admin\/templates\/users_list.htm<\/strong><br \/> <span style=\"font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 14px;line-height: 22px;text-align: left\">\u627e\u5230<\/span><\/p>\n<ol>\n<li>{$lang.label_user_name}<\/li>\n<\/ol>\n<p><em>\u590d\u5236\u4ee3\u7801<\/em>  <\/p>\n<p><span style=\"font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 14px;line-height: 22px;text-align: left\">\u66ff\u6362<\/span><\/p>\n<ol>\n<li>{$lang.label_search}<\/li>\n<\/ol>\n<p><em>\u590d\u5236\u4ee3\u7801<\/em>  <\/p>\n<p><span style=\"font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 14px;line-height: 22px;text-align: left\">\u5b58\u6863\u5f8c\u5173\u95ed\u4e0a\u4f20<\/span><br \/> <strong>\u5f00\u542f languages\/zh_cn\/admin\/users.php<\/strong><br \/> <span style=\"font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 14px;line-height: 22px;text-align: left\">\u627e\u5230<\/span><\/p>\n<ol>\n<li>$_LANG[&#8216;label_rank_name&#8217;] = &#8216;&#8230;&#8217;;<\/li>\n<\/ol>\n<p><em>\u590d\u5236\u4ee3\u7801<\/em>  <\/p>\n<p><span style=\"font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 14px;line-height: 22px;text-align: left\">\u4e0b\u9762\u52a0\u5165<\/span><\/p>\n<ol>\n<li>$_LANG[&#8216;label_search&#8217;] = &#8216;\u641c\u5bfb\u4f1a\u5458&#8217;;<\/li>\n<\/ol>\n<p><em>\u590d\u5236\u4ee3\u7801<\/em>  <\/p>\n<p><span style=\"font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 14px;line-height: 22px;text-align: left\">\u5b58\u6863\u5f8c\u5173\u95ed\u4e0a\u4f20<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ecshop\u7684\u540e\u53f0\u8981\u67e5\u8be2\u54ea\u4e9b\u4f1a\u5458&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4925],"tags":[],"class_list":["post-199229","post","type-post","status-publish","format-standard","hentry","category-4925"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/199229","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=199229"}],"version-history":[{"count":0,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/199229\/revisions"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=199229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=199229"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=199229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}