<% '------------------------------------------------------------------------------- '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")<>"" and (US.GETS("LECTYPE")<>"MEMBER" and US.GETS("LECTYPE")<>"TELENG") then%> <%else if US.GETS("LECTYPE") = "TELENG" then response.redirect "2topic_tel_list.htm" end if ' ´ãÀÓ/ÆÄÆ®³Ê dim tidx,pidx,tnm,pnm set db = new dbclass db.sql = "select top 1 b.idx as tidx, b.name as tnm, c.idx as pidx, c.name as pnm from course_apply_info a " db.sql = "left outer join vi_teacher b on a.app2_tid=b.id " db.sql = "left outer join teacher c on b.partner=c.id " db.sql = "where app2_userIdx = '"&session("idx")&"' " db.sql = "order by app2_sugangDate desc;" set rs = db.execrs() : db.clear() if not rs.eof then tidx = rs("tidx") : tnm = rs("tnm") : pidx = rs("pidx") : pnm = rs("pnm") end if set db = nothing Set Listing = new ListClass Listing.SetLow = 10 Listing.Columm = " * " Listing.Short = " T_suDay DESC, T_suTime1 DESC " Listing.Table = " vi_ÅäÇȸñ·Ï " ' ´çÀÏ+14ÀÏ À̳»¸¸ Á¶È¸ ' ¸Å¿ù 19ÀϱîÁö´Â ´ÙÀ½´Þ ½ºÄÉÁì Á¶È¸ºÒ°¡ dim lastDate ' ÇöÀç¿ùÀÇ ¸»ÀÏ»êÃâ lastDate = dateserial(year(date),month(date)+1,1)-1 if day(date())<=15 then Listing.CountSql = "select count(*) from vi_ÅäÇȸñ·Ï where webid='" & us.gets("WEBID") & "' and T_delFg=0 and T_suday<='"&lastDate&"' " Listing.Condition = " webid=''" & us.gets("WEBID") & "'' AND T_delFg=0 and T_suday
<% i=0 dim webid, useridx do until rs.eof webid=rs("webid") useridx=rs("t_uidx") %> <% i=i+1 : rs.MoveNext : loop%>
¼ö¾÷ÀϽà ÁÖÁ¦ ÄÜÅÙÃ÷ Áú¹® ´äº¯ °­»ç1 Comments °­»ç2 Comments VIEW
<%=rs("T_suDay")&" "&rs("T_suTime1")%> "> <%=rs("t_title")%> <%if rs("T_makeType")=1 and isnull(rs("T_contentsDate")) then response.write "¼ö°­»ý
ÀÛ¼º" elseif rs("T_makeType")=1 and not isnull(rs("T_contentsDate")) then response.write "
O
" else response.write "" end if %>
<%if isnull(rs("T_questionDate")) then response.write "¡¿" else response.write "
O
"%>
<%if isnull(rs("T_answerDate")) then response.write "¡¿" else response.write "
O
"%>
<%=rs("T_btNm")%> <%if isnull(rs("T_btWriteDate")) then%> <%else%>O<%end if%> <%=rs("T_ntNm")%> <%if isnull(rs("T_ntWriteDate")) then%> <%else%>O<%end if%> ','<%=rs("T_no")%>')">Class Notes <%if rs("T_no")/24 = fix(rs("T_no")/24) then%>
);">Evaluation<%end if%>
<%=Listing.Paging2("")%>
<% Set Listing = Nothing %>
<%=tnm%>
<%if pnm<>"" then%>
<%=pnm%>
<%end if%>
<%end if%> <% End Sub %>