<% '------------------------------------------------------------------------------- 'Template '------------------------------------------------------------------------------- %> <% '------------------------------------------------------------------------------- 'Config '------------------------------------------------------------------------------- Public Sub Config() Page.S = fn.dic("s") Page.Cate = "1050000" End Sub '------------------------------------------------------------------------------- 'Local Function '------------------------------------------------------------------------------- '------------------------------------------------------------------------------- 'Content '------------------------------------------------------------------------------- Public Sub RenderContent() %> <% if US.GETS("WEBID") = "" then%> <%elseif US.GETS("WEBID")="" or (US.GETS("LECTYPE")<>"MEMBER" and US.GETS("LECTYPE")<>"TELENG") then%> <%else%>
¹øÈ£ Á¦ ¸ñ ÀÛ¼ºÀÚ ÀÛ¼ºÀÏ
<% dim bno : bno = "10005" ' °øÁö(10005), dim compNo : compNo = "0" ' ÀüÈ­¿µ¾î¼ö°­»ý(ȸ»ç¹øÈ£) -> 0Àΰæ¿ì ÁöÁ¡°øÁö»çÇ×À¸·Î ó¸® if US.GETS("LECTYPE") = "TELENG" then set db = new dbclass db.sql = " select top 1 ÀÌȸ»ç_¹øÈ£ from vi_ÀüÈ­¿µ¾î_¼ö°­¸ñ·Ï where À¯ÀúÄÚµå="&us.gets("WEBIDX")& " ORDER BY Á¾·áÀÏ DESC" set rs = db.execrs() set db = nothing if not rs.eof then compNo = rs(0) rs.close : set rs=nothing end if dim pg : pg=fn.dic("curpage") : if pg="" then pg=1 Set Listing = new ListClass Listing.SetLow = 11 Listing.Columm = " * " Listing.Short = " Qfix DESC, QThread DESC " Listing.Table = " Board " Listing.CountSql = "select count(*) from Board where QDelFg = 0 and Qbranch="&US.GETS("Branch")&" and QUnique='"&bno&"' and QcompNo='"&compNo&"';" Listing.Condition = "QDelFg = 0 and Qbranch="&US.GETS("Branch")&" and QUnique="&bno&" and QcompNo="&compNo 'Listing.Dbview = true Set rs = Listing.execrs() response.cookies("searchKeyWords") = "?curpage="&pg 'US.SETS "PageName", Listing.Target %> <% i = 0 dim branchName dim cssFix : cssFix="" i = 0 Do until rs.eof if rs("Qfix")=0 then cssFix="" else cssFix="fix" if rs("Qbranch")=10006 then branchName = "½Ãû¼¾ÅÍ" elseif rs("Qbranch")=10022 then branchName = "ºÐ´ç¼¾ÅÍ" else branchName = "¼¾ÅÍ" end if %> <% i = i + 1 rs.movenext loop %>
<%=(Listing.ListCount)-(pg-1)*11 - i%>   "><%=rs("QTitle")%><%if left(rs("Qdate"),10) >= trim(date()-5) then%><%end if%> <%if int(rs("QFileNum")) > 0 then%><%end if%> <%=left(rs("QDate"),10)%>
<%=Listing.Paging2("")%>
<% Set Listing = Nothing %>
<%end if%> <% End Sub %>