📄 fire.asp
字号:
<!--#include file="../includes/db.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>办公自动化系统</title>
</head>
<body>
<%
call insureID()
dim User_id
dim PerName
dim IsThisDeptManager
User_id=request("User_id")
PerName=request("name")
if User_id="" then
call trigErr()
end if
if (session("Position_id")<>1 and session("Position_id")<>4) then
call noRight
call closeDB()
response.end
end if
sql="UPDATE Users_info SET Fired=1 WHERE User_id= "&User_id
call openDB()
conn.execute(sql)
call closeDB()
%>
<table border="0" width="100%" height="71" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" height="35"></td>
</tr>
<tr>
<td width="75%" height="16" bgcolor="#EFEFEF" align=center>
<%
response.write "该员工("&Pername&",ID号:"&User_id&")已经被正式辞退!"
response.write "[<a href=""javaScript:history.back()"">返回</a>]"
%>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -