📄 addimage.asp
字号:
<%
if session("admin")="" then
objconn.close
set objconn=nothing
response.redirect "../default.asp"
end if
%>
<!--#include file="dbpath.asp"-->
<!--#include file="../confirm.asp"-->
<%dim catname,catid
catid=request.querystring("catid")
catname=request.querystring("catname")
if catid = "" then
Response.Write("wrong parameter")
Response.End
end if
%>
<html>
<head>
<title>Add a New picture</title>
<link rel="stylesheet" type="text/css" href="../links.css">
</head>
<body >
<center>
<form method="POST" action="saveimage.asp">
<table width="620" border="1" cellspacing="0" cellpadding="0" align="center" bordercolor="#000000" bordercolordark="#FFFFFF">
<TBODY>
<tr>
<td background="../images/background.gif" height="20" align="center" colspan="2"><b>增加新图片</b></td>
</tr>
<td width="100%" height="20">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<input type="hidden" name="catid" value="<%=catid%>">
<input type="hidden" name="catname" value="<%=catname%>">
<tr>
<td width="20%" align="right">图片名称:</td>
<td>
<input type="text" name="imagename" size="25"
class="smallinput" maxlength="255">
<font color="#FF0000" size="3">*</font> </td>
</tr>
<tr>
<td width="20%" align="right">图片地址:</td>
<td>
<input type="text" name="image" size="25"
maxlength="255">
<font color="#FF0000" size="3">*</font>必须是JPG,GIF的图片,并上传到PICTURES目录。</td>
</tr>
<tr>
<td width="20%" align="right">缩图地址:</td>
<td>
<input type="text" name="thumb" size="25"
maxlength="255">
<font color="#FF0000" size="3">*</font>必须是JPG,GIF的图片,并上传到THUMBS目录。</td>
</tr>
<tr>
<td width="20%" align="right">图片大小:</td>
<td>
<input type="text" name="size" size="25"
maxlength="255">
不要数入KB。</td>
</tr>
<tr>
<td width="20%" align="right">图片宽度:</td>
<td>
<input type="text" name="width" size="25"
maxlength="255">
</td>
</tr> <tr>
<td width="20%" align="right">图片高度:</td>
<td>
<input type="text" name="height" size="25"
maxlength="255">
</td>
</tr>
<input type="hidden" name="thname" value="<%if request.querystring("thname")="" then%><%=request.serverVariables("Http_REFERER")%><%else%><%=request.querystring("thname")%><%end if%>">
<tr>
<td colspan="2">
<div align="center">
<input type="submit" value="增加" name="cmdok">
<input type="reset" value="重新" name="cmdcancel">
<input name=".goback" type="reset" value="返回" onClick="history.go(-1)" class="buttonface">
</div>
</td>
</tr>
<tr>
<td colspan="2"><font color="#FF0000" size="3">*</font>是必填内容!</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<br>
<P align=center>制作:<a href="http://www.huamed.com/gallery">Galleryit Pro 3.0.0</a></p>
<P align=center>来源:<a href="http://bbs.5iasp.com">http://bbs.5iasp.com</a></p>
<P align=center>汉化:<a href="http://www.youilove.com">ORPIN</a></p>
</center>
</body>
</html>
<%
objrs1.close
set objrs1=nothing
objconn.close
set objconn=nothing%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -