?? upload_dialog.asp
字號:
<!--#include file="Inc/config.asp"-->
<html>
<head>
<title>上傳文件</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="editor_dialog.css">
<SCRIPT language=javascript>
function check()
{
var strFileName=document.form1.FileName.value;
if (strFileName=="")
{
alert("請選擇要上傳的文件");
document.form1.FileName.focus();
return false;
}
}
</SCRIPT>
</head>
<body bgColor=menu leftmargin="5" topmargin="0">
<%
if EnableUploadFile="Yes" and session("AdminName")<>"" then
%>
<form action="Upfile_Dialog.asp" method="post" name="form1" onSubmit="return check()" enctype="multipart/form-data">
<input name="FileName" type="FILE" class="tx1" size="35">
<input type="submit" name="Submit" value="上傳">
<input name="DialogType" type="hidden" id="DialogType" value="<%=trim(request("DialogType"))%>">
</form>
<%
else
response.write "對不起,本網站不允許上傳文件!"
end if
%>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -