<!--#include file="admin_chk.asp"-->
<!--#include file="admin_conn.asp"-->
<%
set rs=server.createobject("adodb.recordset")
rs.open "select * from vote order by id desc",conn,1,1
%>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="page.css" rel=stylesheet>
<style>
td{font-size:9pt;line-height:120%;color:#353535} 
body{font-size:9pt;line-height:120%} 

a:link          { color: #000000; text-decoration: none }
a:visited       { color: #000000; text-decoration: none }
a:active        { color: #000000; text-decoration: none }
a:hover         { color: #336699; text-decoration: none; position: relative; right: 0px; top: 1px }
</style>
<title>投票管理</title>
</head>
<body  topmargin="0" background="pic/NewsBG.gif">
<center>
  <p>&nbsp;</p>
  <table border="0" width="500" cellspacing="0" cellpadding="1" align=center bgcolor="#CCCCCC">
    <tr>    
    <td align=center valign=top width="100%">
        <table border="0" width="100%" cellspacing="1" cellpadding="0" style="border-collapse: collapse" align=center bordercolor="#336699" bgcolor="#CCCCCC">
          <form method="POST" action="voteSet.asp">
            <tr bgcolor="#CCCCCC"> 
              <td height="20" colspan=4 align=center><b>管 理 网 站 投 
                票</b></td>
          </tr>
            <tr height=20 bgcolor="#FFFFFF"> 
              <td width="6%" align="center">选择</td>
              <td width="14%" align="center">ID</td>
              <td width="64%" align="center">主题</td>
              <td width="16%" align="center">修改</td>
            </tr>
<%
do while not rs.eof
%>
            <tr height=20 bgcolor="#FFFFFF"> 
              <td width="6%" align="center"> 
              <input type="radio" value=<%=rs("ID")%><%if rs("IsChecked")=1 then%> checked<%end if%> name="Checked"></td>
              <td width="14%" align="center"><%=rs("ID")%>　</td>
              <td width="64%"><%=rs("Title")%>　</td>
              <td 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>
            </tr>
<%
rs.movenext
loop
rs.close
%>
            <tr bgcolor="#FFFFFF"> 
              <td colspan=4 align=center>&nbsp; 
              </td>
          </tr>
        </form>
      </table>
    </td>
  </tr>
</table>
  <%
set rs=nothing
conn.close
set conn=nothing%>
</center>
</body></html> 
