| <% for i = 1 to rsCourse("level") - 1 response.Write(" ") next if trim(rsCourse("title")) = "" then response.Write(trim(rsCourse("title_c"))) else response.Write(trim(rsCourse("title"))) end if %> | <%
strSQL = "select * from nh_course_link where course_id=" & rsCourse("course_id") & " order by link_order asc;"
set rsSched = Server.CreateObject("ADODB.Recordset")
rsSched.Open strSQL, adoCon
if rsSched.EOF then
response.Write(" ")
else
n = 0
do while not rsSched.EOF
if n > 0 then
response.Write(" ") end if %>" target="_blank"><% if rsSched("doc_type") = "pdf" then %> |