⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 modi.asp

📁 报名系统
💻 ASP
字号:
<!--#include file="conn.asp"-->
<%
owen=session("auid")
if request("logout")<>"" then 
session("auid")=""
session("apwd")=""
session("aleave")=""
response.redirect "index.asp"
end if
%>
<%
	function invert(str) 
    invert=replace(replace(replace(replace(str,"<","&lt;"),">","&gt;"),chr(13),"<br>")," ","&nbsp;") 
    invert=replace(replace(replace(replace(invert,"[img]","<img src="),"[b]","<b>"),"[red]","<font color=red>"),"[blue]","<font color=blue>") 
    invert=replace(replace(replace(replace(invert,"[/img]","></img>"),"[/b]","</b>"),"[/red]","</font>"),"[/blue]","</font>") 
end function
if request("action")="modi" then

o_id=request("o_id")
o_title=request("o_title")
reviewer=request("reviewer")
r_type=request("r_type")
uip=request("remote_addr")
tel=request("tel")
if request("content")<>"" then
content=invert(request("content"))
Else
content="无"
End If

conn.execute "update review set o_id='"&o_id&"',o_title='"&o_title&"',reviewer='"&reviewer&"',uip='"&uip&"',r_type='"&r_type&"',tel='"&tel&"', content='"&content&"' where reviewid=" & request("reviewid")
response.redirect "usermodi.asp?auid="&reviewer&""
Response.End
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=owen%>参加的活动</title>
<link rel="stylesheet" href="css/index.css" type="text/css">
</head>
<body topmargin="0">
<style type=text/css>
A#menu {
	FONT-SIZE: 12px; COLOR: #ffffff; TEXT-DECORATION: none;
}
A#menunow {
	FONT-SIZE: 12px; COLOR: #718df8; TEXT-DECORATION: none;
}
A#menu:link {
	TEXT-DECORATION: none;FONT-SIZE: 12px; COLOR: #000000;
}
A#menu:hover {
	TEXT-DECORATION: underline;FONT-SIZE: 12px; COLOR: #ffffff;
}
A#menu:visited {
	FONT-SIZE: 12px; COLOR: #000000; 
}
TD#menu {
	FONT-SIZE: 12px; COLOR: #000000
}
.box {
	BORDER-RIGHT: #096ac8 1px solid; BORDER-TOP: #000000 1px solid; FONT-SIZE: 12px; BORDER-LEFT: #000000 1px solid; COLOR: #ffffff; BORDER-BOTTOM: #096ac8 1px solid; BACKGROUND-COLOR: #001457
}
.box5{
	BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #0ea8ff 1px solid; FONT-SIZE: 12px; BORDER-LEFT: #0ea8ff 1px solid; COLOR: #9dc3e9; PADDING-TOP: 1px; BORDER-BOTTOM: #000000 1px solid; HEIGHT: 18px; BACKGROUND-COLOR: #096ac8
}
BODY {SCROLLBAR-FACE-COLOR: #053e75; SCROLLBAR-HIGHLIGHT-COLOR: #096ac8; SCROLLBAR-SHADOW-COLOR: #000000; SCROLLBAR-3DLIGHT-COLOR: #abb8e8; SCROLLBAR-ARROW-COLOR:  #3c88c2; SCROLLBAR-TRACK-COLOR: #3c88c2; SCROLLBAR-DARKSHADOW-COLOR: #053e75; }
-->
</style>
      <!--#include file="top.asp"-->
<table width="750" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td><img src="img/top.jpg" width="750" height="116"></td>
  </tr>
</table>
<table height=7 cellspacing=0 cellpadding=0 width=750 bgcolor=#3d1a01 
      border=0 align="center">
  <tbody> 
  <tr> 
    <td></td>
  </tr>
  </tbody> 
</table>
<table width="750" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#053e75">
  <tr> 
    <td> 
      <!--#include file="usl.asp"-->
    </td>
  </tr>
</table>
<table height=7 cellspacing=0 cellpadding=0 width=750 bgcolor=#3d1a01 
      border=0 align="center">
  <tbody> 
  <tr> 
    <td></td>
  </tr>
  </tbody> 
</table>
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#3c88c2">
  <tr> 
    <td valign="top"> <br>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td align="center"><font color="#FFFFFF">你好,<%=owen%> 欢迎修改参加活动情况</font></td>
        </tr>
      </table>
      <br>
      <table height=7 cellspacing=0 cellpadding=0 width=750 bgcolor=#3d1a01 
      border=0 align="center">
        <tbody> 
        <tr> 
          <td></td>
        </tr>
        </tbody> 
      </table>
      <table width="100%" border="0" cellspacing="3" cellpadding="0" align="center" bgcolor="#053e75">
        <%    
  set rs=server.createobject("adodb.recordset")
rs.open "select * from review where reviewid=" & cstr(request("reviewid")) & " ",conn,1,1
  %>
        <form action="Modi.asp" method=post>
          <tr> 
            <td colspan="2"> 
              <div align="center"> 
                <p>&nbsp;</p>
                <p><font size="3"><b><font color="#FFFFFF">修改活动参加情况</font></b></font><font color="#FFFFFF">(带 
                  * 号的为必填项)</font></p>
              </div>
            </td>
          </tr>
          <tr> 
            <td width="30%" height="22"> 
              <div align="right"><font color="#FFFFFF">* 您的帐号:</font></div>
            </td>
            <td width="475"> 
              <input name="reviewer" type=text class=box value="<%=owen%>" size="25" maxlength=29 readonly>
            </td>
          </tr>
          <tr> 
            <td height="22" width="30%"> 
              <div align="right"><font color="#FFFFFF">   * 活动标题:</font></div>
            </td>
            <td> 
              <input name="o_title" type=text class=box value="<%=rs("o_title") %>" size="30" maxlength=29 readonly>
            </td>
          </tr>
          <tr> 
            <td width="30%" height="22"> 
              <div align="right"><font color="#FFFFFF"> * 您的电话:</font></div>
            </td>
            <td width="475"> 
              <input name="tel" type=text class=box id="tel" value="<%=rs("tel") %>" size="25" maxlength=98>
            </td>
          </tr>
          <tr> 
            <td width="30%" height="22"> 
              <div align="right"><font color="#FFFFFF">* 活动时段:</font></div>
            </td>
            <td width="475"> 
              <select class=box name="r_type" id="r_type">
                <option value="上午" selected>上午</option>
                <option value="下午">下午</option>
              </select>
            </td>
          </tr>
          <tr> 
            <td width="30%"> 
              <div align="right"><font color="#FFFFFF">* 附加信息:</font></div>
            </td>
            <td width="475"> 
              <textarea name="content" cols="50" rows="4" class="box"><%=rs("content") %></textarea>
            </td>
          </tr>
          <tr align="center"> 
            <td height="40" colspan="2"> 
              <input type=hidden name="reviewid" value="<%=request("reviewid")%>">
              <input type=hidden name="o_id" value="<%=request("o_id")%>">
              <input type="hidden" name="action" value="modi">
              <input name="submit" type=submit class=box5 value="  修 改  ">
            </td>
          </tr>
        </form>
        <% rs.close
		set rs=nothing
		 %>
      </table>
    </td>
  </tr>
</table>
      <!--#include file="end.asp"-->
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -