friendica/view/default.php

19 lines
675 B
PHP
Raw Normal View History

2010-07-01 19:48:07 -04:00
<!DOCTYPE html >
<html>
<head>
2010-10-31 19:38:22 -04:00
<title><?php if(x($page,'title')) echo $page['title'] ?></title>
<script>var baseurl="<?php echo $a->get_baseurl() ?>";</script>
2010-10-31 19:38:22 -04:00
<?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>
2010-07-01 19:48:07 -04:00
</head>
<body>
2010-10-31 19:38:22 -04:00
<header><?php if(x($page,'header')) echo $page['header']; ?></header>
<nav><div id="top-margin"></div><?php if(x($page,'nav')) echo $page['nav']; ?></nav>
<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-10-31 19:38:22 -04:00
<footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
2010-07-01 19:48:07 -04:00
</body>
</html>