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

其他行业

开发平台:

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.     solkind=request.QueryString("solkind")
  12. if(solkind=0) then
  13.      tablename="trip_solhomeland"
  14.  tablenameinfor="trip_solhomelandinfor"
  15.      sqlstr="select * from trip_solhomeland order by id"
  16. else
  17.      tablename="trip_soloverseas"
  18.  tablenameinfor="trip_soloverseasinfor"
  19.      sqlstr="select * from trip_soloverseas order by id"
  20. end if
  21. %>
  22. <body leftmargin="0" topmargin="0"  bottommargin="0" rightmargin="0" link="#3357B3" vlink="#3357B3" alink="#3357B3" bgcolor="#e8eefc">
  23. <table width="734" height="100%" cellpadding="0" cellspacing="0">
  24. <tr>
  25.   <td valign="top" class="Main">
  26. <p class="NoBreakBeforeAfter"><img src="../wy_trip_images/TopCol3.gif" WIDTH="247" HEIGHT="23"></p>
  27. <p class="NoBreakBeforeAfter"><img src="../wy_trip_images/HeaderOtherDestination.gif" width="229" height="28"></p>
  28. <p class="Indented1" align="center"><font size="6"><b>PTrip 2005 后台管理</b></font></p>
  29. <p class="Indented1" align="center"><b>欢迎管理员 <%=adname%> 登录</b></p>
  30. <hr align="center" width="80%" color="#999999">
  31. <table width="90%"  border="0" align="center" cellpadding="0" cellspacing="0">
  32.               <tr>
  33.                 <th width="32%" scope="col">解决方案</th>
  34.                 <th scope="col">&nbsp;</th>
  35.                 <th scope="col">编辑方案 </th>
  36.                 <th scope="col">&nbsp;</th>
  37.                 <th scope="col"><a href="wy_trip_solutionaddnew.asp?solkind=<%=solkind%>">添加新方案</a></th>
  38.               </tr>
  39.   <%
  40.      
  41. set rst=server.CreateObject("adodb.recordset")
  42. rst.open sqlstr,conn,1,1
  43. if not (rst.eof or rst.bof) then
  44.               do while(not rst.eof)
  45.        solname=trim(rst("solname"))
  46.    
  47.   %>
  48.               <tr>
  49.                 <td>&nbsp;&nbsp;&nbsp;<font color="#3300FF"><%=solname%></font>旅行方案</td>
  50.                 <td width="23%"><div align="center"><a href="wy_trip_solutionup.asp?solname=<%=solname%>&tablename=<%=tablename%>&kind=1">更新说明信息及 示例图</a></div></td>
  51.                 <td width="22%"><div align="center"><a href="wy_trip_solutioninforup.asp?solname=<%=solname%>&tablename=<%=tablenameinfor%>&kind=2">更新出游信息</a></div></td>
  52.                 <td width="11%"><div align="center"><a href="wy_trip_solutioninforup.asp?solname=<%=solname%>&tablename=<%=tablename%>&kind=0">删除</a> </div></td>
  53.                 <td width="12%"><div align="center"></div></td>
  54.               </tr>
  55.   <%
  56.                rst.movenext
  57.  loop
  58.  end if
  59.  rst.close
  60.  set rst=nothing      
  61.   %>
  62.               <tr>
  63.                 <td>&nbsp;</td>
  64.                 <td>&nbsp;</td>
  65.                 <td>&nbsp;</td>
  66.                 <td>&nbsp;</td>
  67.                 <td>&nbsp;</td>
  68.               </tr>
  69.               <tr>
  70.                 <td>&nbsp;</td>
  71.                 <td>&nbsp;</td>
  72.                 <td>&nbsp;</td>
  73.                 <td>&nbsp;</td>
  74.                 <td>&nbsp;</td>
  75.               </tr>
  76.             </table>
  77. <p>&nbsp;</p>
  78. <p>&nbsp;</p></td>
  79. </tr>
  80. </table>
  81. </body>
  82. </html>