bludit/themes/pure/index.php

54 lines
1.2 KiB
PHP
Raw Normal View History

2015-03-08 14:02:59 -03:00
<!doctype html>
<html lang="<?php echo $Site->language() ?>">
<head>
<!-- Meta tags -->
2015-09-21 20:37:04 -03:00
<?php include(PATH_THEME_PHP.'head.php') ?>
2015-03-08 14:02:59 -03:00
</head>
<body>
2015-08-06 19:56:52 -03:00
<!-- Plugins Site Body Begin -->
2015-08-06 23:13:55 -03:00
<?php Theme::plugins('siteBodyBegin') ?>
2015-03-08 14:02:59 -03:00
<!-- Layout -->
<div id="layout" class="pure-g">
<!-- Sidebar -->
<div class="sidebar pure-u-1 pure-u-md-1-4">
2015-09-21 20:37:04 -03:00
<?php include(PATH_THEME_PHP.'sidebar.php') ?>
2015-03-08 14:02:59 -03:00
</div>
<!-- Main -->
2015-07-07 01:24:51 -03:00
<div class="content pure-u-1 pure-u-md-3-4">
2015-03-08 14:02:59 -03:00
<!-- Content -->
<?php
2015-08-29 20:26:46 -03:00
if( ($Url->whereAmI()=='home') || ($Url->whereAmI()=='tag') )
2015-03-08 14:02:59 -03:00
{
2015-09-21 20:37:04 -03:00
include(PATH_THEME_PHP.'home.php');
2015-03-08 14:02:59 -03:00
}
elseif($Url->whereAmI()=='post')
{
2015-09-21 20:37:04 -03:00
include(PATH_THEME_PHP.'post.php');
2015-03-08 14:02:59 -03:00
}
elseif($Url->whereAmI()=='page')
{
2015-09-21 20:37:04 -03:00
include(PATH_THEME_PHP.'page.php');
2015-03-08 14:02:59 -03:00
}
?>
<!-- Footer -->
<div class="footer">
2015-09-12 22:06:20 -03: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 14:02:59 -03:00
</div>
</div>
</div>
2015-08-06 19:56:52 -03:00
<!-- Plugins Site Body End -->
2015-08-06 23:13:55 -03:00
<?php Theme::plugins('siteBodyEnd') ?>
2015-07-22 22:45:54 -03:00
2015-03-08 14:02:59 -03:00
</body>
2015-07-06 19:22:03 -03:00
</html>