bludit/bl-themes/pure/index.php

54 lines
1.3 KiB
PHP
Raw Normal View History

2016-02-14 17:34:25 +01:00
<!DOCTYPE HTML>
2015-03-08 18:02:59 +01:00
<html lang="<?php echo $Site->language() ?>">
<head>
<!-- Meta tags -->
2015-09-22 01:37:04 +02:00
<?php include(PATH_THEME_PHP.'head.php') ?>
2015-03-08 18:02:59 +01:00
</head>
<body>
2015-08-07 00:56:52 +02:00
<!-- Plugins Site Body Begin -->
2015-08-07 04:13:55 +02:00
<?php Theme::plugins('siteBodyBegin') ?>
2015-03-08 18:02:59 +01:00
<!-- Layout -->
<div id="layout" class="pure-g">
<!-- Sidebar -->
<div class="sidebar pure-u-1 pure-u-md-1-4">
2015-09-22 01:37:04 +02:00
<?php include(PATH_THEME_PHP.'sidebar.php') ?>
2015-03-08 18:02:59 +01:00
</div>
<!-- Main -->
2015-07-07 06:24:51 +02:00
<div class="content pure-u-1 pure-u-md-3-4">
2015-03-08 18:02:59 +01:00
<!-- Content -->
<?php
2016-01-08 21:12:17 +01:00
if( ($Url->whereAmI()=='home') || ($Url->whereAmI()=='tag') || ($Url->whereAmI()=='blog') )
2015-03-08 18:02:59 +01:00
{
2015-09-22 01:37:04 +02:00
include(PATH_THEME_PHP.'home.php');
2015-03-08 18:02:59 +01:00
}
elseif($Url->whereAmI()=='post')
{
2015-09-22 01:37:04 +02:00
include(PATH_THEME_PHP.'post.php');
2015-03-08 18:02:59 +01:00
}
elseif($Url->whereAmI()=='page')
{
2015-09-22 01:37:04 +02:00
include(PATH_THEME_PHP.'page.php');
2015-03-08 18:02:59 +01:00
}
?>
<!-- Footer -->
<div class="footer">
2015-09-13 03:06:20 +02:00
<p><?php echo $Site->footer() ?> | <?php echo $Language->get('Powered by') ?> <a target="_blank" href="http://www.bludit.com">Bludit</a></p>
2015-03-08 18:02:59 +01:00
</div>
</div>
</div>
2015-08-07 00:56:52 +02:00
<!-- Plugins Site Body End -->
2015-08-07 04:13:55 +02:00
<?php Theme::plugins('siteBodyEnd') ?>
2015-07-23 03:45:54 +02:00
2015-03-08 18:02:59 +01:00
</body>
2016-01-08 00:43:09 +01:00
</html>