2 <html lang="<?php echo $lang; ?>">
4 <title><?php if(x($page,'title')) echo $page['title'] ?></title>
5 <script>var baseurl="<?php echo Friendica\Core\System::baseUrl() ?>";</script>
6 <?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>
8 <body <?php if($a->module === 'home') echo 'onLoad="setTimeout(\'homeRedirect()\', 1500)"'?>>
9 <?php if(x($page,'nav')) echo $page['nav']; ?>
11 <?php if( $a->module === 'home' ) { ?>
13 <div class="login-button">
14 <a href="login" class="login-button-link"><img class="login-button-image" src="images/friendica-1600.png" title="Click to log in"></a>
18 <?php } elseif ( $a->module === 'login' || $a->module === 'register' || $a->module === 'lostpass' ) {
20 <div class='section-wrapper'>
21 <section><?php if(x($page,'content')) echo $page['content']; ?>
24 <footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
27 <div class='main-container'>
28 <!-- <div class='main-content-container'>-->
29 <div class='section-wrapper'>
30 <?php if( ($a->module === 'settings' || $a->module === 'message' || $a->module === 'profile') && x($page,'aside')) echo $page['aside']; ?>
32 <?php if(x($page,'content')) echo $page['content']; ?>
33 <div id="pause"></div> <!-- The pause/resume Ajax indicator -->
34 <div id="page-footer"></div>
37 <right_aside><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></right_aside>
38 <?php if( ($a->module === 'contacts') && x($page,'aside')) echo $page['aside']; ?>
39 <footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
43 <?php if(x($page,'end')) echo $page['end']; ?>