bludit/bl-themes/log/index.php

103 lines
2.3 KiB
PHP
Raw Permalink Normal View History

<!DOCTYPE HTML>
<html>
<head>
<!-- Include HTML meta tags -->
<?php include(THEME_DIR_PHP.'head.php') ?>
</head>
<body>
2017-07-29 00:08:19 +02:00
<?php Theme::plugins('siteBodyBegin') ?>
<div id="wrapper">
<!-- Header -->
<header id="header">
2017-07-23 23:31:39 +02:00
<h1><a href="<?php echo Theme::siteUrl() ?>"><?php echo Theme::title() ?></a></h1>
<nav class="links">
<ul>
<?php
2017-07-29 21:03:18 +02:00
$fixedPages = $dbPages->getFixedDB();
$keys = array_keys($fixedPages);
foreach($keys as $pageKey) {
$pageParent = buildPage($pageKey);
2017-07-23 23:31:39 +02:00
echo '<li><a href="'.$pageParent->permalink().'">'.$pageParent->title().'</a></li>';
}
?>
</ul>
</nav>
<nav class="main">
<ul>
<li class="menu"><a class="fa-bars" href="#menu">Menu</a></li>
</ul>
</nav>
</header>
<!-- Menu -->
<section id="menu">
<!-- Links -->
<section>
<ul class="links">
<?php
2017-07-29 21:03:18 +02:00
echo '<li>';
echo '<a href="'.$Site->url().'">
<h3>'.$Language->get('Home page').'</h3>
<p>'.$Site->description().'</p>
</a>';
echo '</li>';
$fixedPages = $dbPages->getFixedDB();
$keys = array_keys($fixedPages);
foreach($keys as $pageKey) {
$pageParent = buildPage($pageKey);
echo '<li>';
2017-07-23 23:31:39 +02:00
echo '<a href="'.$pageParent->permalink().'">
<h3>'.$pageParent->title().'</h3>
<p>'.$pageParent->description().'</p>
</a>';
echo '</li>';
}
?>
</ul>
</section>
<!-- Actions -->
<section>
<ul class="actions vertical">
2017-07-23 23:31:39 +02:00
<li><a href="<?php echo Theme::adminUrl() ?>" class="button big fit"><?php $L->p('Login') ?></a></li>
</ul>
</section>
</section>
2016-09-21 04:17:45 +02:00
<!-- Main -->
<div id="main">
2016-09-21 04:17:45 +02:00
<?php
2017-07-29 00:08:19 +02:00
if ($WHERE_AM_I=='page') {
2016-09-21 04:17:45 +02:00
include(THEME_DIR_PHP.'page.php');
2017-07-23 23:31:39 +02:00
} else {
2017-05-04 21:32:18 +02:00
include(THEME_DIR_PHP.'home.php');
}
2016-09-21 04:17:45 +02:00
?>
</div>
<!-- Sidebar -->
<section id="sidebar">
2017-07-29 00:08:19 +02:00
<?php include(THEME_DIR_PHP.'sidebar.php') ?>
</section>
</div>
<!-- Scripts -->
2016-09-21 04:17:45 +02:00
<?php
2017-07-23 23:31:39 +02:00
echo Theme::jquery();
echo Theme::js('assets/js/skel.min.js');
echo Theme::js('assets/js/util.js');
echo '<!--[if lt IE 8]>';
echo Theme::js('assets/js/ie/respond.min.js');
echo '<![endif]-->';
echo Theme::js('assets/js/main.js');
2016-09-21 04:17:45 +02:00
?>
2017-07-29 00:08:19 +02:00
<?php Theme::plugins('siteBodyEnd') ?>
</body>
</html>