📄 default.asp
字号:
<html>
<head>
<title>图形文件上传</title>
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--
function button1_onclick() {
if (frmsend.DBFile.value==""){
alert("文件名称不能为空!");
return false;
}else if(frmsend.Title.value=="")
{
alert("标题不能为空!");
return false;
}else if (frmsend.Description.value=="")
{
alert("描述不能为空!");
return false;
}else{
frmsend.submit();
return true;
}
}
function button2_onclick() {
window.location.href="list.asp";
}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</SCRIPT>
<meta name="description" content="北京源江科技有限公司">
</head>
<body bgcolor="#ffccff" text=#0000cc>
<table width="755" border="16" cellspacing="0" cellpadding="0" align="center" vspace="0" bordercolor="#99ffff" background="" bgColor=#71a594 borderColorDark=darkturquoise borderColorLight=#99ffff style="WIDTH: 755px">
<tr align="center" bgcolor="#669999" bordercolor="#99ffff">
<td height="61" borderColorDark=blue style="FONT-SIZE: large; FONT-WEIGHT: bold; HEIGHT: 61px; TEXT-TRANSFORM: uppercase"
> <font color="#0000cc">图片上传</font></td>
</tr>
<tr>
<td height="251">
<form method=post enctype="multipart/form-data" id=frmsend name=frmsend action="savefile.asp">
<table cellpadding="0" cellspacing="0" border="0" width="467" align="center" style="LEFT: 8px; TOP: 62px">
<tr>
<td width="47"></td>
<td align="right" colspan="3"></td>
</tr>
<tr>
<td width="47" nowrap>文件:</td>
<td colspan="3">
<input type="file" name="DBFile"
style="BACKGROUND-COLOR: mistyrose; COLOR: thistle">
</td>
</tr>
<tr>
<td width="47" nowrap>标题:</td>
<td colspan="3">
<input size="60" name="Title" style="BACKGROUND-COLOR: mistyrose; HEIGHT: 22px; WIDTH: 443px"
>
</td>
</tr>
<tr>
<td width="47" nowrap background="">描述:</td>
<td colspan="3">
<textarea cols=60 name=Description rows=8 style="BACKGROUND-COLOR: mistyrose"></textarea>
</td>
</tr>
<tr>
<td width="47" height="34"> </td>
<td width="215" height="34">
<input id=button1 name=button1 type=button value=上载 language=javascript onClick="return button1_onclick()" style="BACKGROUND-COLOR: thistle; COLOR: mediumblue; CURSOR: hand; HEIGHT: 24px; LEFT: 0px; TOP: 4px; WIDTH: 77px">
</td>
<td width="215" height="34">
<input id=reset1 name=reset1 type=reset value=重添 style="BACKGROUND-ATTACHMENT: scroll; BACKGROUND-COLOR: thistle; COLOR: blue; CURSOR: hand; HEIGHT: 24px; WIDTH: 80px">
</td>
<td width="205" height="34">
<p> </p>
<p>
<input id=button2 name=button2 type=button value=查看图片 language=javascript onClick="return button2_onclick()" style="BACKGROUND-COLOR: thistle; COLOR: blue; CURSOR: hand">
</p>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<table width="286" border="0" cellspacing="0" cellpadding="0" align="right">
<tr align="center">
<td height="16">
<p align="center"><font face="Georgia, Times New Roman, Times, serif" size="1"><i><a href="http://www.zhao1zhao.com"><font color="#0000CC">北京源江科技有限公司</font></a></i></font></p>
</td>
</tr>
</table>
<ht> <ht>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -