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

📄 unpostillist.asp

📁 功能强大的办公自动化系统 具有前后台管理系统 具有很好的应用性
💻 ASP
字号:
<!--#include file="../../includes/keepHouse.asp"-->
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>WebOffice</title>
<%
call insureID()
if session("POSITION_ID")<>4 and session("POSITION_ID")<>1 then
	call noRight()
end if
%>
</head>

<body topmargin=0 leftmargin=0 rightmargin=0>
<table border="0" width="100%" height="50" cellspacing="0" cellpadding="0">
 <tr>
  <td width="100%"></td>
 </tr>
</table>
<center>
<table border="0" width="75%" cellspacing="0" cellpadding="0">
 <tr>
  <td width="5%" bgcolor="#0000FF" height="35" align=left><img border="0" src="../../images/back.gif"></td>
  <td width="65%" bgcolor="#0000FF" height="35" align=center>
  <b><font color="#FFFFFF">相关部门未审的员工个人总结与计划</font></b></td>
  <td width="5%" bgcolor="#0000FF" height="35" align=right><img border="0" src="../../images/Close2.gif"></td>
 </tr>
</table>
<table border="1" width="75%" bordercolorlight="#C0C0C0" bordercolordark="#FFFFFF" cellspacing="0" cellpadding="0">
 <tr>
  <td width="35%" bgcolor="#FCFCFC">题 目</td>
  <td width="15%" bgcolor="#FCFCFC">撰写日期</td>
  <td width="15%" bgcolor="#FCFCFC">提交日期</td>
  <td width="15%" bgcolor="#FCFCFC">审核日期</td>
 </tr>
<%
if session("POSITION_ID")=1 then
	sql="SELECT PersonalSummPlan.* " _
		&"FROM PersonalSummPlan INNER JOIN Personnel " _
		&"ON PersonalSummPlan.PERSONNEL_ID = Personnel.PERSONNEL_ID INNER JOIN " _
		&"Department ON Personnel.DEPT_ID = Department.DEPT_ID " _
		&"WHERE (PersonalSummPlan.SUBMITED = 1) AND (PersonalSummPlan.POSTILED = 0) AND " _ 
		&"(Personnel.PERSONNEL_ID <= 4 AND Personnel.PERSONNEL_ID<>1) "
	call openDB()
	rs.open sql,conn,1,1
	if rs.eof then
		response.write "<tr><td width=""75%"" colspan=""4"" bgcolor=""#FCFCFC"" align=center>"
		response.write "没有任何员工总结或计划待审"
		response.write "</td></tr>"
	end if
elseif session("POSITION_ID")=4 then
	sql="SELECT PersonalSummPlan.* " _
		&"FROM PersonalSummPlan INNER JOIN Personnel " _
		&"ON PersonalSummPlan.PERSONNEL_ID = Personnel.PERSONNEL_ID INNER JOIN " _
		&"Department ON Personnel.DEPT_ID = Department.DEPT_ID " _
		&"WHERE (PersonalSummPlan.SUBMITED = 1) AND (PersonalSummPlan.POSTILED = 0) AND " _ 
		&"(Department.DEPT_ID = "&session("DEPT_ID")&" AND (Personnel.PERSONNEL_ID <> 4)) "
	call openDB()
	rs.open sql,conn,1,1
	if rs.eof then
		response.write "<tr><td width=""75%"" colspan=""4""  align=center bgcolor=""#FCFCFC"">"
		response.write session("DEPARTMENT")&"部门没有任何员工总结或计划待审"
		response.write "</td></tr>"
	end if
end if

while not rs.eof
	SUMMPLAN_TITLE=rs("SUMMPLAN_TITLE")
	SUMMPLAN_TITLE=replace(SUMMPLAN_TITLE,"#Rep_PRIME_lace#","'")
	response.write "<tr>"
	response.write "<td width=""35%"" bgcolor=""#FCFCFC""><a href=""Postil.asp?SUMMPLAN_ID="&rs("SUMMPLAN_ID") _
	&""">"&SUMMPLAN_TITLE&"</a></td>"
	response.write "<td width=""15%"" bgcolor=""#FCFCFC"">"&rs("COMPOSE_DATE")&"</td>"
	response.write "<td width=""15%"" bgcolor=""#FCFCFC"">"
	response.write rs("SUBMIT_DATE")
	response.write "</td>"
	response.write "<td width=""15%"" bgcolor=""#FCFCFC"">"
	response.write "未审核"
	response.write "</td>"
	response.write "</tr>"
	rs.movenext
wend
call closeDB()
%>
 <tr>
  <td width="75%" colspan="4" height="50" bgcolor="#EFEFEF" align=center>
  [<a href="javaScript:history.back()">返回</a>]
  </td>
 </tr>
</table>
</center>
</body>
</html>

⌨️ 快捷键说明

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