<?@header("Content-Type: text/html; charset=UTF-8");?><!DOCTYPE html> 
<html class="ui-mobile">
<head>
<meta charset="utf-8" />
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />

<?//<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0" />?>
<?//<meta name="viewport" content="width=default-width, initial-scale=1" /> <?// iPhon-ra ?? ?>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes" /> <?// iPhon-ra ?? ?>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="HandheldFriendly" content="true" />
<meta name="MobileOptimized" content="width" />
<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($canonical) && $canonical):?><link rel="canonical" href="<?=$canonical?>" /><?endif;?>

<link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css" />
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js"></script>

<?if(isset($style)):?>
<?foreach($style as $s):?>
	<link href="/public/css/<?=$s?>.css" rel="stylesheet" type="text/css" />
<?endforeach;?>
<?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>

<?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;?>

</head> 
<body class="ui-mobile-viewport">
<?=$this->load->view('mobile/noscript')?>


<?=$this->load->view($tartalom)?>

</body>
</html>