2018-01-25 23:58:42 +01:00
|
|
|
<!DOCTYPE html>
|
2018-01-28 00:55:19 +01:00
|
|
|
<html>
|
2018-01-25 23:58:42 +01:00
|
|
|
<head>
|
2018-01-28 23:33:50 +01:00
|
|
|
<?php include(THEME_DIR_PHP.'head.php'); ?>
|
2018-01-25 23:58:42 +01:00
|
|
|
</head>
|
2018-02-01 00:34:16 +01:00
|
|
|
<body>
|
2018-01-25 23:58:42 +01:00
|
|
|
|
2018-01-28 23:33:50 +01:00
|
|
|
<!-- Load Bludit Plugins: Site Body Begin -->
|
|
|
|
<?php Theme::plugins('siteBodyBegin'); ?>
|
|
|
|
|
2018-01-27 20:34:26 +01:00
|
|
|
<!-- Navbar -->
|
2018-01-28 23:33:50 +01:00
|
|
|
<?php include(THEME_DIR_PHP.'navbar.php'); ?>
|
2018-01-25 23:58:42 +01:00
|
|
|
|
|
|
|
<!-- Content -->
|
|
|
|
<?php
|
2018-02-01 00:34:16 +01:00
|
|
|
// $WHERE_AM_I variable detect where the user is browsing
|
|
|
|
// If the user is watching a particular page the variable takes the value "page"
|
|
|
|
// If the user is watching the frontpage the variable takes the value "home"
|
|
|
|
if ($WHERE_AM_I == 'page') {
|
2018-01-25 23:58:42 +01:00
|
|
|
include(THEME_DIR_PHP.'page.php');
|
|
|
|
} else {
|
|
|
|
include(THEME_DIR_PHP.'home.php');
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
|
2018-01-28 00:55:19 +01:00
|
|
|
<!-- Footer -->
|
2018-01-28 23:33:50 +01:00
|
|
|
<?php include(THEME_DIR_PHP.'footer.php'); ?>
|
2018-01-25 23:58:42 +01:00
|
|
|
|
2018-01-28 23:33:50 +01:00
|
|
|
<!-- Javascript -->
|
2018-01-28 00:55:19 +01:00
|
|
|
<?php
|
2018-03-08 19:50:39 +01:00
|
|
|
echo Theme::jquery();
|
2018-06-25 23:17:43 +02:00
|
|
|
echo Theme::bootstrapJS();
|
2018-01-28 00:55:19 +01:00
|
|
|
?>
|
2018-01-25 23:58:42 +01:00
|
|
|
|
2018-01-28 23:33:50 +01:00
|
|
|
<!-- Load Bludit Plugins: Site Body End -->
|
|
|
|
<?php Theme::plugins('siteBodyEnd'); ?>
|
|
|
|
|
2018-01-28 00:55:19 +01:00
|
|
|
</body>
|
2018-03-08 19:50:39 +01:00
|
|
|
</html>
|