You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

125 lines
3.7 KiB

<!DOCTYPE html>
<html class="js" lang="<?php echo $Site->language() ?>">
<head profile="http://gmpg.org/xfn/11">
<?php include(PATH_THEME_PHP.'head.php') ?>
</head>
<?php
if( ($Url->whereAmI()=='home') || ($Url->whereAmI()=='tag') || ($Url->whereAmI()=='blog') )
{
echo '<body class="header-image fullwidth">';
}
elseif($Url->whereAmI()=='post')
{
echo '<body class="single single-post">';
}
elseif($Url->whereAmI()=='page')
{
echo '<body class="page page-template-default">';
}
?>
<!-- Plugins Site Body Begin -->
<?php Theme::plugins('siteBodyBegin') ?>
<div class="navigation" >
<div class="navigation-inner section-inner">
<ul class="blog-menu">
<?php
echo '<li class="menu-item menu-item-type-custom menu-item-object-custom"><a href="'.$Site->urlBlog().'">Blog</a></li> ';
$parents = $pagesParents[NO_PARENT_CHAR];
foreach($parents as $Parent) {
echo '<li class="menu-item menu-item-type-custom menu-item-object-custom"><a href="'.$Parent->permalink().'">'.$Parent->title().'</a></li> ';
}
?>
</ul>
<div class="clear"></div>
</div> <!-- /navigation-inner -->
</div> <!-- /navigation -->
<div class="header section">
<div class="header-inner section-inner">
<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>
<h1 class="blog-title">
<a href="<?php echo $Site->url() ?>" rel="home"><?php echo $Site->title() ?></a>
</h1>
<div class="nav-toggle">
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
<div class="clear"></div>
</div>
<div class="clear"></div>
<h3 class="blog-subtitle">
<?php echo $Site->slogan() ?>
</h3>
<div class="clear"></div>
</div> <!-- /header section -->
</div> <!-- /header-inner section-inner -->
<?php
if( ($Url->whereAmI()=='home') || ($Url->whereAmI()=='tag') || ($Url->whereAmI()=='blog') )
{
include(PATH_THEME_PHP.'home.php');
}
elseif($Url->whereAmI()=='post')
{
include(PATH_THEME_PHP.'post.php');
}
elseif($Url->whereAmI()=='page')
{
include(PATH_THEME_PHP.'page.php');
}
?>
<!-- Footer -->
<?php include(PATH_THEME_PHP.'sidebar.php') ?>
<div class="credits section">
<div class="credits-inner section-inner">
<p class="credits-left">
<span>publishing with <a href="https://www.bludit.com/">Bludit CMS</a> <?php echo $Site->footer() ?></span>
</p>
<p class="credits-right">
<span>Lingonberry by <a href="http://www.andersnoren.se">Anders Noren</a> - </span><span>Ported by <a href="http://www.iamnobuna.ga">Hakim Zulkufli</a> -//- </span><a class="tothetop">Hoch ↑</a>
</p>
<div class="clear"></div>
<div class="license-img">
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/">
<img alt="CC License " src="<?php echo(HTML_PATH_UPLOADS.'/cc.png')?>" />
<img alt="BY" src="<?php echo(HTML_PATH_UPLOADS.'/by.png')?>" />
</a>
</div>
<div class="license-text">
Soweit nicht anders vermerkt, stehen die Inhalte unter der <a rel="license" href="http://creativecommons.org/licenses/by/4.0/deed.de">Creative Commons Attribution 4.0 International License</a>.
</div>
</div> <!-- /credits-inner -->
</div> <!-- /credits -->
<!-- Plugins Site Body End -->
<?php Theme::plugins('siteBodyEnd') ?>
<!-- Javascript -->
<?php Theme::javascript(array(
'flexslider.min.js',
'global.js'
)); ?>
</body>
</html>