<% '------------------------------------------------------------------------------- 'Template '------------------------------------------------------------------------------- %> <% '------------------------------------------------------------------------------- 'Config '------------------------------------------------------------------------------- Public Sub Config() ' °¡Àå »ó´Ü¿¡¼­ ¼³Á¤ÇÒ config End Sub '------------------------------------------------------------------------------- 'Local Function '------------------------------------------------------------------------------- '------------------------------------------------------------------------------- 'Content '------------------------------------------------------------------------------- Public Sub RenderContent() dim branch,branchName branch = fn.qstring("branch") if branch="" then branch="10006" branchName = "City Hall Center ¼­¿ï½ÃûÁ¡" if branch="10006" then branchName = "City Hall Center ¼­¿ï½ÃûÁ¡" elseif branch="10022" then branchName = "Bundang Center ºÐ´çÁ¡" end if %>

°­»ç¼Ò°³

<%=branchName%>

<% set db = new dbclass db.sql = "SELECT A.*,B.À§Ä¡ FROM teacher A LEFT OUTER JOIN FILES.DBO.ƼÆÄÀÏÁ¤º¸ B ON A.Qfilekey=B.À¯ÀÏÅ° WHERE A.showWeb=1 AND A.branch='"&branch&"' " db.sql = "ORDER BY A.showwebsort,A.emp_no" 'db.view set rs = db.execrs() : db.clear() set db = nothing do until rs.eof %>

">

<%=rs("fullname")%>

Nationality : <%=rs("nationality")%>
<%=rs("university")%>

<%=replace(rs("introduction"),chr(13),"
")%>

<% rs.movenext loop rs.close : set rs=nothing %>
<% End Sub %>