home.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php include ('header.php'); ?>
  2. <main id="main" class="home">
  3. <div class="article_wrap">
  4. <aside class="left_column">
  5. <?php include dirname(__FILE__).('/widgets/side_current_user.php'); ?>
  6. </aside>
  7. <article class="center_column">
  8. <header class="timeline_header">
  9. <?php include dirname(__FILE__).('/widgets/create_status.php'); ?>
  10. </header>
  11. <div id="js-stream_update">
  12. <button>
  13. View <span></span> new Toots
  14. </button>
  15. </div>
  16. <ul id="js-timeline" class="timeline">
  17. </ul>
  18. <footer id="js-timeline_footer" class="timeline_footer">
  19. <i class="fa fa-spin fa-circle-o-notch" aria-hidden="true"></i>
  20. </footer>
  21. </article>
  22. <aside class="right_column">
  23. <section class="side_widgets_wrap">
  24. <?php include dirname(__FILE__).('/widgets/side_who_to_follow.php'); ?>
  25. <?php include dirname(__FILE__).('/widgets/side_trending.php'); ?>
  26. <?php include dirname(__FILE__).('/widgets/side_firefox_addon.php'); ?>
  27. </section>
  28. <?php include dirname(__FILE__).('/widgets/side_footer.php'); ?>
  29. </aside>
  30. </div>
  31. </main>
  32. <script>
  33. current_file = location.pathname;
  34. setTimeline("timelines/home");
  35. $("#home_nav").addClass('view');
  36. $('title').text('Halcyon');
  37. </script>
  38. <?php include ('footer.php'); ?>