📄 addwen2.asp
字号:
<!--#include file="conn.asp"--><!--#include file="admin_is.ini"-->
<%
if trim(request("ccc22"))="add" then %>
<%vwen=request("wen")
vneirong=request("neirong")
vhuifu=request("huifu")
set rs=server.createobject("adodb.recordset")
sql="SELECT * from wen where id="&request("id")&""
rs.open sql,conn,1,3
rs("wen")=vwen
rs("neirong")=vneirong
rs("huifu")=vhuifu
rs.update
rs.close
Response.Write "<script Language=Javascript>alert('回复完毕');location.href = 'editwen.asp';</script>"
response.end
end if %>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../style.css" rel="stylesheet" type="text/css">
<table width="80%" border="1" cellspacing="0" cellpadding="1" bordercolor="#336699" align="center">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="../images/back_3.gif" rowspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="12v">
<tr>
<td class="12v" >
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" id="AutoNumber3" height="96" width="100%">
<tr>
<td>
<table width="100%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#FFFFFF" height="128">
<tr>
<td height="20" bgcolor="#FFFFFF">
<div align="center"><font color="#000000">回复问题</font></div>
</td>
</tr>
<tr>
<td height="177" valign="top" bgcolor="#E8F1FF"> <% set rs=server.createobject("adodb.recordset")
sql="SELECT * from wen where id="&request("id")&""
rs.open sql,conn,1,3 %><br>
<form name="form1" method="post" action="addwen2.asp?ccc22=add">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="144">
<tr>
<td width="23%">主题:</td>
<td width="77%">
<input type="text" name="wen" value="<%=rs("wen")%>" size="50">
<input type="text" name="id" value="<%=rs("id")%>" size="5">
</td>
</tr>
<tr>
<td width="23%">内容:</td>
<td width="77%">
<textarea name="neirong" cols="60" rows="8"><%=rs("neirong")%></textarea>
</td>
</tr>
<tr>
<td width="23%">回复:</td>
<td width="77%">
<textarea name="huifu" cols="60" rows="8"><%=rs("huifu")%></textarea>
</td>
</tr>
<tr>
<td width="23%"> </td>
<td width="77%">
<input type="submit" name="Submit" value="确定">
</td>
</tr>
</table>
</form>
</td>
</tr>
<tr>
<td height="106" valign="top" bgcolor="#E8F1FF">
<div align="right"></div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -