亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? scoreprintstep3_1.asp

?? 工資管理系統(tǒng)功能齊全包括工人工資信息查詢.
?? ASP
字號:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="StudentConn.asp" -->
<%
Dim rsTestName__MMColParam,rsScore__MMColParam
Dim strSheetName, strStudentNum, strName, strGrade, strClass,strSubjects
strSheetName = Request("SheetName")
strSubjects = strSheetName & "." & Replace(Request("chkbox"),", ",", " & strSheetName & ".")
rsTestName__MMColParam = Request("SheetName")
intPageSize=Request("PageSize")
if intPageSize="" then intPageSize=30

%>
<%
set rsTestName = Server.CreateObject("ADODB.Recordset")
rsTestName.ActiveConnection = MM_StudentConn_STRING
rsTestName.Source = "SELECT SheetName, TestName FROM TestName WHERE SheetName = '" + Replace(rsTestName__MMColParam, "'", "''") + "'"
rsTestName.CursorType = 0
rsTestName.CursorLocation = 2
rsTestName.LockType = 3
rsTestName.Open()
rsTestName_numRows = 0
%>
<%
strStudentNum= Request("StudentNum")
strName=Request("Name")
strGrade=Request("Grade")
strClass=Request("ClassID")

set rsScore = Server.CreateObject("ADODB.Recordset")
rsScore.ActiveConnection = MM_StudentConn_STRING

strSQL = "Select " & strSheetName & ".StudentNum, StudentInfo.Name, " & strSubjects & " From " & strSheetName
strSQL = strSQL & " LEFT JOIN StudentInfo ON " & strSheetName & ".StudentNum = StudentInfo.StudentNum"

if (strStudentNum <> "") then
  strSQL = strSQL & " Where " & strSheetName & ".StudentNum Like '%" & strStudentNum & "%'"
elseif (strName<>"") then
  strSQL = strSQL & " Where StudentInfo.Name Like '%" & strName & "%'"
else  
  If len(Year(Now()))<=2 Then
    NewYear="20" & Year(Now())
  Else
    NewYear=Year(Now())
  End If
  If len(Month(Now()))<=1 Then
    NewMonth="0" & Month(Now())
  Else
    NewMonth=Month(Now())
  End If
  if NewMonth<9 then
    strStudentNum=NewYear-strGrade-1
  else
    strStudentNum=NewYear-strGrade
  end if
  if strClass="All" then strClass=""
  if Len(strClass)=1 then
    strClass="0" & strClass
  end if
  strSQL = strSQL & " Where " & strSheetName & ".StudentNum Like '%" & strStudentNum & strClass & "%'"
end if
strSQL = strSQL & " ORDER BY " & strSheetName & ".StudentNum"

rsScore.Source = strSQL  
rsScore.CursorType = 0
rsScore.CursorLocation = 2
rsScore.LockType = 3
rsScore.Open()
rsScore_numRows = 0
%>
<%
Dim Repeat1__numRows
Repeat1__numRows = -1
Dim Repeat1__index
Repeat1__index = 0
rsScore_numRows = rsScore_numRows + Repeat1__numRows
%>
<%
' *** 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
MM_removeList = "&index="
If (MM_paramName <> "") Then MM_removeList = MM_removeList & "&" & MM_paramName & "="
MM_keepURL="":MM_keepForm="":MM_keepBoth="":MM_keepNone=""

' add the URL parameters to the MM_keepURL string
For Each Item In Request.QueryString
  NextItem = "&" & Item & "="
  If (InStr(1,MM_removeList,NextItem,1) = 0) Then
    MM_keepURL = MM_keepURL & NextItem & Server.URLencode(Request.QueryString(Item))
  End If
Next

' add the Form variables to the MM_keepForm string
For Each Item In Request.Form
  NextItem = "&" & Item & "="
  If (InStr(1,MM_removeList,NextItem,1) = 0) Then
    MM_keepForm = MM_keepForm & NextItem & Server.URLencode(Request.Form(Item))
  End If
Next

' create the Form + URL string and remove the intial '&' from each of the strings
MM_keepBoth = MM_keepURL & MM_keepForm
if (MM_keepBoth <> "") Then MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1)
if (MM_keepURL <> "")  Then MM_keepURL  = Right(MM_keepURL, Len(MM_keepURL) - 1)
if (MM_keepForm <> "") Then MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1)

' a utility function used for adding additional parameters to these strings
Function MM_joinChar(firstItem)
  If (firstItem <> "") Then
    MM_joinChar = "&"
  Else
    MM_joinChar = ""
  End If
End Function
%>
<%
'  *** Recordset Stats, Move To Record, and Go To Record: declare stats variables

Dim rsScore_total
Dim rsScore_first
Dim rsScore_last

' set the record count
rsScore_total = rsScore.RecordCount

' set the number of rows displayed on this page
If (rsScore_numRows < 0) Then
  rsScore_numRows = rsScore_total
Elseif (rsScore_numRows = 0) Then
  rsScore_numRows = 1
End If

' set the first and last displayed record
rsScore_first = 1
rsScore_last  = rsScore_first + rsScore_numRows - 1

' if we have the correct record count, check the other stats
If (rsScore_total <> -1) Then
  If (rsScore_first > rsScore_total) Then
    rsScore_first = rsScore_total
  End If
  If (rsScore_last > rsScore_total) Then
    rsScore_last = rsScore_total
  End If
  If (rsScore_numRows > rsScore_total) Then
    rsScore_numRows = rsScore_total
  End If
End If
%>

<%
' *** Recordset Stats: if we don't know the record count, manually count them

If (rsScore_total = -1) Then

  ' count the total records by iterating through the recordset
  rsScore_total=0
  While (Not rsScore.EOF)
    rsScore_total = rsScore_total + 1
    rsScore.MoveNext
  Wend

  ' reset the cursor to the beginning
  If (rsScore.CursorType > 0) Then
    rsScore.MoveFirst
  Else
    rsScore.Requery
  End If

  ' set the number of rows displayed on this page
  If (rsScore_numRows < 0 Or rsScore_numRows > rsScore_total) Then
    rsScore_numRows = rsScore_total
  End If

  ' set the first and last displayed record
  rsScore_first = 1
  rsScore_last = rsScore_first + rsScore_numRows - 1
  
  If (rsScore_first > rsScore_total) Then
    rsScore_first = rsScore_total
  End If
  If (rsScore_last > rsScore_total) Then
    rsScore_last = rsScore_total
  End If

End If
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>員工工資打印預(yù)覽</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2600.0" Name=GENERATOR>
<style type="text/css">
<!--
TABLE {
	font-size: 12px;
	text-decoration: none;
}
-->
</style>
</HEAD>
<BODY text=#000000 bgColor=#f7f7ff leftMargin=5 topMargin=5>
<TABLE cellSpacing=0 cellPadding=0 border=0>
  <TR> 
    <TD align="center" valign="top">
      <%
		if Request("StudentNum")<>"" then
			strTitle = "編號中含有“" & strStudentNum & "”"
		elseif strName<>"" then
			strTitle = "姓名中含有“" & strName & "”"
		else
			if strClass<>"" then strClass=strClass & "班" 
			strTitle = "高" & strGrade+1 & "級" & strClass 
		end if
		
		strTemp = Request("chkbox")
		dim ArrSubject,strSubject
		dim ArrPass(),ArrExcel(),ArrAttain(),ArrBeyond()
		ArrSubject = split(strTemp,",")
		ReDim ArrPass(UBound(ArrSubject)+1)
		Redim ArrExcel(UBound(ArrSubject)+1)
		Redim ArrAttain(UBound(ArrSubject)+1)
		Redim ArrBeyond(UBound(ArrSubject)+1)
		For i = LBound(ArrSubject) To UBound(ArrSubject)
        	ArrPass(i)=0
			ArrExcel(i)=0
			ArrAttain(i)=0
			ArrBeyond(i)=0
		next
		
		If Not rsScore.EOF Or Not rsScore.BOF Then
			rsScore.MoveFirst
			While Not rsScore.EOF
			response.Write "<font size='6'><b>" & strTitle & rsTestName.Fields.Item("TestName").Value & "成績表</b></font><br>"
			Repeat1__numRows = intPageSize
		%>
      <table cellspacing=0 border=1 cellpadding="0" bordercolor="#666666">
        <tr align="center" valign="middle"> 
          <td width="60" rowspan="2"><font color="#000000"><strong>編 號</strong></font></td>
          <td width="50" rowspan="2"><font color="#000000"><strong>姓 名</strong></font></td>
          <%
						  For i = LBound(ArrSubject) To UBound(ArrSubject)
						  	  strSubject=trim(cstr(ArrSubject(i)))
							  response.write "<td height='20' colspan='2'><font color='#000000'><b>" & strSubject & "</b></font></td>"
						  next
						%>
        </tr>
        <tr align="center" valign="middle"> 
          <%
						  For i = LBound(ArrSubject) To UBound(ArrSubject)
  						  	  strSubject=trim(cstr(ArrSubject(i)))
							  if strSubject<>"全級排名" and strSubject<>"班級排名" then
							  	response.write "<td height='20' width='30'><font color='#000000'>成績</font></td><td height='20' width='30'><font color='#000000'>目標</font></td>"
							  else
							  	response.write "<td height='20' width='30'><font color='#000000'>名次</font></td><td height='20' width='30'><font color='#000000'>目標</font></td>"
							  end if	
                          next
						%>
        </tr>
        <% 
While ((Repeat1__numRows <> 0) AND (NOT rsScore.EOF)) 
%>
<%
strName=cstr(rsScore.Fields.Item("Name").Value)
if strName="" then strName="&nbsp;"
%>
        <%
rsTarget__MMColParam = CStr(rsScore.Fields.Item("StudentNum").Value)
set rsTarget = Server.CreateObject("ADODB.Recordset")
rsTarget.ActiveConnection = MM_StudentConn_STRING
rsTarget.Source = "SELECT * FROM TargetScore WHERE StudentNum = '" + Replace(rsTarget__MMColParam, "'", "''") + "'"
rsTarget.CursorType = 0
rsTarget.CursorLocation = 2
rsTarget.LockType = 3
rsTarget.Open()
rsTarget_numRows = 0
%>
        <tr align="center" valign="middle"> 
          <td height="28" nowrap><font color="#000000"><%=(rsScore.Fields.Item("StudentNum").Value)%></font></td>
          <td height="20" nowrap><font color="#000000"><%=strName%></font></td>
          <%
						  dim strScore,strTartget
						  For i = LBound(ArrSubject) To UBound(ArrSubject)
						  	  strSubject=trim(cstr(ArrSubject(i)))
							  strScore=rsScore.Fields.Item(strSubject).Value
							  if IsNull(strScore) then strScore=0
							  if rsTarget.bof or rsTarget.eof then
							  	strTarget=0
							  else
							  	strTarget=rsTarget.Fields.Item(strSubject).Value
								if IsNull(strTarget) then strTarget=0
							  end if
							  if strScore<60 then
							    if strScore>=strTarget then        '達標
								  ArrAttain(i)=ArrAttain(i)+1
								  strTarget="<font color='#999999'>" & strTarget & "</font>"
								else        '不達標
								  strTarget="<font color='#ff0000'>" & strTarget & "</font>"
								end if
							    strScore = "<font color='#ff0000'>" & strScore & "</font>"
							  elseif strScore>=60 and strScore<80 then
							    ArrPass(i)=ArrPass(i)+1
							    if strScore>=strTarget then
								  if strTarget<60 then   '跳格
								    ArrBeyond(i)=ArrBeyond(i)+1
								    strTarget="<font color='#009900'>" & strTarget & "</font>"
								  else         '達標
								    ArrAttain(i)=ArrAttain(i)+1
									strTarget="<font color='#999999'>" & strTarget & "</font>"
								  end if
								else         '不達標
								  strTarget="<font color='#ff0000'>" & strTarget & "</font>"
								end if
							    strScore = "<font color='#0000ff'>" & strScore & "</font>"
							  elseif strScore>=80 then
							    ArrPass(i)=ArrPass(i)+1
							    ArrExcel(i)=ArrExcel(i)+1
								if strScore>=strTarget then
								  if strTarget<80 then   '跳格
								    ArrBeyond(i)=Arrbeyond(i)+1
								    strTarget="<font color='#009900'>" & strTarget & "</font>"
								  else    '達標
								    ArrAttain(i)=ArrAttain(i)+1
									strTarget="<font color='#999999'>" & strTarget & "</font>"
								  end if
								else     '不達標
								  strTarget="<font color='#ff0000'>" & strTarget & "</font>"
								end if
							    strScore = "<font color='#009900'>" & strScore & "</font>"
							  end if
							  response.write "<td height='20'>" & strScore & "</td>"
							  response.write "<td height='20'>" & strTarget & "</td>"
                          next
						  
						%>
        </tr>
        <%
rsTarget.Close()
%>
        <% 
  Repeat1__index=Repeat1__index+1
  Repeat1__numRows=Repeat1__numRows-1
  rsScore.MoveNext()
Wend
if rsScore.EOF then
%>
        <tr align="center" valign="middle"> 
          <td height="28" colspan="2" align="right" hight="20"><font color="#000000">合格人數(shù)/達標人數(shù):</font></td>
          <%
						  For i = LBound(ArrSubject) To UBound(ArrSubject)
							  response.write "<td height='20'>" & ArrPass(i) & "</td><td height='20'>" & ArrAttain(i) & "</td>"
                          next
				%>
        </tr>
        <tr align="center" valign="middle"> 
          <td height="28" colspan="2" align="right" hight="20"><font color="#000000">合格率/達標率:</font></td>
          <%
						  For i = LBound(ArrSubject) To UBound(ArrSubject)
							  response.write "<td height='20'>" & round(ArrPass(i)/(rsScore_total)*100,1) & "%</td><td height='20'>" & round(ArrAttain(i)/(rsScore_total)*100,1) & "%</td>"
                          next
						  
						%>
        </tr>
        <tr align="center" valign="middle"> 
          <td height="28" colspan="2" align="right" hight="20"><font color="#000000">優(yōu)秀人數(shù)/跳格人數(shù):</font></td>
          <%
						  For i = LBound(ArrSubject) To UBound(ArrSubject)
							  response.write "<td height='20'>" & ArrExcel(i) & "</td><td height='20'>" & ArrBeyond(i) & "</td>"
                          next
						  
						%>
        </tr>
        <tr align="center" valign="middle"> 
          <td height="28" colspan="2" align="right" hight="20"><font color="#000000">優(yōu)秀率/跳格率:</font></td>
          <%
						  For i = LBound(ArrSubject) To UBound(ArrSubject)
							  response.write "<td height='20'>" & round(ArrExcel(i)/(rsScore_total)*100,1) & "%</td><td height='20'>" & round(ArrBeyond(i)/(rsScore_total)*100,1) & "%</td>"
                          next
						  
						%>
        </tr>
        <tr align="center" valign="middle"> 
          <td height="28" colspan="2" align="right" hight="20"><font color="#000000">兩率和:</font></td>
          <%
						  For i = LBound(ArrSubject) To UBound(ArrSubject)
							  response.write "<td height='20'>" & round((ArrPass(i)+ArrExcel(i))/(rsScore_total)*100,1) & "%</td><td height='20'>" & round((ArrAttain(i)+ArrBeyond(i))/(rsScore_total)*100,1) & "%</td>"
                          next
						  
						%>
        </tr>
<% End if %>
      </table><br>
<%
	Wend
else 
	Response.Write "<br><br><br>找不到符合條件的記錄!<br><br><br>"
end if
%>
    </TD>
  </TR>
</TABLE>
</BODY>
</HTML>
<%
rsTestName.Close()
%>
<%
rsScore.Close()
%>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99久久精品情趣| 欧洲一区二区三区在线| 在线电影欧美成精品| 中文字幕不卡在线播放| 久久福利资源站| 日韩视频免费观看高清完整版在线观看 | 精品999在线播放| 三级精品在线观看| 在线视频欧美精品| 亚洲精品国产品国语在线app| 成人视屏免费看| 国产三级精品视频| 成人app网站| 国产精品国产三级国产普通话99| 日韩福利视频网| 欧美一区二区成人| 日韩av午夜在线观看| 91精品欧美一区二区三区综合在 | 欧美人与禽zozo性伦| 亚洲男女一区二区三区| 97se亚洲国产综合在线| ●精品国产综合乱码久久久久| 国产不卡高清在线观看视频| 中文字幕五月欧美| 成人黄色国产精品网站大全在线免费观看 | 婷婷综合另类小说色区| 欧美日韩一区二区在线观看| 亚洲电影欧美电影有声小说| 欧美精品一卡两卡| 日韩中文字幕区一区有砖一区 | 亚洲在线免费播放| 成人看片黄a免费看在线| 国产精品久久久久久久久免费樱桃| 成人动漫精品一区二区| 一区二区三区高清| 色噜噜狠狠色综合中国| 亚洲sss视频在线视频| 日韩视频免费观看高清完整版 | 国产寡妇亲子伦一区二区| 久久久精品一品道一区| 99免费精品视频| 亚洲一区二区三区小说| 日韩一区二区三区视频在线观看| 国产一区视频导航| 国产亚洲精品福利| 欧美三级电影网| 久久se这里有精品| 亚洲人一二三区| 欧美一区在线视频| 成人国产在线观看| 天天操天天干天天综合网| 久久综合九色综合97婷婷女人 | 国产欧美日韩在线看| 色天天综合色天天久久| 久久99这里只有精品| 中文字幕日韩精品一区| 6080国产精品一区二区| 高清不卡一区二区在线| 五月激情综合色| 国产精品久久三| 日韩一级免费一区| 色94色欧美sute亚洲线路一ni| 日韩成人午夜电影| 日本亚洲欧美天堂免费| 中文字幕在线免费不卡| 欧美另类变人与禽xxxxx| 成人精品国产一区二区4080| 日本不卡不码高清免费观看| 国产精品美女一区二区三区| 日韩视频在线你懂得| 91久久一区二区| 久久99久久99| 亚洲午夜在线电影| 国产精品成人免费精品自在线观看| 91精品国产综合久久国产大片| 99re热这里只有精品免费视频 | 久久国产精品99久久人人澡| 一区二区三区四区亚洲| 中文在线免费一区三区高中清不卡| 欧美一区二区三区四区在线观看| 91久久精品午夜一区二区| 久久精品国产免费| 亚洲国产综合色| 《视频一区视频二区| 久久久久久夜精品精品免费| 欧美日韩国产高清一区二区| 成人av在线资源| 国产精品91一区二区| 美女诱惑一区二区| 亚洲国产欧美日韩另类综合 | 国产精品色婷婷久久58| 欧美一区二区在线观看| 欧美综合天天夜夜久久| 91色.com| 91免费版在线| 99视频一区二区三区| 成人国产一区二区三区精品| 成人免费黄色大片| 成人激情午夜影院| 国产91丝袜在线18| 成人午夜视频在线| 色视频欧美一区二区三区| 欧美色手机在线观看| 日韩欧美高清在线| 国产无一区二区| 亚洲乱码国产乱码精品精小说| 性做久久久久久免费观看欧美| 免费在线观看成人| 国产传媒欧美日韩成人| 色综合婷婷久久| 欧美一区二区久久| 国产欧美精品一区| 亚洲午夜精品一区二区三区他趣| 麻豆中文一区二区| 91亚洲男人天堂| 日韩精品一区二| 亚洲精品亚洲人成人网| 久草这里只有精品视频| 成人精品电影在线观看| 4438x亚洲最大成人网| 国产精品欧美经典| 午夜精品久久久久久| 国产成人精品1024| 欧美专区亚洲专区| 欧美激情一区在线| 天涯成人国产亚洲精品一区av| 国产99久久久国产精品潘金网站| 欧美探花视频资源| 欧美激情一区二区三区四区| 亚洲综合免费观看高清完整版在线| 欧美成人精品3d动漫h| 亚洲欧洲日本在线| 国产精品一区2区| 日本丰满少妇一区二区三区| 亚洲国产高清aⅴ视频| 亚洲精品视频免费看| 青草av.久久免费一区| 日韩精品资源二区在线| 欧美日韩三级一区| 国产精品久久综合| 国产激情一区二区三区四区 | 日韩一区二区三区av| 国产精品美女久久久久aⅴ| 视频一区视频二区中文| aaa欧美大片| 日韩精品中午字幕| 亚洲图片一区二区| 成人污污视频在线观看| 亚洲精品一区二区三区蜜桃下载| 亚洲午夜av在线| 91麻豆swag| 中文在线一区二区| 国产精品白丝jk白祙喷水网站 | 一本久久a久久精品亚洲| 久久九九久久九九| 免费观看91视频大全| 在线免费观看视频一区| **性色生活片久久毛片| 成人自拍视频在线| 国产欧美视频在线观看| 国产大陆a不卡| 日本一区二区在线不卡| 国产精品一区二区三区乱码| 精品福利一区二区三区| 免费看欧美女人艹b| 6080国产精品一区二区| 天天综合日日夜夜精品| 在线不卡一区二区| 天天做天天摸天天爽国产一区| 久久久不卡网国产精品二区| 久久精品国产久精国产| 日韩欧美国产一区二区三区 | 亚洲精品在线观看网站| 精品一区二区三区蜜桃| 精品久久久久久久久久久久包黑料 | 日韩一二在线观看| 久久精品国产秦先生| 日韩精品在线看片z| 久草这里只有精品视频| 欧美精品一区二区久久久| 九色综合国产一区二区三区| 精品不卡在线视频| 成熟亚洲日本毛茸茸凸凹| 国产精品三级视频| 99vv1com这只有精品| 亚洲精品中文字幕在线观看| 精品视频1区2区| 免费观看日韩av| 久久久精品tv| 97国产一区二区| 亚洲h精品动漫在线观看| 日韩免费视频一区二区| 国产精品一区二区免费不卡| 中文字幕一区二区不卡| 在线免费av一区| 麻豆国产欧美一区二区三区| 久久久久久久性| 色天天综合色天天久久| 日韩影院在线观看| 久久久五月婷婷|