📄 votemanage.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="ConnUser.asp"-->
<!--#include file="config.asp"-->
<!--#include file="inc/config.asp"-->
<!--#include file="char.inc"-->
<!--#include file="ChkUser.asp" -->
<!--#include file="ChkManage.asp" -->
<%IF not(request.cookies(Forcast_SN)("ManageKEY")="super" or request.cookies(Forcast_SN)("ManageKEY")="bigmaster" or request.cookies(Forcast_SN)("ManageKEY")="check" or request.cookies(Forcast_SN)("ManageKEY")="typemaster") THEN
Show_Err("对不起,您的管理权限不够!")
response.end
else
aaas=(request.cookies(Forcast_SN)("ManageKEY")="super")
if votemana="1" or (request.cookies(Forcast_SN)("ManagePurview")="99999" and request.cookies(Forcast_SN)("purview")="99999") then
set rs=server.createobject("adodb.recordset")
sql="select * from "& db_Vote_Table &" order by id desc"
rs.open sql,conn,1,1
%>
<html><head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href=site.css rel=stylesheet>
<title><%=copyright%><%=version%> <%=ver%> - 投票管理</title>
</head>
<body topmargin="0">
<!--#include file=Admin_Top.asp-->
<table border="1" cellpadding="3" cellspacing="0" style="border-collapse: collapse" bordercolor="#C0C0C0" width="100%" id="AutoNumber1">
<form method="POST" action="VoteSet.asp">
<tr class="TDtop">
<td width="100%" height="25" colspan=5 align=center>┊ <strong>投票管理</strong> ┊</td>
</tr>
<tr class="TDtop1" height=20>
<td width="10%" align="center">选择</td>
<td width="10%" align="center">ID</td>
<td width="60%" align="center">主题</td>
<td width="10%" align="center">修改</td>
<td width="10%" align="center">删除</td>
</tr>
<%do while not rs.eof%>
<tr height=20>
<td width="10%" align="center">
<input type="radio" value=<%=rs("ID")%><%if rs("IsChecked")=1 then%> checked<%end if%> name="Checked">
</td>
<td width="10%" align="center"><%=rs("ID")%> </td>
<td width="60%"><%=rs("Title")%> </td>
<td width="10%" align="center">
<input onclick="javascript:window.open('VoteModify.asp?id=<%=rs("ID")%>','_self','')" type="button" value="修改" name="button1" style="font-size: 9pt; color: #000000; background-color: #EAEAF4; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#ffffff'" onMouseOut ="this.style.backgroundColor='#EAEAF4'">
</td>
<td width="10%" align="center">
<input onclick="javascript:window.open('VoteDel.asp?id=<%=rs("ID")%>','_self','')" type="button" value="删除" name="button2" style="font-size: 9pt; color: #000000; background-color: #EAEAF4; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#ffffff'" onMouseOut ="this.style.backgroundColor='#EAEAF4'">
</td>
</tr>
<%rs.movenext
loop
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<tr>
<td colspan=5 align=center>
<input type="submit" value="选定投票项" name="submit" style="font-size: 9pt; color: #000000; background-color: #EAEAF4; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#ffffff'" onMouseOut ="this.style.backgroundColor='#EAEAF4'">
<input onclick="javascript:window.open('VoteAdd.asp','_self','')" type="button" value="添加新投票" name="button" style="font-size: 9pt; color: #000000; background-color: #EAEAF4; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#ffffff'" onMouseOut ="this.style.backgroundColor='#EAEAF4'">
</td>
</tr>
</form>
</table>
</div>
</body>
</html>
<!--#include file=Admin_Bottom.asp-->
<%else
Show_Err("对不起,该功能已经被超级系统管理员关闭,您没有权限操作!")
response.end
end if
end if%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -