<?@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="hu">
	<head>
		<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 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/" />
	
	    <link href="/public/img/icon.ico" rel="SHORTCUT ICON" />
	    
	    <link href="/public/css/menu/menu.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_temp_course.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/menu.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;?>

		<title><?if(isset($title)):?><?=$title?><?else:?>ARCHLine.XP CAD Software<?endif;?></title>
		
	</head>
	<body>
		<div id="wrapper">
			<div id="header">
				<div id="header-left">
					<a href="/">
						<?if(jap()):?>
							<img src="/public/img/logo_hu_jap_new.png" alt="logo" />
						<?elseif(eng()):?>
							<img src="/public/img/logo_eng_new.png" alt="logo" />
						<?elseif(hun()):?>
							<img src="/public/img/logo_hu_new.png" alt="logo" />
						<?endif;?>
					</a>
					<?if( hun() || eng() || esp() ):?>
						<ul style="margin-left: 0pt; padding-left: 3px;">
							
							<li style="list-style: none;"><?=$this->load->view('menu2')?></li>
							
						</ul>
					<?else:?>
						<ul class="menu">
						<?if( !interior() ):?>
							<?=$this->load->view('menu')?>
						<?else:?>
							<?=$this->load->view('menu_interior')?>
						<?endif;?>
						</ul>
					<?endif;?>
					
				</div>
				<div>
					<div id="header-right-menu">
						<?=$this->load->view('topmenu')?>
					</div>
				</div>
				
			</div>
			<div id="content-main">
				<div id="content-left" style="width: 972px;">
					<?if(!isset($home) /*&& !interior()*/):?>
						<?//<div id="content-banner"><img src="/public/img/banner1.jpg" alt="banner" /></div>?>
				
						<div id="content-top">
							<?=$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;?>
						
						
					<?elseif(isset($home)):?>
						<?=$this->load->view('welcome_new')?>
					<?else:?>
					    <?if($this->uri->segment(3)=='learn'):?>
					    <div id="content-top">
					        <?if(isset($csik)):?>
             				<?=$this->muser->generate_csik($csik)?>
             				<?endif;?>
						</div>
					    <?endif;?>
						<div id="content">
							<?=$this->load->view($tartalom)?>
						</div>
					<?endif;?>
				</div>
				
				
				
				
			<div class="clear"></div>
			</div>
			<div id="footer">
				<div id="bottom">
					<a href="/">&copy; 2011 CadLine Kft.</a>
					<?if(hun()):?>
						<a href="/page/show/65">Oldaltérkép</a>
						<a href="/page/show/67">Adatvédelmi Nyilatkozat</a>
						<a href="/page/show/99">Felhasználás Feltételei</a>
					<?elseif(eng()):?>
					    <a href="/page/show/523">Sitemap</a>
						<a href="/page/show/100">Privacy Statement</a>
						<a href="/page/show/101">Terms of Use</a>
					<?elseif(be()):?>
						<a href="/page/show/342">Privacy Statement</a>
						<a href="/page/show/341">Terms of Use</a>
					<?elseif(jap()):?>
						<a href="/page/show/167">サイトマップ</a>
						<a href="/page/show/100">Privacy Statement</a>
						<a href="/page/show/101">Terms of Use</a>
					<?endif;?>
						<?/*<a href="#">*/?>{elapsed_time} sec<?/*</a>*/?>
						<a href="#">{memory_usage}</a>
				</div>
				<div id="to_top">&nbsp;</div>
			</div>
		</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>
	<?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>