/b2evolution/nonzero/_sidebar_right.inc.php

http://laibcomsthemes.googlecode.com/ · PHP · 54 lines · 25 code · 8 blank · 21 comment · 8 complexity · 388bef18972ebb34ce7f6ffe0bb3bd3d MD5 · raw file

  1. <?php
  2. /**
  3. * This is the SIDEBAR include template.
  4. *
  5. * This is meant to be included in a page template.
  6. *
  7. * @package evoskins
  8. * @subpackage nonzero
  9. */
  10. if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  11. // By default, this does nothing. It's just here to simplify the includes of different sidebars, minimizing edits.
  12. ?>
  13. <?php
  14. if( $Skin->get_setting('column_count') == '3' )
  15. {
  16. echo '<div id="secondaryContent_3columns">';
  17. }
  18. elseif( $Skin->get_setting('column_count') == '2' )
  19. {
  20. echo '<div id="secondaryContent_2columns">';
  21. }
  22. if( $Skin->get_setting('column_count') == '3' )
  23. {
  24. // ------------------------- SIDEBAR INCLUDED HERE --------------------------
  25. skin_include( '_sidebar-w-1.inc.php' );
  26. // Note: You can customize the default BODY footer by copying the
  27. // _body_footer.inc.php file into the current skin folder.
  28. // ----------------------------- END OF SIDEBAR -----------------------------
  29. }
  30. // ------------------------- SIDEBAR INCLUDED HERE --------------------------
  31. skin_include( '_sidebar-1.inc.php' );
  32. // Note: You can customize the default BODY footer by copying the
  33. // _body_footer.inc.php file into the current skin folder.
  34. // ----------------------------- END OF SIDEBAR -----------------------------
  35. if( $Skin->get_setting('column_count') == '3' )
  36. {
  37. // ------------------------- SIDEBAR INCLUDED HERE --------------------------
  38. skin_include( '_sidebar-2.inc.php' );
  39. // Note: You can customize the default BODY footer by copying the
  40. // _body_footer.inc.php file into the current skin folder.
  41. // ----------------------------- END OF SIDEBAR -----------------------------
  42. }
  43. ?>
  44. <div class="clear"></div>
  45. </div> <!-- end of id="secondaryContent_Xcolumns" -->
  46. <div class="clear"></div>