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

其他行业

开发平台:

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. </head>
  9. <%
  10.     sqlstr1="select * from trip_solhomelandinfor order by soltime"
  11.    
  12.     sqlstr2="select * from trip_soloverseasinfor order by soltime"
  13. %>
  14. <body leftmargin="0" topmargin="0"  bottommargin="0" rightmargin="0" link="#3357B3" vlink="#3357B3" alink="#3357B3" bgcolor="#e8eefc">
  15. <table width="734" height="100%" cellpadding="0" cellspacing="0">
  16. <tr>
  17.   <td valign="top" class="Main">
  18. <p class="NoBreakBeforeAfter"><img src="../wy_trip_images/TopCol3.gif" WIDTH="247" HEIGHT="23"></p>
  19. <p class="NoBreakBeforeAfter"><img src="../wy_trip_images/HeaderOtherDestination.gif" width="229" height="28"></p>
  20. <p class="Indented1" align="center">国内/国外 旅游解决方案</p>
  21. <table width="100%"  border="0" cellspacing="0" cellpadding="0">
  22.               <tr>
  23.                 <th colspan="2" scope="col">名称</th>
  24.                 <th width="15%" scope="col">类型</th>
  25.                 <th width="18%" scope="col">地点</th>
  26.                 <th width="16%" scope="col">费用</th>
  27.                 <th width="12%" scope="col">说明</th>
  28.                 <th width="19%" scope="col">更新时间</th>
  29.               </tr>
  30.   <tr>
  31.                 <td colspan="7"><hr color="#CCCCCC"></td>
  32.               </tr>
  33.             </table> <p class="Indented1" align="center">&nbsp;</p>
  34. <table width="100%"  border="0" cellspacing="0" cellpadding="0">
  35.               <tr>
  36.                 <td colspan="7">&nbsp;</td>
  37.               </tr>
  38.   <%
  39.       set rst=server.CreateObject("adodb.recordset")
  40.   rst.open sqlstr1,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><div align="center"></div>                  
  54.                   <div align="right"><b>国内:</b>&nbsp;</div></td>
  55.                 <td><div align="left"><%=solname%></div></td>
  56.                 <td width="15%"><div align="center"><%=soltype%></div></td>
  57.                 <td width="19%"><div align="center"><%=soladdress%></div></td>
  58.                 <td width="15%"><div align="center"><%=solmoney%></div></td>
  59.                 <td width="12%"><div align="center"><a href="wy_trip_solshow.asp?inforid=<%=solid%>&inforkind=0&solname=<%=solname%>"><font color="#0000FF">详细内容</font></a></div></td>
  60.                 <td width="19%"><div align="center"><%=soltime%></div></td>
  61.               </tr>
  62.   <%
  63.             rst.movenext
  64.     loop
  65. end if
  66. rst.close
  67. set rst=nothing
  68.   
  69.   %>
  70.               <tr>
  71.                 <td width="6%">&nbsp;</td>
  72.                 <td width="14%">&nbsp;</td>
  73.                 <td>&nbsp;</td>
  74.                 <td>&nbsp;</td>
  75.                 <td>&nbsp;</td>
  76.                 <td>&nbsp;</td>
  77.                 <td>&nbsp;</td>
  78.               </tr>
  79.             </table>
  80.             <table width="100%"  border="0" cellspacing="0" cellpadding="0">
  81.               <tr>
  82.                 <th width="6%" scope="col">&nbsp;</th>
  83.                 <th width="14%" scope="col">&nbsp;</th>
  84.                 <th width="15%" scope="col">&nbsp;</th>
  85.                 <th width="19%" scope="col">&nbsp;</th>
  86.                 <th width="15%" scope="col">&nbsp;</th>
  87.                 <th width="12%" scope="col">&nbsp;</th>
  88.               </tr>
  89.   <%
  90.       set rst=server.CreateObject("adodb.recordset")
  91.   rst.open sqlstr2,conn,1,1
  92.   
  93.   if not(rst.eof or rst.bof) then
  94.      do while(not rst.eof)
  95.      solid2=rst("id")
  96.      solname2=rst("solname")
  97.  soltype2=rst("soltype")
  98.  soladdress2=rst("soladdress")
  99.  solmoney2=rst("solmoney")
  100.  soltime2=rst("soltime")
  101.   
  102.   %>
  103.               <tr onmouseover=this.style.backgroundColor="#cccccc";return  onmouseout=this.style.backgroundColor=''; true;>
  104.                 <td><div align="center"></div>                  
  105.                   <div align="right"><b>国外:</b>&nbsp;</div></td>
  106.                 <td><div align="left"><%=solname2%></div></td>
  107.                 <td><div align="center"><%=soltype2%></div></td>
  108.                 <td><div align="center"><%=soladdress2%></div></td>
  109.                 <td><div align="center"><%=solmoney2%></div></td>
  110.                 <td><div align="center"><a href="wy_trip_solshow.asp?inforid=<%=solid2%>&inforkind=1&solname=<%=solname2%>"><font color="#0000FF">详细内容</font></a></div></td>
  111.                 <td width="19%"><div align="center"><%=soltime2%></div></td>
  112.               </tr>
  113.   <%
  114.             rst.movenext
  115.     loop
  116. end if
  117. rst.close
  118. set rst=nothing
  119.   
  120.   %>
  121.               <tr>
  122.                 <td>&nbsp;</td>
  123.                 <td>&nbsp;</td>
  124.                 <td>&nbsp;</td>
  125.                 <td>&nbsp;</td>
  126.                 <td>&nbsp;</td>
  127.                 <td>&nbsp;</td>
  128.               </tr>
  129.             </table>        
  130.         <p>&nbsp;</p></td>
  131. </tr>
  132. </table>
  133. </body>
  134. </html>