File: /home/awaldron/www/archive/teampay/application/views/_header-bak.php
<?php
if (($navon !== "") && empty($navon)) $navon = -1;
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<!-- Title and other stuffs -->
<title>TeamPay : <?=$page_title?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="">
<!-- Stylesheets -->
<link href="/css/bootstrap.css" rel="stylesheet">
<!-- Font awesome icon -->
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.0/css/font-awesome.css" rel="stylesheet">
<!-- jQuery UI -->
<link rel="stylesheet" href="/css/jquery-ui.css">
<!-- Calendar -->
<link rel="stylesheet" href="/css/fullcalendar.css">
<!-- prettyPhoto -->
<link rel="stylesheet" href="/css/prettyPhoto.css">
<!-- Star rating -->
<link rel="stylesheet" href="/css/rateit.css">
<!-- Date picker -->
<link rel="stylesheet" href="/css/bootstrap-datetimepicker.min.css">
<!-- CLEditor -->
<link rel="stylesheet" href="/css/jquery.cleditor.css">
<!-- Uniform -->
<link rel="stylesheet" href="/css/uniform.default.css">
<!-- Bootstrap toggle -->
<link rel="stylesheet" href="/css/bootstrap-switch.css">
<!-- Main stylesheet -->
<link href="/css/style.css" rel="stylesheet">
<!-- Widgets stylesheet -->
<link href="/css/widgets.css" rel="stylesheet">
<!-- HTML5 Support for IE -->
<!--[if lt IE 9]>
<script src="js/html5shim.js"></script>
<![endif]-->
<!-- Favicon -->
</head>
<body>
<!-- Header starts -->
<header>
<img src="/img/teampay.png" style="max-width:250px;" />
</header>
<!-- Header ends -->
<!-- Main content starts -->
<div class="content">
<!-- Sidebar -->
<div class="sidebar">
<div class="sidebar-dropdown"><a href="#">Navigation</a></div>
<!--- Sidebar navigation -->
<!-- If the main navigation has sub navigation, then add the class "has_sub" to "li" of main navigation. -->
<ul id="nav">
<!-- Main menu with font awesome icon -->
<li><a href="/" <?=($navon=='' ? 'class="open"' : '')?>><i class="fa fa-home"></i> Home</a></li>
<li><a href="/my_teams" <?=($navon=='my_teams' ? 'class="open"' : '')?>><i class="fa fa-group"></i> My Teams</a></li>
<li><a href="/create_team" <?=($navon=='new_team' ? 'class="open"' : '')?>><i class="fa fa-plus"></i> Create New Team</a></li>
<li><a href="/my_account" <?=($navon=='my_account' ? 'class="open"' : '')?>><i class="fa fa-gear"></i> My Account</a></li>
<?php if (!$is_logged_in)
echo ' <li><a href="/auth/login" '.($navon=="login" ? 'class="open"' : '').'><i class="fa fa-sign-in"></i> Sign In</a></li> ';
else
echo ' <li><a href="/auth/logout" '.($navon=="logout" ? 'class="open"' : '').'><i class="fa fa-sign-out"></i> Sign Out</a></li> ';
?>
</ul>
</div>
<!-- Sidebar ends -->
<!-- Main bar -->
<div class="mainbar">
<!-- Page heading -->
<div class="page-head">
<h1 class="pull-left"><?=$page_title?></h1>
<!-- Breadcrumb -->
<div class="bread-crumb pull-right">
<a href="/">Home</a>
<!-- Divider -->
<span class="divider">/</span>
<a href="/<?=$navon?>" class="bread-current"> <?=$page_title?></a>
</div>
<div class="clearfix"></div>
</div>
<!-- Page heading ends -->
<!-- Matter -->
<div class="matter">
<div class="container">
<div style="margin:0 5% 30px;">