<!--#include file="inc/config.asp"-->
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/route_func.asp"-->
<!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=gb2312" />
<title>旅游线路-<%=SiteName%></title>
<meta name="description" content="description" />
<meta name="keywords" content="keywords" />
<link href="style/global.css" rel="stylesheet" type="text/css" />
<link href="style/list.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/marquee.js"></script>
</head>

<body>
<!--#include file="templet/head.htm"-->
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td class="postion">现在位置：<a href="/">首页</a> -&gt; 旅游线路</td>
  </tr>
</table>
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="228" valign="top">
    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="border_yellow">
      <tr>
        <td width="88%" class="topic">酒店分类</td>
      </tr>
      <tr>
        <td bgcolor="#FFFFFF" class="pad5">
        <div class="routes_txt">
        	<ul>
						<li><a href="?id=0" <%if(id=0) then response.Write(" style=""font-weight:bold;""") end if%>>全部</a></li>
						<%
            set rs=conn.execute("select id,title from t_route_catalog")
            while not rs.eof
            %>
            <li><a href="?id=<%=rs(0)%>"<%if(id=rs(0)) then response.Write(" style=""font-weight:bold;""") end if%>><%=rs(1)%></a></li>
            <%
              rs.movenext
            wend 
            rs.close
            set rs=nothing
            %>
          </ul>
          </div>
        </td>
      </tr>
    </table>    
      <div class="br"></div>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="7"><img src="images/topic_l.gif" width="7" height="32" /></td>
          <td width="213" background="images/topic2_bg.gif"><div class="right"><a href="/routes.asp"><img src="images/more.gif" width="49" height="13" border="0" /></a></div>
            <div class="bar_text3">热门线路</div></td>
          <td width="7"><img src="images/topic_r.gif" width="7" height="32" /></td>
        </tr>
        </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td style="border-left:1px solid #B8D5E3; border-right:1px solid #B8D5E3;"><div class="routes_txt">
            <ul>
              <%
							set rs=conn.execute("select top 6 id,Title,Price,Hits from t_route where IsRem=1")
							while not rs.eof
							%>
              <li><a href="/routes_show.asp?id=<%=rs(0)%>" class="STYLE20"><%=rs(1)%></a><span class="STYLE1"> ￥<%=rs(2)%>元/人</span></li>
              <%
								rs.movenext
							wend 
							rs.close
							set rs=nothing
							%>
            </ul>
          </div></td>
        </tr>
        </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="7"><img src="images/b_l.gif" width="7" height="6" /></td>
          <td background="images/b_bg.gif"></td>
          <td width="7"><img src="images/b_r.gif" width="7" height="6" /></td>
        </tr>
    </table>
    <div class="br"></div>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="7"><img src="images/topic_l.gif" width="7" height="32" /></td>
          <td width="213" background="images/topic2_bg.gif"><div class="right"><a href="/hotel.asp"><img src="images/more.gif" width="49" height="13" border="0" /></a></div>
            <div class="bar_text3">推荐酒店</div></td>
          <td width="7"><img src="images/topic_r.gif" width="7" height="32" /></td>
        </tr>
        <tr>
          <td colspan="3" style="border-left:1px solid #B8D5E3; border-right:1px solid #B8D5E3;"><div class="routes_txt">
            <ul>
              <%
							set rs=conn.execute("select top 6 id,Title,MinPrice from t_hotel where IsRem=1")
							while not rs.eof
							%>
              <li><a href="/hotel_show.asp?id=<%=rs(0)%>" class="STYLE20"><%=rs(1)%></a><span class="STYLE1"> ￥<%=rs(2)%>元</span></li>
              <%
								rs.movenext
							wend 
							rs.close
							set rs=nothing
							%>
            </ul>
          </div></td>
        </tr>
        <tr>
          <td width="7"><img src="images/b_l.gif" width="7" height="6" /></td>
          <td background="images/b_bg.gif"></td>
          <td width="7"><img src="images/b_r.gif" width="7" height="6" /></td>
        </tr>
    </table>
    </td>
    <td width="10">&nbsp;</td>
    <td valign="top" class="list_brd">
    <%
				dim carr
				set rs=conn.execute("select id,Title from t_route_catalog order by id asc")
				if not rs.eof then
					carr=rs.getrows()
				end if
				rs.close
				set rs=nothing
				if isarray(carr) then
					for i=0 to ubound(carr,2)
				%>
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td class="list_topic"><div class="list_txt"><span class="right"><a href="routes_list.asp?id=<%=carr(0,i)%>">More&gt;&gt;&nbsp;</a></span><%=carr(1,i)%></div></td>
        </tr>
      <tr>
        <td><div class="list_routes_txt">
          <ul>
            <%
						set rs=conn.execute("select top 10 id,Title,Price,OrderNum,Color from t_route where ClassId="&carr(0,i))
						do while not rs.eof
						%>
          <li>
              <div class="title"><a href="routes_show.asp?id=<%=rs(0)%>" style="color:<%=rs(4)%>"><%=rs(1)%></a></div>
              <div class="price">￥<%=rs(2)%>元/人</div>
              <div class="pnum">预定人数：<span class="red"><%=rs(3)%></span>人</div>
            </li>
            <%
						rs.movenext
					loop 
					rs.close
					set rs=nothing
					%>           
          </ul>
        </div></td>
      </tr>
    </table>
    	<%
				next
			end if
			set carr=nothing
			%>
      </td>
  </tr>
</table>
<!--#include file="templet/root.htm"-->
</body>
</html>
<%
call connclose()
%>