
<style>
	#kepek img{
		max-width: 150px;
		max-height: 150px;
	}
</style>

<div class="fweltop"></div>
<div class="fwel" style="width: 783px; padding: 0 7px 0 12px">

<?if(hun()):?>
<? $this->load->model('mforum'); ?>
<h1><?=$this->mforum->get_nev($this->uri->segment(3));?> galériája</h1>
<?else:?>
<h1><?=lang('forum_galeria')?></h1>
<?endif;?>

<div id="kepek">
<?foreach($fajlok as $i):?>
	<a href="/<?=$utvonal?>/<?=$i->fajl?>" class="fancy" title="<?=substr($i->fajl,8)?>" rel="group">
		<?if( file_exists($utvonal.'/elo_'.$i->fajl) ):?>
			<img style="border: 0px none; padding: 1px;" src=/<?=$utvonal?>/elo_<?=$i->fajl?> alt="<?=substr($i->fajl,12)?>" />
		<?else:?>
			<img style="border: 0px none; padding: 1px;" src=/<?=$utvonal?>/<?=$i->fajl?> alt="<?=substr($i->fajl,8)?>" />
		<?endif;?>
	</a>
<?endforeach;?>
</div>
</div>
<div class="fwelbottom"></div>