<?php if(!class_exists('Template')) die('Access Denied'); $this->tpl->check('roompay_info.html', 'd9ecd323e497add91597406a3139636d', 1352533438); ?>
<link type="text/css" href="<?php echo MY_THEMEDIR; ?>images/layout.css" rel="stylesheet" />

<script type="text/javascript" src="<?php echo MY_THEMEDIR; ?>js/jquery.js"></script>
<script type="text/javascript" src="<?php echo MY_THEMEDIR; ?>js/hotel/roomPay_info.js"></script>
<div class="frame">
	<ul class="frame_head">
		<li style="width:270px;">酒店名</li>
		<li style="width:80px;">房型数</li>
		<li style="width:300px;">地址</li>
		<li style="border-right:1px solid #cccccc; width:145px; *width:130px;">操作</li>
	</ul>
	
	
	
<?php if(is_array($info)) foreach($info as $k => $v) { ?>
	<?php if($v['hotelname'] != '') { ?>
	<ul class="frame_title">
		<li style="width:270px;"><?php echo $v['hotelname']; ?></li>
		<li style="width:80px;"><?php echo $v['count']; ?>种</li>
		<li style="width:300px; overflow:hidden; *height:36px" title="<?php echo $v['address']; ?>"><?php echo $v['address']; ?></li>
		<li style="border-right:1px solid #cccccc; width:145px; *width:130px;"><a href="###" id="info_open" class="info_open" cid="<?php echo $v['id']; ?>">展开</a>/
		<a href="###" id="info_checked" class="info_checked" cid="<?php echo $v['id']; ?>">全选</a>/
		<a href="###" id="info_close" class="info_close" cid="<?php echo $v['id']; ?>">取消</a>/
		</li>
	</ul>
	
	<ul class="frame_content frame_content_<?php echo $v['id']; ?>">
		
		<li style="width:351px;*width:350px;">房间类型</li>
		<li style="width:100px">早餐</li>
		<li style=" width:100px;">上网</li>
		<li style="width:98px;*width:100px">能否加床</li>
		<li style="width:145px;*width:130px;border-right:1px solid #cccccc;">禁止支付</li>
		
		<?php if(is_array($info[$v['id']])) foreach($info[$v['id']] as $v2) { ?>
			<?php if(strlen($v2['breakfast']) > 1 ) { ?>
				<li style="width:351px;*width:350px;background-color:#f9f9f9"><?php echo $v2['room']; ?></li>
				<li style="width:100px;background-color:#f9f9f9"><?php echo $v2['breakfast']; ?></li>
				<li style=" width:100px;background-color:#f9f9f9"><?php echo $v2['internet']; ?></li>
				<li style="width:98px;*width:100px;background-color:#f9f9f9"><?php echo $v2['canAddBed']; ?></li>
				<li style="width:145px;*width:130px;border-right:1px solid #cccccc;background-color:#f9f9f9;*height:36px">
				
					
					<?php if(is_array($noPayList)) foreach($noPayList as $v3) { $check = ''; if($v2['id'] == $v3['categoryid'] ) { $check = 'checked="checked"';break; } ?>
					<?php } ?>
					<input class="li_all li_<?php echo $v['id']; ?>" style="margin-top:5px;" value="<?php echo $v2['id']; ?>" <?php echo $check; ?> type="checkbox">
				</li>
			<?php } ?>
		<?php } ?>
		
	</ul>
		<?php } ?>
	<?php } ?>
	

	
</div>

