?? admin_edit.asp
字號(hào):
<!-- #include file="conn.asp" -->
<!-- #include file="cookies.asp" -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>80秀傳媒設(shè)計(jì)資訊中心 || 網(wǎng)站作品展示 || 后臺(tái)管理</title>
<link href="style.css" type="text/css" rel="stylesheet">
</head>
<body bgcolor="#666666" text="#000000">
<%
set rs1=server.createobject("adodb.recordset")
sql1="select * from book where id="&request.querystring("id")
rs1.open sql1,conn,3,3
%>
<form name="form1" method="post" action="admin_editsave.asp?id=<%=request.querystring("id")%>">
<div align="center">
<p>修改作品信息</p>
<table width="550" border="0" cellpadding="6" cellspacing="1" bgcolor="#393939" class="b" height="9">
<tr bgcolor="#5b5b5b" class="text">
<td height="2" width="100"><font color="#000000">標(biāo)題:</font></td>
<td height="2" width="400">
<font color="#000000">
<input type="text" name="title" size="50" value="<%=trim(rs1("title"))%>">
</font>
</td>
</tr>
</table>
<table width="550" border="0" cellpadding="6" cellspacing="1" bgcolor="#393939" class="b" height="9">
<tr bgcolor="#5b5b5b" class="text">
<td width="100"><font color="#000000">分類(lèi):</font></td>
<td width="150">
<font color="#000000">
<%
set rs=server.createobject("adodb.recordset")
sql="select * from type"
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.write "請(qǐng)先添加分類(lèi)!"
response.end
else
%>
<select name="type">
<%
do while not rs.eof
%>
<option selected value="<%=trim(rs("typename"))%>"><%=trim(rs("typename"))%></option>
<% rs.movenext
loop
end if
rs.close
set rs=nothing
%>
</select>
</font>
</td>
<td width="100"><font color="#000000">完成時(shí)間:</font></td>
<td width="150">
<font color="#000000">
<input type="text" name="key1" size="15" value="<%=trim(rs1("key1"))%>">
</font>
</td>
</tr>
</table>
<table width="550" border="0" cellpadding="6" cellspacing="1" bgcolor="#393939" class="b" height="9">
<tr bgcolor="#5b5b5b" class="text">
<td width="100"><font color="#000000">運(yùn)用類(lèi)別:</font></td>
<td width="162">
<font color="#000000">
<input type="text" name="from1" size="15" value="<%=trim(rs1("from1"))%>">
</font>
</td>
<td width="88"> </td>
<td width="149">
</td>
</tr>
</table>
<table width="500" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="250"><font color="#000000">內(nèi)容:</font> </td>
<td width="250">
<font color="#000000">
<input type="checkbox" name="html" value="on">
是否支持HTML</font></td>
</tr>
</table>
<table width="550" border="0" cellpadding="6" cellspacing="1" bgcolor="#393939" class="b" height="9">
<tr bgcolor="#5b5b5b" class="text">
<td height="11">
<textarea name="nr" cols="113" rows="15"><%
content=replace(rs1("nr"),"<br>",chr(13))
content=replace(content," "," ")
response.write content%></textarea>
</td>
</tr>
</table>
<input type="submit" name="yes" value="確定">
<input type="submit" name="no" value="重寫(xiě)">
</div>
</form>
<%rs1.close
set rs1=nothing
conn.close
set conn=nothing
%>
</body>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -