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

📄 k_s_u.asp

📁 企业员工年度综合评测系统 Access(V1.060118)版
💻 ASP
字号:
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="936"%>
<!--#include file="forbidon.asp" -->
<!--#include file="conn.asp" -->
<%
var rs__departmentid1 = "0";
if (String(Request("departmentid")) != "undefined" && 
    String(Request("departmentid")) != "") { 
  rs__departmentid1 = String(Request("departmentid"));
}
%>
<%
var rs = Server.CreateObject("ADODB.Recordset");
rs.ActiveConnection = MM_conn_STRING;
rs.Source = "SELECT nameid, name, vt, vts, vi, vis, vh, vhs, departmentid  FROM all_user  WHERE departmentid="+ rs__departmentid1.replace(/'/g, "''") + "";
rs.CursorType = 0;
rs.CursorLocation = 2;
rs.LockType = 1;
rs.Open();
var rs_numRows = 0;
%>
<%
var Repeat1__numRows = -1;
var Repeat1__index = 0;
rs_numRows += Repeat1__numRows;
%>
<% var MM_paramName = ""; %>
<%
// *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters

// create the list of parameters which should not be maintained
var MM_removeList = "&index=";
if (MM_paramName != "") MM_removeList += "&" + MM_paramName.toLowerCase() + "=";
var MM_keepURL="",MM_keepForm="",MM_keepBoth="",MM_keepNone="";

// add the URL parameters to the MM_keepURL string
for (var items=new Enumerator(Request.QueryString); !items.atEnd(); items.moveNext()) {
  var nextItem = "&" + items.item().toLowerCase() + "=";
  if (MM_removeList.indexOf(nextItem) == -1) {
    MM_keepURL += "&" + items.item() + "=" + Server.URLencode(Request.QueryString(items.item()));
  }
}

// add the Form variables to the MM_keepForm string
for (var items=new Enumerator(Request.Form); !items.atEnd(); items.moveNext()) {
  var nextItem = "&" + items.item().toLowerCase() + "=";
  if (MM_removeList.indexOf(nextItem) == -1) {
    MM_keepForm += "&" + items.item() + "=" + Server.URLencode(Request.Form(items.item()));
  }
}

// create the Form + URL string and remove the intial '&' from each of the strings
MM_keepBoth = MM_keepURL + MM_keepForm;
if (MM_keepBoth.length > 0) MM_keepBoth = MM_keepBoth.substring(1);
if (MM_keepURL.length > 0)  MM_keepURL = MM_keepURL.substring(1);
if (MM_keepForm.length > 0) MM_keepForm = MM_keepForm.substring(1);
%>

<!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" />
<style type="text/css">
<!--
.STYLE6 {color: #CCFF33}
.STYLE7 {color: #FF0000}
.STYLE9 {color: #000000}
-->
</style>
</head>

<body>
<!--#include file="top.asp" -->
<table width="80%" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="atable">
  <tr>
    <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td bgcolor="#FFAFAF"><div align="left">&nbsp;&nbsp;<strong><em>&nbsp;<span class="STYLE6">step <span class="STYLE7">2</span>:</span></em></strong><span class="STYLE6"> 请选择被添加人的姓名</span> </div></td>
      </tr>
    </table>
      
      
      
        
      <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">
        <tr bgcolor="#D45FFF">
          <td width="13%" bgcolor="#D4DFFF"><div align="center" class="STYLE9">姓名</div></td>
          <td width="12%" bgcolor="#D4DFFF"><div align="center" class="STYLE9">事假超出天数</div></td>
          <td width="14%" bgcolor="#D4DFFF"><div align="center" class="STYLE9">事假超出被扣分</div></td>
          <td width="11%" bgcolor="#D4DFFF"><div align="center" class="STYLE9">病假超出天数</div></td>
          <td width="14%" bgcolor="#D4DFFF"><div align="center" class="STYLE9">病假超出被扣分</div></td>
          <td width="15%" bgcolor="#D4DFFF"><div align="center" class="STYLE9">丧娩公伤假超出天数</div></td>
          <td width="14%" bgcolor="#D4DFFF"><div align="center" class="STYLE9">丧娩公伤假被扣分</div></td>
          <td width="7%" bgcolor="#D4DFFF"><div align="center" class="STYLE9">登记</div></td>
        </tr>
        <% if (!rs.EOF || !rs.BOF) { %>
          <% while ((Repeat1__numRows-- != 0) && (!rs.EOF)) { %>
            <tr>
              <td bgcolor="#D4DFFF"><div align="center"><%=(rs.Fields.Item("name").Value)%></div></td>
              <td bgcolor="#E8EEFF"><div align="center"><%if(rs.Fields.Item("vt").Value!=0) Response.Write("<font color='red'>")%>
			  <%=(rs.Fields.Item("vt").Value)%>
			  <%if(rs.Fields.Item("vt").Value!=0) Response.Write("</font>")%></div></td>
              <td bgcolor="#E8EEFF"><div align="center">
                <%if(rs.Fields.Item("vts").Value!=0) Response.Write("<font color='red'>")%>
                <%=(rs.Fields.Item("vts").Value)%>
                <%if(rs.Fields.Item("vts").Value!=0) Response.Write("</font>")%>
                [分]</div></td>
              <td bgcolor="#E8EEFF"><div align="center">
                <%if(rs.Fields.Item("vi").Value!=0) Response.Write("<font color='red'>")%>
                <%=(rs.Fields.Item("vi").Value)%>
                <%if(rs.Fields.Item("vi").Value!=0) Response.Write("</font>")%>
              </div></td>
              <td bgcolor="#E8EEFF"><div align="center">
                <%if(rs.Fields.Item("vis").Value!=0) Response.Write("<font color='red'>")%>
                <%=(rs.Fields.Item("vis").Value)%>
                <%if(rs.Fields.Item("vis").Value!=0) Response.Write("</font>")%>
                [分]</div></td>
              <td bgcolor="#E8EEFF"><div align="center">
                <%if(rs.Fields.Item("vh").Value!=0) Response.Write("<font color='red'>")%>
                <%=(rs.Fields.Item("vh").Value)%>
                <%if(rs.Fields.Item("vh").Value!=0) Response.Write("</font>")%>
              </div></td>
              <td bgcolor="#E8EEFF"><div align="center">
                <%if(rs.Fields.Item("vhs").Value!=0) Response.Write("<font color='red'>")%>
                <%=(rs.Fields.Item("vhs").Value)%>
                <%if(rs.Fields.Item("vhs").Value!=0) Response.Write("</font>")%>
                [分]</div></td>
              <td bgcolor="#E8EEFF"><div align="center"><A HREF="k_u_add.asp?<%= Server.HTMLEncode(MM_keepNone) + ((MM_keepNone!="")?"&":"") + "nameid=" + rs.Fields.Item("nameid").Value %>">登记</A></div></td>
            </tr>
            <%
  Repeat1__index++;
  rs.MoveNext();
}
%>
          <% } // end !rs.EOF || !rs.BOF %>
      </table>
      
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><% if (rs.EOF && rs.BOF) { %>
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td>&nbsp;</td>
                </tr>
              </table>
              <% } // end rs.EOF && rs.BOF %>
</td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html>
<%
rs.Close();
%>

⌨️ 快捷键说明

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