<?php session_start();include 'common.php';?>
<!DOCTYPE html>
<html lang="zh-CN">
<meta name='keywords' content='八字排盘,四柱排盘,八字排盘系统,在线八字排盘,排八字,在线排八字,八字,命理,国学,算卦,排盘,易经,六十四卦,奇门,命运,运势,测算,姻缘,婚姻'/><meta charset='UTF-8'>
<meta name='Description' content='可提供八字排盘免费详批，八字排盘算命是一种根据八字用天干地支表示人出生的年、月、日、时，依照查四柱间之五行生克制化、刑冲会合为推命重点，生辰八字排盘免费查询，小到性格、大到发展都能够从这上面看出端倪一二，八字在线排盘，让你提前知晓一生命格。'/>
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
<title><?php echo title;?></title>
<a href='/' style='text-decoration:none;' target='_blank'><h2 style='text-align:center;color:#CC0000;'><?php echo title;?></h2></a>
<link type='text/css' href='date/smcsss.css' rel='stylesheet' />
<link rel='stylesheet' href='date/rui_date2.css'>
<script type='text/javascript' src='date/date/jquery.min3.7.1.js'></script>
<link href="date/date/select2.min4.0.8.css" rel="stylesheet" />
<script src="date/date/select2.min4.0.8.js"></script>
<script type="text/javascript" src='date/chooseDate.js'></script>
<script type="text/javascript" src='date/rui_date4.js'></script>
<script type="text/javascript" language='javascript' src='date/diqu.js'></script>
<script type="text/javascript" language='javascript' src='date/diqu160.js'></script>
<style>
demoInput{
width: 100%;
max-width: 255px;
height: 18px;
border:1px solid #ccc;
text-align: center;
border-radius: 5px;
padding:5px 10px;
box-sizing: border-box;
-webkit-box-sizing: border-box;}
.div1 {float: left;}.div2 {float: left;}
</style>

<div class='smnr'>
<form name='theform' method='get' action='show.php'>
<input type='hidden' name='act' value='ok' />
<table class='form-table' border='0' align='center' cellpadding='1' cellspacing='1'>
<tr>
<td class='tdleft tdbg'>命主信息：</td>
<td class='bghuang'>姓名：<input name='name' autocomplete='off' type='text' id='name' size='18' ></td>
</tr>
<tr>
<td class='tdleft tdbg'>起盘方式：</td>
<td class='bghuang'>
<input id=DateType1 type='radio' name='DateType' value='5' onClick="JavaScript:bazi.style.display='none';gongli.style.display='block';supaia.style.display='none';" checked/>
<label for='DateType1' style='cursor:hand;'>日期排盘</label>
<input id=DateType2 type='radio' name='DateType' value='4' onClick="JavaScript:gongli.style.display='none';bazi.style.display='block';supaia.style.display='none';">
<label for='DateType2' style='cursor:hand;'>八字反推</label>
<input id=DateType3 type='radio' name='DateType' value='7' onClick="JavaScript:gongli.style.display='none';bazi.style.display='none';supaia.style.display='block';" >
<label for='DateType3' style='cursor:hand;'>公历速排</label>
</td>
</tr>
<tr>
<td class='tdleft tdbg'>出生时间：</td>
<td class='bghuang'>
<div id='gongli' style='display:block'>
<div class='date_input'>
<!-- <p class='input pinput'></p> -->
<input id='demo2' class='demoInput' type='text' data-toid-date='date1' data-toid-hour='hour1' data-toid-minute='minute1' name='inputdate' placeholder='请选择时间' readonly='readonly' style='width:70%' />
<input type='hidden' id='date1'>
<input type='hidden' id='hour1'>
<input type='hidden' id='minute1'>

</div>
<div class='desc'></div>
</div>
<div id='bazi' style='display:none'>
<select name='ng' class="js-example-basic-single" style='font-size: 9pt' id='ng' style='width:20%' onchange="city('yg')"></select><select name='yg' class="js-example-basic-single" style='width:20%' style='font-size: 9pt' id='yg'></select><select name='rg' class="js-example-basic-single" style='font-size: 9pt' id='rg' style='width:20%' onchange="city('sg')"></select><select name='sg' class="js-example-basic-single" style='font-size: 9pt' id='sg' style='width:20%'></select>
</div>
<div id='supaia' style='display:none'>
<input name='supai' autocomplete='off' type='number' size='12' placeholder='格式 199904240230'>
</div>
</td>
</tr>
<tr>
<td class='tdleft tdbg'>命主性别:</td>
<td class='bghuang'>
<input name='sex' type='radio' value='0' checked>男
<input type='radio' name='sex' value='1'>女 （
<font color='red'>排盘结果男女有别，请正确选择</font>）
</td>
</tr>
<tr>
<td class='tdleft tdbg'>出生地：</td>
<td class='bghuang'>
<select name='city1' style='width:25%' style='font-size: 3pt' class="js-example-basic-single" id='city1'></select>
<select id='city2' style='width:30%' style='font-size: 3pt' class="js-example-basic-single" name='city2'></select>
<select id='city3' style='width:30%' style='font-size: 3pt' class="js-example-basic-single" name='city3'></select>
</td>
</tr>
<tr>
<td class='tdleft tdbg'>夏令时:</td>
<td class='bghuang'>
<input type='radio' name='xls' id='xlsy' value='1'>是
<input name='xls' type='radio' id='xlsn' value='0' checked>否 <a onclick=alert('夏令时，又称日光节约时制，是国家为了节约能源人为规定的时间制度，在制度的实行期间所采用的时间称之为“夏令时”。也就是在夏季到来前时间多加1小时，冬季到来之前恢复原来时间。目前全球有110多个国家使用夏令时制，大多集中在欧美地区，我国只实行了6年夏令时，于1986年—1991年结束。')>
<font color='red'>？</font></a>
</td>
</tr>
<tr>
<td class='tdleft tdbg'>晚子时:</td>
<td class='bghuang'>
<input type='radio' name='Sect' value='1' checked>按明天(默认)
<input name='Sect' type='radio' value='2'>按当天<a onclick=alert('我国古代流传下来的八字预测术（包括紫微斗数、奇门等）是以日子、时辰作为原始信息载体进行输入并参与演算、分析和推理的，由于存在着子时归属不确定而导致测不准的问题，因此在八字预测领域存在不少关于“子时”的争议，便有了“早子时”和“晚子时”，以及“神仙难断子时命”的说法，延伸出了关于界定分日起点的争论性问题：究竟是以子时之初（即晚上23点整）作为一日之始，还是按照现代历法所规定的那样将子时一分为二，以子半（即凌晨0点整）作为一日之始？所以推出了手动选择，供详细参考。')>
<font color='red'>？</font></a>
</td>
</tr>
<tr>
<td class='tdleft tdbg'>京时换算:</td>
<td class='bghuang'>
<input type='radio' name='bjhs' id='bjhsy' value='1'>是
<input name='bjhs' type='radio' id='bjhsn' value='0' checked>否 <a onclick=alert('国外出生的人，八字用北京时间还是当地时间来排？目前持有有两种观点：\n第一种观点，是以邵先生为首的一派：\n认同国外出生的时间需要换算成北京时间。因为四柱干支是中国人发明的，所以不管是国内还是国外，一律以北京时间为准。\n第二种观点，是以徐乐吾、韦千里等前辈为首的一派：\n认为古人利用太阳的投影来测定并划分时刻，并没有时区和统一时区的概念，而在运用四柱八字等术数时，都是以太阳定时。所以即便在国外出生，也应当要沿用地方真太阳时才合理，这符合自然界的真实时间。\n若结合现代来说，第二种观点更合乎天文地理学科的理论和逻辑，因此，当下无论出生于哪个国家（北半球），大家都主流使用当地真太阳时。这里为了配合爱好者的使用，默认“关闭”换算北京时间按钮。')>（
<font color='red'>仅在海外地区生效</font>）</a>
</td>
</tr>
<tr>
<td class='tdleft tdbg'>是否保存：</td>
<td class='bghuang'>
    <input type="radio" name="save_record" value="1" id="save1" checked><label for="save1">保存</label>
    <input type="radio" name="save_record" value="0" id="save0"><label for="save0">不保存</label>
    <span style="color:#c00;font-size:13px;"></span>
</td>
</tr>
</table>
<table class='form-table' border='0' align='center' cellpadding='1' cellspacing='1'>
<td class='bghuang'>
<div align='center'>
<input type='submit' value='开始排盘' class='sub_m' onclick="return _submit()" />
</div>
</td>
<input type='hidden' name='bcxx' value='0'>
</form>
</table>
<table class='form-table' border='0' align='center' cellpadding='1' cellspacing='1'>
<tr>
<td class='tdleft tdbg'>其他工具:</td>
<td class='bghuang'>
<a href='SSFT.php'>神煞反推</a>
<a href='WGFT.php'>五格反推</a>
<a href='lhl.php'>老皇历</a>
<a href='zgjm.php'>周公解梦</a>
<a href='sznl.php'>数字能量</a>
<a href='xzpd.php'>星座配对</a><br>
<a href='wnl.php'>万年历</a>
<a href='date/SXTWL.html'>寿星历</a>
<a href='date/hdrl/'>黄道日历</a>
<a href='date/qmdj/'>奇门遁甲</a>
<a href='date/mhys/'>梅花易数</a>
<a href='date/jkjp/'>金口诀盘</a><br>
<a href='date/lypp/'>六爻排盘</a>
<a href='date/lrpp/'>六壬排盘</a>
<a href='date/xkff/'>玄空风水</a>
<a href='date/bzff/'>八宅风水</a>
</td>
</tr>
</table>
</div>
<style>.loading-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,0.6);display:flex;justify-content:center;align-items:center;z-index:9999}.loading-container{text-align:center}.taiji-spinner{width:80px;height:80px;animation:spin 5s linear infinite}.loading-text{color:white;margin-top:18px;font-size:16px;font-weight:bold;text-align:center;}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}</style>
<div id="loading" class="loading-overlay" style="display:none"><div class="loading-container"><img class="taiji-spinner" src="date/4.png" alt="加载中"><div class="loading-text">正在排盘，请稍候...</div></div></div>
<script>function _submit(){if(document.getElementById("DateType1").checked&&document.getElementById("demo2").value=='')return alert("日期选择不正确，请重新选择！"),!1;document.getElementById("loading").style.display="flex";return!0}function hideLoadingAnimation(){try{document.getElementById("loading").style.display="none"}catch(e){console.error('隐藏加载动画时出错:',e)}}setTimeout(hideLoadingAnimation,10),window.addEventListener('load',hideLoadingAnimation),window.addEventListener('pageshow',hideLoadingAnimation),window.addEventListener('visibilitychange',hideLoadingAnimation),window.addEventListener('focus',hideLoadingAnimation),window.addEventListener('blur',hideLoadingAnimation),window.addEventListener('hashchange',hideLoadingAnimation),window.addEventListener('popstate',hideLoadingAnimation),document.addEventListener('DOMContentLoaded',hideLoadingAnimation);</script>
<style>#alert_container{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,0.5);z-index:1000;overflow-y:auto}.alert_box{position:absolute;top:15%;left:50%;transform:translateX(-50%);width:80%;max-width:500px;max-height:70%;background-color:#fff;padding:20px;border-radius:5px;box-shadow:0 2px 4px rgba(0,0,0,0.2);text-align:left;overflow-y:auto;display:flex;flex-direction:column}.alert_box_content{overflow-y:auto;margin-bottom:20px}.alert_close{position:absolute;top:10px;right:10px;font-size:20px;cursor:pointer;z-index:1001}.alert_message{margin-bottom:15px;white-space:pre-wrap}.alert_button{padding:10px 15px;background-color:#007bff;color:#fff;border:none;border-radius:5px;cursor:pointer}.alert_button:hover{background-color:#0056b3}.alert_title{font-size:18px;font-weight:bold;margin-bottom:10px;display:none;text-align:center}</style><div id="alert_container"><div class="alert_box"><span class="alert_close">×</span><div class="alert_title" style="font-size: clamp(18px, 5vw, 28px);"></div><div class="alert_box_content"><p class="alert_message" style="font-size: clamp(14px, 5vw, 20px);"></p></div><button class="alert_button" style="font-size: clamp(12px, 2vw, 16px); padding: 8px 24px; background-color: #007BFF; color: #fff; border: none; border-radius: 6px; cursor: pointer; transition: all 0.3s ease; align-self: center; max-width: 120px; margin: 0 auto;">确定</button></div></div><script>window.alert=function(message,title){var alertContainer=document.getElementById('alert_container');var alertBoxContent=document.querySelector('.alert_box_content');var alertMessage=document.querySelector('.alert_message');var alertButton=document.querySelector('.alert_button');var alertClose=document.querySelector('.alert_close');var alertTitle=document.querySelector('.alert_title');var formattedMessage=message.replace(/\n/g,'<br>');alertMessage.innerHTML=formattedMessage;if(title){alertTitle.textContent=title;alertTitle.style.display='block'}else{alertTitle.style.display='none'}alertContainer.style.display='block';var alertBox=document.querySelector('.alert_box');alertBox.style.top=((window.innerHeight-alertBox.offsetHeight)/2)+'px';alertButton.onclick=function(){alertContainer.style.display='none'};alertClose.onclick=function(){alertContainer.style.display='none'}};</script>
<?php include 'footer.php'; ?>
</html>