admin_edit.asp
来自「系统功能说明: 1 本书库系统专为以文字为主的站点设计」· ASP 代码 · 共 65 行
ASP
65 行
<%@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 + =
减小字号Ctrl + -
显示快捷键?