📄 usermodi.asp
字号:
<!--#include file="conn.asp"-->
<%
owen=session("auid")
if request("logout")<>"" then
session("auid")=""
session("apwd")=""
session("aleave")=""
response.redirect "index.asp"
end if
%>
<%
if session("auid")="" then
response.write"<SCRIPT language=JavaScript>alert('你尚未登录,请先登录!');"
response.write"javascript:location.href='index.asp'</SCRIPT>"
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">
<!--#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 width="750" border="0" align="center" cellpadding="0" cellspacing="0" style="border-left: 1 solid #000000; border-right: 1 solid #000000">
<tr>
<td valign="top" bgcolor="#9999CC" style="border-right: 1 solid #000000">
<br>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#000000">
<tr align="center" bgcolor="#C8C8E3">
<td width="5%" height="25">ID</td>
<td width="55%">活动标题</td>
<td width="32%">报名时段</td>
<td width="8%">操作</td>
</tr>
<%
set rs=server.createobject("adodb.recordset")
rs.open "select * from review where reviewer='"&session("auid")&"' ",conn,1,1
if rs.bof and rs.eof then
response.write "你还没有参加任何活动"
else
do while not rs.eof
%>
<tr align="center" bgcolor="#FFFFFF">
<td height="24" bgcolor="#FFFFFF"><%=rs("o_id") %></td>
<td><a href="shownews.asp?o_id=<%=rs("o_id")%>" target="_blank"><%=rs("o_title") %></a></td>
<td><%=rs("r_type") %></td>
<td><a href="Modi.asp?reviewid=<%=rs("reviewid")%>&o_id=<%=rs("o_id") %>">修改</a></td>
</tr>
<%
rs.movenext
loop
end if
rs.close
set rs=nothing
%>
</table>
<br>
</td>
</tr>
</table>
<!--#include file="end.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -