dir/view/default.php

18 lines
565 B
PHP
Raw Normal View History

2010-07-02 01:48:07 +02:00
<!DOCTYPE html >
<html>
<head>
2010-11-01 00:38:22 +01:00
<title><?php if(x($page,'title')) echo $page['title'] ?></title>
<script>var baseurl="<?php echo $a->get_baseurl() ?>";</script>
2010-11-01 00:38:22 +01:00
<?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>
2010-07-02 01:48:07 +02:00
</head>
<body>
<?php if(x($page,'nav')) echo $page['nav']; ?>
2010-11-01 00:38:22 +01:00
<aside><?php if(x($page,'aside')) echo $page['aside']; ?></aside>
<section><?php if(x($page,'content')) echo $page['content']; ?>
<div id="page-footer"></div>
</section>
2010-11-01 00:38:22 +01:00
<footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
2010-07-02 01:48:07 +02:00
</body>
</html>