<!--#include file="isy.asp"-->
<!--#include file="conn.asp"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>修改当前投票项目 . 公用投票系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="favote.css" rel="stylesheet" type="text/css">
</head>

<body>

<% 
	thisid=Trim(Request.QueryString("voteid"))
	set rs=conn.execute("select * from votepro where id="&thisid)
%>
<img src="images/top.gif" border="0" usemap="#Map"> 
<map name="Map">
  <area shape="rect" coords="319,40,423,59" href="listvote.asp">
  <area shape="rect" coords="424,40,521,59" href="addvote.asp">
  <area shape="rect" coords="522,40,628,59" href="editcvote.asp">
  <area shape="rect" coords="629,40,711,59" href="out.asp">
  <area shape="rect" coords="544,10,628,27" href="help.asp" target="_blank">
  <area shape="rect" coords="628,10,707,27" href="http://www.blogcn.com/blog/?u=yifa" target="_blank">
</map>
<table width="720" border="0" cellspacing="3" cellpadding="0">
  <tr> 
    <td style="border:1px solid #666666;padding:3px;"><table width="720" border="0" cellspacing="0" cellpadding="5">
        <form name="form1" method="post" action="edit.asp">
          <tr> 
            <td width="120" rowspan="12" bgcolor="#8FE9FC">&nbsp;</td>
            <td colspan="2"><div align="center" class="tl">修改当前投票项目</div></td>
            <td width="170" rowspan="12" bgcolor="#8FE9FC">&nbsp;</td>
          </tr>
          <tr>
            <td bgcolor="#FCFCFC">投票类型</td>
            <td bgcolor="#F7FCDA"><input name="sorm" type="radio" value="false" <% if rs("sorm")=false then Response.Write("checked") %>>
  单选
    <input type="radio" name="sorm" value="true" <% if rs("sorm")=true then Response.Write("checked") %>>
  多选</td>
          </tr>
          <tr> 
            <td width="70" bgcolor="#FCFCFC">投票议题</td>
            <td width="360" bgcolor="#F7FCDA"><input name="voteco" type="text" id="voteco" value="<% =rs("voteco")%>" size="35"></td>
          </tr>
          <% 
  for i=1 to 5
' if isnull(rs("cs_"&i)) then exit for 
  %>
          <tr> 
            <td bgcolor="#FCFCFC">选项 
              <% =i %> </td>
            <td bgcolor="#F7FCDA"><input name="cs<% =i %>" type="text" value="<% =rs("cs_"&i)%>">
              票数 
              <input name="cs<% =i %>_num" type="text"  value="<% =rs("cs_"&i&"_num")%>" size="5"></td>
          </tr>
          <% 
  next
   %>
          <tr> 
            <td bgcolor="#FCFCFC">背景颜色</td>
            <td bgcolor="#F7FCDA"><input name="bg_color" type="text" id="bg_color" value="<% =rs("bg_color")%>">
              如EEEEEE 不用加&quot;<font color="#FF3300">#</font>&quot;</td>
          </tr>
          <tr> 
            <td bgcolor="#FCFCFC">文字颜色</td>
            <td bgcolor="#F7FCDA"><input name="word_color" type="text" id="word_color" value="<% =rs("word_color")%>">
              如000000 不用加&quot;<font color="#FF3300">#</font>&quot;</td>
          </tr>
          <tr> 
            <td bgcolor="#FCFCFC">文字大小</td>
            <td bgcolor="#F7FCDA"><input name="word_size" type="text" id="word_size" value="<% =rs("word_size")%>">
              单位px 如：这是12px <span style="font-size:14px">这是14px</span> </td>
          </tr>
          <tr> 
            <td bgcolor="#FCFCFC"> <input name="voteid" type="hidden" id="voteid" value="<%=rs("id")%>"></td>
            <td bgcolor="#F7FCDA"><input type="submit" name="Submit" value="修改本次投票"></td>
          </tr>
        </form>
      </table></td>
  </tr>
  <tr>
    <td style="border:1px solid #666666;padding:3px;"><div align="center">设计制作：<strong>蚁伐</strong> 
        Email：postmaster@lygpc.com</div></td>
  </tr>
</table>
<% 
closers
closedb
 %>
</body>
</html>
