b2evolution PHP Cross Reference Blogging Systems

Source: /skins/intense/index.main.php - 97 lines - 3756 bytes - Text - Print

Description: This is the main/default page template.

   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://b2evolution.net/man/skin-structure}
   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 intense
  13   */
  14  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  15  
  16  if( version_compare( $app_version, '3.3.1' ) < 0 )
  17  { // Older 2.x skins work on newer 2.x b2evo versions, but newer 2.x skins may not work on older 2.x b2evo versions.
  18      die( 'This skin is designed for b2evolution 3.3.1 and above. Please <a href="http://b2evolution.net/downloads/index.html">upgrade your b2evolution</a>.' );
  19  }
  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  
  25  
  26  // -------------------------- HTML HEADER INCLUDED HERE --------------------------
  27  skin_include( '_html_header.inc.php' );
  28  // Note: You can customize the default HTML header by copying the generic
  29  // /skins/_html_header.inc.php file into the current skin folder.
  30  // -------------------------------- END OF HEADER --------------------------------
  31  
  32  
  33  // ------------------------- BODY HEADER INCLUDED HERE --------------------------
  34  skin_include( '_body_header.inc.php' );
  35  // Note: You can customize the default BODY header by copying the generic
  36  // /skins/_body_footer.inc.php file into the current skin folder.
  37  // ------------------------------- END OF FOOTER --------------------------------
  38  ?>
  39  
  40  
  41  <div id="content">
  42  
  43      <?php
  44  
  45          // ------------------------- MESSAGES GENERATED FROM ACTIONS -------------------------
  46          messages( array(
  47              'block_start' => '<div class="action_messages">',
  48              'block_end'   => '</div>',
  49          ) );
  50          // --------------------------------- END OF MESSAGES ---------------------------------
  51  
  52          // ------------------------- TITLE FOR THE CURRENT REQUEST -------------------------
  53          request_title( array(
  54                  'title_before'      => '<h2>',
  55                  'title_after'       => '</h2>',
  56                  'title_none'        => '',
  57                  'glue'              => ' - ',
  58                  'title_single_disp' => true,
  59                  'format'            => 'htmlbody',
  60              ) );
  61          // ------------------------------ END OF REQUEST TITLE -----------------------------
  62      ?>
  63  
  64      <?php
  65          // -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) --------------
  66          skin_include( '$disp$', array(
  67                  'author_link_text' => 'preferredname',
  68              ) );
  69          // Note: you can customize any of the sub templates included here by
  70          // copying the matching php file into your skin directory.
  71          // ------------------------- END OF MAIN CONTENT TEMPLATE ---------------------------
  72      ?>
  73  
  74  </div>
  75  
  76  
  77  <?php
  78  // ------------------------- SIDEBAR INCLUDED HERE --------------------------
  79  skin_include( '_sidebar.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 SIDEBAR -----------------------------
  83  
  84  
  85  // ------------------------- BODY FOOTER INCLUDED HERE --------------------------
  86  skin_include( '_body_footer.inc.php' );
  87  // Note: You can customize the default BODY footer by copying the
  88  // _body_footer.inc.php file into the current skin folder.
  89  // ------------------------------- END OF FOOTER --------------------------------
  90  
  91  
  92  // ------------------------- HTML FOOTER INCLUDED HERE --------------------------
  93  skin_include( '_html_footer.inc.php' );
  94  // Note: You can customize the default HTML footer by copying the
  95  // _html_footer.inc.php file into the current skin folder.
  96  // ------------------------------- END OF FOOTER --------------------------------
  97  ?>

title

Description

title

Description

title

Description

title

title

Body