b2evolution PHP Cross Reference Blogging Systems

Source: /skins/glossyblue/index.main.php - 106 lines - 3835 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 glossyblue
  13   *
  14   * @version $Id: index.main.php 4275 2013-07-17 10:52:24Z yura $
  15   */
  16  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  17  
  18  if( version_compare( $app_version, '2.4.1' ) < 0 )
  19  { // 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.
  20      die( 'This skin is designed for b2evolution 2.4.1 and above. Please <a href="http://b2evolution.net/downloads/index.html">upgrade your b2evolution</a>.' );
  21  }
  22  
  23  // This is the main template; it may be used to display very different things.
  24  // Do inits depending on current $disp:
  25  skin_init( $disp );
  26  
  27  
  28  // -------------------------- HTML HEADER INCLUDED HERE --------------------------
  29  skin_include( '_html_header.inc.php' );
  30  // Note: You can customize the default HTML header by copying the generic
  31  // /skins/_html_header.inc.php file into the current skin folder.
  32  // -------------------------------- END OF HEADER --------------------------------
  33  ?>
  34  
  35  
  36  <?php
  37  // ------------------------- BODY HEADER INCLUDED HERE --------------------------
  38  skin_include( '_body_header.inc.php' );
  39  // Note: You can customize the default BODY heder by copying the generic
  40  // /skins/_body_footer.inc.php file into the current skin folder.
  41  // ------------------------------- END OF FOOTER --------------------------------
  42  ?>
  43  
  44  
  45  <div id="content" >
  46  
  47      <?php
  48          // ------------------------- MESSAGES GENERATED FROM ACTIONS -------------------------
  49          messages( array(
  50              'block_start' => '<div class="action_messages">',
  51              'block_end'   => '</div>',
  52          ) );
  53          // --------------------------------- END OF MESSAGES ---------------------------------
  54      ?>
  55  
  56      <?php
  57          // ------------------------- TITLE FOR THE CURRENT REQUEST -------------------------
  58          request_title( array(
  59                  'title_before'=> '<h2>',
  60                  'title_after' => '</h2>',
  61                  'title_none'  => '',
  62                  'glue'        => ' - ',
  63                  'title_single_disp' => true,
  64                  'format'      => 'htmlbody',
  65              ) );
  66          // ------------------------------ END OF REQUEST TITLE -----------------------------
  67      ?>
  68  
  69      <?php
  70          // -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) --------------
  71          skin_include( '$disp$', array(
  72                  'author_link_text' => 'preferredname',
  73              ) );
  74          // Note: you can customize any of the sub templates included here by
  75          // copying the matching php file into your skin directory.
  76          // ------------------------- END OF MAIN CONTENT TEMPLATE ---------------------------
  77      ?>
  78  
  79  </div>
  80  
  81  
  82  <?php
  83  // ------------------------- SIDEBAR INCLUDED HERE --------------------------
  84  skin_include( '_sidebar.inc.php' );
  85  // Note: You can customize the default BODY footer by copying the
  86  // _body_footer.inc.php file into the current skin folder.
  87  // ----------------------------- END OF SIDEBAR -----------------------------
  88  ?>
  89  
  90  
  91  <?php
  92  // ------------------------- BODY FOOTER INCLUDED HERE --------------------------
  93  skin_include( '_body_footer.inc.php' );
  94  // Note: You can customize the default BODY footer by copying the
  95  // _body_footer.inc.php file into the current skin folder.
  96  // ------------------------------- END OF FOOTER --------------------------------
  97  ?>
  98  
  99  
 100  <?php
 101  // ------------------------- HTML FOOTER INCLUDED HERE --------------------------
 102  skin_include( '_html_footer.inc.php' );
 103  // Note: You can customize the default HTML footer by copying the
 104  // _html_footer.inc.php file into the current skin folder.
 105  // ------------------------------- END OF FOOTER --------------------------------
 106  ?>

title

Description

title

Description

title

Description

title

title

Body