upload.jsp
资源名称:shop.rar [点击查看]
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:2k
源码类别:
Applet
开发平台:
Java
- <%@ page contentType="text/html; charset=gb2312"%>
- <script language="javascript" src="../js/upload.js"></script>
- <STYLE type=text/css>
- BODY {
- BACKGROUND: #799ae1; FONT: 9pt 宋体; MARGIN: 0px
- }
- TABLE {
- BORDER-LEFT: 1 px; BORDER-TOP: 1 px
- }
- TD {
- FONT: 12px 宋体;
- }
- IMG {
- BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: 0px; VERTICAL-ALIGN: bottom
- }
- A {
- COLOR: #000000; FONT: 12px 宋体; TEXT-DECORATION: none
- }
- A:hover {
- COLOR: #428eff; TEXT-DECORATION: underline
- }
- .sec_menu {
- BACKGROUND: #d6dff7; BORDER-BOTTOM: white 1px solid; BORDER-LEFT: white 1px solid; BORDER-RIGHT: white 1px solid; OVERFLOW: hidden
- }
- .menu_title {
- }
- .menu_title SPAN {
- COLOR: #215dc6; FONT-WEIGHT: bold; LEFT: 8px; POSITION: relative; TOP: 2px
- }
- .menu_title2 {
- }
- .menu_title2 SPAN {
- COLOR: #428eff; FONT-WEIGHT: bold; LEFT: 8px; POSITION: relative; TOP: 2px
- }
- .style1 {color: #FF0000}
- </STYLE>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <title>添加文章</title>
- </head>
- <body>
- <p> </p>
- <table width="696" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
- <form action="upload_add.jsp" method="post" name="upload" onSubmit ="return check(upload)" enctype="multipart/form-data">
- <tr align="center">
- <td height="23" colspan="2">
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td height="33" align="center"><div align="center" class="style1">文件上传</div> </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr align="center">
- <td width="16%" height="32">文件说明</td>
- <td width="84%" align="left"> <input type="text" size="70" name="detail"></td>
- </tr>
- <tr align="center">
- <td height="20%">文件内容</td>上传文件名请以英文命名(不然会无法下载)。文件说明可以用中文。
- <td align="left"> <input type="file" name="name"></td>
- </tr>
- <tr align="center">
- <td height="26" colspan="2"><table width="100%" height="26" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td width="16%" align="center"> </td>
- <td width="84%" align="center"><div align="left">
- <input name="submit" type="submit" value="提交">
- <input type="reset" value="重置">
- </div></td>
- </tr>
- </table></td>
- </tr>
- </form>
- </table>
- </body>
- </html>