poll.asp

来自「聊天室源码呵呵你好用~~~~~~2.0版本」· ASP 代码 · 共 59 行

ASP
59
字号
<%@ LANGUAGE=VBScript%>
<%Server.ScriptTimeout=1000
Response.Expires=0
Set fs=CreateObject("Scripting.FileSystemObject")
Set thisfile = fs.OpenTextFile(server.mappath("pollnotify.dat"),1,False)
thisline=thisfile.Readline
thisfile.close
Set thisfile=nothing
Set fs=nothing%><html>
<head>
<title>投票系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type='text/css'>
<!--
.p9 {line-height: 150%; font-size: 9pt;}
.p12 {line-height: 150%; font-size: 12pt;}
body {line-height: 150%;font-size : 12pt;}
td {line-height: 150%;font-size : 12pt;}
A  {text-decoration: none;}
A:Hover  {text-decoration : none;}
a:visited {  color: #0000FF}
-->
</style>
<script language="javaScript">
function load()
{var name=navigator.appName
var vers=navigator.appVersion
if(name=="Netscape")
{window.location.reload()
}else
{history.go(0)
}}</script>
</head>
<body bgcolor="FFFFFF">
<h1 align="center"><font color="0099FF">【投票系统】</font></h1>
<hr noshade size="1" color=009900>
<table width="100%" border="0" align="center">
<tr>
<td> 
<b>[站长公告]</b><br><%=thisline%>
</td>
</tr>
</table>
<hr noshade size="1" color=009900>
<blockquote> 
<p>● <a href="pollview.asp">投票 / 查看投票结果</a><br>
<%if Session("a_c_user_level")>=10 then%> ● <a href="polluser.asp">查阅已投票者</a><br>
● <a href="pollchangenotify.asp">更改站长公告</a><br>
● <a href="polltime.asp">设置投票起止时间</a><br>
● <a href="pollvalue.asp">设置用户投票最低经验值</a><br>
● <a href="pollcand.asp">候选人管理</a><br>
● <a href="pollclear.asp">清除所有候选人的得票数,重新投票</a><br>
● <a href="pollreset.asp">复位投票系统,清除数据</a></p>
<%end if%></blockquote>
<hr noshade size="1" color=009900>
<div align="center" class="p9"><script src="use.asp"></script> <script src="sn.asp"></script><br><script src="copyright.asp"></script></div>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?