/b2evolution/pixel/index.main.php
http://laibcomsthemes.googlecode.com/ · PHP · 123 lines · 51 code · 24 blank · 48 comment · 2 complexity · 3e703c900d2375c3a0f7307f723cf36d MD5 · raw file
- <?php
- /**
- * This is the main/default page template.
- *
- * For a quick explanation of b2evo 2.0 skins, please start here:
- * {@link http://manual.b2evolution.net/Skins_2.0}
- *
- * The main page template is used to display the blog when no specific page template is available
- * to handle the request (based on $disp).
- *
- * @package evoskins
- * @subpackage pixel
- *
- * @version $Id: index.main.php,v 1.3 2008/04/15 21:53:31 fplanque Exp $
- */
- if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
-
- if( version_compare( $app_version, '3.3' ) < 0 )
- { // Older skins (versions 2.x and above) should work on newer b2evo versions, but newer skins may not work on older b2evo versions.
- die( 'This skin is designed for b2evolution 3.3 and above. Please <a href="http://b2evolution.net/downloads/index.html">upgrade your b2evolution</a>.' );
- }
-
- // This is the main template; it may be used to display very different things.
- // Do inits depending on current $disp:
- skin_init( $disp );
-
-
- // -------------------------- HTML HEADER INCLUDED HERE --------------------------
- skin_include( '_html_header.inc.php' );
- // Note: You can customize the default HTML header by copying the generic
- // /skins/_html_header.inc.php file into the current skin folder.
- // -------------------------------- END OF HEADER --------------------------------
- ?>
-
-
- <?php
- // ------------------------- BODY HEADER INCLUDED HERE --------------------------
- skin_include( '_body_header.inc.php' );
- // Note: You can customize the default BODY header by copying the generic
- // /skins/_body_footer.inc.php file into the current skin folder.
- // ------------------------------- END OF HEADER --------------------------------
- ?>
-
- <div id="main">
-
- <div id="contentwrapper">
-
- <div id="content">
-
- <?php
- // ------------------------- TITLE FOR THE CURRENT REQUEST -------------------------
- request_title( array(
- 'title_before'=> '<h2 class="sectionhead">',
- 'title_after' => '</h2>',
- 'title_none' => '',
- 'glue' => ' - ',
- 'title_single_disp' => true,
- 'format' => 'htmlbody',
- ) );
- // ------------------------------ END OF REQUEST TITLE -----------------------------
- ?>
-
-
- <?php
- // ------------------------- MESSAGES GENERATED FROM ACTIONS -------------------------
- messages( array(
- 'block_start' => '<div class="action_messages">',
- 'block_end' => '</div> <!-- end of class="action_messages" -->',
- ) );
- // --------------------------------- END OF MESSAGES ---------------------------------
- ?>
-
-
- <?php
- // -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) --------------
- skin_include( '$disp$', array(
- ) );
- // Note: you can customize any of the sub templates included here by
- // copying the matching php file into your skin directory.
- // ------------------------- END OF MAIN CONTENT TEMPLATE ---------------------------
- ?>
-
-
- </div> <!-- end of id="content" -->
- </div> <!-- end of id="contentwrapper" -->
-
-
- <?php
- // ------------------------- SIDEBAR INCLUDED HERE --------------------------
- skin_include( '_sidebar_right.inc.php' );
- // Note: You can customize the default BODY footer by copying the
- // _body_footer.inc.php file into the current skin folder.
- // ----------------------------- END OF SIDEBAR -----------------------------
- ?>
-
- <div class="cleared"></div>
- </div> <!-- end of id="main" -->
-
- <?php
- // ------------------------- SIDEBAR INCLUDED HERE --------------------------
- skin_include( '_sidebar_bottom.inc.php' );
- // Note: You can customize the default BODY footer by copying the
- // _body_footer.inc.php file into the current skin folder.
- // ----------------------------- END OF SIDEBAR -----------------------------
- ?>
-
-
- <?php
- // ------------------------- BODY FOOTER INCLUDED HERE --------------------------
- skin_include( '_body_footer.inc.php' );
- // Note: You can customize the default BODY footer by copying the
- // _body_footer.inc.php file into the current skin folder.
- // ------------------------------- END OF FOOTER --------------------------------
- ?>
-
-
- <?php
- // ------------------------- HTML FOOTER INCLUDED HERE --------------------------
- skin_include( '_html_footer.inc.php' );
- // Note: You can customize the default HTML footer by copying the
- // _html_footer.inc.php file into the current skin folder.
- // ------------------------------- END OF FOOTER --------------------------------
- ?>