<?@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">
<?//<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">?>

<?//<html version="-//W3C//DTD XHTML 1.1//EN" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/1999/xhtmlhttp://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd">?>
<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="<?if(isset($meta['desc'])):?><?=$meta['desc']?><?else:?><?=$this->mmeta->getMetaData($this->uri->segment_array())->desc?><?endif;?>" />
		<meta name="keywords" content="<?=$this->mmeta->getMetaData($this->uri->segment_array())->keyw?>" />
		<?if( isset($admin) && $admin):?><meta name="robots" content="noindex,nofollow,noarchive" /><?endif;?>
		<?if(isset($noindex) && $noindex):?><meta name="robots" content="noindex, noarchive" />
		<?endif;?>
		
		<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://<?=$_SERVER['SERVER_NAME']?>/rss/" />
		
		<?if($_SERVER['SERVER_NAME'] == "www.archxp.com" && eng()):?><link rel="canonical" href="http://www.archlinexp.com<?=$_SERVER['REQUEST_URI']?>"/><?endif;?>
		
	    <link href="/public/img/icon.ico" rel="SHORTCUT ICON" />
	    
		<link href="/public/css/menu/superfish.css" rel="stylesheet" type="text/css" />
		<link href="/public/css/menu/superfish-navbar.css" rel="stylesheet" type="text/css" />
	
	    <?if(isset($style)):?>
		<?foreach($style as $s):?>
		<link href="/public/css/<?=$s?>.css" rel="stylesheet" type="text/css" />
		<?endforeach;?>
		<?endif;?>

		<?if(interior() /*|| (isset($home) && eng())*/):?>
		<link href="/public/css/style_interior.css" rel="stylesheet" type="text/css" />
		<?else:?>
		<link href="/public/css/style_new.css" rel="stylesheet" type="text/css" />
		<?endif;?>
		
		<link href="/public/css/style_all.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.js"></script>
		<script type="text/javascript" src="/public/js/menu2012.js"></script>
		
		
		<script type="text/javascript" src="https://apis.google.com/js/plusone.js">
			<?if(hun()):?>{lang: 'hu'}<?else:?>{lang: 'en'}<?endif;?>
		</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;?>

		<title><?if(isset($title)):?><?=$title?><?else:?>ARCHLine.XP CAD Software<?endif;?></title>
		
	</head>
	<body>
		
		<?//=$this->load->view('icons')?>
		
		
		<div id="wrapper">
			<div id="header" style="margin-bottom: 9px; background-image: url('/public/img/welcome/2012/header.png')">
				<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')?>
				</div>
				<div id="menu" style="clear: both; height: 50px; overflow: hidden; z-index: 5; position: relative; top: -6px;">
					<?=$this->load->view('menu3')?>
				</div>
			</div>
			
			<div id="content-main">
				<div id="content-left" style="width: 972px;">
					<div style="position: absolute; z-index: 10;"><img alt="shadow box" src="/public/img/welcome/2012/submenu_shadow.png"></div>
					<div id="content-top" style="background: transparent;">
						<?=$this->muser->generate_csik($csik)?>
					</div>
					
					<?if(isset($admin)):?>
						<div id="admin">
							<?=$this->load->view('admin/menu')?>
							<?=$this->load->view($tartalom)?>
						</div>
					<?else:?>
						<div id="content">
							<?=$this->load->view($tartalom)?>
						</div>
						
					<?endif;?>
					
				</div>
				
			<div class="clear"></div>
			</div>
			
			<?//=$this->load->view('ikonok')?>
			
			<div id="footer">
				<div id="to_back">&nbsp;</div>
				<table width="920px">
				<tr>
					<td width="56px">
						<img src="/public/img/welcome/2012/cadline_logo.png" alt="Cadline Kft." />
					</td>
					<td valign="middle">
						<a href="/"> &copy; 2012 CadLine Kft.</a></td>
					<td align="right" valign="middle">
						<?if(hun()):?>
						
							<ul class="footer-ul">
							<li style="background: none;"><a href="/page/show/99">Felhasználás Feltételei</a></li>
							<li><a href="/page/show/67">Adatvédelmi Nyilatkozat</a></li>
							</ul>
							
						<?elseif(eng()):?>
						
							<ul class="footer-ul">
							<li style="background: none;"><a href="/page/show/101">Terms of Use</a></li>
							<li><a href="/page/show/100">Privacy Statement</a></li>
							</ul>
						<?endif;?>
					</td>
				</tr>
				</table>
		</div>
	
	<?if(jap()):?>
		<script type="text/javascript">
			var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
			document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
		</script>
		<script type="text/javascript">
			try {
			var pageTracker = _gat._getTracker("UA-7485741-2");
			pageTracker._trackPageview();
			} catch(err) {}
		</script>
    <?elseif(eng()):?>
	    <script type="text/javascript">
			var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
			document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
		</script>
		<script type="text/javascript">
			try {
			var pageTracker = _gat._getTracker("UA-7485741-1");
			pageTracker._trackPageview();
			} catch(err) {}
		</script>
	<?elseif( $_SERVER['HTTP_HOST'] == "www.cadline.hu" ):?>
		<script type="text/javascript">

		  var _gaq = _gaq || [];
		  _gaq.push(['_setAccount', 'UA-26380364-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 gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
			document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
		</script>
		<script type="text/javascript">
			var pageTracker = _gat._getTracker("UA-5480261-1");
			pageTracker._trackPageview();
		</script>
	<?endif;?>
	
	</body>
</html>