⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vote.asp

📁 投票网站
💻 ASP
字号:
<!--#include file="Conn.asp" -->
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>W78人物评选系统</title>
<LINK href="images/style.css" type=text/css rel=stylesheet>
<script>
if(window.name != "bencalie"){
    location.reload();
    window.name = "bencalie";
}
else{
    window.name = "";
}
</script>
</head>
<body>
<% 
set rs=server.createobject("adodb.recordset") 
exec="select * from vote where fl="& request.QueryString("id") 
rs.open exec,conn,1,1 
%>
<% 
set rc=server.createobject("adodb.recordset") 
exec="select * from fl where id="& request.QueryString("id") 
rc.open exec,conn,1,1 
%>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="25" bgcolor="#990000"><span style=" width:760px; background-color:#990000; font-size:14px; font-weight:bold; color:#FFFFFF; padding:6px;">※ <%=rc("fl")%> ※</span></td>
  </tr>
  <tr>
    <td>
    <%if rs.eof and rs.bof then
response.Write("此项目暂时还没有投票内容,请在后台添加!")
else
end if%>
	<%do while not rs.eof%>
<div style="float:left">
<table width="200" border="0" cellpadding="3" cellspacing="1">
  <form action="vote_pass.asp" method="post" name="add">
  <tr>
    <td><div align="center"><a href="<%=rs("img")%>" target="_blank" class="img"><img src="<%=rs("img")%>" width="120" height="150" /></a></div></td>
  </tr>
  <tr>
    <td><div align="center">姓名:<%=rs("name")%>
      <label>
      <input type="hidden" name="id"  value="<%=rs("id")%>"/>
      </label>
    </div></td>
  </tr>
  <tr>
    <td><div align="center" style="color:#990000; font-weight:bold; font-size:14px; font-family:'Times New Roman', Times, serif">票数:<%=rs("piaoshu")%></div></td>
  </tr>
  <tr>
    <td><label>
      <div align="center">
        <input type="submit" name="button" id="button" value="投一票" class="btn" />
        </div>
    </label></td>
  </tr></form>
</table>
</div>
<%
rs.movenext
loop
%></td>
  </tr>
  <tr>
    <td height="28" bgcolor="#990000" align="center"><span style=" width:760px;background-color:#990000; font-size:12px;  color:#FFFFFF; padding:6px;">  程序作者:咬牙棒 QQ:310151921 更多原创小程序请登陆:w78.net.cn </span></td>
  </tr>
</table>

</body>
</html>

⌨️ 快捷键说明

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