PageRenderTime 26ms CodeModel.GetById 16ms app.highlight 4ms RepoModel.GetById 2ms app.codeStats 0ms

/b2evolution/pixel/index.main.php

http://laibcomsthemes.googlecode.com/
PHP | 123 lines | 51 code | 24 blank | 48 comment | 2 complexity | 3e703c900d2375c3a0f7307f723cf36d MD5 | raw file
  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 pixel
 13 *
 14 * @version $Id: index.main.php,v 1.3 2008/04/15 21:53:31 fplanque Exp $
 15 */
 16if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
 17
 18if( version_compare( $app_version, '3.3' ) < 0 )
 19{ // Older skins (versions 2.x and above) should work on newer b2evo versions, but newer skins may not work on older b2evo versions.
 20	die( 'This skin is designed for b2evolution 3.3 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:
 25skin_init( $disp );
 26
 27
 28// -------------------------- HTML HEADER INCLUDED HERE --------------------------
 29skin_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 --------------------------
 38skin_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 HEADER --------------------------------
 42?>
 43
 44<div id="main">
 45
 46	<div id="contentwrapper">
 47
 48	<div id="content">
 49
 50	<?php
 51		// ------------------------- TITLE FOR THE CURRENT REQUEST -------------------------
 52		request_title( array(
 53				'title_before'=> '<h2 class="sectionhead">',
 54				'title_after' => '</h2>',
 55				'title_none'  => '',
 56				'glue'        => ' - ',
 57				'title_single_disp' => true,
 58				'format'      => 'htmlbody',
 59			) );
 60		// ------------------------------ END OF REQUEST TITLE -----------------------------
 61	?>
 62
 63
 64	<?php
 65		// ------------------------- MESSAGES GENERATED FROM ACTIONS -------------------------
 66		messages( array(
 67			'block_start' => '<div class="action_messages">',
 68			'block_end'   => '</div> <!-- end of class="action_messages" -->',
 69		) );
 70		// --------------------------------- END OF MESSAGES ---------------------------------
 71	?>
 72
 73
 74	<?php
 75		// -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) --------------
 76		skin_include( '$disp$', array(
 77			) );
 78		// Note: you can customize any of the sub templates included here by
 79		// copying the matching php file into your skin directory.
 80		// ------------------------- END OF MAIN CONTENT TEMPLATE ---------------------------
 81	?>
 82
 83
 84	</div> <!-- end of id="content" -->
 85	</div> <!-- end of id="contentwrapper" -->
 86
 87
 88<?php
 89// ------------------------- SIDEBAR INCLUDED HERE --------------------------
 90skin_include( '_sidebar_right.inc.php' );
 91// Note: You can customize the default BODY footer by copying the
 92// _body_footer.inc.php file into the current skin folder.
 93// ----------------------------- END OF SIDEBAR -----------------------------
 94?>
 95
 96	<div class="cleared"></div>
 97</div> <!-- end of id="main" -->
 98
 99<?php
100// ------------------------- SIDEBAR INCLUDED HERE --------------------------
101skin_include( '_sidebar_bottom.inc.php' );
102// Note: You can customize the default BODY footer by copying the
103// _body_footer.inc.php file into the current skin folder.
104// ----------------------------- END OF SIDEBAR -----------------------------
105?>
106
107
108<?php
109// ------------------------- BODY FOOTER INCLUDED HERE --------------------------
110skin_include( '_body_footer.inc.php' );
111// Note: You can customize the default BODY footer by copying the
112// _body_footer.inc.php file into the current skin folder.
113// ------------------------------- END OF FOOTER --------------------------------
114?>
115
116
117<?php
118// ------------------------- HTML FOOTER INCLUDED HERE --------------------------
119skin_include( '_html_footer.inc.php' );
120// Note: You can customize the default HTML footer by copying the
121// _html_footer.inc.php file into the current skin folder.
122// ------------------------------- END OF FOOTER --------------------------------
123?>