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

📄 fire.asp

📁 功能强大的网络办公系统 支持油箱管理,短消息,文件管理,考勤管理等功能
💻 ASP
字号:
<!--#include file="../includes/keepHouse.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>WebOffice</title>
</head>

<body>
<%
call insureID()
dim PERSONNEL_ID
dim PERSON_NAME
dim IsThisDeptManager
PERSONNEL_ID=request("PERSONNEL_ID")
PERSON_NAME=request("PERSON_NAME")
if PERSONNEL_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 Personnel SET FIRED=1 WHERE PERSONNEL_ID= "&PERSONNEL_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 "修改成功!该员工("&PERSON_NAME&",ID号:"&PERSONNEL_ID&")已经被正式辞退!"
response.write "[<a href=""javaScript:history.back()"">返回</a>]"
%>
</td>
</tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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