📄 hover_honor_edit.asp
字号:
<!--#include file="toptable.asp"-->
<%
'=================================
' 良精科技企业管理系统
' QQ在线客服:65961930 82993936
' 咨询定购Tel:010-81991660
' asp3721@hotmail.com
' www.liangjing.net
' copyright(c)2001-2008 HoverCms 2007特别版
'=================================
%>
<%if Request.QueryString("no")="eshop" then
id=request("id")
title=request("title")
img=server.htmlencode(Trim(Request("img")))
If title="" Then
response.write "SORRY <br>"
response.write "请输入更新内容的标题"
response.end
end if
If img="" Then
response.write "SORRY <br>"
response.write "内容不能为空"
response.end
end if
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from Hover_Honor where id="&id
rs.open sql,conn,1,3
rs("title")=title
rs("img")=img
rs.update
rs.close
response.redirect "Hover_honor.asp"
end if
%>
<%
id=request.querystring("id")
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open "Select * from Hover_Honor where id="&id, conn,3,3
%>
<!-- #include file="Inc/Head.asp" -->
<BR>
<table width="97%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableBorder">
<form method="post" name="myform" action="Hover_honor_edit.asp?no=eshop">
<input type=hidden name=id value=<%=id%>> <tr>
<td class="title" height="25" align="center" colspan="2"><strong class="title">修改资质证书</strong></td>
</tr> <tr>
<td height="25" colspan="2" class="title2">选择您需要更改的资质证书信息。 </td>
</tr>
<tr>
<td width="41%" height="25" align="right" bgcolor="#C0C0C0" class="table">证书名称</td>
<td width="59%" bgcolor="#C0C0C0" class="table"><input type="text" name="title" maxlength="30" size="25" value="<%=rs("title")%>"></td>
</tr> <tr>
<td height="22" align="right" bgcolor="#E3E3E3" class="table">资质证书</td>
<td bgcolor="#E3E3E3" class="table"><input name="img" type="text" id="img" value="<%=rs("img")%>" size="30" maxlength="50">
<font color="#FF0000"> * 图片地址</font></td>
</tr>
<tr>
<td align="right" class="table">图片上传</td>
<td class="table"><iframe name="ad" frameborder=0 width=100% height=25 scrolling=no src=../uploada.asp></iframe></td>
</tr> <tr>
<td height="25" colspan="2" align="center" bgcolor="#C0C0C0" class="table">
<input name="submit" type="submit" class="btn" value="确定">
<input name="reset" type="reset" class="btn" value="从来"> </td>
</tr>
</form>
</table>
<BR>
<%htmlend%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -