?>
" /><input name="delete_CheckBox" type="hidden" value="false" /></span></div>
        <?php 
    }
    ?>
<div class="clear"></div><?php 
} else {
    ?>
<p>(There are no images in this gallery)</p><?php 
}
?>
    <input name="delfiles" type="submit" value="Delete Selected Photos" class="btn red" />
    </div>
</form>
<h1>Upload Images</h1>

    <h2>Upload Multiple photos</h2>
    	<?php 
print_multi_upload($output_dir, "4mb", "jpg,jpeg,gif,png,JPG,JPEG,GIF,PNG", true);
?>
<h2>Upload Single photo</h2><br />
<br />
<form action="edit_gallery.php?gallid=<?php 
echo $_GET['gallid'];
?>
" method="post" enctype="multipart/form-data">
<input type="file" name="file" id="file" accept="image/*" />
<input name="upload" type="submit" value="Upload Image" />
</form>
<?php 
require_once "includes/end_cpanel.php";
                        <td><input name="delfiles" type="submit" value="Delete Files" class="red btn" /></td>
                    <?php 
}
?>
                </tr>
    </table>
</form>
<?php 
if (check_permission("Uploading", "upload_files")) {
    ?>
	<h1>Upload Files</h1>
	<table border="0" width="100%" border="0" style="margin-right:auto; margin-left:auto;">
	  <tr>
		<td width="50%"><h2>Upload Multiple files</h2>
			<?php 
    print_multi_upload($output_dir, "128mb", false, true);
    ?>
		</td>
		<td width="50%"><h2>Upload Single file</h2><br />
            <br />
            <form action="upload-to-folder.php?folder=<?php 
    echo $_GET['folder'];
    ?>
" method="post" enctype="multipart/form-data">
            <input type="file" name="file" id="file" />
            <input name="upload" type="submit" value="Upload File" />
            </form>
    	</td>
	  </tr>
	</table>
<?php