📄 admin_edit.asp
字号:
<%@LANGUAGE="VBSCRIPT"%>
<!--#INCLUDE FILE="conn.asp" -->
<!--#INCLUDE FILE="top.asp" -->
<!--#include file="chk.asp"-->
<%
bookid=request("bookid")
id=request("id")
dim rs
dim sql
set Rs = Server.CreateObject("ADODB.Recordset")
sql ="Select * FROM read where id="&request("id")
rs.open sql,conn,1,1
%>
<%
bookid=rs("bookid")
id=rs("id")
biaoti=rs("biaoti")
zuozhe=rs("zuozhe")
zhengwen=rs("zhengwen")
%>
<br><br><br><br>
<form method="post" action="editsave.asp?id=<%=request("id")%>">
<div align="center">
<center>
<table width="720" border="1" cellspacing="0" cellpadding="2" height="228" style="border-collapse: collapse" bordercolor="#C6E0C2">
<tr>
<td width="96" height="17" align="left">
文章标题:</td>
<td width="367" height="17">
<input type="text" name="biaoti" maxlength="250" size="32" style="border-style: groove; border-width: 1; background-color:#FFFFFF" value="<%=biaoti%>">
<input type="hidden" name="bookid" maxlength="30" size="8" style="border-style: groove; border-width: 1; background-color:#FFFFFF" value="<%=bookid%>">
<input type="hidden" name="id" maxlength="30" size="8" style="border-style: groove; border-width: 1; background-color:#FFFFFF" value="<%=id%>">
</td>
</tr>
<tr>
<td nowrap width="96" height="2" align="left">
作者:</td>
<td width="367" height="2">
<input type="text" name="zuozhe" size="16" maxlength="50" style="border-style: groove; border-width: 1;" value="<%=zuozhe%>">
</td>
</tr>
<tr>
<td colspan=2 align=center>>
<textarea name="zhengwen" cols="80" rows="20" style="border-style: groove; border-width: 1"><%=zhengwen%></textarea>
<br><br>编辑代码:
大标题 [dbt] [/d]
小标题 [xbt] [/x]
注释 [zs] [/z]
居中 [jz] [/j]
右对齐 [ydq] [/y]
缩进 [sj] [/s]
<tr>
<td colspan=2 align=center>
<input type="submit" name="Submit" value="修 改">
<input type="reset" name="Submit2" value="恢 复">
</table>
</center>
</div>
</form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -