bludit/bl-themes/log/index.php

97 lines
2.1 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-10-13 00:15:13 +02:00
foreach ($staticPages as $staticPage) {
2017-09-21 20:42:03 +02:00
echo '<li><a href="'.$staticPage->permalink().'">'.$staticPage->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>';
2017-09-21 20:42:03 +02:00
echo '<a href="'.$Site->url().'">';
echo '<h3>'.$Language->get('Home page').'</h3>';
echo '<p>'.$Site->description().'</p>';
echo '</a>';
2017-07-29 21:03:18 +02:00
echo '</li>';
2017-10-13 00:15:13 +02:00
foreach ($staticPages as $staticPage) {
echo '<li>';
2017-09-21 20:42:03 +02:00
echo '<a href="'.$staticPage->permalink().'">';
echo '<h3>'.$staticPage->title().'</h3>';
echo '<p>'.$staticPage->description().'</p>';
echo '</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>