% if request.QueryString("action") = "logout" then '退出登陆 Session("_WUserID") = "" Session("_UserCoolName") = "" Response.Redirect("index.asp") response.End() end if %>
<% set rs = server.createobject("adodb.recordset") rs.source = "select top 1 * from Company where ComName='网站公告'" rs.open rs.source,conn,1,1 if rs.eof=false then %><%=rs("Content")%><% end if rs.close() set rs=nothing %>