📄 myup.asp
字号:
<!--#include file="admin_function.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="images/admin.css" type="text/css" rel="stylesheet">
<title>上传文件</title>
<style>
</style>
<script language="javascript">
<!--
function showarit(){
wait.style.display="block";
}
-->
</script>
</head>
<body class="up_body" topmargin="0" leftmargin="0">
<%
dim uptype,cat,urlName,sizeName,content,upmode
upType=Request("upType")
cat=Request("cat")
urlName=Request("urlName")
sizeName=Request("sizeName")
content=Request("content")
upmode=Request("upmode")
if Request("uptype")="pic" then%>
<table id="wait" border="0" width="100%" cellpadding="0" cellspacing="0" height="100%" style="display:none;"><tr><td height="100%"><marquee align="middle" behavior="alternate" scrollamount="5"><font color=#ff0000 size="2">文件正在上传中,请等待...</font></marquee></td></tr></table>
<table border="0" height="100%" id="upform" cellpadding="0" cellspacing="0" style="display:block;">
<form name="myup" method="post" action="upfile.asp?cat=<%=cat%>&uptype=<%=upType%>&urlname=<%=urlName%>&sizename=<%=sizeName%>&content=<%=content%>&upmode=<%=upmode%>" enctype="multipart/form-data">
<tr>
<td valign="middle" height="100%">
<input name="myfile" type="file" size="30">
<input type="submit" name="submit2" value="上传" onclick="showarit()"> <input type="checkbox" value="1" name="yangmin" id="yangmin"><label for="yangmin">原名保存</label>
</td></tr>
</form>
</table>
<%elseif Request("uptype")="file" then%>
<table id="wait" border="0" width="100%" cellpadding="0" cellspacing="0" height="100%" style="display:none;"><tr><td height="100%"><marquee align="middle" behavior="alternate" scrollamount="5"><font color=#ff0000 size="2">文件正在上传中,请等待...</font></marquee></td></tr></table>
<table border="0" height="100%" id="upform" cellpadding="0" cellspacing="0" style="display:block;">
<form name="myup" method="post" action="upfile.asp?cat=<%=cat%>&uptype=<%=upType%>&urlname=<%=urlName%>&sizename=<%=sizeName%>&content=<%=content%>&upmode=<%=upmode%>" enctype="multipart/form-data">
<tr>
<td valign="middle" height="100%">
<input name="myfile" type="file" size="30">
<input type="submit" name="submit2" value="上传" onclick="showarit()"> <input type="checkbox" value="1" name="yangmin" id="yangmin"><label for="yangmin">原名保存</label>
</td></tr>
</form>
</table>
<%end if%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -