<?$honapok = lang('honapok'); $ho = $this->uri->segment(3); 
$kivhonap = (($ho-1)%12+1);
$kivev = (2011 + (int)($ho/12.00009));
?>


<div id="baloldal">
<div class="hklogo">
<img alt="<?=lang("kt_oldalcim")?> logo" title="<?=lang("kt_oldalcim")?>" src="/public/img/kezzeltervez/stilus/header<?if(!hun()):?>_eng<?endif;?>.png" />
</div>


<div class="hkheadertop"></div>
<div class="hkkeret">
	<div class="gal-cim2" style="margin-bottom: 0px;"><?if(hun()):?><?=$kivev?>. <?endif;?><?=$honapok[$kivhonap]?><?if(!hun()):?> <?=$kivev?> <?endif;?></div>
</div>
<div class="hkheaderbottom"></div>


<?foreach($galeriak as $galeria):?>
<?if( file_exists("public/img/kezzeltervez/".$ho."/eng_".$galeria->kezdo) ):?>
<div class="hkheadertop"></div>
<div class="hkkeret">
	
	<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
	<td width="50%"><div
class="gal-cim2"><strong><?=lang('kt_beerkterv')?></strong></div></td>
	<td align="right"><div
class="gal-cim2"><strong><?=lang('kt_kesz3d')?></strong></div></td>
	</tr>
	</table>
	
	<? if(hun()) $kezdokep = $galeria->kezdo;
	else $kezdokep = "eng_".$galeria->kezdo; ?>
	<a href="/public/img/kezzeltervez/<?=$ho?>/<?if(
file_exists('public/img/kezzeltervez/'.$ho.'/nagy/'.str_replace(".swf",
".jpg",$galeria->kezdo) ) ):?>nagy/<?endif;?><?=str_replace(".swf",
".jpg",$galeria->kezdo)?>" class="fancy">
	<?if(strstr($galeria->kezdo,".swf")):?>
		<object type="application/x-shockwave-flash"
data="/public/img/kezzeltervez/<?=$ho."/".$kezdokep?>" width="700" height="262">
			<param name="movie"
value="/public/img/kezzeltervez/<?=$ho."/".$kezdokep?>" />
			<param name="FlashVars" value="playerMode=embedded" />
			<param name="wmode" value="opaque" />
		</object>
		<div style="height: 5px;">
			<img src="/public/img/kezzeltervez/mask.png"
alt="mask" style="position: relative; top: -265px;" />
		</div>
	<?else:?>
		<img src="/public/img/kezzeltervez/<?=$ho?>/<?=$kezdokep?>"
alt="<?=$galeria->cim?>" />
	<?endif;?>
	</a>
	
	<div class="clear"></div>
	<?if(hun()):?>
	<div class="gal-cim2" style="margin-bottom: 10px;"><?=lang('kt_igykesz')?></div>
	<?=$galeria->leiras?>
	<?endif;?>
</div>
<div class="hkheaderbottom"></div><br />
<?endif;?>
<?endforeach;?>
	
</div>


<div id="jobboldal">
	<div class="hkheadersmalltop"></div>
	<div class="hkkeretsmall">
		<div class="gal-cim2"><?=lang('services_sk')?></div>
		<?=lang('kt_palyazzon')?>
		<p style="text-align: right"><a href="/services/sketch" style="color: #f37d00;" title="<?=lang('kt_rajzbekuldes')?>"><?=lang('kt_tovabbiak')?> 
		<img src="/public/img/link_arrow.png" style="margin: 0px;" alt="more"
/></a></p>
	</div>
	<div class="hkheadersmallbottom"></div>
	
	
	<div class="hkheadersmalltop"></div>
	<div class="hkkeretsmall">
		<div class="gal-cim2"><?=lang('hk_archivum')?></div>
		<a
href="/<?=lang('kt_url')?>/galeria/14"><?
if(hun()):?>2012 <?endif;?><?=$honapok[2]?><?if(!hun()):?> 2012
<?endif;?></a><br />
		<a
href="/<?=lang('kt_url')?>/galeria/13"><?
if(hun()):?>2012 <?endif;?><?=$honapok[1]?><?if(!hun()):?> 2012
<?endif;?></a><br />
		<a
href="/<?=lang('kt_url')?>/galeria/12"><?
if(hun()):?>2011 <?endif;?><?=$honapok[12]?><?if(!hun()):?> 2011
<?endif;?></a><br />
		<a
href="/<?=lang('kt_url')?>/galeria/10"><?
if(hun()):?>2011 <?endif;?><?=$honapok[10]?><?if(!hun()):?> 2011
<?endif;?></a><br />
		<a
href="/<?=lang('kt_url')?>/galeria/8"><?
if(hun()):?>2011 <?endif;?><?=$honapok[8]?><?if(!hun()):?> 2011
<?endif;?></a><br />
		<a
href="/<?=lang('kt_url')?>/galeria/6"><?
if(hun()):?>2011 <?endif;?><?=$honapok[6]?><?if(!hun()):?> 2011 <?endif;?></a>
	</div>
	<div class="hkheadersmallbottom"></div>
</div>