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

📄 hx_checkuser.asp

📁 一个比较完整的oa系统
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
option explicit
response.buffer = True
Response.Expires = -1
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.CacheControl = "no-cache"
const Dir=1
'程序编写及设计:徐勇
'QQ号码: 563097256(网络侠客)
'网址:http://www.wsoas.com
'E_mail(MSN):netcst@126.com 
'电话:13856921303   0551-5168961
'以上信息不影响程序运行!
'在使用过程中请保留以上信息,以便出现问题时及时与我取得联系
'注意:免费版程序不得用于商业用途,否则后果自负!!!!
%>
<!--#INCLUDE FILE="HX_CONNDATABASE.ASP"-->
<!--#INCLUDE FILE="HX_MD5.ASP"-->
<!--#INCLUDE FILE="HX_SETCOOKIE.ASP"-->
<head>
<title>选择员工</title>
<link rel=stylesheet type=text/css href="../HXinclude/HX_Css.css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body topmargin="10" leftmargin="0" bottommargin="10" bgcolor="D4D0C8">
<table width="99%" cellspacing=1 cellpadding=2 align="center">
  <%
  checkuser=request("checkuser")
  set SERS=WS_S.HX_SetRSD("","HX_Department"," order by WS_OrderBy asc")
  if SERS.recordcount>0 then
  do until sers.eof
  %>
  <tr><td width="100%">
  <%=sers("WS_DepartmentName")%> 
  </td></tr>
  <%set APRS=WS_S.HX_SetRSD("","HX_Appointment"," where WS_Did="&sers("WS_Did")&" order by WS_OrderBy asc")
     if APRS.recordcount>0 then
	   do until APRS.eof
  %>

   <tr>
    <td>&nbsp;&nbsp;<font color="#FF0000"><%=APRS("WS_AppointmentName")%></font><%
	set URS=WS_S.HX_SetRSD("","HX_CompanyUser"," where WS_department="&sers("WS_Did")&" and WS_Appointment="&APRS("WS_Aid")&" and WS_leave=False and WS_Uid<>"&loginuid&" order by WS_Uid asc")
	if URS.recordcount>0 then
	  response.write "  "
	  do until URS.eof
	   response.write "<input type=""radio"" name=""uid"" class=""radio"" onclick=""javascript:window.opener.document.form1.WS_"&checkuser&"Uid.value='"&URS("WS_Uid")&"';window.opener.document.form1.WS_"&checkuser&"Name.value='"&sers("WS_DepartmentName")&APRS("WS_AppointmentName")&URS("WS_Name")&"';window.close();"" id='WSOA"&urs("WS_Uid")&"'><label for='WSOA"&urs("WS_Uid")&"'><font color=blue>"&URS("WS_Name")&"</font></label>&nbsp;&nbsp;"
	  URS.movenext
	  loop
	end if
	%>	
	</td>
  </tr>
  <%    APRS.movenext
        loop
     end if
 %>
  <tr>
     <td height=5><hr width="100%"></td>
   </tr>
 <%
  sers.movenext
  loop
  end if
 %>
</table>

⌨️ 快捷键说明

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