<%
Response.Expires= -1
Response.ExpiresAbsolute = Now() - 1
response.CacheControl="no-cache"
server.ScriptTimeout=50000
%>
<!--#include virtual="/Conn/conn.asp" -->
<!--#include virtual="/functions/dofunction.asp" -->
<!--#include virtual="/functions/showfunction.asp" -->
document.writeln("<div class=\"t01\">×¨¼Ò½²×ù</div>");
document.writeln("<ul class=\"con_c\">");

<%
	sql="select top 15 cast(title as varchar(38)) as showtitle,title,t_color,htmlpath,html,addlink from edu_news where newcataid=320 and newsubid=787 and isshow=1 order by shownum,addtime desc"
	set rs=server.createobject("adodb.recordset")
	rs.open sql,conn,3
	if not(rs.eof or rs.bof) then
	do while not rs.eof 
		if rs("addlink")="" or isnull(rs("addlink")) then
			newslink="/ms/web_news/html/"&rs("htmlpath")&"/"&rs("html")
		else
			newslink=rs("addlink")
		end if
%>
document.writeln("<li><a href=\"<%=newslink%>\" target=\"_blank\" title=\"<%=rs(1)%>\"><%=rs(0)%></a></li>");

<%
		rs.movenext
	loop
	end if
	rs.close
	set rs=nothing
%>
document.writeln("</ul>");
