[ Index ]
 

Code source de b2evolution 2.1.0-beta

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/blogs/skins/evocamp/ -> index.main.php (source)

   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 zeke

  13   *

  14   * @version $Id: index.main.php,v 1.1 2007/10/08 21:30:14 fplanque Exp $

  15   */
  16  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  17  
  18  // This is the main template; it may be used to display very different things.

  19  // Do inits depending on current $disp:

  20  skin_init( $disp );
  21  
  22  
  23  // -------------------------- HTML HEADER INCLUDED HERE --------------------------

  24  skin_include( '_html_header.inc.php' );
  25  // Note: You can customize the default HTML header by copying the generic

  26  // /skins/_html_header.inc.php file into the current skin folder.

  27  // -------------------------------- END OF HEADER --------------------------------

  28  ?>
  29  
  30  
  31  <?php
  32  // ------------------------- BODY HEADER INCLUDED HERE --------------------------

  33  skin_include( '_body_header.inc.php' );
  34  // Note: You can customize the default BODY heder by copying the generic

  35  // /skins/_body_footer.inc.php file into the current skin folder.

  36  // ------------------------------- END OF FOOTER --------------------------------

  37  ?>
  38  
  39  <div id="page">
  40  
  41      <div id="contentleft">
  42  
  43      <?php
  44      // ------------------------- SIDEBAR INCLUDED HERE --------------------------

  45      skin_include( '_sidebar_left.inc.php' );
  46      // Note: You can customize the default BODY footer by copying the

  47      // _body_footer.inc.php file into the current skin folder.

  48      // ----------------------------- END OF SIDEBAR -----------------------------

  49      ?>
  50  
  51      <div id="content">
  52  
  53      <?php
  54          // ------------------------- TITLE FOR THE CURRENT REQUEST -------------------------

  55          request_title( array(
  56                  'title_before'=> '<h2 class="sectionhead">',
  57                  'title_after' => '</h2>',
  58                  'title_none'  => '',
  59                  'glue'        => ' - ',
  60                  'title_single_disp' => true,
  61                  'format'      => 'htmlbody',
  62              ) );
  63          // ------------------------------ END OF REQUEST TITLE -----------------------------

  64      ?>
  65  
  66  
  67      <?php
  68          // ------------------------- MESSAGES GENERATED FROM ACTIONS -------------------------

  69          messages( array(
  70              'block_start' => '<div class="action_messages">',
  71              'block_end'   => '</div>',
  72          ) );
  73          // --------------------------------- END OF MESSAGES ---------------------------------

  74      ?>
  75  
  76  
  77      <?php
  78          // -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) --------------

  79          skin_include( '$disp$', array(
  80              ) );
  81          // Note: you can customize any of the sub templates included here by

  82          // copying the matching php file into your skin directory.

  83          // ------------------------- END OF MAIN CONTENT TEMPLATE ---------------------------

  84      ?>
  85  
  86  
  87      </div>
  88  
  89  </div>
  90  
  91  <?php
  92  // ------------------------- SIDEBAR INCLUDED HERE --------------------------

  93  skin_include( '_sidebar_right.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 SIDEBAR -----------------------------

  97  ?>
  98  
  99  </div>
 100  
 101  <?php
 102  // ------------------------- BODY FOOTER INCLUDED HERE --------------------------

 103  skin_include( '_body_footer.inc.php' );
 104  // Note: You can customize the default BODY footer by copying the

 105  // _body_footer.inc.php file into the current skin folder.

 106  // ------------------------------- END OF FOOTER --------------------------------

 107  ?>
 108  
 109  
 110  <?php
 111  // ------------------------- HTML FOOTER INCLUDED HERE --------------------------

 112  skin_include( '_html_footer.inc.php' );
 113  // Note: You can customize the default HTML footer by copying the

 114  // _html_footer.inc.php file into the current skin folder.

 115  // ------------------------------- END OF FOOTER --------------------------------

 116  ?>


Généré le : Thu Nov 29 23:58:50 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics