popupUsing.php 2.42 KB
<? include $_SERVER["DOCUMENT_ROOT"] . "/common/classes/ApiBill.php"; ?>
<?
	$obj = new ApiBill($_REQUEST);
	
	$data = $obj->getUsingData() ; 
	
?>

<div class="pop pop3_1" style="margin-top: 150px;">
	<ul class="head">
		<li>o</li>
		<li class="title">세부 사용량</li>
		<li class="jExit" style="text-align:right;"><img src="/web/inc/images/btn_pop_x.png" alt="esc" width="30%" style="padding:9px 12px 0px 0px;"/></li>
		<div style="clear:both;"></div>
	</ul>
		<!-- 리스트 -->
		<div class="contant pop3">
			<ul>
				<li>
					<a></a>
					<a></a>
					<a></a>
					<a>전월</a>
					<a>당월</a>
				</li>
				<div style="clear:both;"></div>
				<li>
					<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
					<a>가스</a><!-- 이름 -->
					<a></a>
					<a><?= $data["gas_usage_lm"] ?></a><!-- 사용량 -->
					<a><?= $data["gas_usage"] ?></a>
				</li>
				<div style="clear:both;"></div>
				<li>
					<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
					<a>전기</a><!-- 이름 -->
					<a></a>
					<a><?= $data["electricity_usage_lm"] ?></a><!-- 사용량 -->
					<a><?= $data["electricity_usage"] ?></a>
				</li>
				<div style="clear:both;"></div>
				<li>
					<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
					<a>수도</a><!-- 이름 -->
					<a></a>
					<a><?= $data["water_usage_lm"] ?></a><!-- 사용량 -->
					<a><?= $data["water_usage"] ?></a>
				</li>
				<div style="clear:both;"></div>
			</ul>

			<ul>
				<li>
					<a></a>
					<a></a>
					<a></a>
					<a></a>
					<a>사용량</a>
				</li>
				<div style="clear:both;"></div>
				<li>
					<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
					<a>가스</a><!-- 이름 -->
					<a></a>
					<a></a>
					<a><?= $data["gas_usage"] - $data["gas_usage_lm"] ?></a><!-- 사용량 -->
				</li>
				<div style="clear:both;"></div>
				<li>
					<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
					<a>전기</a><!-- 이름 -->
					<a></a>
					<a></a>
					<a><?= $data["electricity_usage"] - $data["electricity_usage_lm"] ?></a><!-- 사용량 -->
				</li>
				<div style="clear:both;"></div>
				<li>
					<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
					<a>수도</a><!-- 이름 -->
					<a></a>
					<a></a>
					<a><?= $data["water_usage"] - $data["water_usage_lm"] ?></a><!-- 사용량 -->
				</li>
				<div style="clear:both;"></div>
			</ul>
		</div>
		<!-- 리스트 -->
</div>