</div>
	<div class="show_line_main_right"></div>
	<div class="show_line_main">
		<div class="show_line_main_top">
			<div class="show_line_main_top_inner">
				<span class="show_line_main_top_inner_title">
					<?php 
echo cmd($object->getName(), "exec=show&node_id=" . $object->getNodeId());
?>
				</span>
			</div>
		</div>

		<div class="show_line_main_bottom">
		<?php 
echo DownloadSize(@filesize($object->getVarValue("file")));
?>
		<a href="?file=<?php 
echo $object->resolveVarName("file");
?>
&download=1"><?php 
echo img(geticon("download")) . " " . ucf(i18n("download"));
?>
</a><br/>
		<?php 
echo $object->getVarShow("description");
?>
		</div>
	</div>
</div>
<div class="clear"></div>
echo $maxsize;
?>
px; font-style: italic; font-size: 11px;">
				<tr>
					<? if (!empty($datetime)) { ?>
					<td>
						<?php 
echo $datetime;
?>
					</td>
					<?
					}
					?>
					<td style="text-align: right">
						<?php 
echo DownloadSize(@filesize($filename));
?>
						<a href="?file=<?php 
echo $value_id;
?>
&download=1"><?php 
echo img(geticon("download")) . " " . ucf(i18n("download"));
?>
</a>
					</td>
				</tr>
			</table>
			
			<?
			$description = $object->getVarValue("description");
			if (!empty($description))
	<script type="text/javascript">
		parent.document.getElementById('<?php 
echo $varid;
?>
').value = '<?php 
echo $_FILES['file']['name'];
?>
' + ':' + '<?php 
echo $_FILES['file']['tmp_name'] . "_tmpfile";
?>
';
		parent.document.getElementById('n<?php 
echo $varid;
?>
').value = '<?php 
echo $_FILES['file']['name'] . " - " . DownloadSize(filesize($_FILES['file']['tmp_name'] . "_tmpfile"));
?>
';
		self.close();
	</script>
	<?
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<title>MURRiX File Upload</title>
		<META NAME="ROBOTS" CONTENT="NOINDEX">
	</head>
	
	<body style="margin: 0; padding: 0;">
					$object->language = $_SESSION['murrix']['language'];
					$object->rights = $parent_new->getMeta("initial_rights", $parent_new->getRights());
		
					$object->setVarValue("file", trim($paths['basename']).":".$tempName);
		
					if ($object->save())
					{
						guessObjectType($object);
						$object->linkWithNode($parent_new->getNodeId());
						clearNodeFileCache($parent_new->getNodeId());
						printToLog("Created file". $object->getPath()."<br/>");
						$count++;
						$size += $file['size'];
					}
					else
					{
						printToLog("Failed to create file ". $object->getPath()."<br/>");
					}
				}
				
				printToLog("<br/>Successfully processed files<br/>");
				printToLog("$count of ".count($_FILES)." files<br/>");
				printToLog(DownloadSize($size)." total<br/>");
				
			}
			else
				printToLog("<br/>You do not have enough rights to upload files.");
			?>
		</font>
	</body>
</html>