<!--#include file="../inc/Bll.asp"-->
<!--#include file="../inc/Constant.asp"-->
<!--#include file="../inc/Md5.asp"-->
<!--#include file="../inc/App.asp"-->

<%
Auto_Login2()

if Request.QueryString("ac")="GetSysTip" then 
	RS_End
	dim CurrentPage,k,Re,rid,seat1,seat2,seat3,seat4,seat5
	Re="var Re=""{data:["
	Set RS=DB_CONN.EXECUTE("select * from (select top 5 * from [i_Sys_Tip] order by [i_Sys_Tip_ID] desc) as t order by [i_Sys_Tip_ID] asc")
		while (not RS.eof and k<RS.recordcount-1 )
			if k>0 then Re=Re&","
			Re=Re&"{Time:'"&RS("i_Sys_Tip_Time")&"',PostUName:'"&RS("i_Sys_Tip_Name")&"',PostUID:'"&RS("i_Sys_Tip_UID")&"',Msg:'"&RS("i_Sys_Tip_Words")&"',SysMsgLinkUrl:'"&RS("i_Sys_Tip_Href")&"'}"
			k=k+1
			RS.MoveNext
		Wend
	Re=Re&"]}"";"
	RS_End
	RW Re
	Rend
end if
%>