<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>玄空飞星排盘|玄空风水排盘</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<meta name="applicable-device" content="pc,mobile">
<meta http-equiv="Cache-Control" content="no-transform">
<meta http-equiv="Cache-Control" content="no-siteapp">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="date/index.css">
<script type="text/javascript" src="date/jquery-1.10.2.min.js"></script>
<?php
function setoptions($start,$end,$selected,$str=''){
	$option='';
	for($i=$start;$i<=$end;$i++){
		$option.='<option value="'.$i.'"';
		if($i==$selected) $option.=" selected";
		$option.='>'.$i.$str.'</option>';
	}
	return $option;
}
$dayunarr=array("一运","二运","三运","四运","五运","六运","七运","八运","九运");
$nmonth=array(NULL,"一","二","三","四","五","六","七","八","九","十","冬","腊");
$year=date("Y");
?>
</head>
<body>
<div class="ui-content">

	<div class="form_box">
	<form id="pxkform" action="list.php" method="post">
<input type="hidden" name="SYLX" value="gjxkff">
	<input type="hidden" name="api" value="1">
	 <div class="item dis_flex">
          <div class="dis_flex flex_flow_c"><span class="icon site"></span></div>
          <div class="flex input">
		  <input type="text" name="sxtit" class="cdesx" placeholder="选择山向" readonly unselectable="on" onfocus="this.blur()">
		  <input type="hidden" name="sx" value="">
           </div>
		   <div class="dis_flex line"></div>
		   <div class="flex select">
		  	<span class="s_tit"><span>元运</span><i></i></span>
           <select name="dy" id="yuanyun">
			<?php
			for($i=0;$i<=8;$i++){
				$nianq=1864+$i*20;
				$nianz=$nianq+19;
				$yunming=$dayunarr[$i];
				echo '<option value ="'.$i.'"';
				if($year>$nianq && $year<$nianz) echo " selected";
				echo '>'.$yunming.'</option>';
			}?>
			</select>
          </div>
     </div>
	 <div class="item0">
		  <div class="dis_flex morechecked">
		  <label class="flex on"><input name="isti" type="radio" value="0" hidden checked>下卦</label>
		 <label class="flex"><input name="isti" type="radio" value="1" hidden>替卦</label>
		 <label class="flex"><input name="isti" type="radio" value="2" hidden>智选</label>
          </div>
     </div>
	 <div class="item kedubox none">
           <div class="dis_flex flex_flow_c"><span class="icon date"></span></div>
           <div class="flex input">
		   <input type="text" name="kedu" placeholder="坐山罗盘刻度">
			</div>
     </div>

	 <div class="item dis_flex">
          <div class="dis_flex flex_flow_c"><span class="icon industry"></span></div>
          <div class="flex checkbox on">
           <label class="dis_flex"><input type="checkbox" name="pailong" id="pailong" hidden checked><em><i></i></em><span>排龙诀</span></label>
           </div>
		   <div class="dis_flex line"></div>
		   <div class="flex input shuikouid">
		   <input type="text" name="sktit" class="shuikou" placeholder="选择水口" readonly unselectable="on" onfocus="this.blur()">
		   <input type="hidden" name="pljsx" value="">
		   </div>
		   
     </div>
	 <div class="item dis_flex">
	 	<div class="dis_flex flex_flow_c"><span class="icon date"></span></div>
		<div class="flex checkbox on">
            <label class="dis_flex"><input type="checkbox" name="minggua" id="minggua" hidden checked><em><i></i></em><span>流盘</span></label>
        </div>
		<div class="dis_flex line"></div>
		<div class="dis_flex mgbox">
	 		<div class="flex select">
				<span class="s_tit"><span>流年</span><i></i></span>
				<select name="year" id="lyear"><?php echo setoptions($year-70,$year+10,$year);?></select>
			</div>
			<div class="dis_flex line"></div>
			<div class="flex select">
				<span class="s_tit"><span>流月</span><i></i></span>
				<select name="month" id="lmonth">
				<?php for($i=1;$i<=12;$i++){echo '<option value="'.$i.'"';
				if($i==date('m')-1) echo 'selected';
				echo '>'.$nmonth[$i].'月</option>';}?>
				</select>
			</div>
		</div>
	</div>
	<div class="item dis_flex">
         <div class="dis_flex flex_flow_c"><span class="icon user"></span></div>
         <div class="flex select">
		 <div class="s_tit"><span>农历生年</span><i></i></div>
		  	<select name="birthyear" id="birthyear"><?php echo setoptions(1902,2050,1985)?></select>
		 </div>
		 <div class="dis_flex line"></div>
         <div class="dis_flex checked">
          <label class="dis_flex on"><input type="radio" name="usex" value="1" hidden="" checked=""><em><i></i></em><span>男</span></label>
          <label class="dis_flex"><input type="radio" name="usex" value="0" hidden=""><em><i></i></em><span>女</span></label>
          </div>
     </div>
     <div class="sub"><input type="button" name="" value="立即提交" class="href" onClick="checkpxk();"></div>
    </form>
</div>
<!--弹窗-->
<div class="pick_box sxbox">
    <div class="title">选择山向<a onclick="return shutdown_shan();">关闭</a></div>
    <div class="sx_list">
        <div class="con">
            <ul>
            </ul>
        </div>
    </div>
</div>

</div>
<script type="text/javascript" src="date/ppxk.js"></script>	
</body>
</html>
<br><br>
<?php include_once(__DIR__ . '/../../footer.php');?>