wy_trip_solshow.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.     <style type="text/css">
  9. <!--
  10. .style1 {font-size: 6px}
  11. -->
  12.     </style>
  13. </head>
  14. <%
  15. '获得解决方案类型(国内&国外)
  16. solid=request.QueryString("inforid")
  17. solad=request.QueryString("inforkind")
  18. solna=request.QueryString("solname")
  19. solho=request.QueryString("solho")
  20. 'country=request.QueryString("tcountry")
  21. 'city=request.QueryString("tcity")
  22. 'money=request.QueryString("tmoney")
  23. response.Write(solid)
  24. response.Write(solna)
  25. response.Write(solad)
  26. response.Write(country)
  27. response.Write(city)
  28. response.Write(money)
  29. if(solad="")then
  30.    solad=0
  31. end if   
  32. if(solad=0)then
  33.     sqlstr="select * from trip_solhomelandinfor where id="&solid
  34. sqlinfor="select * from trip_solhomeland where solname='"&solna&"'"
  35.     else
  36.     sqlstr="select * from trip_soloverseasinfor where id="&solid
  37. sqlinfor="select * from trip_soloverseas where solname='"&solna&"'"
  38. end if
  39. set rst=server.CreateObject("adodb.recordset")
  40. rst.open sqlstr,conn,1,1
  41. if not (rst.eof or rst.bof) then
  42. solname=rst("solname")
  43. soladdress=rst("soladdress")
  44. soltype=rst("soltype")
  45. solabode=rst("solabode")
  46. solmoney=rst("solmoney")
  47. solnote=rst("solnote")
  48. soltime=rst("soltime")
  49. end if
  50. rst.close
  51. rst.open sqlinfor,conn,1,1
  52. if not(rst.eof or rst.bof) then
  53.     solpic1=rst("solpic1")
  54. solpic2=rst("solpic2")
  55. solpic3=rst("solpic3")
  56. solinfor1=rst("solinfor1")
  57. solinfor2=rst("solinfor2")
  58. solinfor3=rst("solinfor3")
  59. end if
  60. rst.close
  61. set rst=nothing
  62. solpic1="../wy_trip_images/"&solpic1
  63. solpic2="../wy_trip_images/"&solpic2 
  64. solpic3="../wy_trip_images/"&solpic3 
  65. %>
  66. <body leftmargin="0" topmargin="0"  bottommargin="0" rightmargin="0" link="#3357B3" vlink="#3357B3" alink="#3357B3" bgcolor="#e8eefc">
  67. <table width="734" height="100%" cellpadding="0" cellspacing="0">
  68. <tr>
  69.   <td valign="top" class="Main">
  70. <p class="NoBreakBeforeAfter"><img src="../wy_trip_images/TopCol3.gif" WIDTH="247" HEIGHT="23"></p>
  71. <p class="NoBreakBeforeAfter"><img src="../wy_trip_images/HeaderOtherDestination.gif" width="229" height="28"></p>
  72. <p align="center" class="Indented1 style1"><font size="6" color="#3357b3"><b><%=solname%> 旅游解决方案</b></font></p>
  73. <p class="Indented1" align="center">&nbsp;</p>
  74. <table width="100%"  border="0" cellpadding="0" cellspacing="8">
  75.               <tr>
  76.                 <td scope="col">&nbsp;</td>
  77.                 <td colspan="3" scope="col">&nbsp;</td>
  78.               </tr>
  79.               <tr>
  80.                 <td width="22%" scope="col"><div align="center">名称</div></td>
  81.                 <td width="20%" scope="col"><%=solname%></td>
  82.                 <td width="27%" scope="col">&nbsp;</td>
  83.                 <td width="31%" rowspan="3" scope="col"><img src="<%=solpic1%>"></td>
  84.               </tr>
  85.               <tr>
  86.                 <td><div align="center">地点</div></td>
  87.                 <td><%=soladdress%></td>
  88.                 <td>&nbsp;</td>
  89.               </tr>
  90.               <tr>
  91.                 <td><div align="center">类型</div></td>
  92.                 <td><%=soltype%></td>
  93.                 <td>&nbsp;</td>
  94.               </tr>
  95.               <tr>
  96.                 <td><div align="center">景点简介</div></td>
  97.                 <td colspan="3"><%=solinfor1%><br><%=solinfor2%><br><%=solinfor3%></td>
  98.               </tr>
  99.               <tr>
  100.                 <td><div align="center">下榻地点</div></td>
  101.                 <td colspan="3"><%=solabode%></td>
  102.               </tr>
  103.               <tr>
  104.                 <td><div align="center">费用</div></td>
  105.                 <td colspan="3"><%=solmoney%></td>
  106.               </tr>
  107.               <tr>
  108.                 <td><div align="center">说明</div></td>
  109.                 <td colspan="3"><%=solnote%></td>
  110.               </tr>
  111.               <tr>
  112.                 <td><p align="center">更新时间</p>
  113.                 </td>
  114.                 <td colspan="3"><%=soltime%></td>
  115.               </tr>
  116.               <tr>
  117.                 <td><div align="center">预定该方案(联系方式)</div></td>
  118.                 <td colspan="3"><b>E-mail:&nbsp;&nbsp;<a href="http://www.hotmail.com" target="_blank"><font color="#FF9900"><%=session("bookemail")%></font></a>&nbsp;&nbsp;&nbsp;Tel:&nbsp;&nbsp;<font color="#FF9900"><%=session("booktel")%></font></b> </td>
  119.               </tr>
  120.               <tr>
  121.                 <td><div align="center"></div></td>
  122.                 <td colspan="2">我们将以同样的方式在<font color=red><b>24小时内</b></font>回复您的订购情况</td>
  123.                 <%
  124.   
  125.     if(solho=0)then
  126.      if(solad=0) then
  127.          pagename="wy_trip_solho.asp?soladdress=0"
  128.      else
  129.         pagename="wy_trip_solho.asp?soladdress=1"
  130.     end if  
  131.     else
  132.        pagename="wy_trip_solutionshow.asp"
  133.     end if    
  134. %>
  135.                 <td><div align="center"><a href=<%=pagename%>>返回上一页</a></div></td>
  136.               </tr>
  137.             </table>
  138. <p>&nbsp;</p></td>
  139. </tr>
  140. </table>
  141. </body>
  142. </html>