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

부재 문서

<% query = "SELECT A.d_sn, A.d_no, B.문서제목, B.p_sn, A.d_orders, A.d_write_date, A.d_view, A.d_delok " query = query & "FROM [Document_pass] as A " query = query & "LEFT OUTER JOIN 문서내용 as B " query = query & "ON A.d_no = B.문서번호 " query = query & "WHERE A.d_delok = 'N' " query = query & " AND A.d_view = 'Y' " query = query & " AND A.d_orders = '" & 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 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 if i mod 2 = 1 then tmp_bgcolor = "#ffffff" else tmp_bgcolor = "#dbe9f2" end if tmp_flag = mid(Rs("d_no"), 10, 1) %> <% Rs.MoveNext next end if Rs.Close %>
No. 문서분류 처리일
<%=Num%> ','1','<%=x%>', '<%=Rs("p_sn")%>')" class="blue"><%if Rs("문서제목") = "부서비신청서" then response.Write "그룹(장)활동비" else response.Write Rs("문서제목") end if%> <%=Rs("d_write_date")%>
<%=Pagelist("view_pass.asp",tmp_currentpage ,tmp_bcolor , "", pagecount, "&b_type=" & b_type &"&x=" & x)%>