vote_edit.asp
资源名称:NetPhone.rar [点击查看]
上传用户:xxtaishan
上传日期:2022-01-02
资源大小:4063k
文件大小:8k
源码类别:
IP电话/视频会议
开发平台:
ASP/ASPX
- <!--#include file="vote_conn.asp"-->
- <%'On Error Resume Next
- set rs=server.createobject("adodb.recordset")
- set rs=conn.execute("select title from class where id="&request("id"))
- title=rs("title")
- rs.close
- sql="select * from vote where class="&request("id")&" order by id"
- rs.open sql,conn,3,1
- dscount=rs.recordcount
- 'Response.Write Err.description
- style=request("style")
- %>
- <head>
- <link rel="stylesheet" type="text/css" href="STYLE.CSS">
- <title></title>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312"><style type="text/css">
- <!--
- body {
- background-color: #FFFFFF;
- }
- -->
- </style></head>
- <body>
- <div align="center">
- <center>
- <table width="532" height="418" border="0" cellpadding="0" cellspacing="0" class="border">
- <tr>
- <td height="26" class="title">
- <div align="center"><strong>调 查 修 改</strong></div>
- </td>
- </tr>
- <tr bordercolorlight="#000000">
- <td class="tdbg"> <form method="POST" action="vote_save.asp?id=xg&classid=<%=request("id")%>">
- <div align="center">
- <table border="0" width="70%" cellspacing="0" cellpadding="0" height="334">
- <tr>
- <td width="100%" colspan="2" height="18"></td>
- </tr>
- <tr>
- <td width="100%" colspan="2" height="36">标题:
- <input type="text" name="title" size="38" style="BORDER-BOTTOM: #FFFFFF 1px double; BORDER-LEFT: #FFFFFF 1px double; BORDER-RIGHT: #FFFFFF 1px double; BORDER-TOP: #FFFFFF 1px double; BACKGROUND: #e4ebfa COLOR: #000000; FONT-SIZE: 9pt" value="<%=title%>"></td>
- </tr>
- <tr>
- <td width="100%" colspan="2" height="40">方式:
- <input type="radio" value="radio" name="style" <%if style="radio" then%>checked<%end if%>>
- 单选
- <input type="radio" value="checkbox" name="style" <%if style="checkbox" then%>checked<%end if%>>
- 多选</td>
- </tr>
- <%do while not rs.eof
- %>
- <tr>
- <td width="56%" height="30">选择:
- <input type="text" name="choose" size="20" style="BORDER-BOTTOM: #FFFFFF 1px double; BORDER-LEFT: #FFFFFF 1px double; BORDER-RIGHT: #FFFFFF 1px double; BORDER-TOP: #FFFFFF 1px double; BACKGROUND: #e4ebfa COLOR: #000000; FONT-SIZE: 9pt" value="<%=rs("vote")%>"></td>
- <td width="44%" height="30">条行柱颜色:
- <select name="color" style="font-size:12px" size="1">
- <option style="background-color:red;color:red" value="red"<%if rs("color")="red" then%> selected<%end if%>>默认</option>
- <option style="background-color:000000;color:000000" value="000000"<%if rs("color")="000000" then%> selected<%end if%>>黑色</option>
- <option style="background-color:0088FF;color:0088FF" value="0088FF"<%if rs("color")="0088FF" then%> selected<%end if%>>海蓝</option>
- <option style="background-color:0000FF;color:0000FF" value="0000FF"<%if rs("color")="0000FF" then%> selected<%end if%>>亮蓝</option>
- <option style="background-color:000088;color:000088" value="000088"<%if rs("color")="000088" then%> selected<%end if%>>深蓝</option>
- <option style="background-color:888800;color:888800" value="888800"<%if rs("color")="888800" then%> selected<%end if%>>黄绿</option>
- <option style="background-color:008888;color:008888" value="008888"<%if rs("color")="008888" then%> selected<%end if%>>蓝绿</option>
- <option style="background-color:008800;color:008800" value="008800"<%if rs("color")="008800" then%> selected<%end if%>>橄榄</option>
- <option style="background-color:8888FF;color:8888FF" value="8888FF"<%if rs("color")="8888FF" then%> selected<%end if%>>淡紫</option>
- <option style="background-color:AA00CC;color:AA00CC" value="AA00CC"<%if rs("color")="AA00CC" then%> selected<%end if%>>紫色</option>
- <option style="background-color:8800FF;color:8800FF" value="8800FF"<%if rs("color")="8800FF" then%> selected<%end if%>>蓝紫</option>
- <option style="background-color:888888;color:888888" value="888888"<%if rs("color")="888888" then%> selected<%end if%>>灰色</option>
- <option style="background-color:CCAA00;color:CCAA00" value="CCAA00"<%if rs("color")="CCAA00" then%> selected<%end if%>>土黄</option>
- <option style="background-color:FF8800;color:FF8800" value="FF8800"<%if rs("color")="FF8800" then%> selected<%end if%>>金黄</option>
- <option style="background-color:CC3366;color:CC3366" value="CC3366"<%if rs("color")="CC3366" then%> selected<%end if%>>暗红</option>
- <option style="background-color:FF00FF;color:FF00FF" value="FF00FF"<%if rs("color")="FF00FF" then%> selected<%end if%>>紫红</option>
- <option style="background-color:3366CC;color:3366CC" value="3366CC"<%if rs("color")="3366CC" then%> selected<%end if%>>蓝黑</option>
- </select></td>
- </tr>
- <%rs.movenext
- loop
- for i=1 to 4
- %>
- <tr>
- <td width="56%" height="30">选择:
- <input type="text" name="choose" size="20" style="BORDER-BOTTOM: #FFFFFF 1px double; BORDER-LEFT: #FFFFFF 1px double; BORDER-RIGHT: #FFFFFF 1px double; BORDER-TOP: #FFFFFF 1px double; BACKGROUND: #e4ebfa COLOR: #000000; FONT-SIZE: 9pt"></td>
- <td width="44%" height="30">条行柱颜色:
- <select name="color" style="font-size:12px" size="1">
- <option style="background-color:red;color:red" value="red" selected>默认</option>
- <option style="background-color:000000;color:000000" value="000000">黑色</option>
- <option style="background-color:0088FF;color:0088FF" value="0088FF">海蓝</option>
- <option style="background-color:0000FF;color:0000FF" value="0000FF">亮蓝</option>
- <option style="background-color:000088;color:000088" value="000088">深蓝</option>
- <option style="background-color:888800;color:888800" value="888800">黄绿</option>
- <option style="background-color:008888;color:008888" value="008888">蓝绿</option>
- <option style="background-color:008800;color:008800" value="008800">橄榄</option>
- <option style="background-color:8888FF;color:8888FF" value="8888FF">淡紫</option>
- <option style="background-color:AA00CC;color:AA00CC" value="AA00CC">紫色</option>
- <option style="background-color:8800FF;color:8800FF" value="8800FF">蓝紫</option>
- <option style="background-color:888888;color:888888" value="888888">灰色</option>
- <option style="background-color:CCAA00;color:CCAA00" value="CCAA00">土黄</option>
- <option style="background-color:FF8800;color:FF8800" value="FF8800">金黄</option>
- <option style="background-color:CC3366;color:CC3366" value="CC3366">暗红</option>
- <option style="background-color:FF00FF;color:FF00FF" value="FF00FF">紫红</option>
- <option style="background-color:3366CC;color:3366CC" value="3366CC">蓝黑</option>
- </select></td>
- </tr>
- <%next%>
- </table>
- </div>
- <p align="center">
- <input type="submit" value="提交" name="B1" style="BORDER-BOTTOM: #FFFFFF 1px double; BORDER-LEFT: #FFFFFF 1px double; BORDER-RIGHT: #FFFFFF 1px double; BORDER-TOP: #FFFFFF 1px double; BACKGROUND: #e4ebfa COLOR: #000000; FONT-SIZE: 9pt">
-
- <input type="reset" value="全部重写" name="B2" style="BORDER-BOTTOM: #FFFFFF 1px double; BORDER-LEFT: #FFFFFF 1px double; BORDER-RIGHT: #FFFFFF 1px double; BORDER-TOP: #FFFFFF 1px double; BACKGROUND: #e4ebfa COLOR: #000000; FONT-SIZE: 9pt">
- </p>
- </form> </td>
- </tr>
- </table>
- </center>
- </div>
- <%rs.close
- set rs=nothing
- conn.close
- set conn=nothing
- %>