wy_trip_solho.asp
上传用户:hnxqingdao
上传日期:2013-05-22
资源大小:1283k
文件大小:4k
源码类别:

其他行业

开发平台:

ASP/ASPX

  1. <!--#include file="../wy_trip_inc/wy_trip_cnn.inc"-->
  2. <html>
  3. <head>
  4. <title>PTrip Server 2005 For 数据库课程设计
  5. </title>
  6. <META http-equiv=Content-Type content="text/html; charset=gb2312">
  7. <link rel="stylesheet" type="text/css" href="../wy_trip_css/wy_trip.css">
  8. <link rel="stylesheet" type="text/css" href="../wy_trip_css/wy_trip_scolsub.css">
  9. </head>
  10. <%
  11. '获得解决方案类型(国内&国外)
  12. solad=request.QueryString("soladdress")
  13. if(solad=0)then
  14.     sqlstr="select * from trip_solhomelandinfor order by soltime"
  15.     else
  16.     sqlstr="select * from trip_soloverseasinfor order by soltime"
  17. end if
  18. %>
  19. <body leftmargin="0" topmargin="0"  bottommargin="0" rightmargin="0" link="#3357B3" vlink="#3357B3" alink="#3357B3" bgcolor="#e8eefc">
  20. <table width="734" height="100%" cellpadding="0" cellspacing="0">
  21. <tr>
  22.   <td valign="top" class="Main">
  23. <p class="NoBreakBeforeAfter"><img src="../wy_trip_images/TopCol3.gif" WIDTH="247" HEIGHT="23"></p>
  24. <p class="NoBreakBeforeAfter"><img src="../wy_trip_images/HeaderOtherDestination.gif" width="229" height="28"></p>
  25. <p class="Indented1" align="center"><%=soladdress%> 游解决方案</p>
  26.             <table width="100%"  border="0" cellspacing="5" cellpadding="0">
  27.               <tr>
  28.                 <th colspan="2" scope="col">名称</th>
  29.                 <th scope="col">类型</th>
  30.                 <th scope="col">地点</th>
  31.                 <th scope="col">费用</th>
  32.                 <th scope="col">说明</th>
  33.                 <th scope="col">更新时间</th>
  34.               </tr>
  35.               <tr>
  36.                 <td colspan="7"><hr color="#CCCCCC"></td>
  37.               </tr>
  38.   <%
  39.       set rst=server.CreateObject("adodb.recordset")
  40.   rst.open sqlstr,conn,1,1
  41.   
  42.   if not(rst.eof or rst.bof) then
  43.      do while(not rst.eof)
  44.      solid=rst("id")
  45.      solname=rst("solname")
  46.  soltype=rst("soltype")
  47.  soladdress=rst("soladdress")
  48.  solmoney=rst("solmoney")
  49.  soltime=rst("soltime")
  50.   
  51.   %>
  52.               <tr onmouseover=this.style.backgroundColor="#cccccc";return  onmouseout=this.style.backgroundColor=''; true;>
  53.                 <td colspan="2"><div align="center"></div>                  <div align="center"><%=solname%></div></td>
  54.                 <td><div align="center"><%=soltype%></div></td>
  55.                 <td><div align="center"><%=soladdress%></div></td>
  56.                 <td><div align="center"><%=solmoney%></div></td>
  57.                 <td><div align="center"><a href="wy_trip_solshow.asp?inforid=<%=solid%>&inforkind=<%=solad%>&solname=<%=solname%>&solho=0"><font color="#0000FF">详细内容</font></a></div></td>
  58.                 <td><div align="center"><%=soltime%></div></td>
  59.               </tr>
  60.   <%
  61.             rst.movenext
  62.     loop
  63. end if
  64. rst.close
  65. set rst=nothing
  66.   
  67.   %>
  68.               <tr>
  69.                 <td>&nbsp;</td>
  70.                 <td>&nbsp;</td>
  71.                 <td>&nbsp;</td>
  72.                 <td>&nbsp;</td>
  73.                 <td>&nbsp;</td>
  74.                 <td>&nbsp;</td>
  75.                 <td>&nbsp;</td>
  76.               </tr>
  77.   <tr>
  78.                 <td>&nbsp;</td>
  79.                 <td>&nbsp;</td>
  80.                 <td>&nbsp;</td>
  81.                 <td>&nbsp;</td>
  82.                 <td>&nbsp;</td>
  83.                 <td>&nbsp;</td>
  84.                 <td><div align="center"><a href="../wy_trip_main/main.asp" target="main"><font color=red>返回上一页</font></a></div></td>
  85.               </tr>
  86.             </table>
  87.       <p>&nbsp;</p></td>
  88. </tr>
  89. </table>
  90. </body>
  91. </html>