<?php include_once(__DIR__ . '/../../api.php');$xk=json_decode($a,true);?>
<!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/list.css">
<script type="text/javascript" src="date/jquery-1.10.2.min.js"></script>
</head>
<body>

<article>
<div class="hd pp_more_s"><i></i>飞星盘<span data-s="0">&or;</span></div>
<section>
<div class="baseinfo">
<div class="bd">
	<div class="item dis_flex">
		<div class="flex dis_flex">
			<span class="tit">元运：</span>
			<div class="text flex"><?php echo @$xk['dayun']?>&emsp;(<?php echo @$xk['dyqzyear']?>)</div>
		</div>
	</div>
	<div class="item dis_flex">
		<div class="flex dis_flex">
			<span class="tit">山向：</span>
			<div class="text flex"><font color="#993300"><?php echo @$xk['sxname'];?></font>&emsp;(<?php echo @$xk['guatype']?>)</div>
		</div>
	</div>
</div>
</div>
<div class="xkpp">
 <table width="100%" cellspacing="0" cellpadding="0" border="1">
  <tr align="center">
    <td height="100" width="33%"><?php echo @$xk['fxp']['sp'][8];?>&emsp;<?php echo @$xk['fxp']['xp'][8];?><br><?php echo @$xk['fxp']['yp'][8];?><br><font color="#ccc">巽四</font></td>
    <td width="33%"><?php echo @$xk['fxp']['sp'][4];?>&emsp;<?php echo @$xk['fxp']['xp'][4];?><br><?php echo @$xk['fxp']['yp'][4];?><br><font color="#ccc">离九</font></td>
    <td width="33%"><?php echo @$xk['fxp']['sp'][6];?>&emsp;<?php echo @$xk['fxp']['xp'][6];?><br><?php echo @$xk['fxp']['yp'][6];?><br><font color="#ccc">坤二</font></td>
  </tr>
  <tr align="center">
    <td height="100"><?php echo @$xk['fxp']['sp'][7];?>&emsp;<?php echo @$xk['fxp']['xp'][7];?><br><?php echo @$xk['fxp']['yp'][7];?><br><font color="#ccc">震三</font></td>
    <td><?php echo @$xk['fxp']['sp'][0];?>&emsp;<?php echo @$xk['fxp']['xp'][0];?><br><?php echo @$xk['fxp']['yp'][0];?><br><font color="#ccc">中五</font></td>
    <td><?php echo @$xk['fxp']['sp'][2];?>&emsp;<?php echo @$xk['fxp']['xp'][2];?><br><?php echo @$xk['fxp']['yp'][2];?><br><font color="#ccc">兑七</font></td>
  </tr>
  <tr align="center">
    <td height="100"><?php echo @$xk['fxp']['sp'][3];?>&emsp;<?php echo @$xk['fxp']['xp'][3];?><br><?php echo @$xk['fxp']['yp'][3];?><br><font color="#ccc">艮八</font></td>
    <td><?php echo @$xk['fxp']['sp'][5];?>&emsp;<?php echo @$xk['fxp']['xp'][5];?><br><?php echo @$xk['fxp']['yp'][5];?><br><font color="#ccc">坎一</font></td>
    <td><?php echo @$xk['fxp']['sp'][1];?>&emsp;<?php echo @$xk['fxp']['xp'][1];?><br><?php echo @$xk['fxp']['yp'][1];?><br><font color="#ccc">乾六</font></td>
  </tr>
</table>
<div class="tixing">
<?php echo @$xk['shan']."山:";
  if(@$xk['tixing']):?>
宜出煞，楼门或大门宜开畅。而不宜收敛。开门宜大，或门旁边有较多玻璃窗，于室内于门处不宜有所阻拦，如设屏风等。且门外地势宜略低。
  <?php else: ?>
宜收山，住宅形势须保守，而不宜开畅，于开门不宜过大，且于门处宜设屏风以遮掩，用以藏气。屋门外形势不宜过低，低则收山不尽。
<?php endif; ?>
</div>
</div>
</section>
<?php if(@$xk['pailong']):?>
<section>
<div class="hd pp_more_s"><i></i>排龙诀<span data-s="0">&or;</span></div>
<div class="xkpp">
<p>水口在<?php echo @$xk['shuikshan']?></p>
<table width="100%" cellspacing="0" cellpadding="0" border="1">
<tr align="center">
    <td height="75" width="25%"><?php echo @$xk['sk'][5]?><br><font color="#ccc">巳丙</font></td>
	<td width="25%"><?php echo @$xk['sk'][6]?><br><font color="#ccc">午丁</font></td>
	<td width="25%"><?php echo @$xk['sk'][7]?><br><font color="#ccc">未坤</font></td>
	<td width="25%"><?php echo @$xk['sk'][8]?><br><font color="#ccc">申庚</font></td>
</tr>
<tr align="center">
	<td height="75"><?php echo @$xk['sk'][4]?><br><font color="#ccc">辰巽</font></td>
	<td colspan="2" rowspan="2">&emsp;</td><td><?php echo @$xk['sk'][9]?><br><font color="#ccc">酉辛</font></td>
</tr>
<tr align="center">
	<td height="75"><?php echo @$xk['sk'][3]?><br><font color="#ccc">卯乙</font></td>
	<td><?php echo @$xk['sk'][10]?><br><font color="#ccc">戌乾</font></td>
</tr>
<tr align="center">
	<td height="75"><?php echo @$xk['sk'][2]?><br><font color="#ccc">寅甲</font></td>
	<td><?php echo @$xk['sk'][1]?><br><font color="#ccc">丑艮</font></td>
	<td><?php echo @$xk['sk'][0]?><br><font color="#ccc">子癸</font></td>
	<td><?php echo @$xk['sk'][11]?><br><font color="#ccc">亥壬</font></td></tr>
</table>
</div>
</section>
<?php endif;
if(@$xk['minggua']):?>
<div class="hd ui-cells"><i></i>流盘</div>
<section>
<div class="baseinfo">
<div class="bd">
	<div class="item dis_flex">
		<div class="flex dis_flex">
			<span class="tit">宅主：</span>
			<div class="text flex"><?php echo (@$xk['sex'])?'男':'女';?>命<?php echo @$xk['birthyear']?>年生人</div>
		</div>
	</div>
	<div class="item dis_flex">
		<div class="flex dis_flex">
			<span class="tit">命卦：</span>
			<div class="text flex"><?php echo @$xk['minggua']?></div>
		</div>
	</div>
	<div class="item dis_flex">
		<div class="flex dis_flex">
			<span class="tit">年月：</span>
			<div class="text flex">流年：<?php echo @$xk['lyear']?>&emsp;流月：<?php echo @$xk['lmonth']?>月[<?php echo @$xk['lmz']?>]</div>
		</div>
	</div>
</div>
</div>
<div class="xkpp">
 <table width="100%" cellspacing="0" cellpadding="0" border="1">
  <tr align="center">
    <td height="100" width="33%"><?php echo @$xk['ly'][8];?>&emsp;<?php echo @$xk['lm'][8];?><br><?php echo @$xk['mg'][8];?></td>
    <td width="33%"><?php echo @$xk['ly'][4];?>&emsp;<?php echo @$xk['lm'][4];?><br><?php echo @$xk['mg'][4];?></td>
    <td width="33%"><?php echo @$xk['ly'][6];?>&emsp;<?php echo @$xk['lm'][6];?><br><?php echo @$xk['mg'][6];?></td>
  </tr>
  <tr align="center">
    <td height="100"><?php echo @$xk['ly'][7];?>&emsp;<?php echo @$xk['lm'][7];?><br><?php echo @$xk['mg'][7];?></td>
    <td><?php echo @$xk['ly'][0];?>&emsp;<?php echo @$xk['lm'][0];?><br><?php echo @$xk['mg'][0];?></td>
    <td><?php echo @$xk['ly'][2];?>&emsp;<?php echo @$xk['lm'][2];?><br><?php echo @$xk['mg'][2];?></td>
  </tr>
  <tr align="center">
    <td height="100"><?php echo @$xk['ly'][3];?>&emsp;<?php echo @$xk['lm'][3];?><br><?php echo @$xk['mg'][3];?></td>
    <td><?php echo @$xk['ly'][5];?>&emsp;<?php echo @$xk['lm'][5];?><br><?php echo @$xk['mg'][5];?></td>
    <td><?php echo @$xk['ly'][1];?>&emsp;<?php echo @$xk['lm'][1];?><br><?php echo @$xk['mg'][1];?></td>
  </tr>
</table>
</div>
</section>
<?php endif;?>
</article>

<script>
$('.pp_more_s').click(function(){
		var that=$(this).find('span');
		var s=that.data('s');
		if(s==0) that.html("&and;");
		else that.html("&or;");
		var d=(s+1)%2;
		that.data('s',d);
		$(this).next().slideToggle(500);
	}
);
</script>
</body>
</html>
<br><br>
<?php include_once(__DIR__ . '/../../footer.php');?>