wy_trip_solutionshow.asp
资源名称:lyxxgl.rar [点击查看]
上传用户:hnxqingdao
上传日期:2013-05-22
资源大小:1283k
文件大小:5k
源码类别:
其他行业
开发平台:
ASP/ASPX
- <!--#include file="../wy_trip_inc/wy_trip_cnn.inc"-->
- <html>
- <head>
- <title>PTrip Server 2005 For 数据库课程设计
- </title>
- <META http-equiv=Content-Type content="text/html; charset=gb2312">
- <link rel="stylesheet" type="text/css" href="../wy_trip_css/wy_trip.css">
- </head>
- <%
- sqlstr1="select * from trip_solhomelandinfor order by soltime"
- sqlstr2="select * from trip_soloverseasinfor order by soltime"
- %>
- <body leftmargin="0" topmargin="0" bottommargin="0" rightmargin="0" link="#3357B3" vlink="#3357B3" alink="#3357B3" bgcolor="#e8eefc">
- <table width="734" height="100%" cellpadding="0" cellspacing="0">
- <tr>
- <td valign="top" class="Main">
- <p class="NoBreakBeforeAfter"><img src="../wy_trip_images/TopCol3.gif" WIDTH="247" HEIGHT="23"></p>
- <p class="NoBreakBeforeAfter"><img src="../wy_trip_images/HeaderOtherDestination.gif" width="229" height="28"></p>
- <p class="Indented1" align="center">国内/国外 旅游解决方案</p>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <th colspan="2" scope="col">名称</th>
- <th width="15%" scope="col">类型</th>
- <th width="18%" scope="col">地点</th>
- <th width="16%" scope="col">费用</th>
- <th width="12%" scope="col">说明</th>
- <th width="19%" scope="col">更新时间</th>
- </tr>
- <tr>
- <td colspan="7"><hr color="#CCCCCC"></td>
- </tr>
- </table> <p class="Indented1" align="center"> </p>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td colspan="7"> </td>
- </tr>
- <%
- set rst=server.CreateObject("adodb.recordset")
- rst.open sqlstr1,conn,1,1
- if not(rst.eof or rst.bof) then
- do while(not rst.eof)
- solid=rst("id")
- solname=rst("solname")
- soltype=rst("soltype")
- soladdress=rst("soladdress")
- solmoney=rst("solmoney")
- soltime=rst("soltime")
- %>
- <tr onmouseover=this.style.backgroundColor="#cccccc";return onmouseout=this.style.backgroundColor=''; true;>
- <td><div align="center"></div>
- <div align="right"><b>国内:</b> </div></td>
- <td><div align="left"><%=solname%></div></td>
- <td width="15%"><div align="center"><%=soltype%></div></td>
- <td width="19%"><div align="center"><%=soladdress%></div></td>
- <td width="15%"><div align="center"><%=solmoney%></div></td>
- <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>
- <td width="19%"><div align="center"><%=soltime%></div></td>
- </tr>
- <%
- rst.movenext
- loop
- end if
- rst.close
- set rst=nothing
- %>
- <tr>
- <td width="6%"> </td>
- <td width="14%"> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </table>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <th width="6%" scope="col"> </th>
- <th width="14%" scope="col"> </th>
- <th width="15%" scope="col"> </th>
- <th width="19%" scope="col"> </th>
- <th width="15%" scope="col"> </th>
- <th width="12%" scope="col"> </th>
- </tr>
- <%
- set rst=server.CreateObject("adodb.recordset")
- rst.open sqlstr2,conn,1,1
- if not(rst.eof or rst.bof) then
- do while(not rst.eof)
- solid2=rst("id")
- solname2=rst("solname")
- soltype2=rst("soltype")
- soladdress2=rst("soladdress")
- solmoney2=rst("solmoney")
- soltime2=rst("soltime")
- %>
- <tr onmouseover=this.style.backgroundColor="#cccccc";return onmouseout=this.style.backgroundColor=''; true;>
- <td><div align="center"></div>
- <div align="right"><b>国外:</b> </div></td>
- <td><div align="left"><%=solname2%></div></td>
- <td><div align="center"><%=soltype2%></div></td>
- <td><div align="center"><%=soladdress2%></div></td>
- <td><div align="center"><%=solmoney2%></div></td>
- <td><div align="center"><a href="wy_trip_solshow.asp?inforid=<%=solid2%>&inforkind=1&solname=<%=solname2%>"><font color="#0000FF">详细内容</font></a></div></td>
- <td width="19%"><div align="center"><%=soltime2%></div></td>
- </tr>
- <%
- rst.movenext
- loop
- end if
- rst.close
- set rst=nothing
- %>
- <tr>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </table>
- <p> </p></td>
- </tr>
- </table>
- </body>
- </html>