<?
$honapok = lang('honapok');
$kivhonap = (($szavazatok[10]->honap-1)%12)+1;
//print_r($szavazatok);
$kivev    = 2012;
if( $kivhonap < 10 )
	$utvonal = "public/img/honapkepe/".$kivev."0";
else
	$utvonal = "public/img/honapkepe/".$kivev;

if(hun()){
	$fbcim = "ARCHLine.XP év képe 2012 pályázat";
	$fblink = "http://www.archline.hu/palyazat/nyertes2012";
	$twitterlink = "https://twitter.com/cadline_kft";
}else{
	$fbcim = "ARCHLine.XP picture of the year, 2012";
	$fblink = "http://www.archlinexp.com/yearpicture2012";
	$twitterlink = "https://twitter.com/cadline_network";
}
?>
<div id="baloldal">

<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('ek')?> 2012</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(' - ',$szavazatok[10]->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="/<?=$utvonal.$kivhonap?>/<?=$szavazatok[10]->kezdo?>" class="fancy" title="<?if(hun()):?><?=$kivev?> <?endif;?><?=$honapok[$kivhonap]?><?if(!hun()):?> <?=$kivev?><?endif;?>, <?=end($szoveg2)?>">
		<?if(file_exists($utvonal.$kivhonap.'/692_'.$szavazatok[10]->kezdo)):?>
		<img src="/<?=$utvonal.$kivhonap?>/692_<?=$szavazatok[10]->kezdo?>" alt="" style="margin: 0px 5px 0px 0px; float: left; max-width: 692px;" />
		<?else:?>
		<img src="/<?=$utvonal.$kivhonap?>/<?=$szavazatok[10]->kezdo?>" alt="" style="margin: 0px 5px 0px 0px; float: left; max-width: 692px;" />
		<?endif;?>
	</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>


<div class="hkheadertop"></div>
<div class="hkkeret">
	<?if(!hun()):?>
	Congratulations to Indira Wisepart, winner of our 2012 Picture of the Year competition.<br /><br />
	Indira Wisepart created an amazing warm, chic and stylish flat using ARCHLine.XP Interior with its integrated Lightworks rendering engine.<br /><br />
	She commented:<br /><br />

"The brief for this city space that I created using the software Archline.XP with its integrated Lightworks renderer called for a neutral and modern but cosy and warm scheme. My focus was to achieve clean lines and an interesting decor . I kept the decor simple and neutral but used textures, patterns and geometric elements to create an effect and keep it interesting. I used a black chandelier in the main living space and the black pendant lamps in the dining area because it added a layer of decorative element to the room. I used the dramatic abstract art to create a visual impact. I wanted the eye to be drawn to something interesting on the ceilings and  the walls rather than the white paint and I was pleased to have achieved that with the choice of lighting and art. The dining area was an important part of the brief, so I had a magnificently large laid table and kept it as a focal point. The plants, flowers and wooden log all contributed in keeping the warm appeal of the flat. Using Archline.XP with its integrated Lightworks renderer is an amazing tool because I only receive a 2D flat plan with a brief but I am able to create spectacular realistic 3D visuals that feel lived in."<br /><br />

	Check out each month’s winner below of our 2012 Picture of the Year competition, it's amazing what you can create with ARCHLine.XP Interior.
	<?else:?>
	Gratulálunk a nyertesnek!<br />
	A szavazatok alapján az Év Képe 2012 pályázat nyertese a londoni lakberendező, Indira Wisepart lett! <br />
<br />
"Modern stíluselemeket használva a természetességre, az otthonos hangulatra törekedtem, mikor elkészítettem ezt a városi lakást. A tiszta vonalak, érdekes dekorációs elemekkel, textúrákkal való kombinálására helyeztem a hangsúlyt a belső tér kialakításánál. Az ARCHLine.XP Interior tervezőprogram belső renderelőjével készült látványterv azt a vizuális hatást adta vissza, amit elképzeltem." - Indira Wisepart


	<?endif;?>
</div>
<div class="hkheaderbottom"></div>

<div style="margin: 25px 0px 5px 7px; color: #AAA; font-weight: bold; font-size: 1.2em;"><?=lang('ek_tobbimunka')?></div>
<?for($i=0;$i<12;$i++):?>
	<?
	$kepnev = explode(' - ',$szavazatok[$i]->cim);
	$szavho = ($szavazatok[$i]->honap)-12;
	$utvonalhonap = ($szavho < 10) ? "0" : ""; 
	$utvonalhonap .= $szavho;
	?>
	<div style="width: 180px; float: left; text-align: center; margin-bottom: 5px;">
	<div class="gal-outer">
	<div class="gal-container">
    <a href="/public/img/honapkepe/2012<?=$utvonalhonap?>/<?=$szavazatok[$i]->kezdo?>" class="fancy" title="<?=$szavazatok[$i]->cim?>" rel="group">
		<img src="/public/img/honapkepe/2012<?=$utvonalhonap?>/thumbs/<?=$szavazatok[$i]->kezdo?>" alt="<?=$szavazatok[$i]->cim?>" style="max-width: 150px; max-height: 113px;" />
	</a>
	</div>
	</div>
	<?=$honapok[$szavho]?>
	</div>
<?endfor;?>

<div style="clear: both;">
	<div class="gal-cim2" style="margin-bottom: 10px; padding-top: 30px;"><?=lang('forum_megoszt')?></div>
	<script>
	function fbs_click(){
		u=<?=$fblink?>;
		t=<?=$fbcim?>;
		window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');
		return false;
	}
	</script>
	<style> html .fb_share_link { padding:8px 0 12px 28px; height:16px; margin-right: 10px; background:url(/public/img/icon_facebook.png) no-repeat top left; position: relative; top: -5px; }</style>
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=<?=$fblink?>&t=<?=htmlspecialchars($fbcim)?>" onclick="return fbs_click()" target="_blank" class="fb_share_link"><?=lang('fb_megoszt')?></a>
	
	
	<g:plus action="share"></g:plus>

	<script type="text/javascript">
	  <?if(hun()):?>
		window.___gcfg = {lang: 'hu'};
	  <?endif;?>

	  (function() {
		var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
		po.src = 'https://apis.google.com/js/plusone.js';
		var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
	  })();
	</script>
	
	<a href="<?=$twitterlink?>" target="_blank" style="margin-left: 10px;"><img src="/public/img/icon_twitter.png" alt="Twitter" /></a>
	
</div>

</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">
		<?=lang('ek_nyerlei')?>
	</div>
	<div class="hkheadersmallbottom"></div>
	
	<div class="hkheadersmalltop"></div>
	<div class="hkkeretsmall">
		<div class="gal-cim2"><?=lang('ek_szavall')?></div>
		<table>
		<?for($i=0;$i<12;$i++):?>
		<tr>
			<td><?=$honapok[($i+1)]?>: </td>
			<td><?=$szavazas[$i]?> <?=lang('ek_szavazat')?></td>
		</tr>
		<?endfor;?>
		<tr><td><?=lang('ek_osszesen')?>: </td><td><?=$osszes?></td></tr>
		</table>
		<?if($valasz):?><p style="margin-bottom: 0px; padding-bottom: 0px;"><?=$valasz?></p><?endif;?>
	</div>
	<div class="hkheadersmallbottom"></div>
	
</div>