<!--#include file="inc/config.asp"-->
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/route_func.asp"-->
<%
dim id,rs,Stars,Title,Photo,Price1,Price2,Content
if(request.QueryString("id")<>"") then
	id=Clng(request.QueryString("id"))
else
	response.Write("error")
	response.End()
end if
set rs=conn.execute("select id,Title,Photo,Price1,Price2,Content from t_ticket where id="&id)
if not rs.eof then
	Title=rs(1)
	Photo=rs(2)
	Price1=rs(3)
	Price2=rs(4)
	Content=rs(5)
end if
rs.close
set rs=nothing
%>
<!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>景点门票</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>
<script language="javascript">
function goto(frm)
{
	var gourl ="?id=<%=id%>&";
	gourl += "page=" + (frm.page.value);
     var hid=parseInt(frm.hid.value);
	 if(parseInt(frm.page.value)>hid||frm.page.value<=0){
	 alert("错误！请确定你输入的数字在1-"+hid+"之间");
	 return false;
	 }
	window.location.href(gourl);
}</script>
<style type="text/css">
<!--
.STYLE11 {font-size: 14px;color: #FF0000;}
.STYLE12 {font-size: 14px;color: #333333;}
.STYLE32 {color: #FFFFFF; font-size: 14px; }
-->
</style>
</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">
      <tr>
        <td width="12%" class="topic"><img src="images/icon6.gif" width="21" height="14" align="absmiddle" /></td>
        <td width="88%" class="topic">联系我们</td>
      </tr>
      <tr>
        <td colspan="2" bgcolor="#FFFFFF" class="pad5"><!--#include file="right_contact.asp"--></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"><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td class="list_topic"><div class="list_txt">
        <%=Title%>
        </div></td>
        </tr>
      <tr>
        <td><table width="0%" border="0" align="center" cellpadding="2" cellspacing="2">
          <tr>
            <td class="STYLE12">原价:</td>
            <td class="STYLE11"><span class="font_s"><%=Price1%>元/人</span></td>
            <td width="30">　</td>
            <td class="STYLE12">现价:</td>
            <td class="STYLE11"><%=Price2%>元/人</td>
          </tr>
        </table>
          <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
            <tr>
              <td><div align="center">
                <div><a href="<%=Photo%>"><img src="<%=Photo%>" alt=" "  border="0" /></a></div>
              </div></td>
            </tr>
            <tr>
              <td width="72%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td height="4"></td>
                </tr>
              </table></td>
            </tr>
          </table>
          <div>
            <div class="br"></div>
            <table width="98%" border="0" align="center" cellpadding="0" cellspacing="1">
              <tr>
                <td height="30" align="center" background="image/others_bj_3.jpg"><div class="STYLE32"><%=Title%></div></td>
              </tr>
              <tr bgcolor="#ebf4fe">
                <td bgcolor="#ebf4fe"><div class="content">
                  <div align="center">
                    <table width="98%" border="0" cellspacing="2" cellpadding="2">
                      <tr>
                        <td><div align="left"><span class="STYLE12" style="line-height: 180%"><%=Content%></span></div></td>
                      </tr>
                    </table>
                  </div></td>
              </tr>
            </table>
          </div></td>
      </tr>
    </table></td>
  </tr>
</table>
<!--#include file="templet/root.htm"-->
</body>
</html>
<%
call connclose()
%>