{"id":56270,"date":"2024-12-29T23:44:13","date_gmt":"2024-12-29T15:44:13","guid":{"rendered":"https:\/\/0592ban.cn\/?p=56270"},"modified":"2024-12-29T23:44:13","modified_gmt":"2024-12-29T15:44:13","slug":"643c219c0a46-dc10b5e8-ec33-bec9-3c9e","status":"publish","type":"post","link":"https:\/\/0592ban.cn\/index.php\/2024\/12\/29\/643c219c0a46-dc10b5e8-ec33-bec9-3c9e\/","title":{"rendered":"643c219c0a46 dc10b5e8 ec33 bec9 3c9e"},"content":{"rendered":"<p><img decoding=\"async\" alt=\"ec33\" loading=\"lazy\" src=\"https:\/\/0592ban.cn\/wp-content\/uploads\/2024\/12\/8df4958d-a086-415e-8382-189e4e72adb9.jpg\"\/><\/p>\n<form action=\"index.html\" method=\"post\">\n <label for=\"lunar_date\"><br \/>\n  \u9634\u5386\u65e5\u671f\uff1a<br \/>\n <\/label><br \/>\n <inputtype=\"text\" id=\"lunar_date\" name=\"lunar_date\" placeholder=\"\u4f8b\uff1a\u814a\u6708\u4e8c\u5341\u4e09\"><br \/>\n  <br \/>\n  <input type=\"submit\" value=\"\u67e5\u8be2\"\/><br \/>\n  <\/p>\n<h2>\n   \u67e5\u8be2\u7ed3\u679c\uff1a<br \/>\n  <\/h2>\n<p>  <!--?php\n  if (isset($_POST['lunar_date'])) {\n    $lunar_date = $_POST['lunar_date'];\n\n    \/\/ \u8f6c\u6362\u9634\u5386\u5230\u9633\u5386\n    $lunar_date = str_replace('\u6708', '-', $lunar_date);\n    $lunar_date = str_replace('\u65e5', '', $lunar_date);\n    $lunar_date = \"1978-$lunar_date\";\n\n    $solar_date = date('Y-m-d', strtotime($lunar_date));\n\n    \/\/ \u67e5\u8be2\u661f\u5ea7\n    $constellation = '';\n    $date_array = explode('-', $solar_date);\n    $month = $date_array[1];\n    $day = $date_array[2];\n\n    switch ($month) {\n      case '1':\n        if ($day <= 20) {\n          $constellation = '\u6469\u7faf\u5ea7';\n        } else {\n          $constellation = '\u6c34\u74f6\u5ea7';\n        }\n        break;\n      case '2':\n        if ($day <= 18) {\n          $constellation = '\u6c34\u74f6\u5ea7';\n        } else {\n          $constellation = '\u53cc\u9c7c\u5ea7';\n        }\n        break;\n      case '3':\n        if ($day <= 20) {\n          $constellation = '\u53cc\u9c7c\u5ea7';\n        } else {\n          $constellation = '\u767d\u7f8a\u5ea7';\n        }\n        break;\n      case '4':\n        if ($day <= 20) {\n          $constellation = '\u767d\u7f8a\u5ea7';\n        } else {\n          $constellation = '\u91d1\u725b\u5ea7';\n        }\n        break;\n      case '5':\n        if ($day <= 21) {\n          $constellation = '\u91d1\u725b\u5ea7';\n        } else {\n          $constellation = '\u53cc\u5b50\u5ea7';\n        }\n        break;\n      case '6':\n        if ($day <= 21) {\n          $constellation = '\u53cc\u5b50\u5ea7';\n        } else {\n          $constellation = '\u5de8\u87f9\u5ea7';\n        }\n        break;\n      case '7':\n        if ($day <= 22) {\n          $constellation = '\u5de8\u87f9\u5ea7';\n        } else {\n          $constellation = '\u72ee\u5b50\u5ea7';\n        }\n        break;\n      case '8':\n        if ($day <= 23) {\n          $constellation = '\u72ee\u5b50\u5ea7';\n        } else {\n          $constellation = '\u5904\u5973\u5ea7';\n        }\n        break;\n      case '9':\n        if ($day <= 23) {\n          $constellation = '\u5904\u5973\u5ea7';\n        } else {\n          $constellation = '\u5929\u79e4\u5ea7';\n        }\n        break;\n      case '10':\n        if ($day <= 23) {\n          $constellation = '\u5929\u79e4\u5ea7';\n        } else {\n          $constellation = '\u5929\u874e\u5ea7';\n        }\n        break;\n      case '11':\n        if ($day <= 22) {\n          $constellation= '\u5929\u874e\u5ea7';\n        } else {\n          $constellation = '\u5c04\u624b\u5ea7';\n        }\n        break;\n      case '12':\n        if ($day <= 21) {\n          $constellation = '\u5c04\u624b\u5ea7';\n        } else {\n          $constellation = '\u6469\u7faf\u5ea7';\n        }\n        break;\n    }\n\n    echo \"<p-->\n  \u60a8\u7684\u9633\u5386\u751f\u65e5\uff1a$solar_date<br \/>\n  &#8220;;<br \/>\n    echo &#8221;<\/p>\n<p>\n   \u60a8\u7684\u661f\u5ea7\uff1a$constellation\n  <\/p>\n<p>  &#8220;;<br \/>\n  }<br \/>\n  ?&gt;<br \/>\n <\/inputtype=\"text\"><br \/>\n<\/form>\n","protected":false},"excerpt":{"rendered":"<p>\u9634\u5386\u65e5\u671f\uff0c\u67e5\u8be2\u7ed3\u679c\uff0c\u60a8\u7684\u9633\u5386\u751f\u65e5\uff0c$solar\uff0cdate\uff0cecho\u60a8\u7684\u661f\u5ea7\uff0c$constellation\uff0c?&#038;gt\uff0c&#8230;\u3002<\/p>\n","protected":false},"author":1,"featured_media":56269,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[13595,13599,13597,13596,13598],"class_list":["post-56270","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-12shengxiao","tag-3c9e","tag-643c219c0a46","tag-bec9","tag-dc10b5e8","tag-ec33"],"_links":{"self":[{"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/56270","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=56270"}],"version-history":[{"count":1,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/56270\/revisions"}],"predecessor-version":[{"id":56271,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/56270\/revisions\/56271"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/media\/56269"}],"wp:attachment":[{"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/media?parent=56270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/categories?post=56270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/tags?post=56270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}