⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 listxianlu.asp

📁 旅游管理系统 用ASP+SQL 2
💻 ASP
字号:
<%
dim id
id=request("id")
if id="" then
session("errormsg")="您没有指定线路的ID号!系统无法查找。"
Response.Redirect "error.asp"
else
%>
<!--#include file="includefile/conn.asp" -->
<%
sql="select * from xianlu where id="+ id
rs.Open sql,,1,2
%>
<html>
<head>
<meta name=vs_targetSchema content="HTML 4.0">
<title><%=rs("x_name")%>的祥细资料</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css/css1.css" type="text/css">
</head>

<body bgcolor="#FFFFFF" style="background-color: #999999" text="#000000" topmargin="5">
<!--#include file="includefile/shoubu.asp" -->
<!--#include file="includefile/function.asp" -->
<br>
<%
if isnull(rs("x_n").Value) then
rs("x_n").Value="1"
rs.Update
else
rs("x_n").Value=rs("x_n").Value + 1
rs.Update
end if
%>
<table width="755" border="0" cellspacing="1" cellpadding="0" align="center" bgcolor="#CCCCCC">
  <tr> 
    <td height="125" rowspan="6" align="center" width="268" bgcolor="#FFFFFF"> 
      <%
    if rs("x_jingdiantupian")="nophoto" then
  %>
      <img src="images\nohavephoto.jpg" alt ="此线路没有图片!"> 
      <%
    else
    %>
      <img src ="<%=rs("x_jingdiantupian")%>" width="200" height="100" alt="图片"> 
      <%
    end if
    %>
    </td>
    <td height="25" width="53" align="center" bgcolor="#EfEfEf">ID号:</td>
    <td height="25" width="267" bgcolor="#FFFFFF"> <%=rs("id")%></td>
    <td height="25" width="162" bgcolor="#EfEfEf" align="center"><a href ="giveme.asp?id=<%=rs("id")%>" target =_blank >预订这条线路</a></td>
  </tr>
  <tr> 
    <td height="25" width="53" align="center" bgcolor="#EfEfEf">名称:</td>
    <td height="25" bgcolor="#FFFFFF" colspan="2"> <%=mfkiqpl(rs("x_name"))%></td>
  </tr>
  <tr> 
    <td height="25" width="53" align="center" bgcolor="#EfEfEf">类型:</td>
    <td height="25" bgcolor="#FFFFFF" colspan="2"> <%=mfkiqpl(rs("x_leixun"))%></td>
  </tr>
  <tr> 
    <td height="25" width="53" align="center" bgcolor="#EfEfEf">报价:</td>
    <td height="25" bgcolor="#FFFFFF" width="267"> <%=mfkiqpl(rs("x_baojia"))%></td>
    <td height="25" bgcolor="#EfEfEf" align="center" width="162">此线路已有<b><%=mfkiqpl(rs("x_n"))%></b>人查看</td>
  </tr>
  <tr> 
    <td height="25" width="53" align="center" bgcolor="#EfEfEf">时间:</td>
    <td height="25" bgcolor="#FFFFFF" colspan="2">  <%=mfkiqpl(rs("x_shijian"))%></td>
  </tr>
    <tr> 
    <td height="25" width="53" align="center" bgcolor="#EfEfEf">旅行社:</td>
    <td height="25" bgcolor="#FFFFFF" colspan="2">  <%=rs("x_lxs")%></td>
  </tr>
</table>
<br>
<table width="755" border="0" cellspacing="1" cellpadding="0" align="center" bgcolor="#CCCCCC">
  <tr> 
    <td height="115" bgcolor="#EfEfEf" width="39" align="center"> 
      <p>线<br>
        <br>
        路<br>
        <br>
        说<br>
        <br>
        明</p>
    </td>
    <td height="115" bgcolor="#FFFFFF" width="713" class="text"><%=Replace (rs("x_shuoming"),vbCrLf ,"<br>")%>
      <%=mfkiqpl(rs("x_shuoming_1"))%></td>
  </tr>
</table>
<br>
<table width="755" border="0" cellspacing="1" cellpadding="0" align="center" bgcolor="#CCCCCC">
  <tr> 
    <td height="115" bgcolor="#EfEfEf" width="39" align="center"> 
      <p>线<br>
        <br>
        路<br>
        <br>
        景<br>
        <br>
        点</p>
    </td>
    <td height="115" bgcolor="#FFFFFF" width="713" class="text"><%=mfkiqpl(rs("x_jingdian"))%></td>
  </tr>
</table>
<br>
<table width="755" border="0" cellspacing="1" cellpadding="0" align="center" bgcolor="#CCCCCC">
  <tr> 
    <td height="115" bgcolor="#EfEfEf" width="39" align="center"> 
      <p>行<br>
        <br>
        程<br>
        <br>
        安<br>
        <br>
        排</p>
    </td>
    <td height="115" bgcolor="#FFFFFF" width="713" class="text"><%=mfkiqpl(rs("x_anpai"))%>
      <%=replace (rs("x_anpai_1"),vbCrLf,"<br>")%></td>
  </tr>
</table>
<br>
<table width="755" border="0" cellspacing="1" cellpadding="0" align="center" bgcolor="#CCCCCC">
  <tr> 
    <td height="115" bgcolor="#EfEfEf" width="39" align="center"> 
      <p>备<br>
        <br>
        注</p>
    </td>
    <td height="115" bgcolor="#FFFFFF" width="713" class="text"><%=mfkiqpl(rs("x_zhushi"))%></td>
  </tr>
</table>
<br>
<!--#include file="includefile/weibu.asp" -->
<%
rs.Close
conn.Close
end if
%>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -