2855eec5a4b6f5bdc1bd2cef464df36f89f301b0.svn-base 4.12 KB
<? include $_SERVER["DOCUMENT_ROOT"] . "/web/inc/php/header.php" ?>
<? include $_SERVER["DOCUMENT_ROOT"] . "/common/classes/ApiBill.php"; ?>
<?
	$obj = new ApiBill($_REQUEST);
	
	$data = $obj->getMonthlyData() ; 
	
	$str = explode("-", $data["month"]) ;
	$month = $str[0] . "." . $str[1] ;
	
// 	echo json_encode($data) ;
?>

<div class="Wrap" style="height:100%">

<!-- 헤드 -->
<header>
	<ul>
		<li class="jBack"><img src="/web/inc/images/btn_top_back_over.png" alt="back" width="20%"/></li>
		<li><p><?= $month ?></p></li><!-- 날짜 -->
		<li></li>
	</ul>
	<div style="clear:both;"></div>
</header>
<!-- 헤드 -->

<!-- 납부기한/금액 -->
<div class="contant con1">
	<dl>
		<dt>납부기한 : <span><?= $data["monthDate"] ?></span></dt>
		<dd>총 금액은 <span style="font-size:15px; color:#ff0000; font-weight:bold";><?= number_format($data["current_month_charge"]) ?></span> 원 입니다.</dd>
	</dl>
</div>
<!-- 납부기한/금액 -->

<!-- 리스트 -->
<div class="contant con2">
	<ul>
		<li>
			<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
			<a>일반관리비</a><!-- 이름 -->
			<a><span><?= number_format($data["maintenance_fee"]) ?></span> 원</a><!-- 금액 -->
		</li>
		<div style="clear:both;"></div>
		<li>
			<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
			<a>인터넷+케이블</a><!-- 이름 -->
			<a><span><?= number_format(($data["internet"] + $data["cable"])) ?></span> 원</a><!-- 금액 -->
		</li>
		<div style="clear:both;"></div>
		<li>
			<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
			<a>렌트</a><!-- 이름 -->
			<a><span><?= number_format(($data["rent_1"] + $data["rent_2"])) ?></span> 원</a><!-- 금액 -->
		</li>
		<div style="clear:both;"></div>
		<li>
			<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
			<a>기타</a><!-- 이름 -->
			<a><span><?= number_format($data["etc"]) ?></span> 원</a><!-- 금액 -->
		</li>
		<div style="clear:both;"></div>
		<li>
			<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
			<a>월세</a><!-- 이름 -->
			<a><span><?= number_format($data["monthly_rent"]) ?></span> 원</a><!-- 금액 -->
		</li>
		<li class="used rent">
			<a></a>
			<a>소계 <span><?= number_format($data["current_month_charge"]) ?></span> 원</a><!-- 금액 -->
		</li>
		<div style="clear:both;"></div>
	</ul>
</div>

<div class="contant con2">
	<ul>
		<li>
			<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
			<a>당월부과액</a><!-- 이름 -->
			<a><span><?= number_format($data["current_month_charge"]) ?></span> 원</a><!-- 금액 -->
		</li>
		<div style="clear:both;"></div>
		<li>
			<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
			<a>전월 미납액(연체료 포함)</a><!-- 이름 -->
			<a><span><?= number_format($data["sum_before_payment"]) ?></span> 원</a><!-- 금액 -->
		</li>
		<div style="clear:both;"></div>
		<li>
			<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
			<a>납기 내 금액</a><!-- 이름 -->
			<a><span><?= number_format(($data["current_month_charge"] + $data["sum_before_payment"])) ?></span> 원</a><!-- 금액 -->
		</li>
		<div style="clear:both;"></div>
	</ul>
</div>

<div class="contant con2">
	<ul>
		<li>
			<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
			<a>당월연체료</a><!-- 이름 -->
			<a><span><?= number_format($data["current_month_late_fee"]) ?></span> 원</a><!-- 금액 -->
		</li>
		<div style="clear:both;"></div>
		<li>
			<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
			<a>납기 후 금액</a><!-- 이름 -->
			<a><span><?= number_format($data["sum_after_payment"]) ?></span> 원</a><!-- 금액 -->
		</li>
		<div style="clear:both;"></div>
	</ul>
</div>
<!-- 리스트 -->

<!-- 계좌 -->
<div class="bank">
	<div>
		<ul class="text1">
			<li>입금은행</li>
			<li>계좌번호</li>
		</ul>
		<ul class="text2">
			<li><?= $data["month_account_bank"] ?></li><!-- 은행 -->
			<li><?= $data["month_account_no"] ?> (<?= $data["month_account_owner"] ?>)</li><!-- 계좌번호 -->
		</ul>
	</div>
</div>
<!-- 계좌 -->


</div>


<? include $_SERVER["DOCUMENT_ROOT"] . "/web/inc/php/footer.php" ?>