File: /var/www/vhosts/creativefellows.nl/jhtaxatie.creativefellows.nl/views/inc/header.php
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="noindex, nofollow"/>
<title>Jungheinrich</title>
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-jh-96x96.png">
<link rel="stylesheet" href="/bower_components/font-awesome/css/font-awesome.min.css" type="text/css" media="screen">
<link rel="stylesheet" href="/bower_components/jquery-ui/themes/smoothness/jquery-ui.min.css">
<link rel="stylesheet" href="/css/app.css?v=03102023" type="text/css" media="screen">
<link rel="stylesheet" href="https://use.typekit.net/qlx8kwe.css">
<!--<script src='https://www.google.com/recaptcha/api.js'></script>-->
</head>
<body>
<div data-sticky-container id="sticky-header" data-toggler=".menu-visible" class="sticky-container sticky-container__header">
<header id="header" data-sticky data-options="marginTop:0;">
<div class="top-bar">
<?php
echo '<div class="top-bar-left">';
if(isset($_SESSION['session_id']) && $_SESSION['session_id'] != null)
{
echo '<span class="toggle-menu" data-responsive-toggle="responsive-menu" data-hide-for="medium">';
echo '<button class="" type="button" data-toggle><i class="fa fa-bars" aria-hidden="true"></i></button>';
echo '</span>';
/*echo '<span class="toggle-search hide-for-medium">';
echo '<span data-toggle="search-site"><i class="fa fa-search" aria-hidden="true"></i></span>';
echo '</span>';*/
}
// logo and dashboard route
$home_route = isset($_SESSION['session_id']) ? $_SESSION['user_access'][0]["route"] : "";
echo '<a href="/'. $home_route .'" class="logo-primary"><svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="enable-background:new 0 0 200 30" viewBox="0 0 200 30"><path class="jungheinrich" d="M19.2 22.6c-.3.9-.5 1.9-.5 2.7 0 2.8 2.1 4.6 6.5 4.6 5.8 0 8.1-2.1 9.4-6.8l3.8-13.2H33L29.3 23c-.4 1.4-1.2 2.1-3 2.1-1.6 0-2.1-.8-1.7-2.1l3.8-13.1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2.8 10.5h.1s.4-1.7.9-3.2l2.1-7.3h5.3l-5.7 19.7h-4.5l-2.9-10.4h-.1s-.4 1.6-.9 3.3l-2.1 7.1h-5.3l5.8-19.7zM159.6 9.9h5.5l-5.8 19.7h-5.4zM78.7 9.9h5.5l-2.3 7.6h5.3l2.3-7.6h5.4l-5.7 19.7h-5.5l2.2-7.5h-5.3l-2.2 7.5h-5.5zM183.8 9.9h5.4l-2.2 7.6h5.3l2.3-7.6h5.4l-5.7 19.7h-5.5l2.2-7.5h-5.3l-2.2 7.5h-5.4z"/><path d="M20.8 8.1 12.5 0 0 8.1h7.1L2.8 22.9s1.4.2 3.4.2c1.6 0 2.4-.5 2.9-1.2.2-.4.3-.6.5-1.2l3.6-12.5h7.6z" style="fill:#dc291a"/></svg></a>';
echo '</div>';
// show menu if logged
if(isset($_SESSION['session_id']) && $_SESSION['session_id'] != null)
{
echo '<div class="top-bar-right" id="responsive-menu">';
echo '<ul id="main-navigation" class="vertical large-horizontal menu" data-responsive-menu="drilldown large-dropdown" data-parent-link="true" data-back-button=\'<li class="js-drilldown-back"><a tabindex="0">Terug</a></li>\'>';
foreach($_SESSION['user_access'] as $user_route)
{
if($user_route["static"] == 1) continue;
//d($user_route);
echo '<li class="page-link'. ($data["active"] == $user_route["route"] ? " page-link__active" : "") .'">';
echo '<a href="/'. $user_route["route"] .'">'. $data["page"] .''. $user_route["name"] .'</a>';
// Submenu requests V2
if(count($user_route["subs"]) >= 1){
echo '<ul>';
foreach($user_route["subs"] as $sub_route)
{
echo '<li><a href="/'. $sub_route["route"] .'">'. $sub_route["page"] .''. $sub_route["name"] .'</a></li>';
}
echo '</ul>';
}
echo '</li>';
}
echo '</ul>';
echo '</div>';
echo '<div class="top-bar-right top-bar-account">';
echo '<a data-toggle="search-site"><i class="fa fa-search" aria-hidden="true"></i></a>';
echo '<a href="/logoff"><i class="fa fa-sign-out" aria-hidden="true"></i></a>';
echo '</div>';
}
?>
</div>
<div class="row search-site" data-toggler=".search-visible" id="search-site">
<form class="search-form" action="/search" method='get'>
<div class="large-12 columns">
<input placeholder="Zoek naar taxaties" type="text" name="q" autocomplete="off">
<button type="submit" class="button search-button" value="">
<svg version="1.1" id="Laag_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
<path class="st0" d="M10.6,5.8c1.3,0,2.5,0.5,3.4,1.4c0.9,0.9,1.4,2.1,1.4,3.4c0,1.3-0.5,2.5-1.4,3.4c-0.9,0.9-2.1,1.4-3.4,1.4
c-1.3,0-2.5-0.5-3.4-1.4c-0.9-0.9-1.4-2.1-1.4-3.4c0-1.3,0.5-2.5,1.4-3.4C8.1,6.2,9.3,5.8,10.6,5.8 M5.2,16c0.7,0.7,1.5,1.2,2.4,1.6
c0.9,0.4,1.9,0.6,3,0.6c1.6,0,3-0.4,4.3-1.3l3.7,3.7c0.3,0.3,0.6,0.4,1,0.4c0.4,0,0.7-0.1,1-0.4c0.3-0.3,0.4-0.6,0.4-1
c0-0.4-0.1-0.7-0.4-1l-3.7-3.7c0.9-1.3,1.3-2.7,1.3-4.3c0-1-0.2-2-0.6-3c-0.4-0.9-0.9-1.8-1.6-2.4S14.5,4,13.6,3.6
c-0.9-0.4-1.9-0.6-3-0.6c-1,0-2,0.2-3,0.6C6.7,4,5.9,4.5,5.2,5.2S4,6.7,3.6,7.7C3.2,8.6,3,9.6,3,10.6c0,1,0.2,2,0.6,3
C4,14.5,4.5,15.3,5.2,16"></path>
</svg>
</button>
</div>
</form>
</div>
</div>
</header>
</div>
<?php //echo $localIP = getHostByName(getHostName()); ?>
<div id="view-container">