<!--#include file="../Include/conig.asp"-->
<!--#include file="../Include/Inc_Page.asp"-->
<!--#include file="Admin_check.asp"-->
<%
response.expires = 0 
response.expiresabsolute = now() - 1 
response.addHeader "pragma","no-cache" 
response.addHeader "cache-control","private" 
Response.cachecontrol = "no-cache"
if Instr(session("AdminPurview"),"|911,")=0 then 
  response.write ("<font color='red')>你不具有该管理模块的操作权限，请返回！</font>")
  response.end
end if
'========判断是否具有管理权限 
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>投票排行</title>
<LINK href="images/Admin_css.css" type=text/css rel=stylesheet>
<script src="Images/admin.js"></script>
</head>
<body>
<br>
<table width="99%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#6298E1">
<tr> 
  <td height="25" colspan="6" align=left background="images/th_bg.gif" class="admintitle">投票排行</td>
</tr>
    <tr bgcolor="#f1f3f5" style="font-weight:bold;">
    <td width="5%" height="25" align="center" bgcolor="#EBF2F9" class="ButtonList">序号</td>
    <td width="47%" align="center" bgcolor="#EBF2F9" class="ButtonList">评选名称</td>
    <td width="17%" align="center" bgcolor="#EBF2F9" class="ButtonList">投票数</td>
    <td width="16%" height="25" align="center" bgcolor="#EBF2F9" class="ButtonList">人气数</td>
    <td width="15%" height="25" align="center" bgcolor="#EBF2F9" class="ButtonList">发布时间</td>    
    </tr>
<%
Set mypage=new xdownpage
mypage.getconn=conn
mysql="select * from Web_rui_v_po where ViewFlag=1 order by VoteNum desc"
mypage.getsql=mysql
mypage.pagesize=15
set rs=mypage.getrs()
for i=1 to mypage.pagesize
    if not rs.eof then 
%>
    <tr>
    <td height="25" align="center" bgcolor="#EBF2F9"><%=rs("ID")%></td>
    <td height="25" bgcolor="#EBF2F9"><a href="Admin_Po.asp?Result=Modify&ID=<%=rs("ID")%>"><%=left(GlHtml(rs("VoteName")),30)%></a></td>
    <td height="25" align="center" bgcolor="#EBF2F9"><%=rs("VoteNum")%></td>
    <td height="25" align="center" bgcolor="#EBF2F9"><%=rs("Hits")%></td>
    <td align="center" bgcolor="#EBF2F9"><%=rs("Addtime")%></td>
    </tr>
<%
rs.movenext
    else
         exit for
    end if
next
%>
<tr><td bgcolor="#EBF2F9" colspan="5">
<div class="LPageBar">
<%=mypage.showpage()%>
</div>
</td>
</tr>
</table>

<%
	rs.close
  	set rs=nothing
%>
</body>
</html>