<!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 src="{$BASE}js/calendar/jquery.min.js" type="text/javascript"></script>
</head>
<body>
<!--{template inc/header}-->
<div id="maincontent">
    <div class="index_content">
        <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/hotel_news}-->
             <!--{template inc/why}-->
             <!--{template inc/hotel_history}-->
        </div>
        <div class="list_nrttj">
            <div class="hty_nav"> 当前位置：<a href="{PHP_SELF}">首页</a> &gt;&nbsp;<a href="{PHP_SELF}?m=news">出行资讯</a><!--{if !empty($class_id)}-->  &gt;&nbsp;<a href="{PHP_SELF}?m=news&class_id=$class_id">$class_info[class_name]</a> <!--{/if}-->
            </div>
            <div class="roomsyBox mtop">
                <div class="roomsy_head">
                    <h3>图片资讯</h3>
                </div>
                <div class="fangxingnr">
                    <div class="info_hpic"> 
		              <!--{model:news getArticleImg() return=article_img_ary}-->
		              <!--{loop $article_img_ary $k $v}-->
		              <a  href="{PHP_SELF}?m=newsinfo&aid=$v[aid]" target="_blank" title="$v[title]"><img src="$v[img]" alt="$v[title]" width="160" height="120" />$v[title]</a>
		              <!--{/loop}-->                    
                    </div>
                </div>
            </div>
            <div class="roomsyBox mtop">
                <div class="roomsy_head">
                    <h3>资讯</h3>
                </div>
                <div class="fangxingnr">
                    <div class="zx_list">
                        <ul>
				              <!--{model:news getArticleList(20,$class_id) return=article_ary}-->          
				              <!--{if $article_ary[ErrorMsg]}-->
				              <li>$article_ary[ErrorMsg]</li>
				              <!--{/if}-->            
				              <!--{loop $article_ary[rs] $v}-->
				                <li><span>$v[time]</span>
				                  <a href="{PHP_SELF}?m=news&class_id=$v[class_id]" title="$v[class_name]">[{$v[class_name]}]</a>&nbsp;<a href="{PHP_SELF}?m=newsinfo&aid=$v[aid]">$v[title]</a>
				                </li>
				              <!--{/loop}-->                            
                        </ul>
                        <!--{$article_ary[page]}-->
                    </div>
                </div>
            </div>
        </div>
    </div>
<!--{template inc/footer}-->
</div>
</body>
<script>
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)));
});
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>
</html>
