% session.codePage = default_CodePage response.charSet = default_CharSet %> <% Dim arrRs, arrCha, log_num, PageSize, goPage, objcount, arrIp, macIP Dim lec_num lec_num = trimReq("lec_num") log_num = trimReq("log_num") PageSize = trimReq("PageSize") If len(PageSize) = 0 Then PageSize = 10 goPage = trimReq("goPage") If len(goPage) = 0 Then goPage = 1 arrRs = LectureMemberList(Request.Cookies(appVendorDB)("member_id"), "", "", PageSize, goPage) arrIp = MemberMACIP() macIP = Request.Cookies("macIP") Function WorkTake(cnt, takeDate) Dim workTakeText If cnt = 0 Then workTakeText = "미제출" Else workTakeText = left(takeDate,10) End if WorkTake = workTakeText End Function Function WorkMark(scoreDate) Dim WorkMarkText If isNull(scoreDate) Then WorkMarkText = "-" Else WorkMarkText = left(scoreDate,10) End if WorkMark = WorkMarkText End Function Function workPoint(score,endDt) eDt = DateAdd("d",25,CDate(endDt &" 17:00:00")) 'If eDt <= Now() Then workPoint = score 'Else ' workPoint = "-" 'End if End Function %>
번호 | 과정구분 | 과정명 | 제출기간 | 제출현황 | 채점현황 | 점수 |
---|---|---|---|---|---|---|
<%=objcount%> | <% If arrRs(22, i) = "2" Then response.Write "환급" Else response.Write "일반" End if %> | <% Dim jsAction If ( DateDiff("d",Now(), arrRs(43, i)) =< 0 And datediff("d",Now(), arrRs(44, i)) >= 0 ) Or (Not isNull(arrRs(25, i)) AND datediff("d",now(), arrRs(19, i)) > 0 ) then if AuthLoginFlag then '공인인증서 로그인 사용여부 if Request.Cookies(appVendorDB)("orcs_yn") <> "Y" then if (arrIP(0, 0) = "Y" AND instr(arrIP(1, 0), macIp)) or (arrIP(2, 0) = "Y" AND instr(arrIP(3, 0), macIp)) or (arrIP(4, 0) = "Y" AND instr(arrIP(5, 0), macIp)) then 'MACIP 확인 jsAction = "location.href='?lec_num="& arrRs(5, i) &"&log_num="& arrRs(0, i) &"&work_date1="& arrRs(43, i) &"&work_date2="& arrRs(44, i) &"&goPage="& goPage &"';" else jsAction = "auth_login("& arrRs(0, i) &"); return false;" end if else jsAction = "location.href='?lec_num="& arrRs(5, i) &"&log_num="& arrRs(0, i) &"&work_date1="& arrRs(43, i) &"&work_date2="& arrRs(44, i) &"&goPage="& goPage &"';" end if else jsAction = "location.href='?lec_num="& arrRs(5, i) &"&log_num="& arrRs(0, i) &"&work_date1="& arrRs(43, i) &"&work_date2="& arrRs(44, i) &"&goPage="& goPage &"';" end if elseIf isNull(arrRs(25, i)) AND datediff("d",now(), arrRs(19, i)) < 0 Then jsAction = "" else 'jsAction = "alert('과제 제출기간이 아닙니다.'); return false;" jsAction = "location.href='?lec_num="& arrRs(5, i) &"&log_num="& arrRs(0, i) &"&work_date1="& arrRs(43, i) &"&work_date2="& arrRs(44, i) &"&goPage="& goPage &"';" end if if request.ServerVariables("REMOTE_HOST") = TestModeIP or request.ServerVariables("REMOTE_HOST") = "119.206.29.243" or fnc_testID(Request.Cookies(appVendorDB)("member_id")) then jsAction = "location.href='?lec_num="& arrRs(5, i) &"&log_num="& arrRs(0, i) &"&work_date1="& arrRs(43, i) &"&work_date2="& arrRs(44, i) &"&goPage="& goPage &"';" end if %> <%=arrRs(17, i)%> |
<%=left(arrRs(43, i),10)%>~<%=left(arrRs(44, i),10)%> |
<%=WorkTake(arrRs(24, i), arrRs(55, i))%> |
<%=WorkMark(arrRs(25,i))%> |
<%'=arrRs(11, i)%> <%=workPoint(arrRs(31, i),left(arrRs(44, i),10))%> |
<% Server.Execute("/2tSub06/viewW1.html") %> | ||||||
<% Server.Execute("/2tSub06/viewW1RS.html") %> |