<%@ page language="java" contentType="text/html;charset=utf-8"%>
<%@ page pageEncoding="UTF-8" %>
<%@ page import="com.ntsky.framework.util.HttpUtil"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>BBS管理 —— 文件上传</title>
<meta name="Robots" content="all" />
<meta http-equiv="Pragma" content="no-cache" />
<meta name="author" content="yntsky@gmail.com" />
<meta name="Copyright" content="www.ntsky.com" />
<meta http-equiv="Content-Language" content="UTF-8"/>
<meta name="description" content="open source j2ee bbs" />
<meta name="MSSmartTagsPreventParsing" content="true"/>
<meta name="keywords" content="xslt,xml,rss,java,jsp,j2ee,javascript,sax,dom,mysql,oracle,postgres,linux,css2,xhtml" />
<link rev="made" href="mailto:yntsky@gmail.com" />
<link rel="Shortcut Icon" type="image/x-icon" href="/favicon.ico" />
<link rel="stylesheet" href="default.css" type="text/css" media="all"/>
</head>
<body style="margin: 0px;padding:0px;">
<br/>
<!-- basic info begin -->
<%
	String elementId = HttpUtil.getParameter(request,"elementId");
%>
<div class="box1">
  <div class="title"> <a href="#">上传文件</a></a></div>
	<form action="doUpload.jsp" method="post" onSubmit="return Validator.Validate(this,2)" enctype="multipart/form-data">
    <input type="hidden" value="<%=elementId%>" name="elementId"/>
    <div class="content">
      <div class="ibox">
        <div class="it">选择图片: * </div>
        <div class="iv">
          <input name="isClose" type="file" class="t" value="" style="padding:0px; "/>
          <span class="red">选择上传的图片</span> </div>
      </div>
    </div>
    <!-- end #content -->
    <div class="box3" style="text-align:center; clear:both">
      <div>
        <input type="submit" value="上传图片" name="agree" class="b"/>
      </div>
    </div>
  </form>
</div>
<!-- end #basic info -->
<!-- upload message begin -->
<div class="box1 dashed">
  <h2>上传信息</h2>
  <ul>
    <li>文件后缀名为gif,jpg</li>
    <li>单个文件大小不大于2M</li>
  </ul>
</div>
<!-- end #upload message -->
<!-- footer begin -->
<div id="footer">
  <div id="copyleft">Copyright &#169; 2001-2005, The NtSky NetWork Studio.<br/>
    This BBS version 1.0. Connect Author : <a href="mailto:yntsky@gmail.com">yntsky@gmail.com</a></div>
</div>
<!-- end #footer -->
</body>
</html>
