/b2evolution/firebug/index.main.php

http://laibcomsthemes.googlecode.com/ · PHP · 113 lines · 47 code · 22 blank · 44 comment · 2 complexity · 5df22550de14e7fe88cb8e0c1a0acacc MD5 · raw file

  1. <?php
  2. /**
  3. * This is the main/default page template.
  4. *
  5. * For a quick explanation of b2evo 2.0 skins, please start here:
  6. * {@link http://manual.b2evolution.net/Skins_2.0}
  7. *
  8. * The main page template is used to display the blog when no specific page template is available
  9. * to handle the request (based on $disp).
  10. *
  11. * @package evoskins
  12. * @subpackage firebug
  13. *
  14. * @version $Id: index.main.php,v 1.3 2008/04/15 21:53:31 fplanque Exp $
  15. */
  16. if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  17. if( version_compare( $app_version, '3.3' ) < 0 )
  18. { // Older skins (versions 2.x and above) should work on newer b2evo versions, but newer skins may not work on older b2evo versions.
  19. die( 'This skin is designed for b2evolution 3.3 and above. Please <a href="http://b2evolution.net/downloads/index.html">upgrade your b2evolution</a>.' );
  20. }
  21. // This is the main template; it may be used to display very different things.
  22. // Do inits depending on current $disp:
  23. skin_init( $disp );
  24. // -------------------------- HTML HEADER INCLUDED HERE --------------------------
  25. skin_include( '_html_header.inc.php' );
  26. // Note: You can customize the default HTML header by copying the generic
  27. // /skins/_html_header.inc.php file into the current skin folder.
  28. // -------------------------------- END OF HEADER --------------------------------
  29. ?>
  30. <?php
  31. // ------------------------- BODY HEADER INCLUDED HERE --------------------------
  32. skin_include( '_body_header.inc.php' );
  33. // Note: You can customize the default BODY header by copying the generic
  34. // /skins/_body_footer.inc.php file into the current skin folder.
  35. // ------------------------------- END OF HEADER --------------------------------
  36. ?>
  37. <div id="main">
  38. <div id="content">
  39. <?php
  40. // ------------------------- TITLE FOR THE CURRENT REQUEST -------------------------
  41. request_title( array(
  42. 'title_before'=> '<h2 class="sectionhead">',
  43. 'title_after' => '</h2>',
  44. 'title_none' => '',
  45. 'glue' => ' - ',
  46. 'title_single_disp' => true,
  47. 'format' => 'htmlbody',
  48. ) );
  49. // ------------------------------ END OF REQUEST TITLE -----------------------------
  50. ?>
  51. <?php
  52. // ------------------------- MESSAGES GENERATED FROM ACTIONS -------------------------
  53. messages( array(
  54. 'block_start' => '<div class="action_messages">',
  55. 'block_end' => '</div> <!-- end of class="action_messanges" -->',
  56. ) );
  57. // --------------------------------- END OF MESSAGES ---------------------------------
  58. ?>
  59. <?php
  60. // -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) --------------
  61. skin_include( '$disp$', array(
  62. ) );
  63. // Note: you can customize any of the sub templates included here by
  64. // copying the matching php file into your skin directory.
  65. // ------------------------- END OF MAIN CONTENT TEMPLATE ---------------------------
  66. ?>
  67. </div> <!-- end of id="content" -->
  68. </div> <!-- end of id="main" -->
  69. <?php
  70. // ------------------------- SIDEBAR INCLUDED HERE --------------------------
  71. skin_include( '_sidebar_right.inc.php' );
  72. // Note: You can customize the default BODY footer by copying the
  73. // _body_footer.inc.php file into the current skin folder.
  74. // ----------------------------- END OF SIDEBAR -----------------------------
  75. ?>
  76. <div class="clear"></div>
  77. <?php
  78. // ------------------------- BODY FOOTER INCLUDED HERE --------------------------
  79. skin_include( '_body_footer.inc.php' );
  80. // Note: You can customize the default BODY footer by copying the
  81. // _body_footer.inc.php file into the current skin folder.
  82. // ------------------------------- END OF FOOTER --------------------------------
  83. ?>
  84. </div> <!-- end of id="wrapper" -->
  85. <?php
  86. // ------------------------- HTML FOOTER INCLUDED HERE --------------------------
  87. skin_include( '_html_footer.inc.php' );
  88. // Note: You can customize the default HTML footer by copying the
  89. // _html_footer.inc.php file into the current skin folder.
  90. // ------------------------------- END OF FOOTER --------------------------------
  91. ?>