<?php defined('SYSPATH') OR die('No direct access to this file is allowed.');
?><!DOCTYPE HTML>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="en-US" />
<title><?php echo $ns->site['name']; ?></title>
<meta name="keywords" content="<?php echo $ns->site['seo_keywords']; ?>" />
<meta name="description" content="<?php echo $ns->site['seo_description']; ?>" />
<link rel="alternate" type="application/rss+xml" title="<?php echo $ns->site['name']; ?> RSS Feed" href="<?php echo $ns->site['root']; ?>/rss/" />
<link rel="stylesheet" type="text/css" href="<?php echo $ns->site['stylepath']; ?>/style.css" />
<link rel="home" href="<?php echo $ns->site['root']; ?>/" />
<!--[if lte IE 9]>
<script type="text/javascript" src="<?php echo $ns->site['stylepath']; ?>/js/html5.js"></script>
<![endif]-->
<link rel="shortcut icon" href="<?php echo $ns->site['stylepath']; ?>/images/favicon.ico" type="image/x-icon">
<meta name="generator" content="<?php echo APPNAME; ?> <?php echo VERSION; ?>-<?php echo BUILD; ?>" />
</head>
<body id="<?php echo $ns->template['pagename']; ?>">
<div id="header">
<h1 title="<?php echo $ns->site['name']; ?>"><a href="/<?php echo $ns->site['startpage']; ?>"><?php echo $ns->site['name']; ?></a></h1>
<h2><?php echo $ns->site['tagline']; ?></h2>
</div>
<div id="menubar">
<ul id="menu"><?php show_pages(); ?></ul>
<ul id="topmeta"><?php if($ns->user['loggedin']) { ?><li class="welcome meta-item"><a href="/user/<?php echo $ns->user['uid']; ?>"><?php echo $ns->user['nick']; ?> (<?php echo $ns->user['karma']; ?>)</a></li><?php } ?><?php show_meta(); ?></ul>
</div>
<?php if ($error) { ?><div id="errorbar"><?php echo $error; ?></div><?php } ?>
<div id="body">
<!-- Main Content -->
<div id="pagecontent">