{"id":34006,"date":"2024-09-12T18:46:21","date_gmt":"2024-09-12T10:46:21","guid":{"rendered":"https:\/\/0592ban.cn\/?p=34006"},"modified":"2024-09-12T18:46:21","modified_gmt":"2024-09-12T10:46:21","slug":"1998%e5%b9%b4%e9%98%b4%e5%8e%867%e6%9c%8812%e6%98%af%e4%bb%80%e4%b9%88%e6%98%9f%e5%ba%a7-1998%e5%b9%b4%e9%98%b4%e5%8e%865%e6%9c%8829%e6%97%a5%e7%9a%84%e9%98%b3%e5%8e%86%e6%98%af%e5%a4%9a%e5%b0%91","status":"publish","type":"post","link":"https:\/\/0592ban.cn\/index.php\/2024\/09\/12\/1998%e5%b9%b4%e9%98%b4%e5%8e%867%e6%9c%8812%e6%98%af%e4%bb%80%e4%b9%88%e6%98%9f%e5%ba%a7-1998%e5%b9%b4%e9%98%b4%e5%8e%865%e6%9c%8829%e6%97%a5%e7%9a%84%e9%98%b3%e5%8e%86%e6%98%af%e5%a4%9a%e5%b0%91\/","title":{"rendered":"1998\u5e74\u9634\u53867\u670812\u662f\u4ec0\u4e48\u661f\u5ea7 (1998\u5e74\u9634\u53865\u670829\u65e5\u7684\u9633\u5386\u662f\u591a\u5c11)"},"content":{"rendered":"<p><img decoding=\"async\" alt=\"1998\u5e74\u9634\u53867\u670812\u662f\u4ec0\u4e48\u661f\u5ea7\" loading=\"lazy\" src=\"https:\/\/0592ban.cn\/wp-content\/uploads\/2024\/09\/ca3e1608-da5c-4da9-822a-34bf9ce16e7b.jpg\"\/><\/p>\n<form action=\"zodiac_query.php\" method=\"post\">\n <label><br \/>\n  \u65e5\u671f\uff1a<br \/>\n <\/label><br \/>\n <input name=\"birth_date\" required=\"\" type=\"date\"\/><br \/>\n <input type=\"submit\" value=\"\u67e5\u8be2\"\/><br \/>\n<\/form>\n<p><!--?php\n  if (isset($_POST['birth_date'])) {\n    $birth_date = $_POST['birth_date'];\n    $timestamp = strtotime($birth_date);\n\n    $year = date('Y', $timestamp);\n    $month = date('m', $timestamp);\n    $day = date('d', $timestamp);\n\n    $zodiac_signs = [\n      '\u6c34\u74f6\u5ea7' =--><br \/>\n[&#8217;01-20&#8242;, &#8217;02-18&#8242;],<br \/>\n      &#8216;\u53cc\u9c7c\u5ea7&#8217; =&gt; [&#8217;02-19&#8242;, &#8217;03-20&#8242;],<br \/>\n&#8216;\u767d\u7f8a\u5ea7&#8217; =&gt; [&#8217;03-21&#8242;, &#8217;04-20&#8242;],<br \/>\n      &#8216;\u91d1\u725b\u5ea7&#8217; =&gt; [&#8217;04-21&#8242;, &#8217;05-20&#8242;],<br \/>\n      &#8216;\u53cc\u5b50\u5ea7&#8217; =&gt; [&#8217;05-21&#8242;, &#8217;06-21&#8242;],<br \/>\n      &#8216;\u5de8\u87f9\u5ea7&#8217; =&gt; [&#8217;06-22&#8242;, &#8217;07-22&#8242;],<br \/>\n      &#8216;\u72ee\u5b50\u5ea7&#8217; =&gt; [&#8217;07-23&#8242;, &#8217;08-22&#8242;],<br \/>\n      &#8216;\u5904\u5973\u5ea7&#8217; =&gt; [&#8217;08-23&#8242;, &#8217;09-22&#8242;],<br \/>\n      &#8216;\u5929\u79e4\u5ea7&#8217; =&gt; [&#8217;09-23&#8242;, &#8217;10-22&#8242;],<br \/>\n      &#8216;\u5929\u874e\u5ea7&#8217; =&gt; [&#8217;10-23&#8242;, &#8217;11-21&#8242;],<br \/>\n      &#8216;\u5c04\u624b\u5ea7&#8217; =&gt; [&#8217;11-22&#8242;, &#8217;12-21&#8242;],<br \/>\n      &#8216;\u6469\u7faf\u5ea7&#8217; =&gt; [&#8217;12-22&#8242;, &#8217;01-19&#8242;],<br \/>\n    ];<\/p>\n<p>    $zodiac_sign = &#8221;;<br \/>\n    foreach ($zodiac_signs as $sign =&gt; $dates) {<br \/>\n      if ($month &gt;= substr($dates[0], 0,2) &amp;&amp; $month &lt;= substr($dates[1], 0, 2)) {<br \/>\n        if ($day &gt;= substr($dates[0], 3, 2) &amp;&amp; $day &lt;= substr($dates[1], 3, 2)) {<br \/>\n          $zodiac_sign = $sign;<br \/>\n          break;<br \/>\n        }<br \/>\n      }<br \/>\n    }<\/p>\n<p>    if ($zodiac_sign == &#8221;) {<br \/>\n      echo &#8216;<\/p>\n<p>\n \u8f93\u5165\u7684\u65e5\u671f\u4e0d\u7b26\u5408\u661f\u5ea7\u8303\u56f4\u3002\n<\/p>\n<p>&#8216;;<br \/>\n    } else {<br \/>\n      echo &#8216;<\/p>\n<p>\n \u60a8\u7684\u661f\u5ea7\u662f\uff1a&#8217; . $zodiac_sign . &#8216;\n<\/p>\n<p>&#8216;;<br \/>\n    }<br \/>\n  }<br \/>\n  ?&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u65e5\u671f\uff0c[01\uff0c20\uff0c02\uff0c18]\uff0c\u53cc\u9c7c\u5ea7=&#038;gt\uff0c[02\uff0c19\uff0c03\uff0c20]\uff0c\u767d\u7f8a\u5ea7=&#038;gt\uff0c[03\uff0c21\uff0c04\uff0c20]\uff0c\u91d1\u725b\u5ea7=&#038;gt\uff0c[04\uff0c21\uff0c05\uff0c20]\uff0c\u53cc\u5b50\u5ea7=&#038;gt\uff0c[05\uff0c21\uff0c06\uff0c21]\uff0c\u5de8\u87f9\u5ea7=&#038;gt\uff0c[06\uff0c22\uff0c07\uff0c22]\uff0c\u72ee\u5b50\u5ea7=&#038;gt\uff0c[07\uff0c23\uff0c08\uff0c22]\uff0c\u5904\u5973\u5ea7=&#038;gt\uff0c[08\uff0c23\uff0c09\uff0c2&#8230;\u3002<\/p>\n","protected":false},"author":1,"featured_media":34005,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[13438],"class_list":["post-34006","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-12shengxiao","tag-13438"],"_links":{"self":[{"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/34006","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=34006"}],"version-history":[{"count":1,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/34006\/revisions"}],"predecessor-version":[{"id":34007,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/34006\/revisions\/34007"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/media\/34005"}],"wp:attachment":[{"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/media?parent=34006"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/categories?post=34006"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/tags?post=34006"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}