<style>
	#content{
		color: white;
	}
</style>

<?php
	if($adatok->size < 1024*1024){
		$adatok->size = ceil($adatok->size/1024).' KB';
	}else{
		$adatok->size = round($adatok->size/(1024*1024),1).' MB';
	}
?>

<div style="margin: auto; width: 370px; text-align: left">

	<div style="background: url('/public/img/collection/box_fullwidth-expanding_top.png'); width: 370px; height: 12px;">
	</div>
	
	<div style="background: url('/public/img/collection/box_fullwidth-expanding_bg.png') repeat; width: 350px; padding: 0px 10px 0px 10px;">
		
		<div style="float: right;">
			<a href="javascript:history.go(-1);" style="color: #f37d00;">
				<img src="/public/img/link_arrow_back.png" style="margin: 0px;" />
				<?=lang('back')?>
			</a>
		</div>
		
		<div style="width: 300px; min-height: 70px;">
		<img src="/<?=$adatok->kep?>" style="width: 60px; height: 60px; float: left;">
		<strong><?=$adatok->title?><br /></strong>
		
		<?if($adatok->szerzo != ""):?>
			<?=lang('collec_szerzo')?>: <?=$adatok->szerzo?><br /><br />
		<?endif;?>
		
		</div>
		
		<div style="clear"></div>
		
		
		<div style="width: 350px;"><?=preg_replace(array("/\n/"),array("<br />"),$adatok->desc)?></div>
		
		
		
		<div class="collection-download-item" style="text-align: left; margin-top: 0px;">
			
			<input style="float: right; height: 30px;" type="button" value="<?=lang('download')?>" onclick="window.location.href='/<?=$adatok->fajl?><?if($adatok->tipus == "project"):?>?filename=<?=$adatok->eredeti_nev?><?endif;?>'" />
			
			<div style="padding-top: 10px; color: #8D8D8D;">
				<?if($adatok->size!='0 KB'):?>(<?=$adatok->size?>)<?endif;?>
			</div>
		</div>
		
		
	
	</div>
	
	
	<div style="background: url('/public/img/collection/box_fullwidth-expanding_bottom.png'); width: 370px; height: 12px;">
	</div>

</div>