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

📄 votemanage.asp

📁 中介之家房产中介系统 V4.0企业共享版
💻 ASP
字号:
<!--#include file=../conn/conn1.asp --><!--#include file="char.inc"-->
<% if request.cookies("okadmin")="" and request.cookies("rank")="" then
  response.redirect "login.asp"
end if %>
<%
set rs=server.createobject("adodb.recordset")
sql="select * from vote order by id desc"
rs.open sql,conn,1,1
%>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<title>投票管理</title>
<link href="../images/realty.css" rel="stylesheet" type="text/css">
</head>

<body topmargin="0"><br>
<table border="0" width="750" cellspacing="0" cellpadding="1" bgcolor="#ffffff" align=center>
  <tr>
    
    <td align=center valign=top width="100%">
       <table border="1" width="100%" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="<%=border%>" align=center>
        <form method="POST" action="voteSet.asp">
          <tr>
            <td width="100%" height="20" colspan=5 bgcolor="<%=m_top%>" align=center><b>管 理 网 站 投 票</b></td>
          </tr>
          <tr 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-family: 宋体; font-size: 9pt"></td>
            <td width="10%" align="center"><input onclick="javascript:window.open('voteDel.asp?id=<%=rs("ID")%>','_self','')" type="button" value="删除" name="button2" style="font-family: 宋体; font-size: 9pt"></td>
          </tr>
<%
rs.movenext
loop
rs.close
%>
          <tr>
            <td colspan=5 align=center><input type="submit" value="选定投票项" name="submit" style="font-family: 宋体; font-size: 9pt"> <input onclick="javascript:window.open('voteAdd.asp','_self','')" type="button" value="添加新投票" name="button" style="font-family: 宋体; font-size: 9pt"></td>
          </tr>
        </form>
      </table>
    </td>
  </tr>
</table>
</div><%
set rs=nothing
conn.close
set conn=nothing%></body></html>

⌨️ 快捷键说明

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