📄 pstudy_list.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>人力资源管理系统≡学习列表≡</title>
<link href="../Include/type.css" rel="stylesheet" type="text/css">
</head>
<body>
<!--#include file="../Include/conn.asp"-->
<!--#include file="../Include/Head.asp"-->
<!--#include file="../Include/Syscheck.asp"-->
<%
call checkin_sys(session("UsersId"),session("PerId"),20)
datadel=request.QueryString("del")
id=request.QueryString("id")
if datadel<>"" then
set del=server.CreateObject("adodb.recordset")
del.open "delete from pstudy where study_id="&datadel&"",conn,3,3
response.Write "<script>alert('删除成功!');window.location.href('Pstudy_list.asp?id="&id&"');</script>"
end if
%>
<div id="content" style="position:absolute; width:90%; height:115px; z-index:3; left: 48px; top: 190px;">
<!--内容开始-->
<%
id=request.QueryString("id")
set res=server.CreateObject("adodb.recordset")
res.open "select * from pstudy where personnel_id="&id&"",conn,1,1
%>
<table width="95%" border="1" align="center" cellpadding="0" cellspacing="0" class="table1">
<tr class="td1">
<td width="10%"><div align="center">员工编号</div></td>
<td width="12%"><div align="center">培训机构名称</div></td>
<td width="12%"><div align="center">开始培训时间</div></td>
<td width="10%"><div align="center">毕业时间</div></td>
<td width="10%"><div align="center">培训情况</div></td>
<td><div align="center">备注</div></td>
<td width="10%"><div align="center">操作</div></td>
</tr>
<%while not res.eof%>
<tr>
<td width="18%"><div align="center"><%=res("personnel_id")%></div></td>
<td><div align="center"><%=res("study_ename")%></div></td>
<td><div align="center"><%=res("study_sdate")%></div></td>
<td><div align="center"> <%=res("study_ldate")%></div></td>
<td><div align="center"><%=res("study_realize")%></div></td>
<td><div align="center"><%=res("study_remark")%></div></td>
<td><div align="center">
<a href="Pstudy.asp?Pid=<%=res("personnel_id")%>">修改</a>/
<a href="Pstudy_list.asp?del=<%=res("study_id")%>&id=<%=res("personnel_id")%>">删除</a>
</div>
</td>
</tr>
<%
res.movenext
wend
%>
<tr>
<td colspan="7"><div align="center"><a href="Search.asp?id=<%response.Write id%>">返回</a> | <a href="Pstudy_add.asp?id=<%response.Write id%>">新增档案</a></div></td>
</tr>
</table>
<%
res.close
Set res=Nothing
%>
<!--内容结束-->
</div>
<!--#include file="../Include/bottom.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -