home.php 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. </section>
  26. <?php include dirname(__FILE__).('/widgets/side_footer.php'); ?>
  27. </aside>
  28. </div>
  29. </main>
  30. <script>
  31. current_file = location.pathname;
  32. setTimeline("timelines/home");
  33. $("#home_nav").addClass('view');
  34. $('title').text('Halcyon');
  35. </script>
  36. <?php include ('footer.php'); ?>