<!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>
</head>

<body>
<!--{template inc/top}-->
  <div id="container">
  <!--{template inc/header}-->
   <div class="nav_son">
      <span>
        <a class="cxdd" href="{PHP_SELF}?m=member">查询我的订单状态</a>
      </span>
      	免费预订，酒店前台付款，保证价格比酒店前台价格低，预订成功即给您保留房间！
    </div>    
    <!--{template inc/topad}-->
    <div id="miancont">
      <div id="mian_ileft">
        <div class="list_tit">
          <!--{template inc/hotel_search}-->
        </div>
        <div class="info_gk">
          <div class="mianr_tit">
            <h2>经济连锁酒店</h2>
            <span>共有 <em><!--{show:liansuo getChainCount()}--></em> 家经济连锁酒店，涵盖 <em><!--{show:liansuo getChainCityCount()}--> </em>个城市经济连锁酒店</span>
          </div>
          <div class="ppls">
	      <!--{model:liansuo getchain(0, 100) return=chain_array}-->                          
	      <!--{loop $chain_array $v}-->
	      <a title="$v[chain_name]" href="{PHP_SELF}?m=liansuohotel&chain_id=$v[chain_id]"><img width="50" height="40" alt="$v[chain_name]" src="{$ZNpicurl}{$v[picture]}">$v[chain_name]</a>
	      <!--{/loop}-->          
          </div>
        </div>
        <div class="info_gk">
          <div class="mianr_tit">
            <h2>星级连锁酒店</h2></div>
          <div class="ppls">
	      <!--{model:liansuo getchain(0, 100, 1) return=start_chain_array}-->                                
	      <!--{loop $start_chain_array $v}-->
	      <a title="$v[chain_name]" href="{PHP_SELF}?m=liansuohotel&chain_id=$v[chain_id]"><img width="50" height="40" alt="$v[chain_name]" src="{$ZNpicurl}{$v[picture]}">$v[chain_name]</a>
	     <!--{/loop}-->  
        </div>
        </div>
      </div>
      <div id="mian_iright">
          <!--{template inc/cbd}-->
		  <!--{template inc/welcome}-->
		  <!--{template inc/help}-->        
      </div>
    </div>
 <!--{template inc/footer}-->
  </div>
</body>
</html>
<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(){
if(!$("#tm1").val())$("#tm1").val(ZNDate.format(ZNDate.plus(ZNDate.today(),0)));
if(!$("#tm2").val())$("#tm2").val(ZNDate.format(ZNDate.plus(ZNDate.today(),3)));
$("#index_com .ib_con dl dd,#index_ask .ib_con dl dd").each(function(){$(this).simpletooltip({br:true});});
setkeya();

});
function rollchain(val){
	var box=$(".info_box.rollchain");
	box.find(".box_tit ul").each(function(){$(this).find("li").eq(''+val+'').attr("id","bt_current").siblings().removeAttr("id");});
	box.find(".pp_list ul").eq(''+val+'').show().siblings().hide();
}
function loadcs(id,cityname,a){//v1(obj);
if(($(".box_tit ul li#bt_current span").html()==cityname)&&(!a))return;
$(".tuijianhot dl").each(function(){
if(cityname==$(this).find("span").html()){$(this).attr("id","bt_current")}else{$(this).removeAttr("id");}});
$.ajax({url : "{PHP_SELF}?m=ajkeyword.tuijian",type : 'POST',data: ({cid:id,cname:escape(cityname)}),dataType: "html",beforeSend : function(data){$(this).loading({div:"#ajaxbox",mini:true})},success : function(data){$(".loading").each(function(){$(this).remove()});$("#ajaxboxinfo").html(unescape(data));},timeout:5000,error: function () {$(".loading").each(function(){$(this).remove()});$("<div style=\"-moz-border-radius:3px 3px 3px 3px;color:red;background-color:#FFDDDD;border:1px solid #CCCCCC;margin:0.8em 0 1.2em;padding:5px;text-align:center;\">对不起，请求超时，请您<a href=\"javascript:void(0);\" onClick=\"return loadcs("+id+",'"+cityname+"',1);\">重新查询！</a></div>").insertBefore(".tuijian_con")}});}
function loadWord(aid,c){
	if(c){	$(':input#cityid').val(aid);	$(':input#txtCity').val(c);setColor('#txtCity',3,'#CDEDF8',160);}	
	$('#key').val('');
	$.ajax({url : "{PHP_SELF}?m=ajkeyword&id="+aid,type : 'get',dataType: "html",beforeSend : function(data){$(this).loading({div:"#search",mini:true});},success : function(data){$("#search").css({position:""});$(".loading").each(function(){$(this).remove()});$("#search2").html(data);setkeya();},timeout: 5000,error: function(){$("#search").css({position:""});$(".loading").each(function(){$(this).remove()});$("#search2").html("<div style=\"-moz-border-radius:3px 3px 3px 3px;color:red;background-color:#FFDDDD;border:1px solid #CCCCCC;margin:0.8em 0 1.2em;padding:5px;\">对不起，请求超时，请您<a href=\"javascript:void(0);\" onClick=\"return loadWord("+aid+",'"+c+"');\">重新查询！</a></div>")}
	});	
};
function setkeya(){$("#search2 ul li a").each(function(){$(this).click(function(e){setColor('#key',3,'#CDEDF8',160);$("#key").val($(this).html());e.preventDefault(); });});}
</script>

</html>
