2017-07-28 19:37:06 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html class="js" lang="<?php echo $Site->language() ?>">
|
|
|
|
|
|
|
|
<head profile="http://gmpg.org/xfn/11">
|
2017-08-06 21:50:01 +02:00
|
|
|
<?php include(THEME_DIR_PHP.'head.php') ?>
|
2017-07-28 19:37:06 +02:00
|
|
|
</head>
|
2017-08-07 20:30:14 +02:00
|
|
|
|
2017-07-28 19:37:06 +02:00
|
|
|
<?php
|
2017-08-07 20:30:14 +02:00
|
|
|
if($WHERE_AM_I == 'page') {
|
|
|
|
if( $Page->status() == "fixed" ) {
|
2017-08-07 10:42:56 +02:00
|
|
|
echo '<body class="page page-template-default">';
|
|
|
|
}
|
2017-08-07 20:30:14 +02:00
|
|
|
elseif( $Page->status() == "published" ) {
|
2017-08-07 10:42:56 +02:00
|
|
|
echo '<body class="single single-post">';
|
2017-08-07 20:30:14 +02:00
|
|
|
}
|
|
|
|
} else {
|
|
|
|
echo '<body class="header-image fullwidth">';
|
2017-07-28 19:37:06 +02:00
|
|
|
}
|
|
|
|
?>
|
|
|
|
|
|
|
|
<!-- Plugins Site Body Begin -->
|
|
|
|
<?php Theme::plugins('siteBodyBegin') ?>
|
2017-08-07 20:30:14 +02:00
|
|
|
|
2017-08-07 10:42:56 +02:00
|
|
|
<div class="navigation" >
|
2017-07-28 19:37:06 +02:00
|
|
|
<div class="navigation-inner section-inner">
|
|
|
|
<ul class="blog-menu">
|
|
|
|
<?php
|
2017-08-07 10:42:56 +02:00
|
|
|
$fixedPages = $dbPages->getFixedDB();
|
|
|
|
$fpKeys = array_keys($fixedPages);
|
|
|
|
foreach($fpKeys as $pageKey) {
|
2017-08-07 20:30:14 +02:00
|
|
|
$fpage = buildPage($pageKey);
|
|
|
|
echo '<li class="menu-item menu-item-type-custom menu-item-object-custom"><a href="'.$fpage->permalink().'">'.$fpage->title().'</a></li> ';
|
|
|
|
}
|
2017-07-28 19:37:06 +02:00
|
|
|
?>
|
|
|
|
</ul>
|
|
|
|
<div class="clear"></div>
|
|
|
|
</div> <!-- /navigation-inner -->
|
2017-08-07 10:42:56 +02:00
|
|
|
</div> <!-- /navigation -->
|
2017-08-07 20:30:14 +02:00
|
|
|
|
2017-07-28 19:37:06 +02:00
|
|
|
<div class="header section">
|
|
|
|
<div class="header-inner section-inner">
|
2017-08-07 20:30:14 +02:00
|
|
|
|
|
|
|
<a href="<?php echo $Site->url() ?>" rel="home" class="logo"><img src="<?php echo(HTML_PATH_UPLOADS_PROFILES.'admin.png') ?>" alt="<?php echo $Site->title() ?>"></a>
|
|
|
|
|
2017-07-28 19:37:06 +02:00
|
|
|
<h1 class="blog-title">
|
|
|
|
<a href="<?php echo $Site->url() ?>" rel="home"><?php echo $Site->title() ?></a>
|
|
|
|
</h1>
|
2017-08-07 20:30:14 +02:00
|
|
|
|
2017-08-07 10:42:56 +02:00
|
|
|
<div class="nav-toggle">
|
2017-07-28 19:37:06 +02:00
|
|
|
<div class="bar"></div>
|
|
|
|
<div class="bar"></div>
|
|
|
|
<div class="bar"></div>
|
2017-08-07 20:30:14 +02:00
|
|
|
|
2017-07-28 19:37:06 +02:00
|
|
|
<div class="clear"></div>
|
2017-08-07 10:42:56 +02:00
|
|
|
</div>
|
2017-08-07 20:30:14 +02:00
|
|
|
|
2017-07-28 19:37:06 +02:00
|
|
|
<div class="clear"></div>
|
|
|
|
</div> <!-- /header section -->
|
|
|
|
</div> <!-- /header-inner section-inner -->
|
2017-08-07 20:30:14 +02:00
|
|
|
|
2017-07-28 19:37:06 +02:00
|
|
|
<?php
|
2017-08-07 20:30:14 +02:00
|
|
|
if($WHERE_AM_I == 'page') {
|
|
|
|
if( $Page->status() == "fixed" ) {
|
2017-08-07 10:42:56 +02:00
|
|
|
include(THEME_DIR_PHP.'page.php');
|
|
|
|
}
|
2017-08-07 20:30:14 +02:00
|
|
|
elseif( $Page->status() == "published" ) {
|
2017-08-07 10:42:56 +02:00
|
|
|
include(THEME_DIR_PHP.'post.php');
|
|
|
|
}
|
2017-08-07 20:30:14 +02:00
|
|
|
} else {
|
|
|
|
include(THEME_DIR_PHP.'home.php');
|
2017-07-28 19:37:06 +02:00
|
|
|
}
|
|
|
|
?>
|
2017-08-07 20:30:14 +02:00
|
|
|
|
2017-07-28 19:37:06 +02:00
|
|
|
<!-- Footer -->
|
2017-08-06 21:50:01 +02:00
|
|
|
<?php include(THEME_DIR_PHP.'sidebar.php') ?>
|
2017-08-07 20:30:14 +02:00
|
|
|
|
2017-07-28 19:37:06 +02:00
|
|
|
<div class="credits section">
|
|
|
|
<div class="credits-inner section-inner">
|
2017-08-07 20:30:14 +02:00
|
|
|
|
2017-07-28 19:37:06 +02:00
|
|
|
<p class="credits-left">
|
|
|
|
<span><?php echo $Site->footer() ?></span>
|
|
|
|
</p>
|
2017-08-07 20:30:14 +02:00
|
|
|
|
2017-07-28 19:37:06 +02:00
|
|
|
<p class="credits-right">
|
2017-08-07 10:46:17 +02:00
|
|
|
<span>Lingonberry by <a href="http://www.andersnoren.se">Anders Noren</a> — Proudly Powered by <a href="https://www.bludit.com/">Bludit</a> — </span><a class="tothetop">Up ↑</a>
|
2017-07-28 19:37:06 +02:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<div class="clear"></div>
|
|
|
|
</div> <!-- /credits-inner -->
|
|
|
|
</div> <!-- /credits -->
|
2017-08-07 20:30:14 +02:00
|
|
|
|
2017-07-28 19:37:06 +02:00
|
|
|
<!-- Plugins Site Body End -->
|
|
|
|
<?php Theme::plugins('siteBodyEnd') ?>
|
2017-08-07 20:30:14 +02:00
|
|
|
|
2017-07-28 19:37:06 +02:00
|
|
|
<!-- Javascript -->
|
2017-08-07 10:42:56 +02:00
|
|
|
<?php echo Theme::js(array(
|
|
|
|
'js/flexslider.min.js',
|
|
|
|
'js/global.js'
|
2017-07-28 19:37:06 +02:00
|
|
|
)); ?>
|
2017-08-07 20:30:14 +02:00
|
|
|
|
2017-07-28 19:37:06 +02:00
|
|
|
</body>
|
|
|
|
</html>
|