This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
FunctionProject/incl/header.php
2019-12-28 22:36:09 +01:00

73 lines
3.7 KiB
PHP

<!DOCTYPE html>
<html lang="fr" prefix="og: http://ogp.me/ns#">
<head>
<title><?php echo $title?></title>
<link rel="icon" type="image/png" href="<?php echo $image?>"/>
<!-- Meta Tag -->
<meta charset="utf-8">
<meta https-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="<?php echo $description?>"/>
<link rel="canonical" href="function.divlo.fr"/>
<meta name="Language" content="fr"/>
<meta charset="utf-8">
<meta name="theme-color" content="#ffd800">
<!--Open Graph Metadata-->
<meta property="og:title" content="<?php echo $title?>">
<meta property="og:type" content="website">
<meta property="og:url" content="https://function.divlo.fr/">
<meta property="og:image" content="<?php echo $image?>">
<meta property="og:description" content="<?php echo $description?>">
<meta property="og:locale" content="fr_FR">
<meta property="og:site_name" content="Function Project">
<!-- Twitter card Metadata -->
<meta name="twitter:card" content="summary">
<meta name="twitter:description" content="<?php echo $description?>">
<meta name="twitter:title" content="<?php echo $title?>">
<meta name="twitter:site" content="@Divlo_FR">
<meta name="twitter:image:src" content="<?php echo $image?>">
<meta name="twitter:creator" content="@Divlo_FR">
<!-- Styles CSS -->
<link rel="stylesheet" href="/css/libs/bootstrap-min.css">
<link rel="stylesheet" href="/css/libs/bootstrap-datepicker3.css">
<link rel="stylesheet" href="/css/libs/fonts.css">
<link rel="stylesheet" href="/css/libs/fontawesome/css/all.css">
<link rel="stylesheet" href="/css/style.css">
</head>
<body class="d-flex flex-column">
<header>
<nav class="navbar navbar-expand-lg navbar-dark static-top">
<div class="container" id="header-container">
<!-- Brand -->
<a class="navbar-brand" href="/index.php">
<img id="logo-header" alt="FunctionProject">
</a>
<!-- Hamburger icon on Mobile -->
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button>
<!-- Navigation -->
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item <?php echo $indexActive?>">
<a class="nav-link" href="/index.php">Accueil</a>
</li>
<li class="nav-item <?php echo $functionlistActive?>">
<a class="nav-link" href="/views/function-list.php">Liste des fonctions</a>
</li>
<li class="nav-item <?php echo $feedbackActive?>">
<a class="nav-link" href="/views/feedback-form_view.php">Feedback Formulaire</a>
</li>
<li class="nav-item">
<a class="nav-link" target="_blank" href="https://github.com/Divlo/FunctionProject">Code Source</a>
</li>
</ul>
</div>
</div>
</nav>
</header>