<?php
/* Smarty version 3.1.33, created on 2019-07-04 16:25:23
  from '/var/www/uvocorp/templates/_partials/header.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.33',
  'unifunc' => 'content_5d1e0c535feff0_33783488',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'a9524d712f711c1dddcf19c3b139d2a6dc6c5c52' => 
    array (
      0 => '/var/www/uvocorp/templates/_partials/header.tpl',
      1 => 1562250322,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:_partials/_header.notifications.tpl' => 1,
  ),
),false)) {
function content_5d1e0c535feff0_33783488 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="main-header">
	<div class="container header-container">
		<div class="brand-container hidden-xs">
			<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['base_uri']->value, ENT_QUOTES, 'UTF-8');?>
" class="brand"> 
				<?php if ($_smarty_tpl->tpl_vars['site_logo']->value) {?>
					<img height="45" src="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['uploads_path']->value, ENT_QUOTES, 'UTF-8');?>
/<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['site_logo']->value, ENT_QUOTES, 'UTF-8');?>
" alt="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['site_name']->value, ENT_QUOTES, 'UTF-8');?>
" title="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['site_name']->value, ENT_QUOTES, 'UTF-8');?>
"> 
				<?php } else { ?>
					<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['site_name']->value, ENT_QUOTES, 'UTF-8');?>

				<?php }?>
			</a>
		</div>

		<div class="navbar-container">
			<ul class="nav navbar-nav">
				<?php if ($_smarty_tpl->tpl_vars['user']->value['logged']) {?>
					<li class="visible-xs-block">
						<a href="#" data-toggle="offcanvas" data-target=".sidebar-nav"> 
							<i class="fa fa-bars fa-lg"></i> 
						</a>
					</li>

					<!-- notifications -->
					<?php $_smarty_tpl->_subTemplateRender('file:_partials/_header.notifications.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
					<!-- notifications -->

					<li class="dropdown">
						<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['base_uri']->value, ENT_QUOTES, 'UTF-8');?>
/orders" class="dropdown-toggle user-menu" data-toggle="dropdown"> 
							<img src="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['user']->value['user_picture'], ENT_QUOTES, 'UTF-8');?>
" alt="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['user']->value['first_name'], ENT_QUOTES, 'UTF-8');?>
 <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['user']->value['last_name'], ENT_QUOTES, 'UTF-8');?>
" title="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['user']->value['first_name'], ENT_QUOTES, 'UTF-8');?>
 <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['user']->value['last_name'], ENT_QUOTES, 'UTF-8');?>
"> 
							<span class="hidden-xs"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['user']->value['first_name'], ENT_QUOTES, 'UTF-8');?>
 <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['user']->value['last_name'], ENT_QUOTES, 'UTF-8');?>
</span> 
							<i class="caret"></i> 
						</a>
						<ul class="dropdown-menu">
							<li> 
								<a href="#"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['user']->value['employee_status_title'], ENT_QUOTES, 'UTF-8');?>
</a> 
							</li>
							<li class="divider"></li>
							<li> 
								<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['base_uri']->value, ENT_QUOTES, 'UTF-8');?>
/profile">Settings</a> 
							</li>
							<li> 
								<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['base_uri']->value, ENT_QUOTES, 'UTF-8');?>
/orders/available">Manage Orders</a> 
							</li>
							<li class="divider"></li>
							<li> 
								<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['base_uri']->value, ENT_QUOTES, 'UTF-8');?>
/logout">Log Out</a> 
							</li>
						</ul>
					</li>
				<?php } else { ?>
					<li class="dropdown">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown">
							<span><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['site_name']->value, ENT_QUOTES, 'UTF-8');?>
</span>
							<i class="caret"></i>
						</a>
						<ul class="dropdown-menu">
							<li>
								<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['base_uri']->value, ENT_QUOTES, 'UTF-8');?>
/signin">Login</a>
							</li>
							<?php if ($_smarty_tpl->tpl_vars['registration_enabled']->value) {?>
								<li>
									<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['base_uri']->value, ENT_QUOTES, 'UTF-8');?>
/signup">Register</a>
								</li>
							<?php }?>
						</ul>
					</li>
				<?php }?>
			</ul>
		</div>

	</div>
</div>
<?php }
}
