<!-- BEGIN main_block -->

<script src="{THEME_URL}/jquery/toggle_zip.js" type="text/javascript"></script>

<h2>{HEADING_BROWSE_MEDIA}</h2>

<iframe width="100%" height="382" src="browse.php" scrolling="no"></iframe>
<br />
<form name="create" action="create.php" method="post" class="{DISPLAY_CREATE}">
{FTAN}
<h2>{HEADING_CREATE_FOLDER}</h2>

<table summary="" cellpadding="3" cellspacing="0" border="0" width="100%">
<tr>
	<td width="100">{TEXT_TARGET_FOLDER}:</td>
	<td>
		<select name="target" style="width: 100%;">
			<option value="{MEDIA_DIRECTORY}{HOME_DIRECTORY}" selected="selected">{MEDIA_DIRECTORY}{HOME_DIRECTORY}</option>
			<!-- BEGIN dir_list_block -->
				<option value="{NAME}">{NAME}</option>
			<!-- END dir_list_block -->
		</select>
	</td>
</tr>
</table>
<table summary="" cellpadding="3" cellspacing="0" border="0" width="100%">
<tr>
	<td width="100">{TEXT_NAME}:</td>
	<td>
		<input type="text" name="name" style="width: 100%;" />
	</td>
	<td align="right" width="160">
		<input type="submit" name="submit" value="{TEXT_CREATE_FOLDER}" style="width: 160px;" />
	</td>
</tr>
</table>

</form>

<form name="upload" action="upload.php" method="post" enctype="multipart/form-data" class="{DISPLAY_UPLOAD}">
{FTAN}
<br />

<h2>{HEADING_UPLOAD_FILES}</h2>

<table summary="" cellpadding="3" cellspacing="0" border="0" width="100%">
<tr>
	<td width="100">{TEXT_TARGET_FOLDER}:</td>
	<td>
		<select name="target" style="width: 100%;">
			<option value="{MEDIA_DIRECTORY}{HOME_DIRECTORY}" selected="selected">{MEDIA_DIRECTORY}{HOME_DIRECTORY}</option>
			<!-- BEGIN dir_list_block -->
				<option value="{NAME}">{NAME}</option>
			<!-- END dir_list_block -->
		</select>
	</td>
</tr>
</table>
<table summary="" cellpadding="3" cellspacing="0" border="0" align="center" width="100%">
    <tr>
    	<td valign="top"><input type="checkbox" name="unzip" id="unzip"  onclick="toggle();" />
<label for="unzip">{TEXT_UNZIP_FILE}</label>
<span id="delzip" style="display: none;"><br /><input type="checkbox" name="delzip" id="deletezip" />
<label for="deletezip">{TEXT_DELETE_ZIP}</label></span>
</td>
      <td valign="top"><input type="checkbox" name="overwrite" id="overwrite" value="yes" /><label for="overwrite">{TEXT_OVERWRITE_EXISTING}{TEXT_FILES}</label>      </td>
      <td width="160" valign="top"><input type="submit" name="submit" value="{TEXT_UPLOAD_FILES}" style="width: 160px;" /></td>
    </tr>
  </table>
<table summary="" cellpadding="3" cellspacing="0" border="0" width="100%">
    <tr>
      <td width="50%" align="left"><input type="file" size="27" name="file1" /></td>
      <td width="50%" align="right"><input type="file" size="27" name="file2" id="file2" style="visibility: visible;" /></td>
    </tr>
    <tr>
      <td width="50%" align="left"><input type="file" size="27" name="file3" id="file3" style="visibility: visible;" /></td>
      <td width="50%" align="right"><input type="file" size="27" name="file4" id="file4" style="visibility: visible;" /></td>
    </tr>
    <tr>
      <td width="50%" align="left"><input type="file" size="27" name="file5" id="file5" style="visibility: visible;" /></td>
      <td width="50%" align="right"><input type="file" size="27" name="file6" id="file6" style="visibility: visible;" /></td>
    </tr>
    <tr>
      <td width="50%" align="left"><input type="file" size="27" name="file7" id="file7" style="visibility: visible;" /></td>
      <td width="50%" align="right"><input type="file" size="27" name="file8" id="file8" style="visibility: visible;" /></td>
    </tr>
    <tr>
      <td width="50%" align="left"><input type="file" size="27" name="file9" id="file9" style="visibility: visible;" /></td>
      <td width="50%" align="right"><input type="file" size="27" name="file10" id="file10" style="visibility: visible;" /></td>
    </tr>
  </table>
</form>

<!-- END main_block -->
