Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.4 KiB

  1. <!DOCTYPE html >
  2. <html>
  3. <head>
  4. <title><?php if(x($page,'title')) echo $page['title'] ?></title>
  5. <script>var baseurl="<?php echo $a->get_baseurl() ?>";</script>
  6. <script type="text/javascript">
  7. function ScrollToBottom(){
  8. window.scrollTo(0,document.body.scrollHeight);
  9. }
  10. </script>
  11. <?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>
  12. </head>
  13. <body>
  14. <header>
  15. <?php if(x($page, 'header')) echo $page['header']; ?>
  16. </header>
  17. <?php if(x($page,'nav')) echo $page['nav']; ?>
  18. <aside><?php if(x($page,'aside')) echo $page['aside']; ?></aside>
  19. <section><?php if(x($page,'content')) echo $page['content']; ?>
  20. <div id="page-footer"></div>
  21. </section>
  22. <right_aside><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></right_aside>
  23. <footer id="footer">
  24. <?php if(x($page, 'footer')) echo $page['footer']; ?>
  25. </footer>
  26. <tools id="tools">
  27. <?php if (x($page, 'tools')) echo $page['tools']; ?>
  28. <div id="scrollup" >
  29. <a class="item-scrollup" href="javascript:scrollTo(0,100000)"><img src="view/theme/smoothly/images/down.png" alt="to bottom" title="to bottom" /></a>
  30. <a class="item-scrollup" href="javascript:scrollTo(0,0)"><img src="view/theme/smoothly/images/up.png" alt="to top" title="to top" /></a>
  31. <a class="item-scrollup" href="logout"><img src="view/theme/smoothly/images/power.png" alt="power" title="power" /></a>
  32. </div>
  33. </tools>
  34. <?php if (x($page, 'bottom')) echo $page['bottom']; ?>
  35. </body>
  36. </html>