PageRenderTime 25ms CodeModel.GetById 17ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/b2evolution/firebug/index.main.php

http://laibcomsthemes.googlecode.com/
PHP | 113 lines | 47 code | 22 blank | 44 comment | 2 complexity | 5df22550de14e7fe88cb8e0c1a0acacc 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 firebug
 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="content">
 47
 48	<?php
 49		// ------------------------- TITLE FOR THE CURRENT REQUEST -------------------------
 50		request_title( array(
 51				'title_before'=> '<h2 class="sectionhead">',
 52				'title_after' => '</h2>',
 53				'title_none'  => '',
 54				'glue'        => ' - ',
 55				'title_single_disp' => true,
 56				'format'      => 'htmlbody',
 57			) );
 58		// ------------------------------ END OF REQUEST TITLE -----------------------------
 59	?>
 60
 61
 62	<?php
 63		// ------------------------- MESSAGES GENERATED FROM ACTIONS -------------------------
 64		messages( array(
 65			'block_start' => '<div class="action_messages">',
 66			'block_end'   => '</div> <!-- end of class="action_messanges" -->',
 67		) );
 68		// --------------------------------- END OF MESSAGES ---------------------------------
 69	?>
 70
 71
 72	<?php
 73		// -------------- MAIN CONTENT TEMPLATE INCLUDED HERE (Based on $disp) --------------
 74		skin_include( '$disp$', array(
 75			) );
 76		// Note: you can customize any of the sub templates included here by
 77		// copying the matching php file into your skin directory.
 78		// ------------------------- END OF MAIN CONTENT TEMPLATE ---------------------------
 79	?>
 80
 81
 82			</div> <!-- end of id="content" -->
 83
 84		</div> <!-- end of id="main" -->
 85
 86
 87<?php
 88// ------------------------- SIDEBAR INCLUDED HERE --------------------------
 89skin_include( '_sidebar_right.inc.php' );
 90// Note: You can customize the default BODY footer by copying the
 91// _body_footer.inc.php file into the current skin folder.
 92// ----------------------------- END OF SIDEBAR -----------------------------
 93?>
 94
 95		<div class="clear"></div>
 96
 97<?php
 98// ------------------------- BODY FOOTER INCLUDED HERE --------------------------
 99skin_include( '_body_footer.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 FOOTER --------------------------------
103?>
104
105	</div> <!-- end of id="wrapper" -->
106
107<?php
108// ------------------------- HTML FOOTER INCLUDED HERE --------------------------
109skin_include( '_html_footer.inc.php' );
110// Note: You can customize the default HTML footer by copying the
111// _html_footer.inc.php file into the current skin folder.
112// ------------------------------- END OF FOOTER --------------------------------
113?>