<!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/tools.js"></script>
<script type="text/javascript" src="{$BASE}js/calendar/jquery.min.js"></script>
<script type="text/javascript" src="{$BASE}js/lable.js"></script>
</head>
<body>
<!--{template inc/header}-->
<div id="maincontent">
    <div class="index_content">
        <div class="list_nrttj">
            <div class="hty_nav"><span>您所在位置：</span> <a href="/" target="_blank">首页</a>&gt;&nbsp;
                <h1 class="hotel_location"><a href="{PHP_SELF}?m=lable" target="_blank">$sk_array[cityname]地标</a></h1>
            </div>
            <div class="roomsyBox mtop">
                <div class="roomsy_head">
                    <h3>热门城市</h3>
                </div>
                <div class="fangxingnr">
                    <div class="chenglie">
                        <!--{model:lable getProvince() return=province_ary}-->
                        <!--{loop $province_ary $v}-->
                        <a href="{PHP_SELF}?m=lable&pid=$v[pid]&cityid=$v[cityid]">$v[pname]</a>
                        <!--{/loop}-->
                    </div>
                    {if !empty($city_ary)}
                    <div class="zx_city_list_son" style="padding:0px 0px 5px 10px;"> {loop $city_ary $v} <a style='color:#f30' href="{PHP_SELF}?m=lable&pid=$pid&cityid=$v[cityid]">$v[cityname]</a>&nbsp;&nbsp;
                        {/loop} </div>
                    {/if}
                    <div style="padding:0px 0px 5px 10px;border:none;" class="cit_hot01" >
                        <form name="school" method="get" action="{PHP_SELF}">
                            <input type="hidden" value="hotellist" name="m" />
                            <select onchange="rplCity(this.value)" id="province" class="ci_xiala01">
                				 {show:lable getSelectProvince($pid)}
                            </select>
                            <select name="cityid" id="cityid">
                                <option selected="selected" value="0">--请先选择城市--</option>
                            </select>
                            <input type="text" title="酒店位置 例如：长安街" value="" id="key" name="key" class="dibiao">
                            <input type="submit" value=" " class="btn0102"/>
                        </form>
                    </div>
                    <script language="javascript">
						rplCity('$pid',$cityinfo[cityid]);
					</script>
                </div>
            </div>
            <div class="roomsyBox mtop">
                <div class="roomsy_head">
                    <h3>城市地标</h3>
                </div>
                <div class="info_map_list">
                    <ul>
                        <!--{model:lable getLableArray($cityinfo[cityid], $classid) return=lable_array}-->
                        <div style="margin-left:10px">$lable_array[nofind]</div>
                        <!--{loop $lable_array[rs] $k $v}-->
                        <li><a title="$v[key]" href="{PHP_SELF}?m=hotellist&cityid=$v[cityid]&rank=0&key=$v[key_urlencode]">$v[key]附近酒店</a></li>
                        <!--{/loop}-->
                    </ul>
                </div>
                <div class="page02">{$lable_array[page]} </div>
            </div>
            
        </div>
        <div class="leibiao_list">
            <DIV id=soso_17u>
                <H3>酒店搜索</H3>
                <DIV class=search_right>
                    <DIV class="search_content search_ba">
                        <!--{template inc/hotel_search}-->
                    </DIV>
                </DIV>
            </DIV>
            <!--{template inc/help}-->
            <!--{template inc/why}-->
            <!--{template inc/hotel_brand}-->
        </div>        
    </div>
    <!--{template inc/footer}-->
</div>
<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)));
});
function cityHotel(obj,chain_id)
{
	$.ajax({
	url : "{PHP_SELF}?m=ajkeyword.getCityHotel",
	type : 'POST',
	data: ({chain_id:chain_id}),
	dataType: "html",
	beforeSend : function(data){$("#chain_city ul").html("查询中...........").show();},
	success : 
		function(data)
		{
			if(data==null){
				 alert("木有数据");
			}
			$("#chain_city ul").html("");
			var dataObj=eval('('+ data +')'); 
			var top = $("#"+obj+"").position().top + 90;
			var left = $("#"+obj+"").position().left;
			if ((top + 200) > document.body.clientHeight) {
				 top = top - 180;
			}			
			$.each( dataObj,function(idx, items){
				cityhtml = "<li><a href=\"{PHP_SELF}?m=hotellist&chain_id="+chain_id+"&cityid="+items.cityid+"\">"+items.cityname+"<\/a><\/li>";
				$("#chain_city ul").append(cityhtml);
			});
			$("#chain_city").css({
						"top": top  + 'px',
						"left": left  + 'px'
					});			
			$("#chain_city").fadeIn("slow");
		}
	,
	timeout:5000,
	error: 
		function () {
			alert("请求超时请重试!");
		}
	});
}

function closeT()
{
	$("#chain_city").fadeOut("slow");
}
</script>
</body>
</html>
