<!--#include file="inc/config.asp"-->
<!--#include file="inc/conn.asp"-->
<%
id=Request.QueryString("id")
if id="" or not isnumeric(id) then
	Response.Write("<script>alert('参数错误!');location='index.asp';</script>")
	Response.End()
end if

sql="Select * from Menu where id="&id
Set rs=conn.execute(sql)
if rs.eof then
	Response.Write("<script>alert('不存在的信息或者尚未通过审核!');location='index.asp';</script>")
	Response.End()
end if
%>
<!DOCTYPE html PUBLIC "-//W3C//Dtd XHTML 1.0 transitional//EN" "http://www.w3.org/tr/xhtml1/Dtd/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><%=SiteName%>_校无忧科技_Www.Xiao5u.Com</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="author" content="校无忧科技_Www.Xiao5u.Com">
<meta name="description" content="校无忧评选投票系统_Www.Xiao5u.Com" />
<link href="images/index.css" rel="stylesheet" type="text/css">
<!--#include file=images/ini.sys -->
</head>
<body>
<table cellSpacing=0 cellPadding=0 align=center width="960px">
  <tr>
    <td id="banner"><%=SiteName%></td>
  </tr>
 <tr>
  <td id="menu"><a href="/">首页</a>  
<%
set rsm=server.createobject("adodb.recordset")
exec="select * from menu order by id desc"		
rsm.open exec,conn,1,1
do while not rsm.eof
%>
 - <a href="About.asp?id=<%=rsm("id")%>"><%=rsm("title")%></a> 
<%		
Rsm.movenext
Loop
rsm.close
set rsm=nothing
%>
 - <a href="rank.asp">评选排行</a>
 - <a href="http://www.xiao5u.com/" target="_blank">活动论坛</a>
   </td>
 </tr>
</table>
<table width="960px" align="center" bgcolor="#F0F7FF">
 <tr>
  <td colspan="4">
   <table width="90%" align="center" cellpadding="0" cellspacing="5">
	<tr id="info">
      <td><%=rs("content")%></td>
    </tr>
   </table>
  </td>
 </tr>
</table>
<table cellSpacing=0 cellPadding=0 align=center background="images/botbj.jpg" width="960px">
  <tr>
    <td height=60 align="center" id="Bottom"> <%=Copyright%> </td>
  </tr>
</table>
<%
rs.close
Set rs=nothing
%>
</body>
</html>