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

其他行业

开发平台:

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. <script language="javascript" src="../wy_trip_js/wy_trip_uppic.js"></script>
  10. <script language="javascript" src="../wy_trip_js/wy_trip_check.js"></script>
  11. <%  
  12.     '获得解决方案类型
  13. solid=request.QueryString("solid")
  14.     solname=request.QueryString("solname")
  15. tablename=request.QueryString("tablename")
  16. 'response.Write(solname)
  17. if(tablename<>"") then
  18.     'response.Write(solkind)
  19. sqlstr="select * from "&tablename&" where solname='"&solname&"'"
  20. 'sqlstr="select * from  trip_soloverseas  where solname='"&solname&"'"
  21. set rst=server.CreateObject("adodb.recordset")
  22. rst.open sqlstr,conn,1,1
  23. if not(rst.eof or rst.bof) then
  24.       sinfor1=rst("solinfor1")
  25.   sinfor2=rst("solinfor2")
  26.   sinfor3=rst("solinfor3")
  27. end if
  28. rst.close
  29. set rst=nothing
  30. end if
  31. %>
  32. <body leftmargin="0" topmargin="0"  bottommargin="0" rightmargin="0" link="#3357B3" vlink="#3357B3" alink="#3357B3" bgcolor="#e8eefc">
  33. <table width="734" height="100%" cellpadding="0" cellspacing="0">
  34. <tr>
  35.   <td valign="top" class="Main">
  36. <p class="NoBreakBeforeAfter"><img src="../wy_trip_images/TopCol3.gif" WIDTH="247" HEIGHT="23"></p>
  37. <p class="NoBreakBeforeAfter"><img src="../wy_trip_images/HeaderOtherDestination.gif" width="229" height="28"></p>
  38. <p class="Indented1" align="center"><font size="6"><b>PTrip 2005 后台管理</b></font></p>
  39. <p class="Indented1" align="center"><b>欢迎管理员 <%=adname%> 登录</b></p>
  40. <hr align="center" width="80%" color="#999999">
  41. <form name="form1" action="wy_trip_asp/wy_trip_solutionupasp.asp?solname=<%=solname%>" method="post" onSubmit="return wychecksolinfor(this)" >
  42. <table width="85%"  border="0" align="center" cellpadding="0" cellspacing="0">
  43.               <tr>
  44.                 <td width="27%" scope="col" valign="top" align="center">说明信息1</td>
  45.                 <td width="73%" colspan="5" scope="col"><textarea name="solinfor1" cols="70" rows="3" id="solinfor1"><%=sinfor1%></textarea></td>
  46.               </tr>
  47.               <tr>
  48.                 <td valign="top" align="center">说明信息2</td>
  49.                 <td colspan="5"><textarea name="solinfor2" cols="70" rows="3" id="solinfor2"><%=sinfor2%></textarea></td>
  50.               </tr>
  51.               <tr>
  52.                 <td valign="top" align="center">说明信息3</td>
  53.                 <td colspan="5"><textarea name="solinfor3" cols="70" rows="3" id="solinfor3"><%=sinfor3%></textarea></td>
  54.               </tr>
  55.               <tr>
  56.                 <td>&nbsp;</td>
  57.                 <td colspan="5">&nbsp;</td>
  58.               </tr>
  59.               <tr>
  60.                 <td>&nbsp;</td>
  61.                 <td>
  62.                   <div align="right">
  63.                     <input type="submit" name="Submit" value=" 提 交 ">
  64.                 </div></td>
  65.                 <td>&nbsp;</td>
  66.                 <td>&nbsp;</td>
  67.                 <td>&nbsp;</td>
  68.                     <td>
  69.                       <div align="left">
  70.                         <input type="reset" name="Submit" value=" 重 置 ">
  71.                     </div></td></tr>
  72.             </table>
  73. </form>
  74. <p align="center">
  75. <div id="sponsorAdDiv" style="visibility:hidden; left: 2px; top: 15px; width: 197px; height: 13px"> 
  76.    <table width="200" height="25" bgcolor="#0099cc" border=0 cellspacing=1>
  77.      <tr> 
  78.        <td> 
  79.          <table width="100%" height="100%"  border=0 cellspacing=0>
  80.            <tr bgcolor="#d2e9fe"> 
  81.              <td> &nbsp;&nbsp;&nbsp;&nbsp;正在上传图片,请稍候...... </td>
  82.            </tr>
  83.          </table>
  84.        </td>
  85.      </tr>
  86.    </table>
  87. </div> 
  88. </p>
  89. <table width="85%"  border="0" align="center" cellpadding="0" cellspacing="0">
  90.               <tr>
  91.                 <th scope="col">更新图片1</th>
  92.                 <th colspan="3" scope="col">
  93. <form method="post" action="wy_trip_up/wy_upload2.asp?up=<%=up%>&solname=<%=solname%>&tablename=trip_soloverseas&solpic=1" enctype="multipart/form-data" name="form2" onsubmit="initAd();">
  94.                   <input type=file name="sf_upfile" size="25" class=text>  
  95.                   <input type="submit" name="submit" value="上 传 图 片" class="text">
  96. </form>
  97. </th>
  98.                 <th scope="col">&nbsp;</th>
  99.               </tr>
  100.               <tr>
  101.                 <th scope="col">更新图片2</th>
  102.                 <th colspan="3" scope="col">
  103. <form method="post" action="wy_trip_up/wy_upload2.asp?up=<%=up%>&solname=<%=solname%>&tablename=trip_soloverseas&solpic=2" enctype="multipart/form-data" name="form2" onsubmit="initAd();">
  104.                   <input type=file name="sf_upfile" size="25" class=text>  
  105.                   <input type="submit" name="submit" value="上 传 图 片" class="text">
  106. </form>
  107. </th>
  108.                 <th scope="col">&nbsp;</th>
  109.               </tr>
  110.               <tr>
  111.                 <th scope="col">更新图片3</th>
  112.                 <th colspan="3" scope="col">
  113. <form method="post" action="wy_trip_up/wy_upload2.asp?up=<%=up%>&solname=<%=solname%>&tablename=trip_soloverseas&solpic=3" enctype="multipart/form-data" name="form2" onsubmit="initAd();">
  114.                   <input type=file name="sf_upfile" size="25" class=text>  
  115.                   <input type="submit" name="submit" value="上 传 图 片" class="text">
  116. </form>
  117. </th>
  118.                 <th scope="col">&nbsp;</th>
  119.               </tr>
  120.               <tr>
  121.                 <th scope="col">&nbsp;</th>
  122.                 <th scope="col">&nbsp;</th>
  123.                 <th scope="col">&nbsp;</th>
  124.                 <th scope="col">&nbsp;</th>
  125.                 <th scope="col">&nbsp;</th>
  126.               </tr>
  127.               <tr>
  128.                 <th scope="col">&nbsp;</th>
  129.                 <th scope="col">&nbsp;</th>
  130.                 <th scope="col">&nbsp;</th>
  131.                 <th scope="col"><a href="wy_trip_admin.asp">返回上一页</a></th>
  132.                 <th scope="col">&nbsp;</th>
  133.               </tr>
  134.             </table>
  135. <p>&nbsp;</p>
  136. <p>&nbsp;</p>
  137. <p>&nbsp;</p></td>
  138. </tr>
  139. </table>
  140. </body>
  141. </html>