?? infomodify.asp
字號:
<!--#include file="session.asp"-->
<!--#include file="conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>修改信息</title>
<link rel="stylesheet" type="text/css" href="img/admin_style.css">
</head>
<body>
<div align="center">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="mainmiddle">
<tr>
<td width="29" height="32"> <div align="left">
<p class="maindaohang"> </p>
</div></td>
<td width="709"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="5"></td>
</tr>
</table>
<b><font color="#000000"><b> <span class="bigNavi">修改信息</span> </b></font></b></td>
<td width="8" class="mainrights"></td>
</tr>
</table>
<%
set rs=server.createobject("adodb.recordset")
rs.open "select * from info where id="&request("id"),conn,1,1
if rs.eof then
Response.Write("參數有錯...")
response.end
end if
xs=rs("sort")
%>
<form method="POST" name="formadd" action="infomsave.asp">
<table width="95%" height="64" border="0" align="center" cellpadding="3" cellspacing="1" class="tabbgcolor">
<tr class="tabbgcolorli">
<td width="17%" height="20"> <div align="center">信息標題</div></td>
<td width="83%" height="20">
<input type="text" name="title" size="36" class="border" value="<%=rs("title")%>">
<input name="id" type="hidden" id="id" value="<%=request("id")%>"> <div align="center"></div></td>
</tr>
<tr class="tabbgcolorli">
<td width="17%" height="20"> <div align="center">信息類別</div></td>
<td width="83%" height="20">
<input type="text" name="csort" size="36" class="border" value="<%=rs("sort")%>"><div align="center"></div></td>
</tr>
<tr class="tabbgcolorli">
<td height="20"> <div align="center">信息內容</div></td>
<td height="20">
<textarea rows="10" name="content" cols="50" class="border"><%=rs("content")%></textarea>
全方位支持html語言
<div align="center"></div></td>
</tr>
<tr class="tabbgcolorli">
<td height="20" colspan="2"> <div align="center"></div>
<div align="center">
<input type="submit" value="提交" name="tijiao" class="border">
<input type="reset" value="重寫" name="chongxie" class="border">
</div></td>
</tr>
</table>
</form>
</div>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -