﻿{"id":3241,"date":"2024-03-18T14:08:04","date_gmt":"2024-03-18T06:08:04","guid":{"rendered":"http:\/\/81.70.49.155\/?p=3241"},"modified":"2024-03-18T14:11:10","modified_gmt":"2024-03-18T06:11:10","slug":"wordpress%e4%b8%ba%e6%96%87%e7%ab%a0%e5%a2%9e%e5%8a%a0%e5%af%86%e7%a0%81%e6%94%b6%e8%97%8f","status":"publish","type":"post","link":"http:\/\/81.70.49.155\/?p=3241","title":{"rendered":"WordPress\u4e3a\u6587\u7ae0\u589e\u52a0\u5bc6\u7801[\u6536\u85cf]"},"content":{"rendered":"<h3>\n\t<span style=\"background-color:#E53333;\"><strong>Step1 functions.PHP \u52a0\u5165\u5982\u4e0b\u4ee3\u7801<\/strong><\/span><br \/>\n<\/h3>\n<p>\n\t\/* Name: \u90e8\u5206\u5185\u5bb9\u8f93\u5165\u5bc6\u7801\u53ef\u89c1\uff08\u77ed\u4ee3\u7801\uff09\n<\/p>\n<p>*\/<br \/>\nfunction e_secret($atts, $content=null){<br \/>\nextract(shortcode_atts(array('key'=&gt;null), $atts));<br \/>\nif(isset($_POST['e_secret_key']) &amp;&amp; $_POST['e_secret_key']==$key){<br \/>\nreturn '<br \/>\n&lt;div class=\"e-secret\"&gt;'.$content.'&lt;\/div&gt;<br \/>\n';<br \/>\n}<br \/>\nelse{<br \/>\nreturn '<br \/>\n&lt;form class=\"e-secret\" action=\"'.get_permalink().'\" method=\"post\" name=\"e-secret\"&gt;&lt;label&gt;\u8f93\u5165\u5bc6\u7801\u67e5\u770b\u52a0\u5bc6\u5185\u5bb9\uff1a&lt;\/label&gt;&lt;input type=\"password\" name=\"e_secret_key\" class=\"euc-y-i\" maxlength=\"50\"&gt;&lt;input type=\"submit\" class=\"euc-y-s\" value=\"\u786e\u5b9a\"&gt;<br \/>\n&lt;div class=\"euc-clear\"&gt;&lt;\/div&gt;<br \/>\n&lt;\/form&gt;<br \/>\n';<br \/>\n}<br \/>\n}<\/p>\n<p>\n\tadd_shortcode('secret','e_secret');\n<\/p>\n<p>\n\t\n<\/p>\n<p>\n\t\n<\/p>\n<h3>\n\t<span style=\"background-color:#E53333;\"><strong>CSS\u4e2d \u52a0\u5165\u5982\u4e0b\u4ee3\u7801<\/strong><\/span><br \/>\n<\/h3>\n<p>\/*e-secret*\/<br \/>\n.e-secret {<br \/>\nmargin: 20px 0;<br \/>\npadding: 20px;<br \/>\nbackground: #f8f8f8;<br \/>\n}<br \/>\n.e-secret input.euc-y-i[type=\"password\"] {<br \/>\nfloat: left;<br \/>\nbackground: #fff;<br \/>\nwidth: 100%;<br \/>\nline-height: 36px;<br \/>\nmargin-top: 5px;<br \/>\nborder-radius: 3px;<br \/>\n}<br \/>\n.e-secret input.euc-y-s[type=\"submit\"] {<br \/>\nfloat: right;<br \/>\nmargin-top: -47px;<br \/>\nwidth: 30%;<br \/>\nmargin-right: 1px;<br \/>\nborder-radius: 0 3px 3px 0;<br \/>\n}<br \/>\ninput.euc-y-s[type=\"submit\"]{background-color:#3498db;color:#fff;font-size:21px;box-shadow:none;-webkit-transition: .4s;-moz-transition: .4s;-o-transition: .4s;transition:.4s;-webkit-backface-visibility:hidden;position:relative;cursor:pointer;padding: 13px 20px;text-align: center;border-radius: 50px;-webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none;border: 0;height: auto;outline: medium;line-height: 20px;margin: 0;}<br \/>\ninput.euc-y-s[type=\"submit\"]:hover{background-color:#5dade2;}<br \/>\ninput.euc-y-i[type=\"text\"],input.euc-y-i[type=\"password\"]{border:1px solid #F2EFEF;color:#777;display:block;background: #FCFCFC;font-size:18px;transition:all .5s ease 0;outline:0;box-sizing:border-box;-webkit-border-radius:25px;-moz-border-radius:25px;border-radius:25px;padding:5px 16px; margin: 0;height: auto;line-height: 30px;}<br \/>\ninput.euc-y-i[type=\"text\"]:hover,input.euc-y-i[type=\"password\"]:hover{border:1px solid #56b4ef;box-shadow:0 0 4px #56b4ef;}<\/p>\n<p>\n\t\n<\/p>\n<p>\n\t\n<\/p>\n<h3>\n\t<span style=\"background-color:#E53333;\">\u77ed\u4ee3\u7801\u8c03\u7528\u683c\u5f0f<\/span><br \/>\n<\/h3>\n<p>\n\t\u3010secret key=\"\u5bc6\u7801\"\u3011 \u52a0\u5bc6\u5185\u5bb9 \u3010\/secret\u3011\n<\/p>\n<p>\n\t\u6ce8\uff1a<span style=\"background-color:#009900;\">\u4f7f\u7528\u65f6\u4fee\u6539\u5168\u89d2\u4e2d\u62ec\u53f7\u3010\u3011\u4e3a\u534a\u89d2[]<\/span>\u3002 \u4ee5\u4e0a\u8d44\u6599\u8f6c\u81ea\uff1ahttps:\/\/www.qq301.com\/5467.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Step1 functions.PHP \u52a0\u5165\u5982\u4e0b\u4ee3\u7801 \/* Name: \u90e8\u5206\u5185\u5bb9\u8f93\u5165\u5bc6\u7801\u53ef\u89c1\uff08\u77ed\u4ee3\u7801\uff09 *\/  &hellip; <a href=\"http:\/\/81.70.49.155\/?p=3241\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201cWordPress\u4e3a\u6587\u7ae0\u589e\u52a0\u5bc6\u7801[\u6536\u85cf]\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"views":711,"_links":{"self":[{"href":"http:\/\/81.70.49.155\/index.php?rest_route=\/wp\/v2\/posts\/3241"}],"collection":[{"href":"http:\/\/81.70.49.155\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/81.70.49.155\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/81.70.49.155\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/81.70.49.155\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3241"}],"version-history":[{"count":3,"href":"http:\/\/81.70.49.155\/index.php?rest_route=\/wp\/v2\/posts\/3241\/revisions"}],"predecessor-version":[{"id":3245,"href":"http:\/\/81.70.49.155\/index.php?rest_route=\/wp\/v2\/posts\/3241\/revisions\/3245"}],"wp:attachment":[{"href":"http:\/\/81.70.49.155\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/81.70.49.155\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3241"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/81.70.49.155\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}