<!--#include file="conn/conn_index.asp"-->
<!--#include file="inc/char.asp"-->
<!--#include file="inc/setup.asp"-->
<!--#include file="inc/sql.asp"-->
<%
	end if
	id=int(ReplaceBadChar(Trim(Request.QueryString("id"))))
%>
<body topmargin="0" leftmargin="0" oncontextmenu=self.event.returnValue=false>
<link href="images/train/train.css" rel="stylesheet" type="text/css">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<%
	set rs=server.createobject("adodb.recordset")
	sql1="select * from train_subject where tid="&id&" and zhuangtai=1 and hidesubject=0"
	rs.open sql1,conn,1,1
	if rs.eof then
		Response.Write("暂时还没有此机构的培训课程信息")
	else
		do while not rs.eof
%>	
              <tr>
                <td height="23"><font color="#FF0000">·</font><font color="#FF0000"><a href="html/train/<%= id %>/<%= rs("id") %>.html" target="_blank"><%= rs("tsname") %></a></font> </td>
                <td  ><font color="#FF0000"><%= left(rs("introduction"),50) %><% If len(rs("introduction"))>50 Then Response.Write("...")%></font></td>
              </tr>
<%
		rs.movenext
		loop
	end if
	rs.close
	set rs=nothing
	conn.close
	set conn=nothing
%>
</table>
</body>
</HTML>
