📄 photo_edit.asp
字号:
<!--#include file="conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css.css" rel="stylesheet" type="text/css">
<title></title>
<style type="text/css">
<!--
.style3 {font-size: 1pt;
color: #FFFFFF;
}
.ziti {font-family: "宋体";
font-size: 12px;
font-weight: bold;
color: #FFFFFF;
}
.ziti1 {font-size: 12px;
font-weight: normal;
color: #000000;
}
.ziti2 {font-family: "宋体";
font-size: 12px;
font-weight: bold;
color: #FFFFFF;
}
.ziti2 { font-family: "宋体";
font-size: 12px;
font-weight: normal;
color: #000000;
}
.style5 {
color: #000000;
font-size: 12px;
}
-->
</style>
</head>
<%
set rs = server.createobject("adodb.recordset")
sql="select * from photo where id="&Request("id")
rs.open sql,conn,3,3
if rs.eof and rs.bof then
response.Write "数据库错误,或者您提交的数据非法!"
response.End
End if
%>
<body>
<table width="775" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="180" align="center" valign="top"><table width="775" height="219" border="0" cellpadding="0" cellspacing="0">
<tr>
<th width="20" scope="col"> </th>
<th scope="col"> <table width="735" height="224" border="0" cellpadding="0" cellspacing="0">
<tr>
<th height="184" scope="col" valign="top" class=ziti2>
<table width="500" border="0" cellspacing="1" cellpadding="0" bgcolor="#6699ff" align=center class=ziti2>
<tr bgcolor=#6699ff>
<td height=20 width="498" colspan="2">照片 :
<tr>
<td width="498" bgcolor="#D0E8FF" height=30 colspan="2" align=center><img border="0" src="../uploadimg/<%=rs("url")%>" width="200" height="200"></td>
</tr>
<form action=photo_edit_ok.asp?id=<%=Request("id")%> method=post>
<tr bgcolor=#6699ff>
<td height=20 width="498" colspan="2">照片说明 :
<tr bgcolor=#ff9933>
<td height=30 bgcolor="#D0E8FF" colspan="2">标 题:
<input type=text size=15 name=name value="<%=rs("name")%>">
<tr bgcolor=#ff9933>
<td height=60 bgcolor="#D0E8FF" width="47">说 明:
<td height=60 bgcolor="#D0E8FF" width="450"> <textarea name=say cols=45 rows=3 class=j><%=rs("say")%>
</textarea><tr bgcolor=#ff9933>
<td align=center height=30 bgcolor="#D0E8FF" width="498" colspan="2">
<input type=submit name=submit value="·修改·">
</table></th>
</tr>
<tr>
<td height="40"> </td>
</tr>
</table></th>
<th width="20" scope="col"> </th>
</tr>
</table></td>
</tr>
</table>
<%
rs.close
Set rs=nothing
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -