Location: PHPKode > projects > Anchor CMS > anchor-cms-0.9.1/anchor/views/partials/header.php
<!doctype html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<title><?php echo __('global.manage'); ?> <?php echo Config::meta('sitename'); ?></title>

		<script src="<?php echo asset('anchor/views/assets/js/zepto.js'); ?>"></script>

		<link rel="stylesheet" href="<?php echo asset('anchor/views/assets/css/reset.css'); ?>">
		<link rel="stylesheet" href="<?php echo asset('anchor/views/assets/css/admin.css'); ?>">
		<link rel="stylesheet" href="<?php echo asset('anchor/views/assets/css/login.css'); ?>">
		<link rel="stylesheet" href="<?php echo asset('anchor/views/assets/css/notifications.css'); ?>">
		<link rel="stylesheet" href="<?php echo asset('anchor/views/assets/css/forms.css'); ?>">

		<link rel="stylesheet" media="(max-width: 980px), (max-device-width: 480px)"
			href="<?php echo asset('anchor/views/assets/css/small.css'); ?>">

		<meta http-equiv="X-UA-Compatible" content="chrome=1">
		<meta name="viewport" content="width=600">
	</head>
	<body class="<?php echo Auth::guest() ? 'login' : 'admin'; ?>">

		<header class="top">
			<div class="wrap">
				<?php if(Auth::user()): ?>
				<nav>
					<ul>
						<li class="logo">
							<a href="<?php echo Uri::to('admin/posts'); ?>">Anchor CMS</a>
						</li>

						<?php $menu = array('posts', 'comments', 'pages', /*'menu',*/ 'categories', 'users', 'extend'); ?>
						<?php foreach($menu as $url): ?>
						<li <?php if(strpos(Uri::current(), $url) !== false) echo 'class="active"'; ?>>
							<a href="<?php echo Uri::to('admin/' . $url); ?>">
								<?php echo ucfirst(__($url . '.' . $url)); ?>
							</a>
						</li>
						<?php endforeach; ?>
					</ul>
				</nav>

				<?php echo Html::link('admin/logout', __('global.logout'), array('class' => 'btn')); ?>

				<?php $home = Registry::get('home_page'); ?>

				<?php echo Html::link($home->slug, __('global.visit_your_site'), array('class' => 'btn', 'target' => '_blank')); ?>

				<?php else: ?>
				<aside class="logo">
					<a href="<?php echo Uri::to('admin/users/login'); ?>">Anchor CMS</a>
				</aside>
				<?php endif; ?>
			</div>
		</header>
Return current item: Anchor CMS