<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>$keywords_array[k_title]</title>
<meta name="keywords" content="$keywords_array[k_keywords]" />
<meta name="description" content="$keywords_array[k_description]" />
<link href="{$BASE_V}css/style.css" rel="stylesheet" type="text/css" />
<script language="javascript">var webpath="{$BASE}";</script>
<script type="text/javascript" src="{$BASE}js/calendar/jquery.min.js"></script>
<script type="text/javascript" src="{$BASE}js/zhuna-js/jquery.nyroModal-1.6.2.pack.js"></script>
<script type="text/javascript" src="{$Order_api}room.utf8.js"></script>
<link href="{$Order_api}/room.utf8.css" rel="stylesheet" type="text/css" />
</head>

<body>
  <!--{template inc/top}-->
  <div id="container">
  <!--{template inc/header}-->
    <div id="nav_son" class="nav_son">
	  <span><a href="{PHP_SELF}?m=order" class="cxdd">查询我的订单状态</a></span>
	     当前位置：<a href="/">首页</a> &gt;&nbsp;<a href="{PHP_SELF}?m=allcity">全国酒店</a> &gt; <a href="{PHP_SELF}?m=city&cityid=$info[CityID]">$info[CityName]酒店</a> &gt;&nbsp;<a href="{PHP_SELF}?m=hotellist&cityid=$info[CityID]&rank=${common::hotelranknamenum($info[star])}">{$info[CityName]}${common::hotelrankname($info[star])}酒店</a>&gt;&nbsp;$info[HotelName]
    </div>  
    <!--{template inc/topad}-->
    <div id="miancont">
      <div id="mian_ileft">
        <div class="list_tit">
			<!--{template inc/hotel_search}-->
        </div>
        <div style="background:url(images/info_bj_07.jpg) repeat-x; padding-bottom:5px;" class="list_tit">
          <h1 >$info[HotelName]</h1>
        </div>
        <div class="info_nav">
          <ul>
			<li><a id="info_current">酒店介绍</a></li>
            <li><a>酒店图片</a></li>
            <li><a>客人点评</a></li>
            <li><a>交通地图</a></li>
            <li><a>酒店问答</a></li>
            <li><a>周边酒店</a></li>
          </ul>
        </div>
        <div class="info_gk01">
         <div class="Container" style="width: 269px; height: 178px;">
             <ul class="Slider" id="Slider" style="top: 1px;">
              <!--{model:hotelinfo hpicshow($info[Hotelpictures]) return=pic_array}-->
              <!--{loop $pic_array $v}-->
              	<li><img alt="$v[pic_name]" src='{$picurl}{$v[pic_url]}' width="269" height="178" border='0' /></li>
              <!--{/loop}-->
			 </ul>
             <ul class="rotatorNumber" id="numeric">
            <!--{loop $pic_array $k $v}-->
            <li>${echo $k+1}</li>
			<!--{/loop}-->
            </ul>            
		  </div>
          <DIV class="info_news">
              <UL>
                <LI>酒店等级：<a href="{PHP_SELF}?m=hotellist&cityid=$info[CityID]&rank=${common::hotelranknamenum($info[star])}">${common::hotelrankname($info[star])}</a> </LI>
                <LI>客人印象：<!--{model:hotelinfo tags_ary($info[Tags]) return=tags_ary}--><!--{loop $tags_ary $v}--><span>$v</span>
            <!--{/loop}--></li> </LI>
                <LI>开业时间：{$info[kaiye]}　　&nbsp;&nbsp;装修时间：{$info[zhuangxiu]} </LI>
                <LI>商业区域：<a href="{PHP_SELF}?m=hotellist&cityid=$info[CityID]&cbd_id=$info[cbd_id]">$info[cbd_name]</a> </LI>
                <LI>酒店地址：$info[Address] </LI>
                <LI>酒店地图：<a href="{PHP_SELF}?m=hotelmap&hotel_id=$info[hotel_id]">查看$info[HotelName]位置及周边环境</a></LI>
              </UL>
            </DIV>
        </div>
        <div class="info_gk">
          <div class="mianr_tit">
            <h2>酒店房型与价格</h2>
            <span>入住日期&nbsp;<input name="txtComeDate" type="text" value="$sk_array[tm1]" id="txtComeDate" class="input_4" onClick="javascript:event.cancelBubble=true;showCalendar('txtComeDate',false,'txtComeDate','txtOutDate','txtOutDate','$sk_array[tm1]','','','','','text','')"/> 
		   &nbsp;&nbsp;离店&nbsp;<input name="txtOutDate" type="text" value="$sk_array[tm2]" id="txtOutDate" class="input_4" onClick="javascript:event.cancelBubble=true;showCalendar('txtOutDate',false,'txtOutDate','','','$sk_array[tm2]','','','','','text','')"/> 
            <input name="ebooking" type="button" value="" onClick="refreshprice('$info[hotel_id]','$Order_api');" class="anniu_1" />
            </span>
          </div>
          <div style="padding-left:8px;" class="fang_news">
				<div id='h$info[hotel_id]'><p style="text-align:center;"><img src="{$BASE_V}images/loadprice.gif" /></p></div>            
          </div>
          
        </div>
        <div class="info_gk">
          <div class="mianr_tit"><h2>$info[HotelName]简介</h2></div>
          <div class="info_fwss">
            <ul>
              {if $info[Traffic]<>""}<li>位置距离：${hotelinfo::Select_Info($info[Traffic])}</li>{/if}
              {if $info[Service]<>""}<li>服务设施：${hotelinfo::Select_Info($info[Service])}</li>{/if}
              {if $info[Canyin]<>""}<li>餐饮服务：${hotelinfo::Select_Info($info[Canyin])}</li>{/if}
              {if $info[Card]<>""}<li>支持卡类：${hotelinfo::Select_Info($info[Card])}</li>{/if}
            </ul>
          </div>
        </div>
        <div class="info_gk" id="hotelphoto">
          <div class="mianr_tit"><h2>$info[HotelName]酒店图片</h2></div>
          <div class="info_hpic">
              <!--{model:hotelinfo hpicshow($info[Hotelpictures]) return=pic_array}-->
              <!--{loop $pic_array $k $v}-->            
          	  <a href="{$picurl}{$v[pic_url]}" rel="gal"><img alt="$v[pic_name]" src="{$picurl}{$v[pic_url]}" width="160" height="120" />$v[pic_name]</a>
          	  <!--{/loop}-->
            </div>
        </div>
        <div class="info_gk" id="hotelcomment">
          <div class="mianr_tit"><h2>$info[HotelName]酒店客人评价</h2></div>
        <!--{model:hotelinfo comment_list($info[hotel_id], 3) return=comment_ary}-->
        $comment_ary[nofind]
        <!--{loop $comment_ary[rs] $k $v}-->
          <div class="dp_box">
 
   	        <div class="dp_box_r">
   	          <dl>
   	            <dt>$v[yonghu]于 $v[addtime] 发表 </dt>
   	            <dt>点评酒店：<a title="$info[HotelName]" 
  href="{PHP_SELF}?m=hotelinfo&hotel_id=$info[hotel_id]">$info[HotelName]）</a> 　 </dt>
   	            <dd>$v[content] </dd>
              </dl>
            </div>
          </div>
          <!--{/loop}-->
        </div>
        <div class="info_gk" id="hotelmap">
          <div class="mianr_tit"><h2>$info[HotelName]酒店地图</h2></div>
          <div class="info_index_map">
            <div id="DP_Map_Show" style="height:350px;border:0px #CCC solid;margin-left:7px;"></div>
          </div>        
        </div>
        <div class="info_gk">
          <div class="mianr_tit"><h2>$info[HotelName]客人提问</h2></div>
        <!--{model:hotelinfo qa_list($info[hotel_id], 3) return=qa_list}-->
        <!--{$qa_list[nofind]}-->
        <!--{loop $qa_list[rs] $k $v}-->
          <div class="dp_box">
   	        <div class="dp_box_r">
   	          <dl>
   	            <dt>$v[yonghu]于 $v[addtime]</dt>
   	            <dt>提问说：$v[question]</dt>
   	            <dd>回答：$v[answer] </dd>
              </dl>
            </div>
          </div>
          <!--{/loop}-->
        </div>        
        <div class="info_gk">
          <div class="mianr_tit">
            <h2>$info[HotelName]附近其它酒店</h2></div>
          <div class="info_hpic2">
            <ul>
			<!--{model:hotelinfo getNearbyHotels($info['NearbyHotels'], 4, 'limit') return=nearbyHotels_ary_b}-->          
			<!--{loop $nearbyHotels_ary_b[rs] $k $v}-->
			<li><a href='{PHP_SELF}?m=hotelinfo&hotel_id=$v[hotel_id]' title='$v[hotelname]'><img alt="$v[hotelname]" src='$v[picture]' border='0' width="160px" height="120px"/>$v[hotelname_strlen]</a>相距：$v[juli]公里<br><em>$v[min_price]元起订</em></li>
			<!--{/loop}-->

			</ul>
		  </div>
        </div>
      </div>
      <div id="mian_iright">
        <!--{template inc/hotel_safeguard}-->
		<!--{template inc/hotel_brand}-->
		<!--{template inc/hotel_history}-->
      </div>
    </div>
    <!--{model:hotelinfo getNearbyHotels($info['NearbyHotels'], 10) return=nearbyHotels_ary}-->
<script  language="javascript" >loadPrice('$info[hotel_id]','$sk_array[tm1]','$sk_array[tm2]');</script>
<script type="text/javascript">
j.include("{$BASE}js/calendar/Date.js","{$BASE}js/calendar/calendar.js","{$BASE}js/calendar/citys.js","{$BASE}js/calendar/city_menu.js","{$BASE}js/zhuna-js/mapbar31.2.js");
j.includecss("{$BASE}js/calendar/city_menu.css","{$BASE}js/zhuna-js/nyroModal.css");
$(function(){$('.info_hpic a').nyroModal({bgColor: '#D5E6ED'});
initMap();
var len  = $("#numeric > li").length;var index = 0;
var interval = setInterval(function(){rotatorimg(index);index++;if(index==len){index=0;}},5000);
$("#numeric li").mouseover(function(){index= $("#numeric li").index(this);rotatorimg(index);});	
//alert(ZNDate.getDateTip(ZNDate.format(ZNDate.plus(ZNDate.today(),3))));
$(".info_index_list ul li").each(function(i,a){var ia=i+1;$(this).mouseover(function(a){showhotel($(this).attr("rel"),ia);$(this).css({backgroundImage:"url({$BASE_V}images/icon4.gif) no-repeat scroll 3px 11px transparent",backgroundColor:"#eee"}).siblings().css({backgroundColor:"#fff",backgroundImage:"url({$BASE_V}images/icon4.gif) no-repeat scroll 3px 11px transparent"});})});

});
$(".info_nav ul li").click(function(){rollto($(this).find("a").html());});
$("#info_top_con ul").find("li:eq(1) span").each(function(){if(!!$(this).html())$(this).addClass("yx").css({"background-color":""+("#"+rancolor())+""}).mouseover(function(){$(this).css({"background-color":"#1F78D0"})}).mouseout(function(){$(this).css({"background-color":"#"+rancolor()})})});
function rollto(v){
this.roll=function(s){$('html').animate({scrollTop:$(".info_gk").eq(s).offset().top},'fast');$('body').animate({scrollTop:$(".info_gk").eq(s).offset().top},'fast');}
switch(v){
case "酒店介绍":this.roll(0);break;
case "酒店图片":this.roll(2);break;
case "客人点评":this.roll(3);break;
case "交通地图":this.roll(4);break;
case "酒店问答":this.roll(5);break;
case "周边酒店":this.roll(6);break;}
}

var maplet = null,mData=[{$nearbyHotels_ary[jsItem]}],mks=new Array(),polyline;
function initMap(){
	maplet = new Maplet("DP_Map_Show");
	maplet.centerAndZoom(new MPoint('北京市'),8);
	maplet.addControl(new MStandardControl());
	maplet.showOverview(false);	
	var mk=new MMarker(   
				new MPoint("$info[MapPoint]"),   
				new MIcon("{$BASE_V}images/0.gif",34,36), 
				null,
				new MLabel("$info[HotelName]",10,-8,80)
			);
	maplet.addOverlay(mk);
	mks.push(mk)
	for(var i=0;i<mData.length;i++){
		var mk=new MMarker(   
				new MPoint(mData[i][3]),   
				new MIcon("{$BASE_V}images/No/"+(i+1)+".gif",17,22),   

				new MInfoWindow(mData[i][1],'<img src="'+mData[i][2]+'" width="86" height="68" align="left" style="margin:5px;">名称：'+mData[i][1].substring(0,12)+'<br>价格：最低'+mData[i][5]+'元起订<br>地址：'+mData[i][4].substring(0,25)+'<br><a href="{PHP_SELF}?m=hotelinfo&hotel_id='+mData[i][0]+'" target="_blank">了解酒店详情>></a>'),
				
				null); 
		maplet.setIwStdSize(300,150); 
		maplet.addOverlay(mk);
		mks.push(mk);
	}
	maplet.setAutoZoom();
};
function showhotel(id,i){
	maplet.removeOverlay(polyline); 
	mks[i].openInfoWindow();
	for(var i=0;i<mData.length;i++){
		if(mData[i][0]==id){
			    var brush = new MBrush("blue");brush.stroke = 15;brush.overlap.enable = true;   
				polyline = new MPolyline([new MPoint("$info[MapPoint]"),new MPoint(mData[i][3])],brush);
				polyline.setEditable(true);
				maplet.addOverlay(polyline); 
				mks.push(polyline);
				maplet.setAutoZoom();
		}
	}
}
</script>      
    <!--{template inc/footer}-->
  </div>
<form action="{PHP_SELF}" method="get" target="_blank" name="doBook" id="doBook">
  <input name="m" type="hidden" value="ebook"/>
  <input name="hid" type="hidden"/>
  <input name="rid" type="hidden" />
  <input name="pid" type="hidden" />
  <input name="tm1" type="hidden" value="$sk_array[tm1]" />
  <input name="tm2" type="hidden" value="$sk_array[tm2]" />
</form> 
</body>
</html>
