<?php if(!class_exists('Template')) die('Access Denied'); $this->tpl->check('ktvBook.html', '216f4492eedc34ca9c767950f414a43c', 1362486190); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><?php echo $info['name']; ?>预定</title>
<link rel="stylesheet" type="text/css" href="<?php echo MY_THEMEDIR; ?>css/ktv/public.css">
<link rel="stylesheet" type="text/css" href="<?php echo MY_THEMEDIR; ?>css/ktv/style.css">
<script type="text/javascript" src="<?php echo MY_THEMEDIR; ?>js/ktv/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo MY_THEMEDIR; ?>js/ktv/public.js"></script>
<script type="text/javascript" src="<?php echo MY_THEMEDIR; ?>js/ktv/DD_belatedPNG_0.0.8a.js"></script>
<script type="text/javascript" src="<?php echo MY_THEMEDIR; ?>js/ktv/sl.js"></script>
<script type="text/javascript">
var root = "<?php echo DOMAIN; echo ROOT; ?>";
</script>
<script type="text/javascript" src="<?php echo MY_THEMEDIR; ?>js/ktv/s2.js"></script>

<script type="text/javascript" src="<?php echo MY_THEMEDIR; ?>js/ktv/s3.js"></script>

<script type="text/javascript">
	$(document).ready(function(){
	  	$.focus("#focus001");
		$.focus("#focus002");
	});
</script>

<script type="text/javascript" src="<?php echo MY_THEMEDIR; ?>js/ktv/tabber.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> 
<script type="text/javascript" src="<?php echo MY_THEMEDIR; ?>js/ktv/jquery.mousewheel.js"></script>
<script type="text/javascript" src="<?php echo MY_THEMEDIR; ?>js/ktv/jquery.jscrollpane.min.js"></script>

<script type="text/javascript" src="<?php echo MY_THEMEDIR; ?>js/ktv/base.js"></script>
<script type="text/javascript" src="<?php echo MY_THEMEDIR; ?>js/ktv/lib.js"></script>
<script type="text/javascript" src="<?php echo MY_THEMEDIR; ?>js/ktv/163css.js"></script>
<script type="text/javascript" src="<?php echo MY_THEMEDIR; ?>js/ktv/jqueryvselect.js"></script>
<script type="text/javascript" src="<?php echo MY_THEMEDIR; ?>js/datePicker/WdatePicker.js"></script>
<link rel="stylesheet" href="<?php echo MY_THEMEDIR; ?>css/ktv/jquery.jscrollpane.css" type="text/css" />
<link rel="stylesheet" href="<?php echo MY_THEMEDIR; ?>css/ktv/main.css" type="text/css" />
<link rel="stylesheet" href="<?php echo MY_THEMEDIR; ?>css/ktv/select.css" type="text/css" />
<!--[if lte IE 6]>
	<link rel="stylesheet" href="main_ie6.css" type="text/css" />
<![endif]-->

<script type="text/javascript">

	$(document).ready(function() {

		var options = {
						styleClass: "selectDark",
						jScrollPane: 1
						}
	
		$(".mySelect").styleSelect(options);
		
	});

</script>


</head>
<body>

<input type="hidden" value="<?php echo $_GET['id']; ?>" id="room_id">

<div class="top_black">
 <?php include $this->tpl->getfile('inc/ktv_header'); ?>
</div>
<div class="content">
  <p class="spacing"></p>
  <div class="wherenow"><div class="bline"></div><p class="p1">当前位置：<a href="<?php echo DOMAIN; echo ROOT; ?>ktv/" >首页</a> > <a href="<?php echo DOMAIN; echo ROOT; ?>ktv/list-1.html">商户列表</a> > <?php echo $info['name']; ?></p><div class="p2"><span>分享到：</span><!-- Baidu Button BEGIN -->
    <div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare">
        <a class="bds_qzone"></a>
        <a class="bds_tsina"></a>
        <a class="bds_tqq"></a>
        <a class="bds_renren"></a>
        <span class="bds_more">更多</span>
    </div>
<script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=6439236" ></script>
<script type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">
	document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/<?php echo MY_THEMEDIR; ?>js/ktv/shell_v2.js?cdnversion=" + new Date().getHours();
</script>
<!-- Baidu Button END --></div></div>
  <p class="spacing"></p>
  
  <div class="contentleftv3">
  <div class="commitemv5">
  <div class="citop"></div>
  <div class="cicenter">
    <div class="subminfo">
    <p class="img"><img src="../upload/ktv/<?php echo $info['photoname']; ?>"  width="245" height="187"></p>
    <p class="spacing"></p>
    <p class="t"><?php echo $info['name']; ?> </p>
    <p class="o"><strong>共有<span><?php echo $count; ?></span>人预订</strong></p>
    <p class="borderstyle2"></p>
    <p class="spacing5"></p>
    <div class="catevi">
       <dl>
         <dt>分类：</dt>
         <dd><a href="#"><?php echo $info['type_name']; ?></a></dd>
       </dl>
       <dl>
         <dt>地址：</dt>
         <dd><?php echo $info['address']; ?></dd>
       </dl>
       <dl>
         <dt>标签：</dt>
         <dd class="tag">	
		  
<?php if(is_array($service)) foreach($service as $k => $v) { ?>
			 <a href="#"><?php echo $v; ?></a>&nbsp;&nbsp;
		<?php } ?>
			</dd>
       </dl>
    </div>
    <p class="spacing5"></p>
    <p class="borderstyle2"></p>
    <p class="spacing5"></p>
    <div class="vinums">
             <ul>
              <li><p class="p1">环境：<span><?php if($points['environmental'] != 0 ) { echo $points['environmental']; } else { ?>0<?php } ?></span></p>
			  <p class="p2"><?php echo $points['environmental_img']; ?></p></li>
             <li><p class="p1">服务：<span><?php if($points['service'] != 0 ) { echo $points['service']; } else { ?>0<?php } ?></span></p><p class="p2"><?php echo $points['service_img']; ?></p></li>
             <li><p class="p1">品质：<span><?php if($points['sound'] != 0 ) { echo $points['sound']; } else { ?>0<?php } ?></span></p><p class="p2"><?php echo $points['sound_img']; ?></p></li>
             </ul>
       </div>
    <p class="spacing5"></p>
    <p class="borderstyle2"></p>
    <p class="spacing"></p>
    </div>
  </div>
  <div class="cifoot"></div>
  </div>
  </div>
  
  <div class="contentrightv3">
  <div class="commitemv4">
  <div class="citop"></div>
  <div class="cicenter">
  <div class="cicontent">
     <p class="spacing"></p>
     <p class="sublcbg"></p>
     <p class="spacing"></p>
     
     <div class="quireinfo">
     <p class="qiname">预订信息确认：</p>
     <p class="borderstyle2"></p>
     <p class="spacing"></p>
    <form method="post" id="O_Form" name="O_Form" action="ktvInfo-<?php echo $_GET['id']; ?>.html"><?php $m_info = unserialize($_SESSION['my_memberLoginInfo']);  ?><input type="hidden" name="member_id" id="member_id" value="<?php echo $m_info['id'] ? $m_info['id'] : 0; ?>">
	<input type="hidden" name="room_id" id="room_id" value="<?php echo $_GET['id']; ?>">
	<input type="hidden" name="ktv_id" id="ktv_id" value="<?php echo $info['id']; ?>">
	<input type="hidden" name="order_num" id="order_num" value="">	
	<input type="hidden" value="0" id="all_price" name="all_price">
	
	<input type="hidden" value="0" id="book_price" name="book_price">
	
	<input type="hidden" name="order_title" id="order_title" value="<?php echo $info['name']; ?>-<?php echo $roomInfo['name']; ?> 预订">
		<input type="hidden" name="order_title_shirt" id="order_title_shirt" value="<?php echo $info['name']; ?>-<?php echo $roomInfo['name']; ?>">
	
     <dl>
        <dt>时间选择：</dt>
        <dd>
        <p class="vibgv">
		<input name="times" id="times" type="text" class="vivbg" value="<?php if($_SESSION['ktvSerach']['time'] == '' ) { ?> <?php echo date('Y-m-d')  ?> <?php } else { ?> <?php echo $_SESSION['ktvSerach']['time']; } ?>">
		
		</p>
        <p class="left">日&nbsp;&nbsp;</p>
        <div class="vselectv1">
        <select name="begin_time" id="begin_time" class="commonselect">
		
		<?php if($_SESSION['ktvSerach']['beginTime'] != '' ) { ?>
		 <option value="<?php echo str_replace(':00' , '' , $_SESSION['ktvSerach']['beginTime']); ?>"><?php echo $_SESSION['ktvSerach']['beginTime']; ?></option>
		<?php } ?>
		
		
<?php if(is_array($num)) foreach($num as $key => $value) { ?>
        <option value="<?php echo $value; ?>"><?php echo $value; ?>:00</option>
		<?php } ?>
		   <option value="24">24:00后</option>

        </select>
        </div>
        <p class="left">至&nbsp;</p>
        <div class="vselectv1">
        <select name="close_time" id="close_time" class="commonselect">
		
				<?php if($_SESSION['ktvSerach']['endTime'] != '' ) { ?>
		 <option value="<?php echo str_replace(':00' , '' , $_SESSION['ktvSerach']['endTime']); ?>"><?php echo $_SESSION['ktvSerach']['endTime']; ?></option>
		<?php } ?>
		
		
       
<?php if(is_array($num)) foreach($num as $key => $value) { ?>
        <option value="<?php echo $value; ?>"><?php echo $value; ?>:00</option>
		<?php } ?>
		   <option value="24">24:00后</option>

        </select>
        </div>
        </dd>
     </dl>
	 
	  <dl  id="0_Price">
       <dt>预订总价：</dt>
        <dd id="O_Price_info">￥0</dd>
		
     </dl>  
	 
	 
	 <dl  id="0_Price">
       <dt>预订备注：</dt>
        <dd id="O_Price_remark">暂无</dd>
     </dl> 
	 
	  
     <dl>
        <dt>参加人数：</dt>
        <dd>
        <div class="vselectv1">
        <select name="number" id="number" class="commonselect">
		<?php if($_SESSION['ktvSerach']['num'] > 0 ) { ?> <option value="<?php echo $_SESSION['ktvSerach']['num']; ?>"><?php echo $_SESSION['ktvSerach']['num']; ?></option><?php } ?>
		
<?php if(is_array($num)) foreach($num as $key => $value) { ?>
        <option value="<?php echo $value; ?>"><?php echo $value; ?></option>
		<?php } ?>
		 <option value="25">20人以上</option>
        </select>
        </div>
        人
        </dd>
     </dl>    
     <dl>
        <dt>预定房间：</dt>
        <dd>
        <div class="vselectv2">
        <select name="room" id="room" class="commonselect" onChange="go_book(this.value)">
	
        <option value="<?php echo $roomInfo['id']; ?>"><?php echo $roomInfo['name']; ?></option>
		
		
<?php if(is_array($roomList)) foreach($roomList as $k => $v) { ?>
			<?php if($v['id'] != $roomInfo['id']) { ?>
				<option value="<?php echo $v['id']; ?>"><?php echo $v['name']; ?></option>
			<?php } ?>
		<?php } ?>
		
        </select>
        </div>
        </dd>
     </dl>
     <dl>
        <dt>其它要求：</dt>
        <dd><textarea name="remark" id="remark" cols="" rows="" class="othserq"></textarea></dd>
     </dl>
     <dl>
        <dt>预订人信息：</dt>
        <dd>
		
		
		
        <p class="vibgv"><input name="member_name" id="member_name" type="text" class="vivbg" value="<?php if($m_info['name'] != '') { echo $m_info['name']; } else { ?>请输入姓名<?php } ?>" onfocus="if (this.value=='请输入姓名' || this.value=='请输入姓名') this.value=''" onblur="if(this.value=='') this.value='请输入姓名'"></p>
        <p class="left"  <?php if($m_info['name'] != '') { ?>style="display:none"<?php } ?>>&nbsp;&nbsp;&nbsp;&nbsp;<input name="member_sex" type="radio" value="1" checked>先生&nbsp;&nbsp;&nbsp;&nbsp;<input name="member_sex" type="radio" value="2">女士</p>
        <p class="spacing"></p>
        <p class="vibgv2"><input name="member_phone" id="member_phone" type="text" class="vivbg2" value="<?php if($m_info['mobile'] != '') { echo $m_info['mobile']; } else { ?>请输入手机号<?php } ?>" onfocus="if (this.value=='请输入手机号' || this.value=='请输入手机号') this.value=''" onblur="if(this.value=='') this.value='请输入手机号'"></p>
		
		 <p class="spacing"></p>
 <dt style="display:none" class="O_PWD">登录密码：</dt>
        <dd style="display:none" class="O_PWD"> <p class="vibgv"><input type="password" id="O_PWD_TXT" name="O_PWD_TXT" class="vivbg" ></p></dd>
		
        
        </dd>
     </dl>
     <p class="spacing"></p>
     <p class="borderstyle2"></p>
     <p class="spacing"></p>
     
     <dl>
        <dt>&nbsp;</dt>
        <dd><span class="vssm1" onClick="$('#other_msg').toggle();">为他人预订，请添加他人信息>></span></dd>
     </dl>
     <dl id="other_msg" style="display:none">
        <dt>他人信息：</dt>
        <dd>
        <p class="vibgv"><input name="other_name" type="text" id="other_name" class="vivbg" value="请输入姓名" onfocus="if (this.value=='请输入姓名' || this.value=='请输入姓名') this.value=''" onblur="if(this.value=='') this.value='请输入姓名'"></p>
        <p class="left" >&nbsp;&nbsp;&nbsp;&nbsp;<input name="other_sex" type="radio" value="1" checked>先生&nbsp;&nbsp;&nbsp;&nbsp;<input name="other_sex" type="radio" value="2">女士</p>
        <p class="spacing"></p>
        <p class="vibgv2"><input name="other_phone" id="other_phone" type="text" class="vivbg2" value="请输入手机号" onfocus="if (this.value=='请输入手机号' || this.value=='请输入手机号') this.value=''" onblur="if(this.value=='') this.value='请输入手机号'"></p>
        
        </dd>
     </dl>
     <p class="spacing"></p>
     <p class="borderstyle2"></p>
     <p class="spacing"></p>
     
     <dl>
        <dt>&nbsp;</dt>
        <dd>
		<iframe src="<?php echo DOMAIN; echo ROOT; ?>/msg/sendsms.php?type=find" style="border:0px; height:70px; width:290px;" scrolling="no" frameborder="0"></iframe>
		
     </dl>
     </form>
     </div>
     <p class="spacing"></p>
     <p class="spacing"></p>
  </div>
  </div>
  <div class="cifoot"></div>
  </div>
  </div>
  
  <p class="spacing"></p><p class="spacing"></p>
  
   <?php include $this->tpl->getfile('inc/ktv_footer'); ?>
</form>
</body>
</html>
