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-loading'><img src="/view/theme/frost/images/ajax-loader.gif" alt="Please wait..."></div>-->
29 <div class='main-content-container'>
30 <aside><?php if(x($page,'aside')) echo $page['aside']; ?></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>
36 <right_aside><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></right_aside>
37 <footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
41 <?php if(x($page,'end')) echo $page['end']; ?>