{"id":40442,"date":"2024-10-11T03:34:09","date_gmt":"2024-10-10T19:34:09","guid":{"rendered":"https:\/\/0592ban.cn\/?p=40442"},"modified":"2024-10-11T03:34:09","modified_gmt":"2024-10-10T19:34:09","slug":"%e8%af%86%e7%a0%b4%e4%bd%a0%e7%9a%84%e5%8d%81%e4%ba%8c%e7%94%9f%e8%82%96%e4%b9%8b%e8%b0%9c-%e5%b9%b4%e5%87%ba%e7%94%9f%e6%98%9f%e5%ba%a7-2008-%e8%af%86%e7%a0%b4%e4%bd%a0%e7%9a%84%e5%8d%81%e4%ba%8c","status":"publish","type":"post","link":"https:\/\/0592ban.cn\/index.php\/2024\/10\/11\/%e8%af%86%e7%a0%b4%e4%bd%a0%e7%9a%84%e5%8d%81%e4%ba%8c%e7%94%9f%e8%82%96%e4%b9%8b%e8%b0%9c-%e5%b9%b4%e5%87%ba%e7%94%9f%e6%98%9f%e5%ba%a7-2008-%e8%af%86%e7%a0%b4%e4%bd%a0%e7%9a%84%e5%8d%81%e4%ba%8c\/","title":{"rendered":"\u8bc6\u7834\u4f60\u7684\u5341\u4e8c\u751f\u8096\u4e4b\u8c1c \u5e74\u51fa\u751f\u661f\u5ea7 2008 (\u8bc6\u7834\u4f60\u7684\u5341\u4e8c\u4e2a\u5b57)"},"content":{"rendered":"<p><img decoding=\"async\" alt=\"2008\" loading=\"lazy\" src=\"https:\/\/0592ban.cn\/wp-content\/uploads\/2024\/10\/f3f6191e-9be8-44fc-9909-1b2ff82359fc.jpg\"\/><\/p>\n<p>\n \u8bf7\u8f93\u5165\u60a8\u7684\u51fa\u751f\u65e5\u671f\uff08\u516c\u5386\/\u9633\u5386\uff09\uff1a\n<\/p>\n<form action=\".\/query.php\" method=\"post\">\n <input name=\"birthdate\" type=\"date\"\/><br \/>\n <input type=\"submit\" value=\"\u67e5\u8be2\"\/><br \/>\n<\/form>\n<p><!--?php\n  if (isset($_POST['birthdate'])) {\n    $birthdate = $_POST['birthdate'];\n    \/\/ \u89e3\u6790\u51fa\u751f\u65e5\u671f\n    $birthdate = strtotime($birthdate);\n    $month = date('m', $birthdate);\n    $day = date('d', $birthdate);\n\n    \/\/ \u6839\u636e\u51fa\u751f\u65e5\u671f\u67e5\u8be2\u661f\u5ea7\n    $constellation = null;\n    if ($month == 3 && $day --><br \/>\n= 21&amp;&amp; $day &lt;= 31) {<br \/>\n      $constellation = &#8216;\u767d\u7f8a\u5ea7&#8217;;<br \/>\n    } elseif ($month == 4 &amp;&amp; $day &gt;= 1 &amp;&amp; $day &lt;= 20) {<br \/>\n      $constellation = &#8216;\u767d\u7f8a\u5ea7&#8217;;<br \/>\n    } elseif ($month == 4 &amp;&amp; $day &gt;= 21 &amp;&amp; $day &lt;= 30) {<br \/>\n      $constellation = &#8216;\u91d1\u725b\u5ea7&#8217;;<br \/>\n    } elseif ($month == 5 &amp;&amp; $day &gt;= 1 &amp;&amp; $day &lt;= 21) {<br \/>\n      $constellation = &#8216;\u91d1\u725b\u5ea7&#8217;;<br \/>\n    } elseif ($month == 5 &amp;&amp; $day &gt;= 22 &amp;&amp; $day &lt;= 31) {<br \/>\n      $constellation = &#8216;\u53cc\u5b50\u5ea7&#8217;;<br \/>\n    } elseif ($month == 6 &amp;&amp; $day &gt;= 1 &amp;&amp; $day &lt;= 21) {<br \/>\n      $constellation = &#8216;\u53cc\u5b50\u5ea7&#8217;;<br \/>\n    } elseif ($month == 6 &amp;&amp; $day &gt;= 22 &amp;&amp; $day &lt;= 30) {<br \/>\n      $constellation = &#8216;\u5de8\u87f9\u5ea7&#8217;;<br \/>\n    } elseif ($month == 7 &amp;&amp; $day &gt;= 1 &amp;&amp; $day &lt;= 22) {<br \/>\n      $constellation = &#8216;\u5de8\u87f9\u5ea7&#8217;;<br \/>\n    } elseif ($month == 7 &amp;&amp; $day &gt;= 23 &amp;&amp; $day &lt;= 31) {<br \/>\n      $constellation = &#8216;\u72ee\u5b50\u5ea7&#8217;;<br \/>\n    } elseif ($month == 8 &amp;&amp; $day &gt;= 1 &amp;&amp; $day &lt;= 23) {<br \/>\n      $constellation = &#8216;\u72ee\u5b50\u5ea7&#8217;;<br \/>\n    } elseif ($month == 8 &amp;&amp; $day &gt;= 24 &amp;&amp; $day &lt;= 31) {<br \/>\n      $constellation = &#8216;\u5904\u5973\u5ea7&#8217;;<br \/>\n    } elseif ($month == 9 &amp;&amp; $day &gt;= 1 &amp;&amp; $day &lt;= 23) {<br \/>\n      $constellation = &#8216;\u5904\u5973\u5ea7&#8217;;<br \/>\n    } elseif ($month == 9 &amp;&amp; $day &gt;= 24 &amp;&amp; $day &lt;= 30) {<br \/>\n      $constellation = &#8216;\u5929\u79e4\u5ea7&#8217;;<br \/>\n    } elseif ($month == 10 &amp;&amp; $day &gt;= 1 &amp;&amp; $day &lt;= 23) {<br \/>\n      $constellation = &#8216;\u5929\u79e4\u5ea7&#8217;;<br \/>\n    } elseif ($month == 10 &amp;&amp; $day &gt;= 24 &amp;&amp; $day &lt;= 31) {<br \/>\n      $constellation = &#8216;\u5929\u874e\u5ea7&#8217;;<br \/>\n    } elseif ($month == 11 &amp;&amp; $day &gt;= 1 &amp;&amp; $day &lt;= 22) {<br \/>\n      $constellation = &#8216;\u5929\u874e\u5ea7&#8217;;<br \/>\n    } elseif ($month == 11 &amp;&amp; $day &gt;= 23 &amp;&amp; $day &lt;= 30) {<br \/>\n      $constellation = &#8216;\u5c04\u624b\u5ea7&#8217;;<br \/>\n    } elseif ($month == 12 &amp;&amp; $day &gt;= 1 &amp;&amp; $day &lt;= 21) {<br \/>\n      $constellation = &#8216;\u5c04\u624b\u5ea7&#8217;;<br \/>\n    } elseif ($month == 12 &amp;&amp; $day &gt;= 22 &amp;&amp; $day &lt;= 31) {<br \/>\n      $constellation = &#8216;\u6469\u7faf\u5ea7&#8217;;<br \/>\n    } elseif ($month == 1 &amp;&amp; $day &gt;= 1 &amp;&amp; $day &lt;= 20) {<br \/>\n      $constellation = &#8216;\u6469\u7faf\u5ea7&#8217;;<br \/>\n    } elseif ($month == 1 &amp;&amp; $day&gt;= 21 &amp;&amp; $day &lt;= 31) {<br \/>\n      $constellation = &#8216;\u6c34\u74f6\u5ea7&#8217;;<br \/>\n    } elseif ($month == 2 &amp;&amp; $day &gt;= 1 &amp;&amp; $day &lt;= 19) {<br \/>\n      $constellation = &#8216;\u6c34\u74f6\u5ea7&#8217;;<br \/>\n    } elseif ($month == 2&amp;&amp; $day &gt;= 20 &amp;&amp; $day &lt;= 29) {<br \/>\n      $constellation = &#8216;\u53cc\u9c7c\u5ea7&#8217;;<br \/>\n    }<\/p>\n<p>    if ($constellation) {<br \/>\n      echo &#8221;<\/p>\n<p>\n \u60a8\u7684\u661f\u5ea7\u662f\uff1a{$constellation}\n<\/p>\n<p>&#8220;;<br \/>\n    } else {<br \/>\n      echo &#8221;<\/p>\n<p>\n \u65e0\u6548\u7684\u51fa\u751f\u65e5\u671f\uff0c\u8bf7\u91cd\u65b0\u8f93\u5165\u3002\n<\/p>\n<p>&#8220;;<br \/>\n    }<br \/>\n  }<br \/>\n  ?&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8bf7\u8f93\u5165\u60a8\u7684\u51fa\u751f\u65e5\u671f\uff0c\u516c\u5386\uff0c\u9633\u5386\uff0c=21&#038;amp\uff0c&#038;amp\uff0c$day&#038;lt\uff0c=31\uff0c$constellation=\u767d\u7f8a\u5ea7\uff0celseif\uff0c$month==4&#038;amp\uff0c&#038;amp\uff0c$day&#038;gt\uff0c=1&#038;amp\uff0c&#038;amp\uff0c$day&#038;lt\uff0c=20\uff0c$constellation=\u767d\u7f8a\u5ea7\uff0celseif\uff0c$month==4&#038;amp\uff0c&#038;amp\uff0c&#8230;\u3002<\/p>\n","protected":false},"author":1,"featured_media":40441,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[68,16262,16263],"class_list":["post-40442","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-12shengxiao","tag-68","tag-16262","tag-16263"],"_links":{"self":[{"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/40442","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=40442"}],"version-history":[{"count":1,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/40442\/revisions"}],"predecessor-version":[{"id":40443,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/40442\/revisions\/40443"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/media\/40441"}],"wp:attachment":[{"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/media?parent=40442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/categories?post=40442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/tags?post=40442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}