b2evolution PHP Cross Reference Blogging Systems

Source: /skins/evocamp/index.main.php - 122 lines - 4257 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 evocamp
  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 header by copying the generic
  40  // /skins/_body_footer.inc.php file into the current skin folder.
  41  // ------------------------------- END OF FOOTER --------------------------------
  42  ?>
  43  
  44  <div id="page">
  45  
  46      <div id="contentleft">
  47  
  48      <?php
  49      // ------------------------- SIDEBAR INCLUDED HERE --------------------------
  50      skin_include( '_sidebar_left.inc.php' );
  51      // Note: You can customize the default BODY footer by copying the
  52      // _body_footer.inc.php file into the current skin folder.
  53      // ----------------------------- END OF SIDEBAR -----------------------------
  54      ?>
  55  
  56      <div id="content">
  57  
  58      <?php
  59          // ------------------------- TITLE FOR THE CURRENT REQUEST -------------------------
  60          request_title( array(
  61                  'title_before'=> '<h2 class="sectionhead">',
  62                  'title_after' => '</h2>',
  63                  'title_none'  => '',
  64                  'glue'        => ' - ',
  65                  'title_single_disp' => true,
  66                  'format'      => 'htmlbody',
  67              ) );
  68          // ------------------------------ END OF REQUEST TITLE -----------------------------
  69      ?>
  70  
  71  
  72      <?php
  73          // ------------------------- MESSAGES GENERATED FROM ACTIONS -------------------------
  74          messages( array(
  75              'block_start' => '<div class="action_messages">',
  76              'block_end'   => '</div>',
  77          ) );
  78          // --------------------------------- END OF MESSAGES ---------------------------------
  79      ?>
  80  
  81  
  82      <?php
  83          // -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) --------------
  84          skin_include( '$disp$', array(
  85                  'author_link_text' => 'preferredname',
  86              ) );
  87          // Note: you can customize any of the sub templates included here by
  88          // copying the matching php file into your skin directory.
  89          // ------------------------- END OF MAIN CONTENT TEMPLATE ---------------------------
  90      ?>
  91  
  92  
  93      </div>
  94  
  95  </div>
  96  
  97  <?php
  98  // ------------------------- SIDEBAR INCLUDED HERE --------------------------
  99  skin_include( '_sidebar_right.inc.php' );
 100  // Note: You can customize the default BODY footer by copying the
 101  // _body_footer.inc.php file into the current skin folder.
 102  // ----------------------------- END OF SIDEBAR -----------------------------
 103  ?>
 104  
 105  </div>
 106  
 107  <?php
 108  // ------------------------- BODY FOOTER INCLUDED HERE --------------------------
 109  skin_include( '_body_footer.inc.php' );
 110  // Note: You can customize the default BODY footer by copying the
 111  // _body_footer.inc.php file into the current skin folder.
 112  // ------------------------------- END OF FOOTER --------------------------------
 113  ?>
 114  
 115  
 116  <?php
 117  // ------------------------- HTML FOOTER INCLUDED HERE --------------------------
 118  skin_include( '_html_footer.inc.php' );
 119  // Note: You can customize the default HTML footer by copying the
 120  // _html_footer.inc.php file into the current skin folder.
 121  // ------------------------------- END OF FOOTER --------------------------------
 122  ?>

title

Description

title

Description

title

Description

title

title

Body