📄 upload.asp
字号:
<!--#include file="conn.asp"-->
<%
TypeID=Request.QueryString("typeid")
IF TypeID="big" Then
TypeID="big"
TypeInfo="大 图 片"
Else
TypeID="small"
TypeInfo="小 图 片"
End IF
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<!--#include file="inc/css.asp"-->
<title><%=WebSiteName%></title>
</head>
<body topmargin="0" background="images/bg.gif">
<!--#include file="top.asp"-->
<div align="center">
<center>
<table border="0" width="755" cellspacing="0" cellpadding="0">
<tr>
<td style="background-color: #FFFFFF; border-left: 1 solid #000000; border-right: 1 solid #000000; border-top: 1 solid #000000; border-bottom: 1 solid #000000" valign="middle" height="200">
</center>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="100%">
<p align="center"></td>
</tr>
<tr>
<td width="100%">
<%IF Request.QueryString("action")<>"suc" Then%>
<div align="center">
<center>
<table border="0" width="90%" cellspacing="0" cellpadding="0" style="border: 1 solid #000000">
<tr>
<td width="100%" background="images/bg2.gif" height="22">
<p align="center"><font color="#FF0000"><b>上 传 图 片</b></font></td>
</tr>
<form action="uploadpic<%=TypeID%>.asp" method="post" enctype="multipart/form-data">
<tr>
<td width="100%">
<table border="0" width="672" cellspacing="0" cellpadding="0" height="80">
<tr>
<td style="border-right: 1 solid #cccccc; border-bottom: 1 solid #cccccc" align="center" valign="middle" width="179"><%=TypeInfo%></td>
<td style="border-bottom: 1 solid #cccccc" width="493">
<input type=file name="pic" size=12 maxlength=50 style="background-attachment: scroll; background-repeat: repeat; font-size: 9pt; height: 18; width: 359; background-color: #FFFFFF; border: 1 solid #000000; background-position: none 0%"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" height="22" bgcolor="#EDEDED">
<p align="center" style="margin-top: 3; margin-bottom: 3">
<INPUT type=submit value=' 提 交 ' name=Submit style="background-color: #DDDDDD; background-repeat: repeat; background-attachment: scroll; font-size: 9pt; height: 20; width: 69; border: 1px groove #000000; background-position: 0% 50%">
<INPUT type=reset value=' 取 消 ' name=Submit style="background-color: #DDDDDD; background-repeat: repeat; background-attachment: scroll; font-size: 9pt; height: 20; width: 69; border: 1px groove #000000; background-position: 0% 50%"></td>
</tr>
</form>
</table>
</center>
</div>
<%Else%>
<div align="center">
<center>
<table border="0" width="90%" cellspacing="0" cellpadding="0" style="border: 1 solid #000000">
<tr>
<td width="100%" background="images/bg2.gif" height="22">
<p align="center"><font color="#FF0000"><b>上 传 图 片
成 功</b></font></td>
</tr>
<form action="uploadpic<%=TypeID%>.asp" method="post" enctype="multipart/form-data">
<tr>
<td width="100%">
<table border="0" width="672" cellspacing="0" cellpadding="0" height="80">
<tr>
<td style="border-right: 1 solid #cccccc; border-bottom: 1 solid #cccccc" align="center" valign="middle" width="672">恭喜您已经成功的上传了图片。</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" height="22" bgcolor="#EDEDED">
<p align="center" style="margin-top: 3; margin-bottom: 3"></td>
</tr>
</form>
</table>
</center>
</div>
<%End IF%>
</td>
</tr>
<tr>
<td width="100%" height="30">
<p align="center" style="line-height: 200%">[ <a href="javascript:self.close()"> 关闭窗口</a> ]</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -