2016-05-18 04:36:23 +02:00
|
|
|
<!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') ?>
|
|
|
|
|
2016-05-18 04:36:23 +02:00
|
|
|
<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>
|
2016-05-18 04:36:23 +02:00
|
|
|
<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>';
|
2016-05-18 04:36:23 +02:00
|
|
|
}
|
|
|
|
?>
|
|
|
|
</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) {
|
2016-05-18 04:36:23 +02:00
|
|
|
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>';
|
2016-05-18 04:36:23 +02:00
|
|
|
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>
|
2016-05-18 04:36:23 +02:00
|
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
|
2016-09-21 04:17:45 +02:00
|
|
|
<!-- Main -->
|
2016-05-18 04:36:23 +02:00
|
|
|
<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
|
|
|
?>
|
2016-05-18 04:36:23 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Sidebar -->
|
|
|
|
<section id="sidebar">
|
2017-07-29 00:08:19 +02:00
|
|
|
<?php include(THEME_DIR_PHP.'sidebar.php') ?>
|
2016-05-18 04:36:23 +02:00
|
|
|
</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
|
|
|
?>
|
2016-05-18 04:36:23 +02:00
|
|
|
|
2017-07-29 00:08:19 +02:00
|
|
|
<?php Theme::plugins('siteBodyEnd') ?>
|
2016-05-18 04:36:23 +02:00
|
|
|
</body>
|
|
|
|
</html>
|