<% x = "2" if request("gotopage") <> "" then tmp_currentpage = request("gotopage") else tmp_currentpage = 1 end if %>

승인 문서

<% query = "SELECT * " query = query & "FROM Document a " query = query & " INNER JOIN 문서내용 b on a.d_no = b.문서번호 " query = query & "WHERE b.login_p_no <> '" & Session("User_Number") & "' " query = query & " AND a.d_delok = 'N' " query = query & " AND a.d_name <> '업무일지' " query = query & " AND a.d_order_cnt in ('77') " query = query & " AND (a.d_order1 = '" & Session("User_Number") & "' " for tmp_i = 2 to 4 query = query & " OR a.d_order" & tmp_i & " = '" & Session("User_Number") & "' " next query = query & " OR a.d_order5 = '" & Session("User_Number") & "') " query = query & "ORDER BY a.d_sn DESC " Rs.Open query, adoConn, 1 tmp_count = Rs.RecordCount %>
목록결과 : 총 <%=tmp_count%>개의 항목이 있습니다.
<% if Rs.RecordCount > 0 then Rs.PageSize = 20 tmp_ok = 1 PageCount = Rs.PageCount Rs.absolutepage = tmp_Currentpage tmp_total_record = Rs.RecordCount tmp_for = Cint(tmp_total_record) - ((Cint(tmp_Currentpage) - 1) * Rs.PageSize) if Rs.PageSize <= tmp_for then if Rs.RecordCount <= Rs.PageSize then tmp_for = Rs.recordcount else tmp_for = Rs.PageSize end if else tmp_for = tmp_for end if for i = 1 to tmp_for tmp_txt = "완료" if Cint(tmp_Currentpage)=1 then Num=Cint(tmp_total_record)- i+1 else Num=Cint(tmp_total_record) - ((Cint(tmp_Currentpage) - 1) * Rs.PageSize) - i +1 end if tmp_flag = mid(Rs("d_no"), 10, 1) if Rs("d_name") = "직접비" then tmpstr = Rs("p_sn") else tmpstr = Rs("d_no") end if if Rs("d_name") = "문화체육비신청서" then tmp_flag = "o2" end If if Rs("d_name") = "면접원수당지출결의서" then tmp_flag = "t2" end If %> <% Rs.MoveNext next end if Rs.Close %>
No. 문서분류 작성일 작성자 요청
<%=Num%> ','1','<%=x%>','<%=Rs("p_sn") %>')" class="blue"><%if Rs("d_name") = "부서비신청서" then response.Write "그룹(장)활동비" else response.Write Rs("d_name") end if%> <%=Rs("d_write_date")%> <%=Rs("login_이름")%> 처리완료
<%=Pagelist("allow_listall.asp",tmp_currentpage ,tmp_bcolor , "", pagecount, "&b_type=" & b_type)%>