<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
<title>多文件上传</title>
<style type="text/css">
body{padding:10px; margin:10px; font-size:12px;font-family:宋体}
body,input{font-size:12px;}
a{color:#FF3300}
a:hover{text-decoration:none}
.input_35X16{height:22px;border:1px}
</style>
<script language="javascript" type="text/javascript">
function Ok()
{
	window.opener.document.getElementById('<?php echo $objid;?>').value=document.getElementById('imagess_value').value;
	window.close();
}
</script>
</head>
<body onunload="Ok()">
<form id="uploadForm" name="upload" method="post">
<input type="hidden" value="1" name="isupload" />
  <table border="0" cellspacing="1" class="dircmslist">
    <thead>
      <tr>
        <td colspan="2"><b>上传文件</b></td>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td align="right" width="15%" style="line-height:35px;">添加文件：</td>
        <td><a href="javascript:void(0);" class="files" id="idFile"></a> <img id="idProcess" style="display:none;" src="images/loading.gif" /></td>
      </tr>
	  <tr>
        <td colspan="2"><input type="hidden" id="imagess_value" /></td>
	  </tr>
	  
      <tr>
        <td colspan="2"><table border="0" cellspacing="0">
            <thead>
              <tr>
                <td>文件路径</td>
                <td width="100"></td>
              </tr>
            </thead>
            <tbody id="idFileList">
            </tbody>
          </table></td>
      </tr>
      <tr>
        <td colspan="2" style="color:gray">上传提示：最多可同时上传 <b id="idLimit"></b> 个文件，只允许上传 <b id="idExt"></b> 文件。 </td>
      </tr>
      <tr>
        <td colspan="2" align="center" id="idMsg"><input type="button" value="开始上传" id="idBtnupload" disabled="disabled" />
          &nbsp;&nbsp;&nbsp; <input type="button" value="上传完毕" onclick="Ok();" />&nbsp;&nbsp;&nbsp;
          <input type="button" value="全部取消" id="idBtndel" disabled="disabled" />
        </td>
      </tr>
    </tbody>
  </table>
</form>
<script src="images/upload.js.php?objid=<?php echo $objid;?>" language="javascript"></script>
</body>
</html>