index.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <!DOCTYPE html>
  2. <!--[if lt IE 8 ]><html class="no-js ie ie7" lang="en"> <![endif]-->
  3. <!--[if IE 8 ]><html class="no-js ie ie8" lang="en"> <![endif]-->
  4. <!--[if IE 9 ]><html class="no-js ie ie9" lang="en"> <![endif]-->
  5. <!--[if (gte IE 8)|!(IE)]><!--><html class="no-js" lang="en"> <!--<![endif]-->
  6. <html>
  7. <head>
  8. <?php include(THEME_DIR_PHP.'head.php'); ?>
  9. </head>
  10. <body>
  11. <!-- Load Bludit Plugins: Site Body Begin -->
  12. <?php Theme::plugins('siteBodyBegin'); ?>
  13. <!-- Navbar -->
  14. <?php include(THEME_DIR_PHP.'navbar.php'); ?>
  15. <div id="content-wrap">
  16. <div class="row">
  17. <div id="main" class="eight columns">
  18. <!-- Content -->
  19. <?php
  20. // $WHERE_AM_I variable detect where the user is browsing
  21. // If the user is watching a particular page the variable takes the value "page"
  22. // If the user is watching the frontpage the variable takes the value "home"
  23. if ($WHERE_AM_I == 'page') {
  24. include(THEME_DIR_PHP.'page.php');
  25. } else {
  26. include(THEME_DIR_PHP.'home.php');
  27. }
  28. ?>
  29. </div> <!-- end main -->
  30. <!-- Right Sidebar -->
  31. <div id="sidebar" class="four columns">
  32. <?php Theme::plugins('siteSidebar') ?>
  33. </div> <!-- end sidebar -->
  34. </div> <!-- end row -->
  35. </div> <!-- end content-wrap -->
  36. <!-- Footer -->
  37. <?php include(THEME_DIR_PHP.'footer.php'); ?>
  38. <!-- Load Bludit Plugins: Site Body End -->
  39. <?php Theme::plugins('siteBodyEnd'); ?>
  40. </body>
  41. </html>