{"id":33959,"date":"2024-09-12T16:16:00","date_gmt":"2024-09-12T08:16:00","guid":{"rendered":"https:\/\/0592ban.cn\/?p=33959"},"modified":"2024-09-12T16:16:00","modified_gmt":"2024-09-12T08:16:00","slug":"1982%e5%b9%b48%e6%9c%8821%e6%97%a5%e5%87%ba%e7%94%9f%e7%9a%84%e6%98%9f%e5%ba%a7%e6%98%af%e4%bb%80%e4%b9%88-1982%e5%b9%b48%e6%9c%88%e6%97%a5%e5%8e%86","status":"publish","type":"post","link":"https:\/\/0592ban.cn\/index.php\/2024\/09\/12\/1982%e5%b9%b48%e6%9c%8821%e6%97%a5%e5%87%ba%e7%94%9f%e7%9a%84%e6%98%9f%e5%ba%a7%e6%98%af%e4%bb%80%e4%b9%88-1982%e5%b9%b48%e6%9c%88%e6%97%a5%e5%8e%86\/","title":{"rendered":"1982\u5e748\u670821\u65e5\u51fa\u751f\u7684\u661f\u5ea7\u662f\u4ec0\u4e48 (1982\u5e748\u6708\u65e5\u5386)"},"content":{"rendered":"<p><img decoding=\"async\" alt=\"1982\u5e748\u6708\u65e5\u5386\" loading=\"lazy\" src=\"https:\/\/0592ban.cn\/wp-content\/uploads\/2024\/09\/a3c26f71-b9df-456b-9338-de996c2479df.jpg\"\/><\/p>\n<form action=\"zodiac.php\" method=\"post\">\n <label for=\"date\"><br \/>\n  \u51fa\u751f\u65e5\u671f\uff1a<br \/>\n <\/label><br \/>\n <input id=\"date\" name=\"date\" required=\"\" type=\"text\"\/><br \/>\n <input type=\"submit\" value=\"\u67e5\u8be2\"\/><br \/>\n<\/form>\n<p><!--?php\n  if (isset($_POST['date'])) {\n    $date = $_POST['date'];\n    $timestamp = strtotime($date);\n    $year = date('Y', $timestamp);\n    $month = date('m', $timestamp);\n    $day = date('d', $timestamp);\n    $constellation = '';\n\n    if ($month == 1 || $month == 12) {\n      if ($day <= 20) {\n        $constellation = 'sagittarius';\n      } else {\n        $constellation = 'capricorn';\n      }\n    } elseif ($month == 2) {\n      if ($day <= 18) {\n        $constellation = 'capricorn';\n      } else {\n        $constellation = 'aquarius';\n      }\n    } elseif ($month == 3) {\n      if ($day <= 20) {\n        $constellation = 'aquarius';\n      } else {\n        $constellation = 'pisces';\n      }\n    } elseif ($month == 4) {\n      if ($day <= 19) {\n        $constellation = 'pisces';\n      } else {\n        $constellation = 'aries';\n      }\n    } elseif ($month == 5) {\n      if ($day <= 20) {\n        $constellation = 'aries';\n      } else {\n        $constellation = 'taurus';\n      }\n    } elseif ($month == 6) {\n      if ($day <= 20) {\n        $constellation = 'taurus';\n      } else {\n        $constellation = 'gemini';\n      }\n    } elseif($month == 7) {\n      if ($day <= 22) {\n        $constellation = 'gemini';\n      } else {\n        $constellation = 'cancer';\n      }\n    } elseif ($month == 8) {\n      if ($day <= 22) {\n        $constellation = 'cancer';\n      } else {\n        $constellation = 'leo';\n      }\n    } elseif ($month == 9) {\n      if ($day <= 22) {\n        $constellation = 'leo';\n      } else {\n        $constellation = 'virgo';\n      }\n    } elseif ($month == 10) {\n      if ($day <= 22) {\n        $constellation = 'virgo';\n      } else {\n        $constellation = 'libra';\n      }\n    } elseif ($month == 11) {\n      if ($day <= 22) {\n        $constellation = 'libra';\n      } else {\n        $constellation = 'scorpio';\n      }\n    }\n\n    switch ($constellation) {\n      case 'sagittarius':\n        echo '\u5c04\u624b\u5ea7';\n        break;\n      case 'capricorn':\n        echo '\u6469\u7faf\u5ea7';\n        break;\n      case 'aquarius':\n        echo '\u6c34\u74f6\u5ea7';\n        break;\n      case 'pisces':\n        echo '\u53cc\u9c7c\u5ea7';\n        break;\n      case 'aries':\n        echo '\u767d\u7f8a\u5ea7';\n        break;\n      case 'taurus':\n        echo '\u91d1\u725b\u5ea7';\n        break;\n      case 'gemini':\n        echo '\u53cc\u5b50\u5ea7';\n        break;\n      case 'cancer':\n        echo '\u5de8\u87f9\u5ea7';\nbreak;\n      case 'leo':\n        echo '\u72ee\u5b50\u5ea7';\n        break;\n      case 'virgo':\n        echo '\u5904\u5973\u5ea7';\n        break;\n      case 'libra':\n        echo '\u5929\u79e4\u5ea7';\n        break;\n      case 'scorpio':\n        echo '\u5929\u874e\u5ea7';\n        break;\n    }\n  }\n  ?--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u51fa\u751f\u65e5\u671f\uff0c&#8230;\u3002<\/p>\n","protected":false},"author":1,"featured_media":33958,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[13957],"class_list":["post-33959","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-12shengxiao","tag-13957"],"_links":{"self":[{"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/33959","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=33959"}],"version-history":[{"count":1,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/33959\/revisions"}],"predecessor-version":[{"id":33960,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/33959\/revisions\/33960"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/media\/33958"}],"wp:attachment":[{"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/media?parent=33959"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/categories?post=33959"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/tags?post=33959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}