sendeoff.asp
上传用户:qyswxdl
上传日期:2013-06-01
资源大小:1373k
文件大小:3k
源码类别:

家庭/个人应用

开发平台:

ASP/ASPX

  1. <html><!--#include file="../checkpost.asp"-->
  2. <head>
  3. <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
  4. <meta name="ProgId" content="FrontPage.Editor.Document">
  5. </head>
  6. <%if chkcookie(request.cookies("userid"))="" or chkcookie(request.cookies("password"))="" or application(""&chkcookie(request.cookies("userid"))&"")="" then
  7.       response.write "<script>alert('你尚未注册成为本站会员或者未登陆,不能进入!');window.close();</Script>"
  8.       response.end
  9.    end if
  10.    %>
  11. <!--#include file="articleconn.asp"-->
  12. <%
  13. if request("b1")<>"" then
  14. set rsb=server.createobject("adodb.recordset")
  15.    rsb.open "select * from totalk",conn,1,3
  16.    rsb.addnew
  17.    rsb("title")=request("title")
  18.    rsb("conten")=request("conten")
  19.    rsb("user")=Replace(request("userid"), "'", "''")
  20.    rsb.update
  21.    rsb.close
  22.    set rsb=nothing
  23.    conn.close
  24.    set conn=nothing
  25.    response.write "<script>alert('该信息成功发送,我们收到后马上进行处理!');window.close();</Script>"
  26.  end if
  27.  %>
  28. <html><!--#include file="../checkpost.asp"-->
  29. <head>
  30. <meta http-equiv="Content-Language" content="zh-cn">
  31. <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
  32. <meta name="ProgId" content="FrontPage.Editor.Document">
  33. <link rel="stylesheet" type="text/css" href="css/style.css">
  34. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  35. <title>新建网页 1</title>
  36. </head>
  37. <body bgcolor="#F9F9F9">
  38. <p> </p>
  39. <p> </p>
  40. <div align="center">
  41.   <center>
  42.   <table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="500" id="AutoNumber1">
  43.     <form method="POST" action="sendeoff.asp">
  44.       <tr>
  45.         <td width="500" colspan="2" bgcolor="#C0C0C0" height="20">
  46.         <p align="center"><b><%=request("title")%>影片错误报告</b></td>
  47.       </tr>
  48.       <tr>
  49.         <td width="98" bgcolor="#EBEBEB">
  50.         <p align="center">会员:</td>
  51.         <td width="402" bgcolor="#EBEBEB"><%=chkcookie(request.cookies("userid"))%>
  52.         <input type="hidden" name="userid" size="25" value="<%=chkcookie(request.cookies("userid"))%>">
  53.         </td>
  54.       </tr>
  55.       <tr>
  56.         <td width="98" bgcolor="#EBEBEB">
  57.         <p align="center">标题:</td>
  58.         <td width="402" bgcolor="#EBEBEB">
  59.         <input type="text" name="title" size="25" value="&quot;<%=request("title")%>&quot;"></td>
  60.       </tr>
  61.       <tr>
  62.         <td width="98" bgcolor="#EBEBEB">
  63.         <p align="center">内容</td>
  64.         <td width="402" bgcolor="#EBEBEB">
  65.         <textarea rows="5" name="conten" cols="41"></textarea></td>
  66.       </tr>
  67.       <tr>
  68.         <td width="98" bgcolor="#EBEBEB"> </td>
  69.         <td width="402" bgcolor="#EBEBEB">
  70.         <input type="submit" value="提交" name="B1">
  71.         <input type="reset" value="重置" name="B2"></td>
  72.       </tr>
  73.     </form>
  74.   </table>
  75.   </center>
  76. </div>
  77. </body>
  78. </body>
  79. </html>
  80. </html>