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

📄 pow.asp

📁 企业员工年度综合评测系统 Access(V1.060118)版
💻 ASP
字号:
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="936"%>
<!--#include file="forbidon.asp" -->
<!--#include file="conn.asp" -->
<%
var rs1 = Server.CreateObject("ADODB.Recordset");
rs1.ActiveConnection = MM_conn_STRING;
rs1.Source = "SELECT k FROM all_user ORDER BY nameid ASC";
rs1.CursorType = 0;
rs1.CursorLocation = 2;
rs1.LockType = 1;
rs1.Open();
var rs1_numRows = 0;
%>
<%
var rs2 = Server.CreateObject("ADODB.Recordset");
rs2.ActiveConnection = MM_conn_STRING;
rs2.Source = "SELECT k FROM department ORDER BY departmentid ASC";
rs2.CursorType = 0;
rs2.CursorLocation = 2;
rs2.LockType = 1;
rs2.Open();
var rs2_numRows = 0;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<link href="../imag/cs.css" rel="stylesheet" type="text/css" />
</head>

<body>
<!--#include file="top.asp" -->
<table width="80%" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="atable">
  <tr>
    <td bgcolor="#FFFFFF">
	
	<form action="pow_x.asp" name="form" id="form" >
	<table width="100%" border="0" cellspacing="2" cellpadding="0">
      <tr>
        <td width="31%" bgcolor="#F9F9F9"><div align="center">普通员工录入状态</div></td>
        <td width="37%" bgcolor="#F9F9F9"><div align="center">
		         <%if(rs1.Fields.Item("k").Value==1) 
				   Response.Write("已打开");
				    else
					 Response.Write("已关闭") ;
					 %> 
				  
				  </div></td>
        <td width="32%" bgcolor="#F9F9F9"><div align="center"><input name="o1" type="submit" class="atable" id="o1" value="打开1" />
        &nbsp;&nbsp;&nbsp;
          <input name="c1" type="submit" class="atable" id="c1" value="关闭1" />
        </div></td>
      </tr>
      <tr>
        <td height="20" bgcolor="#F9F9F9"><div align="center"> </div></td>
        <td height="20" bgcolor="#F9F9F9"><div align="center"></div></td>
        <td height="20" bgcolor="#F9F9F9"><div align="center"></div></td>
      </tr>
      <tr>
        <td bgcolor="#F9F9F9"><div align="center">部门负责人录入状态</div></td>
        <td bgcolor="#F9F9F9"><div align="center"> <%if(rs2.Fields.Item("k").Value==1) 
				   Response.Write("已打开");
				    else
					 Response.Write("已关闭") ;
					 %> </div></td>
        <td bgcolor="#F9F9F9"><div align="center">
          <input name="o2" type="submit" class="atable" id="o2" value="打开2" />
          &nbsp;&nbsp;&nbsp;<input name="c2" type="submit" class="atable" id="c2" value="关闭2" />
        </div></td>
      </tr>
      <tr>
        <td colspan="3" bgcolor="#F9F9F9"><div align="center">此设置可以限制用户的录入,关闭的话相关级别的用户就不能对别人评测</div></td>
        </tr>
    </table>
	</form></td>
  </tr>
</table>
</body>
</html>
<%
rs1.Close();
%>
<%
rs2.Close();
%>

⌨️ 快捷键说明

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