<? $honapoknevei = lang('honapok'); ?>

<div id="baloldal">

<?foreach($honapok as $honap):?>
<div style="float: left; width: 182px;">
<p style="text-align: center;"><?=$honapoknevei[(($honap->sorszam)-12)]?></p>
<a href="/public/img/honapkepe/2012/<?=$honap->kezdo?>" class="fancy" rel="csop1" title="<?if(hun()):?>2012 <?endif;?><?=$honapoknevei[(($honap->sorszam)-12)]?><?if(!hun()):?> 2012<?endif;?>">
	<img src="/public/img/honapkepe/2012/180/<?=$honap->kezdo?>" alt="" style="margin: 0px 2px 0px 0px;" />
	</a>
</div>
<?endforeach;?>
<div class="clear"></div>

<?foreach($honapok as $honap):?>
<div class="hkheadertop"></div>
<div class="hkkeret">
	<table width="100%"><tr>
	<td>
		<div class="gal-cim2 feherbetu" style="margin-bottom: 10px; color: #fff !important;">"<?=lang('hk')?>": <?if(hun()):?>2012 <?endif;?><?=$honapoknevei[(($honap->sorszam)-12)]?><?if(!hun()):?> 2012<?endif;?></div>
	</td>
	<td align="right">
		<div class="gal-cim2 vcard" style="margin-bottom: 10px; text-align: right;">
			<?=lang('hk_keszitette')?>: <span class="feherbetu fn" style="color: #fff;"><? $szoveg2 = explode(' - ',$honap->cim); print end($szoveg2); ?></span>
		</div>
	</td>
	</tr></table>
</div>
<div class="hkheaderbottom"></div>

<div style="background: url(/public/img/galeria/picture_frame_sprite.png) -729px 0 no-repeat; height: 11px; width: 729px;"></div>
<div style="background: url(/public/img/galeria/picture_frame_sprite.png) -1458px 0 repeat-y; padding: 7px 19px 0px 19px;">
	<a href="/public/img/honapkepe/2012<?if($honap->sorszam<22):?>0<?endif;?><?=($honap->sorszam-12)?>/<?=$honap->kezdo?>" class="fancy" title="<?=$honap->cim?>">
	<img src="/public/img/honapkepe/2012<?if($honap->sorszam<22):?>0<?endif;?><?=($honap->sorszam-12)?>/692_<?=$honap->kezdo?>" alt="" style="margin: 0px 5px 0px 0px; float: left; max-width: 692px;" />
	</a><span style="font-size: 5px;">&nbsp;</span>
</div>
<div style="background: url(/public/img/galeria/picture_frame_sprite.png) no-repeat; height: 13px; width: 729px;"></div>

<? $szoveg = explode('###',$honap->leiras);?>


<?if(hun()):?>
<div class="hkheadertop"></div>
<div class="hkkeret">
	<div class="gal-cim2" style="margin-bottom: 10px;"><?=lang("hk_indoklas")?></div>
	<em>"<? print $szoveg[0]; ?>"</em>
</div>
<div class="hkheaderbottom"></div>
<?elseif(isset($szoveg[1]) && $szoveg[1] != ""):?>
<div class="hkheadertop"></div>
<div class="hkkeret">
	<div class="gal-cim2" style="margin-bottom: 10px;"><?=lang("hk_indoklas")?></div>
	<em>"<? print $szoveg[1]; ?>"</em>
</div>
<div class="hkheaderbottom"></div>
<?endif;?>

<?endforeach;?>


</div>
	

<div id="jobboldal" style="padding-top: 10px;">
	<img src="/public/img/galeria/ek_banner<?if(hun()):?>_hun<?else:?>_eng<?endif;?>.png" alt="<?=lang('hk')?>" />
	
	<div class="hkheadersmalltop"></div>
	<div class="hkkeretsmall">
		<?if( time() > 1360969200 ):?>
			<?=lang('ek_vegleiras')?>
		<?else:?>
			<?=lang('ek_leiras')?>
		<?endif;?>
	</div>
	<div class="hkheadersmallbottom"></div>
	
	<div class="hkheadersmalltop"></div>
	<div class="hkkeretsmall">
		<div class="gal-cim2"><?=lang('ek_szavall')?></div>
		<table>
		<? $honapok = lang('honapok'); $hoi = $ossz=0; ?>
		<?for($i=13;$i<=24;$i++):?>
		<tr>
			<td><?=$honapok[($i-12)]?>: </td>
			<td><?if($szavazas[$hoi]->honap==$i):?>
				<?=$szavazas[$hoi]->darab?>
				<?$ossz+=$szavazas[$hoi]->darab;$hoi++;?>
			<?else:?>
				0
			<?endif;?>
			<?=lang('ek_szavazat')?></td>
		</tr>
		<?endfor;?>
		<tr><td><?=lang('ek_osszesen')?>: </td><td><?=$ossz?></td></tr>
		</table>
		<?if($valasz):?><p style="margin-bottom: 0px; padding-bottom: 0px;"><?=$valasz?></p><?endif;?>
	</div>
	<div class="hkheadersmallbottom"></div>
</div>