⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 admin_uploadimgselect.asp

📁 庐江二中
💻 ASP
字号:
<%PageName="admin_upload"%>
<!--#include file="session.asp"-->
<%checkAdmin1%>
<!--#include file="conn.asp"-->
<!--#include file="const.asp"-->
<!--#include file="function.asp"-->
<%
NewsID=request("NewsID")
image=Request("image")
if NewsID="" then
%>
<script language=javascript>
history.back()
alert("请输入您要上传图片的文章ID!")
</script>
<%
Response.End
end if
FilePath=ImgPath
%>
<!--#include file="top.asp"--><br>
<table border="1" width="80%" cellspacing="0" cellpadding="1" bgcolor="<%=MainBgColor%>">
<tr>

<td valign=top>
<form enctype="multipart/form-data" method="post" action="admin_UploadImgSave.asp?NewsID=<%=NewsID%>" name="Upload">
<table border="1" width="100%" cellspacing="0" cellpadding="0" Class="TableLine" bordercolorlight="<%=MainBColor%>" bgcolor="<%=MainCColor%>">
<tr>
<td width="100%" height="20" colspan=7 align=center bgcolor="<%=MainTColor%>" background="images/admin/b3.gif">上传图片</td>
</tr>
<tr>
<td valign="middle" align="center" height=100>
<input type="hidden" name="CopyrightInfo" value="http://www.ahljez.cn">
图片格式及优先调用次序依次为:jpg、gif、png、swf、bmp
<%=space(6)%>
不同类型的图片不能覆盖,请通过其它方法删除原图。
<%=space(6)%>
上传目录:<%=server.MapPath(FilePath)%>&nbsp;&nbsp;&nbsp;&nbsp;上传个数:<%=image%>
</td>
</tr>
<%
for i=1 to image
if DelectImageFile_Upload(NewsID,i)="" then
Response.Write "<tr><td width=100% bgcolor=#FFFFFF align=center>待上传图片 " & NewsID & "-" & i & ":<input type=file name=file" & i & " size=50></td></tr>"
else
Response.Write "<tr><td width=100% bgcolor=#FFFFFF align=center>已存在图片 <font color=red>" &DelectImageFile_Upload(NewsID,i) &  ":</font><input type=file name=file" & i & " size=50></td></tr>"
end if
next
%>
<tr>
<td width="100%" align=center>
<input type=submit value=上传>
</td>
</tr>
</table>
</form>
</table>
<%
set rs=nothing%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -