?? file_upload.asp
字號:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>上傳藥品圖片!</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="/manage/include/style.css" rel="stylesheet">
<script language="javascript">
function Mycheck()
{
if (form1.filepath.value=="")
{ alert("請選擇上傳的文件!");form1.filepath.focus();return;}
form1.submit();}
</script>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
}
.style1 {color: #C60001}
.style2 {color: #669999}
-->
</style>
</head>
<body>
<table width="421" height="260" border="0" align="center" cellpadding="-2" cellspacing="-2">
<tr>
<td width="421" valign="top"><table width="100%" height="83" border="0" cellpadding="-2" cellspacing="-2">
<tr>
<td height="83"> </td>
</tr>
</table>
<form enctype="multipart/form-data" name="form1" action="file_upload_OK.asp?Id=<%=request.querystring("Id")%>" method="post">
<table width="83%" height="110" border="0" align="center" cellpadding="-2" cellspacing="-2">
<tr>
<td height="32"><div align="center" class="style1">文件:</div></td>
<td height="25"> <input name="filepath" type="file" class="Style_upload" id="filepath" size="30"></td>
</tr>
<tr>
<td colspan="2"><div align="center"> <br>
<input name="Button" type="button" class="Style_button_del" value="上傳文件"
onClick="Mycheck()">
<input name="myclose" type="button" class="Style_button_del" id="myclose"
value="關(guān)閉窗口" onClick="javascrip:window.close()">
</div></td>
</tr>
</table>
</form></td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -