2012-07-24 15:16:51 +00:00
|
|
|
<!DOCTYPE html >
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title><?php if(x($page,'title')) echo $page['title'] ?></title>
|
|
|
|
<script>var baseurl="<?php echo $a->get_baseurl() ?>";</script>
|
|
|
|
<?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>
|
|
|
|
</head>
|
|
|
|
<body>
|
2012-08-25 16:08:25 +00:00
|
|
|
<?php if(x($page,'nav')) echo $page['nav']; ?>
|
|
|
|
|
2012-07-24 15:16:51 +00:00
|
|
|
<?php if( $a->module === 'home' ) { ?>
|
|
|
|
<center>
|
|
|
|
<div class="login-button">
|
|
|
|
<a href="login" class="login-button-link"><img class="login-button-image" src="/images/friendika-1600.png" title="Click to log in"></a>
|
|
|
|
</div>
|
|
|
|
</center>
|
2012-08-25 16:08:25 +00:00
|
|
|
|
2012-07-24 15:16:51 +00:00
|
|
|
<?php } elseif ( $a->module === 'login' || $a->module === 'register' || $a->module === 'lostpass' ) {
|
|
|
|
?>
|
|
|
|
<div class='section-wrapper'>
|
|
|
|
<section><?php if(x($page,'content')) echo $page['content']; ?>
|
|
|
|
</section>
|
|
|
|
</div>
|
2012-09-29 23:47:47 +00:00
|
|
|
<footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
|
2012-07-24 15:16:51 +00:00
|
|
|
|
2012-08-25 16:08:25 +00:00
|
|
|
<?php } else { ?>
|
2012-07-24 15:16:51 +00:00
|
|
|
<div class='main-container'>
|
2012-09-07 18:17:03 +00:00
|
|
|
<!-- <div class='main-content-container'>-->
|
2012-07-24 15:16:51 +00:00
|
|
|
<div class='section-wrapper'>
|
2012-09-07 18:17:03 +00:00
|
|
|
<?php if( ($a->module === 'settings') && x($page,'aside')) echo $page['aside']; ?>
|
2012-07-24 15:16:51 +00:00
|
|
|
<section><?php if(x($page,'content')) echo $page['content']; ?>
|
|
|
|
<div id="page-footer"></div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
<right_aside><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></right_aside>
|
2012-09-07 18:17:03 +00:00
|
|
|
<?php if( ($a->module === 'contacts') && x($page,'aside')) echo $page['aside']; ?>
|
2012-09-29 23:47:47 +00:00
|
|
|
<footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
|
2012-09-07 18:17:03 +00:00
|
|
|
<!-- </div>-->
|
2012-07-24 15:16:51 +00:00
|
|
|
</div>
|
|
|
|
<?php } ?>
|
2012-07-28 15:57:16 +00:00
|
|
|
<?php if(x($page,'end')) echo $page['end']; ?>
|
2012-07-24 15:16:51 +00:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|