<html>
<head>
<title>FileMan</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="<%html_url%>/<%scheme%>.css">
<script>
function check_selected() {
        var count = 0
        for (ii=1; ii <=10; ii++) {
                if (eval("document.frm_main.file"+ii).value != '') {
                        count++
                        break;
                }
        }
        if (count == 0) {
                alert('Please select the files to upload')
                return false;
        }
}

</script>
</head>
<body class="bg_main" leftmargin=5 topmargin=5 onload="">
<form name='frm_main' action='<%http_ref%>' ENCTYPE='multipart/form-data' method=post onsubmit='return check_selected()'>
<table height=99% width=100%>
  <tr>
    <td valign=middle align=center>
      <table width="" border="0" style="border:1px solid #A1A576;" cellspacing="0" cellpadding="0" align="center" class="bg_window">
        <tr>
          <td>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr bgcolor="#000066">
                <td class="header_format" height=20 width=60%><Font color=white><b>&nbsp;Multiple uploading&nbsp;</b></font></td>
                <td class="header_format" height=20 width=40% align=right><a href="<%http_ref%>?fdo=cmd_main_display&cmd_do=cmd_upload&reload=2&work_path=<%work_path%>&<%url_opts%>"><img src="<%html_url%>/icons/close.gif" border=0></a></td>
              </tr>
            </table>
            <BR>
            <table width="" border="0" cellspacing="1" cellpadding="2">
              <tr>
                <td><%font%>&nbsp;1.</font></td>
                <td ><%font%>
                  <input  class='object' name=file1 type=file size=25>
                  <input type='radio' name='type1' value='ascii'>Ascii
                  <input type='radio' name='type1' value='binary'>Binary
                  <input type='radio' name='type1' value='auto' checked>Auto &nbsp;</font>
                </td>
              </tr>
              <tr >
                <td><%font%>&nbsp;2.</font></td>
                <td><%font%>
                  <input  class='object' name=file2 type=file size=25>
                  <input type='radio' name='type2' value='ascii'>Ascii
                  <input type='radio' name='type2' value='binary'>Binary
                  <input type='radio' name='type2' value='auto' checked>Auto&nbsp; </font>
                </td>
              </tr>
              <tr>
                <td><%font%>&nbsp;3.</font></td>
                <td><%font%>
                  <input class='object' name=file3 type=file size=25>
                  <input type='radio' name='type3' value='ascii'>Ascii
                  <input type='radio' name='type3' value='binary'>Binary
                  <input type='radio' name='type3' value='auto' checked>Auto &nbsp;</font>
                </td>
              </tr>
              <tr>
                <td><%font%>&nbsp;4.</font></td>
                <td><%font%>
                  <input class='object' name=file4 type=file size=25>
                  <input type='radio' name='type4' value='ascii'>Ascii
                  <input type='radio' name='type4' value='binary'>Binary
                  <input type='radio' name='type4' value='auto' checked>Auto &nbsp;<font>
                </td>
              </tr>
              <tr>
                <td><%font%>&nbsp;5.</font></td>
                <td><%font%>
                  <input class='object' name=file5 type=file size=25>
                  <input type='radio' name='type5' value='ascii'>Ascii
                  <input type='radio' name='type5' value='binary'>Binary
                  <input type='radio' name='type5' value='auto' checked>Auto &nbsp;</font>
                </td>
              </tr>
              <tr>
                <td><%font%>&nbsp;6.</font></td>
                <td><%font%>
                  <input class='object' name=file6 type=file size=25>
                  <input type='radio' name='type6' value='ascii'>Ascii
                  <input type='radio' name='type6' value='binary'>Binary
                  <input type='radio' name='type6' value='auto' checked>Auto &nbsp;</font>
                </td>
              </tr>
              <tr>
                <td><%font%>&nbsp;7.</font></td>
                <td><%font%>
                  <input class='object' name=file7 type=file size=25>
                  <input type='radio' name='type7' value='ascii'>Ascii
                  <input type='radio' name='type7' value='binary'>Binary
                  <input type='radio' name='type7' value='auto' checked>Auto &nbsp;</font>
                </td>
              </tr>
              <tr>
                <td><%font%>&nbsp;8.</font></td>
                <td><%font%>
                  <input class='object' name=file8 type=file size=25>
                  <input type='radio' name='type8' value='ascii'>Ascii
                  <input type='radio' name='type8' value='binary'>Binary
                  <input type='radio' name='type8' value='auto' checked>Auto &nbsp;</font>
                </td>
              </tr>
              <tr>
                <td><%font%>&nbsp;9.</font></td>
                <td><%font%>
                  <input class='object' name=file9 type=file size=25>
                  <input type='radio' name='type9' value='ascii'>Ascii
                  <input type='radio' name='type9' value='binary'>Binary
                  <input type='radio' name='type9' value='auto' checked>Auto &nbsp;</font>
                </td>
              </tr>
              <tr>
                <td><%font%>&nbsp;10.</font></td>
                <td>
                  <input class='object' name=file10 type=file size=25><%font%>
                  <input type='radio' name='type10' value='ascii'>Ascii
                  <input type='radio' name='type10' value='binary'>Binary
                  <input type='radio' name='type10' value='auto' checked>Auto &nbsp;</font>
                </td>
              </tr>
              <tr >
                <td colspan=2 align="center"><br><%font%>
                  File name as:
                  <select name='name' class="object">
                    <option value='default'>default</option>
                    <option value='uppercase'>uppercase</option>
                    <option value='lowercase'>lowercase</option>
                  </select>&nbsp;&nbsp;
                  <input name=overwrite type=checkbox value='1'><%font%>Overwrite</font>
                </td>
              </tr>
              <tr>
                  <td colspan="2" align="center"><br>
                    <input type=submit name=upload value='Upload'  class='submit'>
                    <input type=reset name=clear value=' Clear ' class=submit><br><br>
                  </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<input type=hidden name='work_path' value='<%work_path%>'>
<input type=hidden name="txt_input">
<input type=hidden name='cmd_do' value='cmd_mul_upload'>
<input type=hidden name="status" value="Multiple uploading.">
<input type=hidden name=do value="fileman">

<!--Search options-->
<input type=hidden name="c_regex">
<input type=hidden name="c_case">
<input type=hidden name="c_word">
<input type=hidden name="c_content">
<input type=hidden name="c_bak">
<input type=hidden name="scope">
<input type=hidden name="txt_with">
<%ifnot user_sessions%>
<!--multi users-->
<input type=hidden name="session_id" value="<%session_id%>">
<%endif%>
<%if root_selected%>
<input type=hidden name='root_selected' value="<%root_selected%>">
<%endif%>
</form>
</body>
</html>
