<?@header("Content-Type: text/html; charset=UTF-8");?>
<!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">
	<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 name="description" content="<?=$this->mmeta->getMetaData($this->uri->segment_array())->desc?>" />
		<meta name="keywords" content="<?=$this->mmeta->getMetaData($this->uri->segment_array())->keyw?>" />
	
	    <link href="/public/img/icon.ico" rel="SHORTCUT ICON" />
	
		<link href="/public/css/style_all_min.css" rel="stylesheet" type="text/css" />

		<link href="/public/css/style_key.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>

		<?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="/"><img src="/public/img/logo_hu_new.png" alt="logo" /></a>
				</div>
				<div>
					<div id="header-right-menu">
					</div>
				</div>
				
			</div>
			<div id="content-main">
				<div id="content-left">
					<?if(!isset($home) && !interior()):?>
				
						<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="to_back">&nbsp;</div>
				<table width="920px">
				<tr>
					<td class="footerleft">&nbsp;</td>
					<td align="right" valign="middle">&nbsp;</td>
				</tr>
				</table>
		  </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>