📄 admin_researchmodify.asp
字号:
<!--#include file="function.asp"-->
<%CheckAdmins%>
<!--#include file="top.asp"-->
<%
id=request.QueryString("id")
sql="select * from research where id="&id
rs.open sql,conn,1,1
if rs.eof then
errmsg=errmsg+"<br>"+"<li>操作错误!请联系管理员"
call error()
Response.End
else
Title=rs("Title")
DateAndTime=rs("DateAndTime")
end if
%>
<table border="0" width="769" cellspacing="1" cellpadding="1" bgcolor="<%=Tablebackcolor%>" align="center">
<tr>
<td valign=top width="20%" bgcolor="<%=Tabletitlecolor%>">
<!--#include file="admin_left.asp"-->
</td>
<td align=center valign=top bgcolor="<%=Tablebodycolor%>">
<table border="0" width="98%" cellspacing="1" cellpadding="0" class="TableLine" bordercolorlight="<%=MainBColor%>" bgcolor="<%=Tablebackcolor%>">
<form method="POST" action="admin_ResearchSave.asp?id=<%=id%>">
<tr bgcolor="<%=Tabletitlecolor%>">
<td width="100%" height="20" colspan=2 align=center><b>修 改 网 站 调 查</b></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="15%" align="right">主题:</td>
<td width="85%">
<input type="text" name="Title" value="<%=Title%>" size="20">
</td>
</tr>
<%for i=1 to 8%>
<tr bgcolor="#FFFFFF">
<td align="right">选项<%=i%>:</td>
<td>
<input type="text" name="select<%=i%>" value="<%=rs("select"&i)%>" size="20">
票数:
<input type="text" name="answer<%=i%>" value="<%=rs("answer"&i)%>" size="5">
</td>
</tr>
<%next%>
<tr bgcolor="#FFFFFF">
<td align="right">发布时间:</td>
<td><%=DateAndTime%></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan=2 align=center>
<input type="hidden" value="edit" name="act">
<input type="submit" value=" 修 改 " name="cmdok">
<input type="reset" value=" 清 除 " name="cmdcancel">
</td>
</tr>
</form>
</table>
</td>
</tr>
</table>
<!--#include file="copyright.asp"-->
<br>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -