{"id":61322,"date":"2025-01-12T07:19:59","date_gmt":"2025-01-11T23:19:59","guid":{"rendered":"https:\/\/0592ban.cn\/?p=61322"},"modified":"2025-01-12T07:19:59","modified_gmt":"2025-01-11T23:19:59","slug":"%e6%8c%87%e8%bf%b7%e5%b1%85%e5%a3%ab%e5%85%8d%e8%b4%b9%e7%ae%97%e5%91%bd%e7%bd%91%e7%ab%99-%e8%bf%90%e5%8a%bf%e5%85%8d%e8%b4%b9%e7%b2%be%e5%87%86%e6%89%b9%e7%ae%97-%e6%8c%87%e8%bf%b7%e5%b1%85","status":"publish","type":"post","link":"https:\/\/0592ban.cn\/index.php\/2025\/01\/12\/%e6%8c%87%e8%bf%b7%e5%b1%85%e5%a3%ab%e5%85%8d%e8%b4%b9%e7%ae%97%e5%91%bd%e7%bd%91%e7%ab%99-%e8%bf%90%e5%8a%bf%e5%85%8d%e8%b4%b9%e7%b2%be%e5%87%86%e6%89%b9%e7%ae%97-%e6%8c%87%e8%bf%b7%e5%b1%85\/","title":{"rendered":"\u6307\u8ff7\u5c45\u58eb\u514d\u8d39\u7b97\u547d\u7f51\u7ad9 \u8fd0\u52bf\u514d\u8d39\u7cbe\u51c6\u6279\u7b97 (\u6307\u8ff7\u5c45\u58eb\u8d34\u5427)"},"content":{"rendered":"<p><img decoding=\"async\" alt=\"\u8fd0\u52bf\u514d\u8d39\u7cbe\u51c6\u6279\u7b97\" loading=\"lazy\" src=\"https:\/\/0592ban.cn\/wp-content\/uploads\/2025\/01\/711dedf1-397c-4132-9d20-834f917c59be.jpg\"\/><\/p>\n<h2>\n \u514d\u8d39\u7b97\u547d_\u751f\u8fb0\u516b\u5b57\u7b97\u547d_\u516b\u5b57\u7b97\u547d_\u5468\u6613\u7b97\u547d<br \/>\n<\/h2>\n<h3>\n \u975e\u5e38\u8fd0\u52bf\u7f51\u7b97\u547d\u53ef\u4fe1\u5417\uff1f\u4f1a\u4e0d\u4f1a\u4fdd\u5b58\u6211\u4eec\u7684\u7ed3\u679c\u548c\u6570\u636e\uff1f<br \/>\n<\/h3>\n<p>\n \u4ec5\u4f9b\u514d\u8d39\u7b97\u547d\u516b\u5b57\u8d22\u8fd0\n<\/p>\n<form action=\"calc.php\" method=\"post\">\n \u51fa\u751f\u516c\u5386\uff1a<br \/>\n <input name=\"birth_solar\" placeholder=\"\u516c\u5386\u751f\u65e5\uff0c\u59821990\u5e746\u670823\u65e511\u65f620\u5206\" type=\"text\" value=\"1990\u5e746\u670823\u65e511\u65f620\u5206(\u5317\u4eac\u65f6\u95f4)\"\/><br \/>\n \u51fa\u751f\u519c\u5386\uff1a<br \/>\n <input name=\"birth_lunar\" placeholder=\"\u519c\u5386\u751f\u65e5\uff0c\u5982\u5e9a\u5348\u5e74\u95f0\u4e94\u6708\u521d\u4e00\u65e5\u5348\u65f6\" type=\"text\" value=\"\u5e9a\u5348\u5e74\u95f0\u4e94\u6708\u521d\u4e00\u65e5\u5348\u65f6\"\/><br \/>\n <input type=\"submit\" value=\"\u7b97\u547d\"\/><br \/>\n<\/form>\n<p><!--?php\n  if (isset($_POST['birth_solar']) && isset($_POST['birth_lunar'])) {\n    $birth_solar = trim($_POST['birth_solar']);\n    $birth_lunar = trim($_POST['birth_lunar']);\n\n    $solar_arr = explode(' ', $birth_solar);\n    $solar_date = explode('-', $solar_arr[0]);\n    $solar_time = explode(':', $solar_arr[1]);\n\n    $lunar_arr = explode(' ', $birth_lunar);\n    $lunar_date = explode('-', $lunar_arr[0]);\n    $lunar_time = explode(':', $lunar_arr[1]);\n\n    $date_arr = array();\n    $date_arr['year'] = $solar_date[0];\n    $date_arr['month'] = $solar_date[1];\n    $date_arr['day'] = $solar_date[2];\n    $date_arr['hour'] = $solar_time[0n    \/\/ \u8ba1\u7b97\u65e5\u4e3b\u5f97\u5206\n    $rizhu_score = 0;\n    $rizhu_score += $wuxing_num['jin']  5;\n    $rizhu_score += $wuxing_num['mu']  5;\n    $rizhu_score += $wuxing_num['shui']  5;\n    $rizhu_score += $wuxing_num['huo']  10;\n    $rizhu_score += $wuxing_num['tu']  5;\n\n    \/\/ \u8ba1\u7b97\u4e94\u884c\u65fa\u8870\n    $wuxing_wangshuai = array();\n    foreach ($wuxing_num as $key =--><br \/>\n$value) {<br \/>\n      if ($value &gt; 2) {<br \/>\n        $wuxing_wangshuai[$key] = &#8216;\u65fa&#8217;;<br \/>\n      } elseif ($value == 2) {<br \/>\n        $wuxing_wangshuai[$key] = &#8216;\u76f8&#8217;;<br \/>\n      } elseif ($value == 1) {<br \/>\n        $wuxing_wangshuai[$key] = &#8216;\u4f11&#8217;;<br \/>\n      } else {<br \/>\n        $wuxing_wangshuai[$key] = &#8216;\u56da&#8217;;<br \/>\n      }<br \/>\n    }<\/p>\n<p>    \/\/ \u8ba1\u7b97\u559c\u7528\u795e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u514d\u8d39\u7b97\u547d\uff0c\u751f\u8fb0\u516b\u5b57\u7b97\u547d\uff0c\u516b\u5b57\u7b97\u547d\uff0c\u5468\u6613\u7b97\u547d\u975e\u5e38\u8fd0\u52bf\u7f51\u7b97\u547d\u53ef\u4fe1\u5417\uff0c\u4f1a\u4e0d\u4f1a\u4fdd\u5b58\u6211\u4eec\u7684\u7ed3\u679c\u548c\u6570\u636e\uff0c\u4ec5\u4f9b\u514d\u8d39\u7b97\u547d\u516b\u5b57\u8d22\u8fd0\u51fa\u751f\u516c\u5386\uff0c\u51fa\u751f\u519c\u5386\uff0c$value\uff0cif\uff0c$value&#038;gt\uff0c2\uff0c$wuxing\uff0cwangshuai[$key]=\u65fa\uff0celseif\uff0c$value==2\uff0c$wuxing\uff0cwangshuai[$key]=\u76f8\uff0celseif&#8230;\u3002<\/p>\n","protected":false},"author":1,"featured_media":61321,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[24271,26606],"class_list":["post-61322","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-12shengxiao","tag-24271","tag-26606"],"_links":{"self":[{"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/61322","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=61322"}],"version-history":[{"count":1,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/61322\/revisions"}],"predecessor-version":[{"id":61323,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/posts\/61322\/revisions\/61323"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/media\/61321"}],"wp:attachment":[{"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/media?parent=61322"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/categories?post=61322"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/0592ban.cn\/index.php\/wp-json\/wp\/v2\/tags?post=61322"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}