📄 action_user.asp
字号:
<!--#include file="conn.asp" -->
<%
web_id="../language/"&l_id
web_id=web_id&"/WELCOM_MSG.ASP"
call include(web_id)
u_id=request.QueryString("id")
if session_cookie_name="" or session_cookie_group<3 then
response.write"<script>alert('"&L_WELCOM_ACTION1&"');</script>"
response.write L_WELCOM_ACTION2
response.end
end if
strsql="select userid,usergroup,g_id from [user] where g_id='"&session_cookie_gid&"' and userid="&u_id
set rs=server.CreateObject("adodb.recordset")
rs.open strsql,conn,1,3
if not rs.eof then
rs("usergroup")=2
rs.update
rs.close
set rs=nothing
response.Write "<script>alert('"&L_WELCOM_ACTION3&"')</script>"
%>
<script language="JavaScript">
function shutwin(){
window.close();
return;}
</script>
<table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="<%=list_bg_color%>">
<tr>
<td bgcolor="<%=list_borderbg_color%>" align="center">
<p>
<center>
<a href="javascript:shutwin();"><%=L_WELCOM_ACTION4%></a>
</center>
</p>
<p>
<center>
</center>
</p>
</td></tr><tr>
<td align="center">
<a href="javascript:shutwin();"><%=L_WELCOM_ACTION5%></a>
</td>
</tr>
</table>
<%
else
response.Write "<script>alert('ERROR')</script>"
end if
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -