{"id":302,"date":"2014-07-24T02:58:12","date_gmt":"2014-07-24T02:58:12","guid":{"rendered":"http:\/\/www.aiti123.com\/?p=302"},"modified":"2014-07-24T02:58:12","modified_gmt":"2014-07-24T02:58:12","slug":"%e3%80%90%e7%bb%87%e6%a2%a6%e3%80%91%ef%bc%88dedecms%ef%bc%89%e5%90%8e%e5%8f%b0%e7%99%bb%e5%bd%95%e5%af%86%e7%a0%81%e9%87%8d%e7%bd%ae%e5%b7%a5%e5%85%b7","status":"publish","type":"post","link":"http:\/\/www.aiti123.com\/?p=302","title":{"rendered":"\u3010\u7ec7\u68a6\u3011\uff08DedeCMS\uff09\u540e\u53f0\u767b\u5f55\u5bc6\u7801\u91cd\u7f6e\u5de5\u5177"},"content":{"rendered":"<p>\u6709\u65f6\u5019\u6570\u636e\u5e93\u51fa\u73b0\u6545\u969c\uff0c\u8868\u635f\u574f\uff0c\u5bb9\u6613\u5bfc\u81f4DEDECMS\u540e\u53f0admin\u5bc6\u7801\u9519\u8bef\u3002\u53ef\u4ee5\u4f7f\u7528\u6570\u636e\u5e93\u8bed\u53e5\u76f4\u63a5\u64cd\u4f5c\uff0c\u4f46\u865a\u62df\u673a\u7528\u6237\u6781\u5176\u4e0d\u65b9\u4fbf\u3002\u5b83\u7684\u57fa\u672c\u539f \u7406\u662f\u8fd9\u6837\u7684\uff1a\u590d\u5236\u4e00\u4e2a\u7b80\u5355\u5bc6\u7801\u7684MD5\u5bc6\u6587\uff0c\u66ff\u6362DEDECMS\u6570\u636e\u5e93\u4e2d\u7684\u5bc6\u6587\uff0c\u7136\u540e\u4f7f\u7528\u8fd9\u4e2a\u7b80\u5355\u5bc6\u7801\u767b\u5f55\u540e\u53f0\uff0c\u518d\u4ece\u540e\u53f0\u81ea\u5b9a\u4e49\u65b0\u7684\u5bc6\u7801\uff0c\u8fd9\u6837\u64cd\u4f5c\u4e0d\u4ec5\u7e41 \u7410\u8fd8\u6709\u5bb9\u6613\u51fa\u9519\u3002\u4e8e\u662f\uff0c<a title=\"www.AiTi123.com\" href=\"www.AiTi123.com\" target=\"_blank\">IT\u4eba\u751f<\/a>\u82b1\u4e86\u70b9\u65f6\u95f4\u5199\u4e86\u8fd9\u4e2a\u7b80\u6613\u5de5\u5177\uff0c\u5e0c\u671b\u80fd\u5bf9\u60a8\u6709\u6240\u5e2e\u52a9\u3002<\/p>\n<h2>\u6ce8\u610f\u4e8b\u9879<\/h2>\n<p>1. \u65e0\u8bba\u6210\u529f\u5931\u8d25\uff0c\u64cd\u4f5c\u5b8c\u540e\u8bf7\u5220\u9664\u672c\u6587\u4ef6\uff01<\/p>\n<p>2. \u5bc6\u7801\u4e0d\u80fd\u6709\u4e2d\u6587\u4e0e\u7279\u6b8a\u7b26\u53f7\uff01<\/p>\n<p>3. \u672c\u5de5\u5177\u7531<a title=\"www.AiTi123.com\" href=\"www.AiTi123.com\" target=\"_blank\">IT\u4eba\u751f<\/a>\uff08www.AiTi123.com\uff09\u63d0\u4f9b\u3002<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\">\uff08DedeCMS\uff09\u540e\u53f0\u767b\u5f55\u5bc6\u7801\u91cd\u7f6e\u5de5\u5177\u5bc6\u7801\uff1awww.aiti123.com<\/span><\/p>\n<p><span style=\"color: #ff0000;\">\u767e\u5ea6\u7f51\u76d8\u4e0b\u8f7d\u5730\u5740\uff1a<a title=\"http:\/\/pan.baidu.com\/s\/1c0b7iuc\" href=\"http:\/\/pan.baidu.com\/s\/1c0b7iuc\" target=\"_blank\"><span style=\"color: #ff0000;\">http:\/\/pan.baidu.com\/s\/1c0b7iuc<\/span><\/a><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u5c06\u89e3\u538b\u51fa\u6765\u7684 repwd.php \u6587\u4ef6\u5b58\u653e\u5728\u7f51\u7ad9\u6839\u76ee\u5f55\uff0c\u7136\u540e\u901a\u8fc7\u6d4f\u89c8\u5668\u8bbf\u95ee\u64cd\u4f5c\u3002<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<h2>\u4ee3\u7801\u5f00\u6e90<\/h2>\n<p>&nbsp;<\/p>\n<pre lang=\"LANGUAGE\" line=\"1\" escaped=\"true\" >\n<?php\n\/**\n *\n * \u7ec7\u68a6\u540e\u53f0\u767b\u5f55\u5bc6\u7801\u91cd\u7f6e\u5de5\u5177\n *\n * @version        $Id: repwd.php 2013-4-18 16:31:01 $\n * @copyright      Copyright (c) 2008 - 2013, caobug, Inc.\n * @license        \n * @link           http:\/\/www.aiti123.com\n *\/\nrequire_once(dirname(__FILE__).\"\/include\/common.inc.php\");\nrequire_once(DEDEINC.\"\/datalistcp.class.php\");\nrequire_once DEDEINC.'\/memberlogin.class.php';\n$password = isset($password) ? trim($password) : '';\n$action = isset($action) ? trim($action) : '';\nif('reset' == $action){\n    if('' == $userpwd){\n        ShowMsg(\"\u5bc6\u7801\u4e0d\u80fd\u4e3a\u7a7a\", \"-1\");\n        exit();    \n    }\n    $n_userid = trim($userid);\n    $n_pwd = substr(md5($userpwd),5,20);\n    $query = (\"UPDATE #@__admin a SET a.pwd = '$n_pwd' WHERE a.id = $n_userid\");\n    if(!$dsql->ExecuteNoneQuery($query))\n    {\n        ShowMsg(\"<h3>\u5bc6\u7801\u91cd\u7f6e\u5931\u8d25\uff01<\/h3>\".$dsql->GetError(),\"-1\");\n        exit();\n    }\n    ShowMsg(\"<h3>\u5bc6\u7801\u91cd\u7f6e\u6210\u529f\uff0c\u8bf7\u5220\u9664\u672c\u6587\u4ef6<\/h3>\", \"-1\");\n    exit();\n}\n?>\n<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-transitional.dtd\">\n<html xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text\/html; charset=utf-8\" \/>\n<title>\u7ec7\u68a6\u540e\u53f0\u767b\u5f55\u5bc6\u7801\u91cd\u7f6e\u5de5\u5177 -  IT\u4eba\u751f<\/title>\n<meta name=\"description\" content=\"IT\u4eba\u751f\u63d0\u4f9b\u7684\u7ec7\u68a6\u540e\u53f0\u767b\u5f55\u5bc6\u7801\u91cd\u7f6e\u5de5\u5177\uff0c\u89e3\u51b3\u767b\u5f55\u5bc6\u7801\u9519\u8bef\u95ee\u9898\" \/>\n<meta name=\"keywords\" content=\"\u7ec7\u68a6\u540e\u53f0\u5bc6\u7801, \u7ec7\u68a6\u767b\u5f55\u5bc6\u7801, \u5fd8\u8bb0\u5bc6\u7801\" \/>\n<\/head>\n<body>\n    <div id=\"login\">\n        <div class=\"info\">\n            <p>1. \u65e0\u8bba\u6210\u529f\u5931\u8d25\uff0c\u64cd\u4f5c\u5b8c\u540e\u8bf7\u5220\u9664\u672c\u6587\u4ef6\uff01<\/p>\n            <p>2. \u5bc6\u7801\u4e0d\u80fd\u6709\u4e2d\u6587\u4e0e\u7279\u6b8a\u7b26\u53f7\uff01<\/p>\n            <p>3. \u672c\u5de5\u5177\u7531<a href=\"http:\/\/www.aiti123.com target=\"_blank\">IT\u4eba\u751f<\/a>\uff08www.AiTi123.com\uff09\u63d0\u4f9b<\/p>         \n        <\/div>\n        <form method=\"post\">\n            <input type=\"hidden\" name=\"action\" value=\"reset\">\n            <p>\n                \u8d26\u53f7\u9009\u62e9\uff1a\n                <select name=\"userid\">\n                    <?php\n                        $query = (\"SELECT a.id, a.userid FROM #@__admin a\");\n                        $dsql->SetQuery($query);\n                        $dsql->Execute();\n                        while ($row = $dsql->GetArray()) {\n                    ?>\n                    <option value=\"<?php echo $row['id'] ?>\"><?php echo $row['userid'] ?><\/option>\n                    <?php\n                        }\n                    ?>\n                <\/select>\n            <\/p>\n            <p>\u5bc6\u7801\u91cd\u7f6e\uff1a&nbsp;<input type=\"text\" class=\"pwd\" name=\"userpwd\"\/><\/p>\n            <p class=\"btn\"><input type=\"submit\" value=\"\u7acb\u5373\u91cd\u7f6e\"><\/p>\n            <?php echo $msg; ?>\n        <\/form>\n    <\/div>\n    <style type=\"text\/css\">\n        body{font-size:14px;margin:0;}\n        #login{width: 300px;margin: 20px auto;}\n        #login select{width:200px;}\n        #login input.pwd{width: 195px;}\n        #login .btn{text-align: center;}\n        #login .btn input{width: 100px;height:40px;}\n        .info{margin-bottom:20px;}\n    <\/style>\n<\/body>\n<\/html>\n <\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6709\u65f6\u5019\u6570\u636e\u5e93\u51fa\u73b0\u6545\u969c\uff0c\u8868\u635f\u574f\uff0c\u5bb9\u6613\u5bfc\u81f4DEDECMS\u540e\u53f0admin\u5bc6\u7801\u9519\u8bef\u3002\u53ef\u4ee5\u4f7f\u7528\u6570\u636e\u5e93\u8bed\u53e5\u76f4\u63a5\u64cd\u4f5c\uff0c\u4f46\u865a\u62df [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[86,87,549,890,892],"_links":{"self":[{"href":"http:\/\/www.aiti123.com\/index.php?rest_route=\/wp\/v2\/posts\/302"}],"collection":[{"href":"http:\/\/www.aiti123.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.aiti123.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.aiti123.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.aiti123.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=302"}],"version-history":[{"count":0,"href":"http:\/\/www.aiti123.com\/index.php?rest_route=\/wp\/v2\/posts\/302\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.aiti123.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.aiti123.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=302"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.aiti123.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}