<?@header("Content-Type: text/html; charset=UTF-8");?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?if(!hun()):?>en<?else:?>hu<?endif;?>">
	<head>
	    <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
		<meta name="verify-v1" content="4z0rvy3iuqMfIJV0cWLId5RM0RN133wCV7YDelAxPBI=" />
		<meta name="verify-v1" content="tRKv1RApyIAKpKlco16MPSo0TO+YfdTYSNXCnIqamgQ=" />
		<meta name="y_key" content="84e86e265a67bb2d" />
		<meta name="y_key" content="8a3f204cfc230992" />
		<meta http-equiv="Content-Language" content="<?if(!hun()):?>en<?else:?>hu<?endif;?>"/>
		<meta name="description" content="<?=$this->mmeta->getMetaData($this->uri->segment_array())->desc?>" />
		<meta name="keywords" content="<?=$this->mmeta->getMetaData($this->uri->segment_array())->keyw?>" />
		<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://<?=$_SERVER['SERVER_NAME']?>/rss/" />
		
		<?if(($_SERVER['SERVER_NAME'] == "www.archxp.com" || $_SERVER['SERVER_NAME'] == "www.archlinexp.co.uk") && eng()):?><link rel="canonical" href="http://www.archlinexp.com" /><?endif;?>
		
	    <link href="/public/img/icon.ico" rel="SHORTCUT ICON" />
		
		<link href="/public/css/menu/superfish_min.css" rel="stylesheet" type="text/css" />
		<link href="/public/css/menu/superfish-navbar_min.css" rel="stylesheet" type="text/css" />
	    <?/*ez nem játszik*/?>
	    <?if(isset($style)):?>
		<?foreach($style as $s):?>
		<link href="/public/css/<?=$s?>.css" rel="stylesheet" type="text/css" />
		<?endforeach;?>
		<?endif;?>
        <?/*Eddig*/?>
		<link href="/public/css/style_wel_2012_min.css" rel="stylesheet" type="text/css" />
		<link href="/public/css/style_all_min.css" rel="stylesheet" type="text/css" />

		
		<script type="text/javascript" src="/public/js/jquery.js"></script>
		<script type="text/javascript" src="/public/js/script.js"></script>
		<script type="text/javascript" src="/public/js/superfish/js/superfish.min.js"></script>
		<script type="text/javascript" src="/public/js/superfish/js/hoverIntent_min.js"></script>
		
		
		<?if(admin() && $this->uri->segment(1)=='admin'):?>
		<script type="text/javascript" src="/public/js/admin.js"></script>
		<?endif;?>

		<?if(isset($javascript)):?>
		<?foreach($javascript as $j):?>
		<script type="text/javascript" src="/public/js/<?=$j?>.js"></script>
		<?endforeach;?>
		<?endif;?>
		
		
		<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);
			})();
		  
			$(document).ready(function(){
				$('ul.sf-menu').superfish({
					delay:      3000
				});
			});
			
			jQuery(document).ready(function(){
				$('.galeriaframe').fancybox({
					padding: 0,
					margin:  0,
					width: 970,
					height: 670,
					transitionIn: 'none',
					transitionOut: 'none',
					type: 'iframe'
				});
				
				$('#chocoslides').chocoslider({
					auto: false,
					sliderDelay: 7000,
					autoPause: true,
					effect: 'effect2'
				});
				
			});
			
		</script>
		

		<title><?if(isset($title)):?><?=$title?><?else:?>ARCHLine.XP CAD Software<?endif;?></title>
		
	</head>
	<body>
		<div id="wrapper">
			<div id="header">
				<div id="header-left" style="height: 85px;">
					<a href="/">
					<img src="/public/img/welcome/2012/logo_cube.png" alt="logo" style="position: absolute; z-index: 10;" />
					<img src="/public/img/welcome/2012/logo_archlinexp.png" alt="logo" style="position: relative; left: 85px;" />
					</a>
				</div>
				<div id="header-right-menu" style="height: 30px; text-align: right; padding: 5px;">
					<?=$this->load->view('topmenu_2012')?>
				</div>
				<div id="menu">
					<?if( $tartalom == "welcome_2014" ):?>
					<?=$this->load->view('menu_welcome')?>
					<?else:?>
					<?=$this->load->view('menu3')?>
					<?endif;?>
				</div>
				
			</div>
			<div id="content-main" style="background: white;">
				<?if(!$tartalom):?>
				<?=$this->load->view('welcome_new_2012')?>
				<?else:?>
				<?=$this->load->view($tartalom)?>
				<?endif;?>
		    </div>
        	<div class="clear"></div>
			<?=$this->load->view('ikonok_sp')?>
			<div id="footer">
				<table width="100%">
				<tr>
					<td class="footerleft">
						<a href="/">&copy; 2014 CadLine Kft.</a>
					</td>
					<td align="right" valign="middle">
						<ul class="footer-ul">
						<?if(hun()):?>
							<li><a href="/page/show/99">Felhasználás Feltételei</a></li>
							<li style="background: none;"><a href="/page/show/67">Adatvédelmi Nyilatkozat</a></li>
						<?else:?>
							<li><a href="/page/show/101">Terms of Use</a></li>
							<li style="background: none;"><a href="/page/show/100">Privacy Statement</a></li>
						<?endif;?>
						</ul>
					</td>
				</tr>
				</table>
				
			</div>
	    </div>
		
	
	<?if($_SERVER['REMOTE_ADDR']!='188.36.216.113' ):?>
    <?if(!hun()):?>
	    <script type="text/javascript">
		  var _gaq = _gaq || [];
		  _gaq.push(['_setAccount', 'UA-7485741-1']);
		  _gaq.push(['_trackPageview']);
		  (function() {
			var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
			ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
			var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
		  })();
		</script>
	<?else:?>
		<script type="text/javascript">
		  var _gaq = _gaq || [];
		  _gaq.push(['_setAccount', 'UA-5480261-1']);
		  _gaq.push(['_trackPageview']);
		  (function() {
			var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
			ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
			var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
		  })();
		</script>
	<?endif;?>
	<?endif;?>
	<?php
	     function hasonlito( $a, $b ){
	         if ( strtotime($a->datum) == strtotime($b->datum) )
		         return 0;
	         if ( strtotime($a->datum) > strtotime($b->datum) )
		         return -1;
	         return 1;
    }
	?>
	</body>
</html>