?? manage_img_add.asp
字號(hào):
<!--#include file="admin.asp"-->
<!--#include file="conn.asp"-->
<%if Request.QueryString("no")="eshop" then%>
<%
title=server.htmlencode(Trim(Request("title")))
img=server.htmlencode(Trim(Request("img")))
%>
<%
If title="" Then
response.write "SORRY <br>"
response.write "請(qǐng)輸入更新內(nèi)容的標(biāo)題!!<a href=""javascript:history.go(-1)"">返回重輸</a>"
response.end
end if
If img="" Then
response.write "SORRY <br>"
response.write "內(nèi)容不能為空!!<a href=""javascript:history.go(-1)"">返回重輸</a>"
response.end
end if
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from img "
rs.open sql,conn,1,3
rs.addnew
rs("title")=title
rs("img")=img
rs.update
rs.close
response.redirect "Manage_Img.asp"
end if
%>
<!-- #include file="Inc/Head.asp" -->
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="150" align="center" valign="top"> <table width="150" height="100%" border="0" cellpadding="0" cellspacing="0" class="HeaderTdStyle">
<tr>
<td align="center" valign="top"><table width="100%" height="24" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center">功能菜單</td>
</tr>
</table>
<table width="100%" height="90%" border="0" cellpadding="0" cellspacing="0" class="MenuBg">
<tr>
<td align="center" valign="top"><br> <table width="90%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="16%"><img src="../Img/Left_1.gif" width="28" height="11"></td>
<td width="84%" height="20"><font color="#FFFF00">企業(yè)榮譽(yù)管理</font></td>
</tr>
</table>
<table width="90%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="34%" height="20" align="right"><img src="../Img/Left_1_1.gif" width="29" height="16"></td>
<td width="66%" valign="bottom"><a href="Manage_honor.asp"><font color="#FFFF00">企業(yè)榮譽(yù)管理</font></a></td>
</tr>
</table>
<table width="90%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="34%" height="20" align="right"><img src="../Img/Left_1_1.gif" width="29" height="16"></td>
<td width="66%" valign="bottom"><a href="Manage_honor_add.asp"><font color="#FFFF00">添加企業(yè)榮譽(yù)</font></a></td>
</tr>
</table>
<table width="90%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="34%" height="20" align="right"><img src="../Img/Left_1_1.gif" width="29" height="16"></td>
<td width="66%" valign="bottom"><a href="Manage_Img.asp"><font color="#FFFF00">企業(yè)形象管理</font></a></td>
</tr>
</table>
<table width="90%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="34%" height="20" align="right"><img src="../Img/Left_1_1.gif" width="29" height="16"></td>
<td width="66%" valign="bottom"><a href="Manage_Img_add.asp"><font color="#FFFF00">添加企業(yè)形象</font></a></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
<td align="center" valign="top">
<br>
<strong><br>
</strong> <br>
<br>
<table width="550" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25"> <div align="center"><strong>添加榮譽(yù)<br>
<br>
</strong></div></td>
</tr>
<tr>
<form method="post" action="Manage_Img_add.asp?no=eshop">
<td><div align="center">
<table width="100%" border="0" cellspacing="2" cellpadding="3">
<tr>
<td width="8%" height="25" bgcolor="#C0C0C0"> <div align="center">榮譽(yù)名稱</div></td>
<td width="62%" bgcolor="#C0C0C0"><input type="text" name="title" class="inputtext" maxlength="30" size="25"></td>
</tr>
<tr>
<td height="22" bgcolor="#E3E3E3"> <div align="center">榮譽(yù)證書(shū)</div></td>
<td bgcolor="#E3E3E3"><input name="img" type="text" class="inputtext" id="img" size="30" maxlength="50">
<font color="#FF0000"> * 圖片地址</font></td>
</tr>
<tr bgcolor="#C0C0C0">
<td height="25" colspan="2">
<div align="center">
<input name="submit" type="submit" value="確定">
<input name="reset" type="reset" value="取消">
</div></td>
</tr>
<tr>
<td colspan="2">圖片上傳</td>
</tr>
<tr>
<td colspan="2"><div align="center">
<iframe name="ad" frameborder=0 width=100% height=50 scrolling=no src=../uploada.asp></iframe>
</div></td>
</tr>
</table>
</div></td>
</form>
</tr>
</table>
<br>
</td>
</tr>
</table>
<!-- #include file="Inc/Foot.asp" -->
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -