Location: PHPKode > scripts > ER Manager > ermanager/files/show_upload.php
<?PHP
//get vars from do_upload.php
$called = 1;
include 'do_upload.php';
?>

<html>
<head>
<title> <?PHP print "$ntitle"; ?></title>
</head>

<body>
<div align=center>
<font face="Arial" size="5" color="#6E6E6E">
<?PHP print "$ntitle"; ?>
</font>
</div>
<p>
<div align=center>
<TABLE bgcolor=#B4B4B4>
<TR>
	<TD><font face="Arial" size="2">File To Upload:</font></TD>
</TR>
<TR>
	<TD><form enctype="multipart/form-data" method="post" action="do_upload.php">
	<input type="file" name="img1" size="30">
	<input type="hidden" name="folder" value="<?PHP echo "$_GET[folder]"; ?>"></p></TD>
</TR>
<TR>
	<TD><input type="submit" name="submit" value="Upload File"></TD>
	<TD></TD>
</TR>
</TABLE>
Supported files are:<BR>
<?PHP
//run through accepted file types
/*
foreach ( $ext as $exts ){
	print "$exts ";
}
*/ //removed by Paolo

print "<p>Max file size is ". round((( $max_file_size / 1024 ) / 1024) , 2)."MB";
print "<p><a href=\"$scripturl"."index.php?folder=$folder\">List files</a>
<br><a href=\"$ermanurl\">ER Manager</a>";
?>
</div>
</form>
<div align="center">
<font face="Arial" size="1">
File Uploader by UKDragon.com
</font>
</div>
</body>
</html>
Return current item: ER Manager