📄 admin_edititem.asp
字号:
<!-- #include file="notacc.asp"--><html>
<head>
<title>修改选项</title>
<link href="css.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<br>
<!-- #include file="conn.asp"-->
<%
dim id,rs
id=request.form("id")
if id<>"" then
set rs=server.createobject("adodb.recordset")
rs.open "select * from V_vote where id="&id&"",conn,1,1
if not rs.eof then
%>
<form method="post" action="admin_edititems.asp">
<table border="1" width="60%" cellpadding="2" cellspacing="0" bordercolordark="#f7f7f7" bordercolorlight="#cccccc" class="inputt">
<tr>
<td bgcolor="#f7f7f7" colspan="2" height="30">修改投票选项</td>
</tr>
<tr>
<td>内容</td>
<td><input type="text" name="cont" value="<%=rs("cont")%>" class="inputt"> <input type="text" name="vcount" value="<%=rs("vcount")%>" class="inputt" size="3">
<input type="hidden" name="id" value="<%=rs("id")%>">
<input type="submit" name="submit" value="修改" class="inputt"> <input type="reset" name="reset" value="恢复原值" class="inputt">
</td>
</tr>
</table>
</form>
<%
end if
rs.close
end if
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -