<!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}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>
<link href="{$Order_api}room.utf8.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{$Order_api}room.utf8.js"></script>
</head>
<body>
<!--{template inc/top}-->
<div id="container">
<!--{template inc/header}-->
  <div id="nav_son"><span><a href="{PHP_SELF}?m=member" class="cxdd">查询我的订单状态</a></span>当前位置：<a href="/">首页</a> &gt;&nbsp;<a href="{PHP_SELF}?m=allcity">全国酒店</a> &gt; <a href="{PHP_SELF}?m=city&cityid=$city[cityid]">$city[cityname]酒店</a> &gt;&nbsp;酒店宾馆预订</div>
  <div style="margin-bottom:5px;">{show:common ShowAd('index_top_1')}</div>
  <div id="mainContent">
    <div id="main">
      <div class="list_top">
        <h2><span>免费预订 酒店前台付款</span><strong><a href="{PHP_SELF}?m=city&cityid=$city[cityid]">$city[cityname]酒店预订</a>(<a href="{PHP_SELF}?m=weather&cityid=$city[cityid]">$cityinfo[cityname]天气</a> <a href="{PHP_SELF}?m=map&cityid=$city[cityid]">$cityinfo[cityname]地图</a>)</strong><small>（缩小搜索范围　）</small><a style="padding-left:0px; padding-right:7px; text-decoration:underline" href="{PHP_SELF}?m=hotellist&cityid=$sk_array[cityid]">清除条件X</a></h2>
        <div id="list_filter">
          <dl>
            <dt>价格范围</dt>
            <dd> <a href="{$url_price}"{if !in_array($price_now,$price_array)} class="sx_curr"{/if}>全部</a>
            <!--{loop $price_ary $k $v}-->
            ${$price_array = explode('-', $k);}
              <a href="{$url_price}&minprice=$price_array[0]&maxprice=$price_array[1]"{if $minprice==$price_array[0] && $maxprice==$price_array[1]} class="sx_curr"{/if}>$v</a>
            <!--{/loop}-->
            </dd>
          </dl>
		  <!--{if empty($key)}-->
          <dl>
            <dt>著名商圈</dt>
            <dd><span><a class="more">更多</a></span><a href="{$url_cbd_id}"{if empty($cbd_id)} class="sx_curr"{/if}>全部</a>
            <!--{model:hotellist getSearchCbd($city[cityid], $cbd_id, 38) return=cbd_rs}-->
            	<!--{loop $cbd_rs $v}-->
                <a href="{$url_cbd_id}&cbd_id=$v[cbd_id]" title="$v[cbd_name]"{if $cbd_id == $v[cbd_id]} class="sx_curr"{/if}>$v[cbd_name]</a>
                <!--{/loop}-->
            </dd>
          </dl>
		  <!--{/if}-->
          <!--{if $chain_id<1}-->         
          <dl>
            <dt>星级档次</dt>
            <dd><a href="{$url_rank}"{if empty($rank)} class="sx_curr"{/if}>全部</a>
            <!--{loop $rank_ary $k $v}-->
              <a href="{$url_rank}&rank=$k"{if $rank == $k} class="sx_curr"{/if}>$v</a>
            <!--{/loop}-->
            </dd>
          </dl>
          <!--{/if}-->
          <dl>
            <dt>品牌连锁</dt>
            <dd><span><a class="more">更多</a></span><a href="{$url_chain_id}"{if empty($chain_id)} class="sx_curr"{/if}>全部</a>
			<!--{model:hotellist getSearchLiansuo($city[cityid], $chain_id, 25) return=chain_array}-->            
            <!--{loop $chain_array $v}-->
              <a href="{$url_chain_id}&chain_id=$v[chain_id]" title="$v[chain_name]"{if $v[chain_id] == $chain_id} class="sx_curr"{/if}>$v[chain_name]</a>
            <!--{/loop}-->
            </dd>
          </dl>
        </div>
      </div>
      <div class="MapNewCss" id="divmap" style="display:none;">
        <iframe width="720px;" height="340px;" frameborder="no" scrolling="no" name="ifrMapURL" id="ifrMapURL"></iframe>
      </div>
      <div id="list">
        <div class="list_tab"> <span>
          <input type="checkbox" name="mapon" id="mapon" />
          <label for="mapon">显示地图</label>
          </span>
          <ul>
            
            <li><a ${hotellist::getpx_style($px,1)}href="{$url_px}1">网站推荐</a></li>
            <li><a ${hotellist::getpx_style($px,2)}href="{$url_px}2">价格排序</a></li>
            <li><a ${hotellist::getpx_style($px,3)}href="{$url_px}3">星级排序</a></li>
            <li><a ${hotellist::getpx_style($px,4)}href="{$url_px}4">人气排序</a></li>
            {if !empty($key)}
            <li><a ${hotellist::getpx_style($px,5)} href="{$url_px}5">距离排序</a></li>
            {/if}
          </ul>
        </div>
        <div class="list_con">
            <!--{if !empty($nofind)}-->
            $nofind
            <!--{/if}-->    
          <!--list begin-->
          <!--{loop $hotel_slist $k $v}-->
          <div class="list_box div$k">
            <div class="lb_pic">
              <dl>
                <dt><img src="{$picurl}{$v[picture]}" width="100" height="80" /><a href="{PHP_SELF}?m=hotelpicture&hotel_id=$v[hotel_id]">更多图片</a></dt>
                <dd><img src="{$BASE_V}images/star/star{if $v[star]>9}9{else}$v[star]{/if}.gif" height="16" /><br />
                  点评：<span>${$haoping_array = explode('$', $v[haoping]); echo array_sum($haoping_array);}条</span><br />
                  <span>${echo hotellist::manyidu($v[haoping])}%满意度</span><br />
                  <a href="{PHP_SELF}?m=hotelcomment&hotel_id=$v[hotel_id]" target="_blank"><img src="{$BASE_V}images/but_03.gif" width="74" height="19" /></a><br />
                  <a href="{PHP_SELF}?m=hotelmap&hotel_id=$v[hotel_id]"><img src="{$BASE_V}images/but_04.gif" width="74" height="19" /></a></dd>
              </dl>
            </div>
            <div class="lb_con">
              <h2><span style="cursor:pointer;" onClick="return map($k);"><img src="{$BASE_V}images/No/${echo $k+1}.gif" width="17" height="22" align="absmiddle" /> 查看地图</span><a href="{PHP_SELF}?m=hotelinfo&hotel_id=$v[hotel_id]" target="_blank">$v[hotelname]</a></h2>
              <dl>
                <dt>地址：</dt>
                <dd style=" height:20px; overflow:hidden;">{if $v[address] != ''}$v[address]{/if}　　{if $v[cbd_name] != ''}所属区域：<a href="{PHP_SELF}?m=hotellist&cityid=$v[cityid]&cbd_id=$v[cbd_id]">$v[cbd_name]</a>{/if}</dd>
              </dl>
              <dl>
                <dt>简介：</dt>
                <dd>{if $v[content] == ''}暂无简介{else}${echo Functions::cut_str(trim($v[content],'　　'), 75);}{/if}</dd>
              </dl>
              <dl>
                <dt>地标：</dt>
                <dd>
                {if $v[nearbypoints] != ''}
                  ${$dibiao = explode(',', $v[nearbypoints]); shuffle($dibiao);}
                  {loop $dibiao $kk $vv}
                  ${$dibiao_ary = explode(':', $vv)}
                  <a href="{PHP_SELF}?m=hotellist&cityid=$v[cityid]&key=${echo urlencode($dibiao_ary[0])}">$dibiao_ary[0]</a>
                  {if $kk==4}<a href="{PHP_SELF}?m=hotellable&hotel_id=$v[hotel_id]" target="_blank">更多</a>${break;}{/if}
                  {/loop}
                {/if}                  
                </dd>
              </dl>
              
              {if !empty($key)}
              <dl>
                <dt>距离：</dt>
                <dd style=" color:#f00;">当前酒店距离<strong>"$key"</strong>$v[juli]公里</dd>
              </dl>
              {/if}
              
              <div class="list_room">
                <div id="h$v[hotel_id]">
                  <p style="text-align:center;"><img src="{$BASE_V}images/loadprice.gif" /></p>
                </div>
              </div>
            </div>
            <div class="clearfloat"></div>
          </div>
          <!--{/loop}-->
          <!--list end-->          
	     {$page}
          <div class="list_box1">
            
            <h4><a href="{PHP_SELF}?m=lable&cityid=$city[cityid]" target="_blank">$city[cityname]</a>热点区域附近酒店</h4>
            
            <ul>
            <!--{model:hotelLeft point_info_list($city[cityid], 20) return=lable_ary_bottom}-->
            <!--{loop $lable_ary_bottom $k $v}-->
              <li><a href='{PHP_SELF}?m=lable&cityid=$v[cityid]&classid=$v[classid]' target='_blank'><span>[{$v[classname]}]</span></a><a href='{PHP_SELF}?m=hotellist&cityid=$v[cityid]&key={$v[key_urlencode]}' title='$v[key]附近酒店'>$v[key]附近酒店</a></li>
            <!--{/loop}-->
            </ul>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div id="side">
    <!--{template inc/search}-->
    <!--{template inc/cbd}-->
    <!--{template inc/hotel_city}-->
    <!--{template inc/search_list}-->        
    <!--{template inc/hotel_welcome}-->        
    <!--{template inc/lable_class_b}-->        
    <!--{template inc/side_news}-->        
	<!--{template inc/side_help}-->
	<!--{template inc/hotel_cookes}-->        
  </div>
  <div class="clearfloat"></div>
<!--{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="$tm1" />
  <input name="tm2" type="hidden" value="$tm2" />
</form>
</body>
</html>
<script  language="javascript" >loadPrice('$hid','$tm1','$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");
j.includecss("{$BASE}js/calendar/city_menu.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)));
//alert(ZNDate.getDateTip(ZNDate.format(ZNDate.plus(ZNDate.today(),3))));
tooltip();
$.get("{PHP_SELF}?m=ajkeyword.saveSearchCondition&cbd_id={$cbd_id}&rank={$rank}&chain_id={$chain_id}&px={$px}&key=$sk_array[key]&hn=$sk_array[hn]&maxprice=$maxprice&minprice=$minprice");
});
$("#list_filter dl dd a[class!='more'][class!='more1']").click(function(){$(this).loading({div:"#mainContent"})});
$("#list_filter dl dd span a").click(function(){
	var s=($(this).attr("class")=="more1")?"more":"more1";
	if(s=="more1"){
	$(this).parent().parent().attr("style","height:auto");}else{$(this).parent().parent().attr("style","height:25px");}
	$(this).attr("class",s);
});
function tooltip(){
$(".list_con div.list_box div.lb_pic dl dt img").each(function(){$(this).simpletooltip({html:'<img src="' + $(this).attr("src").replace(/160x120_/i,'500x375_') + '" width="318" height="238"/>',br:false});});
}
$("input[name='mapon']").click(function(){
	if(($("#divmap").css('display')=="none")&&($("input[name='mapon']").attr("checked")==true)){
		$("#divmap").css({"display":""});
		$("#ifrMapURL").attr("src","{PHP_SELF}?m=hotel_map&hotels={$hid}&h=340&w=720&cityid={$city[cityid]");
	}else{
	    $("#divmap").attr("style","display:none");
	}});
function map(n){
	if((($("input[name='mapon']:checked").length==0)||($("#divmap").css('display')=="none"))){
		$("input[name='mapon']").attr("checked",true);
		$("#divmap").css({"display":""});
		$("#ifrMapURL").attr("src","{PHP_SELF}?m=hotel_map&hotels={$hid}&h=340&w=720&cityid=$city[cityid]");
	}
	if($.browser.msie){
		if(typeof(window.frames.ifrMapURL.document.body.onload)!="function"){setTimeout("map("+n+")",500)}else{window.frames["ifrMapURL"].openMInfo(n)};
	}else{
		if(typeof(window.frames.ifrMapURL.onload)!="function"){setTimeout("map("+n+")",500)}else{window.frames.ifrMapURL.openMInfo(n)};
	}
}
function rollhotel(n){
	setColor(".list_con div.list_box.div"+n+"",5,"#CDEDF8",160);
	if($(".list_con div.list_box").length<2)return;
	$(".list_con div.list_box").each(function(){$(this).removeAttr("style")});
	var s=$(".list_con div.list_box.div"+n+"");
	s.remove();
	s.insertBefore(".list_con div.list_box:eq(0)");
	$('html').animate({scrollTop:$("#divmap").offset().top}, 'fast');
    $('body').animate({scrollTop:$("#divmap").offset().top}, 'fast');
	tooltip();
}
</script>