2019-07-31 20:37:37 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
if (!isset($relativePath))
|
|
|
|
$relativePath = "";
|
|
|
|
|
|
|
|
if (!isset($pageScripts))
|
|
|
|
$pageScripts = "";
|
|
|
|
|
2019-08-01 00:09:20 +02:00
|
|
|
if (!isset($hasHeader))
|
|
|
|
$hasHeader = false;
|
|
|
|
|
2019-07-31 20:37:37 +02:00
|
|
|
?>
|
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
|
|
<title><?= $pageTitle ?> | Proximo</title>
|
2020-02-15 11:44:33 +01:00
|
|
|
<link type="text/css" rel="stylesheet" href="<?= $relativePath ?>assets/css/libs/bootstrap.min.css" media="screen,projection"/>
|
|
|
|
<link type="text/css" rel="stylesheet" href="<?= $relativePath ?>assets/css/libs/jquery-confirm.min.css" media="screen,projection"/>
|
|
|
|
<link type="text/css" rel="stylesheet" href="<?= $relativePath ?>assets/css/libs/animatecss.css" media="screen,projection"/>
|
2019-07-31 20:37:37 +02:00
|
|
|
<link type="text/css" rel="stylesheet" href="<?= $relativePath ?>assets/css/general.css" media="screen,projection"/>
|
|
|
|
<link type="text/css" rel="stylesheet" href="<?= $relativePath ?>assets/css/index.css" media="screen,projection"/>
|
2019-08-01 00:09:20 +02:00
|
|
|
<link type="text/css" rel="stylesheet" href="<?= $relativePath ?>assets/css/hamburger.css"
|
|
|
|
media="screen,projection"/>
|
2019-07-31 20:37:37 +02:00
|
|
|
<link type="text/css" rel="stylesheet" href="<?= $relativePath ?>assets/css/sidenav.css" media="screen,projection"/>
|
2020-02-10 23:36:17 +01:00
|
|
|
<link type="text/css" rel="stylesheet" href="<?= $relativePath ?>assets/css/bootstrapOverwrite.css" media="screen,projection"/>
|
2019-07-31 20:37:37 +02:00
|
|
|
<link rel="icon" type="image/png" href="<?= $relativePath ?>assets/images/favicon.png">
|
|
|
|
<!--Let browser know website is optimized for mobile-->
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div id="mainContainer">
|
|
|
|
|
|
|
|
|
|
|
|
<?php
|
2019-08-01 00:09:20 +02:00
|
|
|
if (isset($header)) {
|
|
|
|
echo $header;
|
|
|
|
}
|
2019-07-31 20:37:37 +02:00
|
|
|
include($relativePath . "includes/navbar.php");
|
|
|
|
include($relativePath . "includes/sidenav.php");
|
|
|
|
?>
|
|
|
|
<div class="mt-4" id="contentContainer">
|
|
|
|
<?= $pageContent ?>
|
|
|
|
</div>
|
2019-08-01 00:09:20 +02:00
|
|
|
|
2019-07-31 20:37:37 +02:00
|
|
|
<?php include($relativePath . "includes/footer.php") ?>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="scrollIndicator" style="display: none;">
|
|
|
|
<i class="fas fa-angle-double-down"></i>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!--JavaScript at end of body for optimized loading-->
|
2020-02-15 11:44:33 +01:00
|
|
|
<script type="text/javascript" src="<?= $relativePath ?>assets/js/libs/jquery.min.js"></script>
|
|
|
|
<script type="text/javascript" src="<?= $relativePath ?>assets/js/libs/bootstrap.min.js"></script>
|
|
|
|
<script type="text/javascript" src="<?= $relativePath ?>assets/js/libs/jquery-confirm.min.js"></script>
|
|
|
|
<script type="text/javascript" src="<?= $relativePath ?>assets/js/libs/sortable.min.js"></script>
|
2019-07-31 20:37:37 +02:00
|
|
|
<script type="text/javascript" src="<?= $relativePath ?>assets/js/init.js"></script>
|
|
|
|
<script type="text/javascript" src="<?= $relativePath ?>assets/js/sidenav.js"></script>
|
|
|
|
<?= $pageScripts ?>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|