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

📄 fostergeguan.asp

📁 目前人力资源管理系统的发展已经相对成熟
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file=DataBase/conn.asp-->
<!--#include file=yan.asp-->
<!--#include file=purview.asp-->
<%
call gerenpeixun
set rs=server.CreateObject("adodb.recordset")
sql="SELECT dbo.tb_Foster_f.[time], dbo.tb_FosterRole.id AS rid, dbo.tb_FosterRole.title, dbo.tb_Foster_f.id,dbo.tb_FosterRole.shijian FROM dbo.tb_User INNER JOIN dbo.tb_Employee ON dbo.tb_User.name = dbo.tb_Employee.id INNER JOIN  dbo.tb_Foster_f INNER JOIN dbo.tb_FosterRole ON dbo.tb_Foster_f.renwu = dbo.tb_FosterRole.id ON dbo.tb_Employee.id = dbo.tb_Foster_f.jieshouzhe WHERE (dbo.tb_User.username = '"&session("admin_name")&"')"
rs.open sql,conn,1,1
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>个人培训任务</title>
<style type="text/css">
<!--
.style2 {color: #0000FF}
.style3 {color: #FF0000}
body,td,th {
	font-size: 12px;
}
a:link {
	color: #0000FF;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #0000FF;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
-->
</style>
<link href="CSS/css.css" rel="stylesheet" type="text/css">
</head>

<body topmargin="0">
<table width="550" border="0" align="center">
  <tr>
    <td width="55%" height="30"> - <span class="style3">个人管理</span>→<span class="style2">信息检索</span>→<font color="#FF0000">个人培训信息</font></td>
  </tr>
</table>
<table width="550" border="0" align="center" cellspacing="0" >
  <tr align="center">
    <td height="31" background="images/index_24.gif" class="leftdian">培训任务名称</td>
    <td background="images/index_24.gif" class="leftdian">培训时间</td>
    <td background="images/index_24.gif" class="leftdian">任务发送日期 &nbsp;</td>
    <td background="images/index_24.gif" class="dian">评估</td>
  </tr>
      <% 
    if not rs.eof then
  maxpage=0
show=15
tol=rs.recordcount
rs.pagesize=show
maxpage=rs.pagecount
requestpage=clng(request("p"))

if requestpage="" or requestpage=0 then
requestpage=1 
end if

if requestpage>maxpage then
requestpage=maxpage
end if

if not requestpage=1 then 
rs.move (requestpage-1)*rs.pagesize
end if
for i=1 to rs.pagesize and not rs.eof
  %>
  <tr>
    <td height="27" align="center" class="leftdian"><a href="javascript:" onClick="window.open('fosteropen.asp?id=<%=rs("rid")%>','','width=530,height=550,scrollbars=yes')"><%=rs("title")%></a></td>
    <td align="center" class="leftdian"><%=rs("shijian")%></td>
    <td align="center" class="leftdian"><%=rs("time")%></td>
    <td align="center" class="dian"><a href="javascript:" onClick="window.open('fostegeopen.asp?id=<%=rs("id")%>','','width=380,height=250,scrollbars=yes')">评估</a></td>
  </tr>
       <% 
rs.MoveNext
if rs.eof then exit for
next
else 
response.Write("没有任务")
end if
rs.Close()
set rs=nothing
%>
  <tr align="right" bgcolor="#efefef">
    <td height="29" colspan="4">共<%=maxpage%>页 当前页:<%=requestpage%>
      <%if requestpage=1 or requestpage=""then%>
上一页
<%else%>
  <a href="fostergeguan.asp?p=<%=requestpage-1%>">上一页</a>
<%end if%>
<%if requestpage=maxpage then%>
下一页
<%else%>
<a href="fostergeguan.asp?p=<%=requestpage+1%>">下一页</a>
<%end if%>
 </td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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