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

91 lines
4.4 KiB
PHP
Raw Normal View History

2019-08-16 12:05:56 +02:00
<!DOCTYPE html>
<html lang="fr" prefix="og: http://ogp.me/ns#">
<head>
<title><?php echo $title?></title>
2019-08-16 21:53:57 +02:00
<link rel="icon" type="image/png" href="<?php echo $image?>"/>
2019-08-16 12:05:56 +02:00
<!-- 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?>"/>
2019-08-16 12:05:56 +02:00
<link rel="canonical" href="function.divlo.fr"/>
<meta name="Language" content="fr"/>
<meta charset="utf-8">
2019-10-08 11:18:34 +02:00
<meta name="theme-color" content="#ffd800">
2019-08-16 12:05:56 +02:00
<!--Open Graph Metadata-->
<meta property="og:title" content="<?php echo $title?>">
2019-08-16 12:05:56 +02:00
<meta property="og:type" content="website">
<meta property="og:url" content="https://function.divlo.fr/">
2019-08-16 21:53:57 +02:00
<meta property="og:image" content="<?php echo $image?>">
<meta property="og:description" content="<?php echo $description?>">
2019-08-16 12:05:56 +02:00
<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?>">
2019-08-16 12:05:56 +02:00
<meta name="twitter:site" content="@Divlo_FR">
2019-08-16 21:53:57 +02:00
<meta name="twitter:image:src" content="<?php echo $image?>">
2019-08-16 12:05:56 +02:00
<meta name="twitter:creator" content="@Divlo_FR">
2019-10-04 23:26:46 +02:00
<!-- Styles CSS -->
2019-08-28 13:55:19 +02:00
<link rel="stylesheet" href="/css/libs/bootstrap-min.css">
2020-01-01 17:39:10 +01:00
<?php if($dataPickerCSS) { ?>
2019-10-04 23:26:46 +02:00
<link rel="stylesheet" href="/css/libs/bootstrap-datepicker3.css">
2020-01-01 17:39:10 +01:00
<?php } ?>
2019-10-04 23:26:46 +02:00
<link rel="stylesheet" href="/css/libs/fonts.css">
2020-01-01 17:39:10 +01:00
<link rel="stylesheet" href="/css/libs/fontawesome/css/all.min.css">
<link rel="stylesheet" href="/css/animationsScroll.css">
<link rel="stylesheet" href="/css/loader.css">
2019-10-04 23:26:46 +02:00
<link rel="stylesheet" href="/css/style.css">
<?php if($toDoListCSS) { ?>
<link rel="stylesheet" href="/css/toDoList.css">
<?php } ?>
2019-12-29 13:21:31 +01:00
<!-- Preload Script -->
<script>
/* Au chargement de la page */
window.addEventListener('load', () => {
document.querySelector('body').classList.remove('loading');
document.getElementById('preloader').remove();
});
</script>
2019-08-16 12:05:56 +02:00
</head>
<body class="loading d-flex flex-column">
<div class="mainContent">
<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>
2019-08-16 12:05:56 +02:00
<!-- 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>
2019-08-16 12:05:56 +02:00
<!-- 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>
2019-08-23 11:36:13 +02:00
</div>
</nav>
</header>