{"id":6893,"date":"2024-06-02T00:21:35","date_gmt":"2024-06-01T16:21:35","guid":{"rendered":"https:\/\/0592ban.cn\/?p=6893"},"modified":"2024-06-02T00:21:35","modified_gmt":"2024-06-01T16:21:35","slug":"20%e4%b8%8a%e5%8d%87%e6%98%9f%e5%ba%a7%e6%98%af%e4%bb%80%e4%b9%88-1990%e5%b9%b48%e6%9c%882%e6%97%a57-3-20%e4%b8%8a%e5%8d%87%e6%98%9f%e5%ba%a7","status":"publish","type":"post","link":"https:\/\/0592ban.cn\/index.php\/2024\/06\/02\/20%e4%b8%8a%e5%8d%87%e6%98%9f%e5%ba%a7%e6%98%af%e4%bb%80%e4%b9%88-1990%e5%b9%b48%e6%9c%882%e6%97%a57-3-20%e4%b8%8a%e5%8d%87%e6%98%9f%e5%ba%a7\/","title":{"rendered":"20\u4e0a\u5347\u661f\u5ea7\u662f\u4ec0\u4e48 1990\u5e748\u67082\u65e57 (3.20\u4e0a\u5347\u661f\u5ea7)"},"content":{"rendered":"<p><img decoding=\"async\" alt=\"3.20\u4e0a\u5347\u661f\u5ea7\" loading=\"lazy\" src=\"https:\/\/0592ban.cn\/wp-content\/uploads\/2024\/06\/2d3b4a5d-f7b7-4dfd-8e5b-c4b7de373b45.jpeg\"\/><\/p>\n<h2>\n \u67e5\u8be2\u7ed3\u679c<br \/>\n<\/h2>\n<p>\n 1990\u5e748\u67082\u65e57:20\u4e0a\u5347\u661f\u5ea7\uff1a\u72ee\u5b50\u5ea7\n<\/p>\n<h2>\n \u4e2a\u4eba\u4fe1\u606f\u67e5\u8be2<br \/>\n<\/h2>\n<form action=\"index.php\" method=\"post\">\n <label for=\"birthday\"><br \/>\n  \u51fa\u751f\u65e5\u671f\uff1a<br \/>\n <\/label><br \/>\n <input id=\"birthday\" name=\"birthday\" placeholder=\"\u683c\u5f0f\uff1a1990\u5e744\u67086\u65e510\u65f60\u5206\" type=\"text\"\/><br \/>\n <input type=\"submit\" value=\"\u67e5\u8be2\"\/><br \/>\n<\/form>\n<p><!--?php\n    if (isset($_POST['birthday'])) {\n        $birthday = $_POST['birthday'];\n        $timestamp = strtotime($birthday);\n        $date = date('Y-m-d H:i', $timestamp);\n        $sign = getAscendantSign($date);\n        echo \"<p-->\n\u4f60\u7684\u4e0a\u5347\u661f\u5ea7\u662f\uff1a{$sign}<br \/>\n&#8220;;<br \/>\n    }<\/p>\n<p>    function getAscendantSign($date)<br \/>\n    {<br \/>\n        \/\/ \u8f6c\u6362\u4e3a UNIX \u65f6\u95f4\u6233<br \/>\n        $timestamp = strtotime($date);<\/p>\n<p>        \/\/ \u8ba1\u7b97\u51fa\u751f\u65f6\u95f4\u504f\u79fb\u91cf\uff08\u4ee5\u5206\u949f\u4e3a\u5355\u4f4d\uff09<br \/>\n        $offset = date(&#8216;H&#8217;, $timestamp)  60 + date(&#8216;i&#8217;, $timestamp);<\/p>\n<p>        \/\/ \u6839\u636e\u51fa\u751f\u65f6\u95f4\u504f\u79fb\u91cf\u548c\u51fa\u751f\u5e74\u6708\u65e5\u8ba1\u7b97\u4e0a\u5347\u661f\u5ea7<br \/>\n        $ascendant = ($offset &#8211; 3) \/ 4;<br \/>\n        $signs = [&#8216;\u767d\u7f8a\u5ea7&#8217;, &#8216;\u91d1\u725b\u5ea7&#8217;, &#8216;\u53cc\u5b50\u5ea7&#8217;, &#8216;\u5de8\u87f9\u5ea7&#8217;, &#8216;\u72ee\u5b50\u5ea7&#8217;, &#8216;\u5904\u5973\u5ea7&#8217;, &#8216;\u5929\u79e4\u5ea7&#8217;, &#8216;\u5929\u874e\u5ea7&#8217;, &#8216;\u5c04\u624b\u5ea7&#8217;, &#8216;\u6469\u7faf\u5ea7&#8217;, &#8216;\u6c34\u74f6\u5ea7&#8217;, &#8216;\u53cc\u9c7c\u5ea7&#8217;];<br \/>\n        $index = (int)floor($ascendant);<br \/>\n        return $signs[$index];<br \/>\n    }<br \/>\n    ?&gt;<\/p>\n<h2>\n \u661f\u5ea7\u6982\u51b5<br \/>\n<\/h2>\n<ul>\n<li>\n  \u767d\u7f8a\u5ea7\uff083\u670821\u65e5-4\u670819\u65e5\uff09\n <\/li>\n<ul>\n<li>\n   \u706b\u8c61\u661f\u5ea7\n  <\/li>\n<li>\n   \u5e78\u8fd0\u6570\u5b57\uff1a6\u30017\n  <\/li>\n<li>\n   \u5e78\u8fd0\u989c\u8272\uff1a\u9c9c\u7ea2\u8272\u3001\u8840\u7ea2\u8272\n  <\/li>\n<\/ul>\n<li>\n  \u91d1\u725b\u5ea7\uff084\u670820\u65e5-5\u670820\u65e5\uff09\n <\/li>\n<ul>\n<li>\n   \u571f\u8c61\u661f\u5ea7\n  <\/li>\n<li>\n   \u5e78\u8fd0\u6570\u5b57\uff1a1\u30019\n  <\/li>\n<li>\n   \u5e78\u8fd0\u989c\u8272\uff1a\u7d2b\u8272\n  <\/li>\n<\/ul>\n<li>\n  \u53cc\u5b50\u5ea7\uff085\u670821\u65e5-6\u670820\u65e5\uff09\n <\/li>\n<ul>\n<li>\n   \u98ce\u8c61\u661f\u5ea7\n  <\/li>\n<li>\n   \u5e78\u8fd0\u6570\u5b57\uff1a3\u30015\u30017\n  <\/li>\n<li>\n   \u5e78\u8fd0\u989c\u8272\uff1a\u6de1\u7c89\u8272\n  <\/li>\n<\/ul>\n<li>\n  \u5de8\u87f9\u5ea7\uff086\u670821\u65e5-7\u670822\u65e5\uff09\n <\/li>\n<ul>\n<li>\n   \u6c34\u8c61\u661f\u5ea7\n  <\/li>\n<li>\n   \u5e78\u8fd0\u6570\u5b57\uff1a8\u30013\n  <\/li>\n<li>\n   \u5e78\u8fd0\u989c\u8272\uff1a\u5927\u5730\u8272\n  <\/li>\n<\/ul>\n<li>\n  \u72ee\u5b50\u5ea7\uff087\u670823\u65e5-8\u670822\u65e5\uff09\n <\/li>\n<ul>\n<li>\n   \u706b\u8c61\u661f\u5ea7\n  <\/li>\n<li>\n   \u5e78\u8fd0\u6570\u5b57\uff1a5\u30019\n  <\/li>\n<li>\n   \u5e78\u8fd0\u989c\u8272\uff1a\u8910\u8272\u3001\u6df1\u7ea2\u8272\n  <\/li>\n<\/ul>\n<li>\n  \u5904\u5973\u5ea7\uff088\u670823\u65e5-9\u670822\u65e5\uff09\n <\/li>\n<ul>\n<li>\n   \u571f\u8c61\u661f\u5ea7\n  <\/li>\n<li>\n   \u5e78\u8fd0\u6570\u5b57\uff1a4\u30018\n  <\/li>\n<li>\n   \u5e78\u8fd0\u989c\u8272\uff1a\u9ec4\u8272\n  <\/li>\n<\/ul>\n<li>\n  \u5929\u79e4\u5ea7\uff089\u670823\u65e5-10\u670822\u65e5\uff09\n <\/li>\n<ul>\n<li>\n   \u98ce\u8c61\u661f\u5ea7\n  <\/li>\n<li>\n   \u5e78\u8fd0\u6570\u5b57\uff1a6\u30019\n  <\/li>\n<li>\n   \u5e78\u8fd0\u989c\u8272\uff1a\u6a59\u8272\n  <\/li>\n<\/ul>\n<li>\n  \u5929\u874e\u5ea7\uff0810\u670823\u65e5-11\u670821\u65e5\uff09\n <\/li>\n<ul>\n<li>\n   \u6c34\u8c61\u661f\u5ea7\n  <\/li>\n<li>\n   \u5e78\u8fd0\u6570\u5b57\uff1a3\u30015\n  <\/li>\n<li>\n   \u5e78\u8fd0\u989c\u8272\uff1a\u6697\u7070\u8272\u3001\u6df1\u7ea2\u8272\n  <\/li>\n<\/ul>\n<li>\n  \u5c04\u624b\u5ea7\uff0811\u670822\u65e5-12\u670821\u65e5\uff09\n <\/li>\n<ul>\n<li>\n   \u706b\u8c61\u661f\u5ea7\n  <\/li>\n<li>\n   \u5e78\u8fd0\u6570\u5b57\uff1a9\n  <\/li>\n<li>\n   \u5e78\u8fd0\u989c\u8272\uff1a\u9ed1\u8272\u3001\u767d\u8272\u3001\u7070\u8272\n  <\/li>\n<\/ul>\n<li>\n  \u6469\u7faf\u5ea7\uff0812\u670822\u65e5-1\u670819\u65e5\uff09\n <\/li>\n<ul>\n<li>\n   \u571f\u8c61\u661f\u5ea7\n  <\/li>\n<li>\n   \u5e78\u8fd0\u6570\u5b57\uff1a1\u30017\n  <\/li>\n<li>\n   \u5e78\u8fd0\u989c\u8272\uff1a\u68d5\u8272\u3001\u9ed1\u8272\n  <\/li>\n<\/ul>\n<li>\n  \u6c34\u74f6\u5ea7\uff081\u670820\u65e5-2\u670818\u65e5\uff09\n <\/li>\n<ul>\n<li>\n   \u98ce\u8c61\u661f\u5ea7\n  <\/li>\n<li>\n   \u5e78\u8fd0\u6570\u5b57\uff1a2\u30018\n  <\/li>\n<li>\n   \u5e78\u8fd0\u989c\u8272\uff1a\u84dd\u8272\u3001\u7eff\u8272\n  <\/li>\n<\/ul>\n<li>\n  \u53cc\u9c7c\u5ea7\uff082\u670819\u65e5-3\u670820\u65e5\uff09\n <\/li>\n<ul>\n<li>\n   \u6c34\u8c61\u661f\u5ea7\n  <\/li>\n<li>\n   \u5e78\u8fd0\u6570\u5b57\uff1a3\u30016\u30019\n  <\/li>\n<li>\n   \u5e78\u8fd0\u989c\u8272\uff1a\u7d2b\u8272\u3001\u7eff\u8272\n  <\/li>\n<\/ul>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u67e5\u8be2\u7ed3\u679c1990\u5e748\u67082\u65e57\uff0c20\u4e0a\u5347\u661f\u5ea7\uff0c\u72ee\u5b50\u5ea7\u4e2a\u4eba\u4fe1\u606f\u67e5\u8be2\u51fa\u751f\u65e5\u671f\uff0c\u4f60\u7684\u4e0a\u5347\u661f\u5ea7\u662f\uff0c$sign\uff0cfunctiongetAscendantSign\uff0c$date\uff0c\u8f6c\u6362\u4e3aUNIX\u65f6\u95f4\u6233$timestamp=strtotime\uff0c$date\uff0c\u8ba1\u7b97\u51fa\u751f\u65f6\u95f4\u504f\u79fb\u91cf\uff0c\u4ee5\u5206\u949f\u4e3a\u5355\u4f4d\uff0c$offset=date\uff0cH\uff0c$timestam&#8230;\u3002<\/p>\n","protected":false},"author":1,"featured_media":6892,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[618,3448],"class_list":["post-6893","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-12shengxiao","tag-618","tag-3448"],"_links":{"self":[{"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/6893","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/comments?post=6893"}],"version-history":[{"count":1,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/6893\/revisions"}],"predecessor-version":[{"id":6894,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/6893\/revisions\/6894"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/media\/6892"}],"wp:attachment":[{"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/media?parent=6893"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/categories?post=6893"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/tags?post=6893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}