PageRenderTime 293ms CodeModel.GetById 151ms app.highlight 2ms RepoModel.GetById 138ms app.codeStats 0ms

/b2evolution/nonzero/_sidebar_right.inc.php

http://laibcomsthemes.googlecode.com/
PHP | 54 lines | 25 code | 8 blank | 21 comment | 8 complexity | 388bef18972ebb34ce7f6ffe0bb3bd3d MD5 | raw file
 1<?php
 2/**
 3 * This is the SIDEBAR include template.
 4 *
 5 * This is meant to be included in a page template.
 6 *
 7 * @package evoskins
 8 * @subpackage nonzero
 9 */
10if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
11
12// By default, this does nothing.  It's just here to simplify the includes of different sidebars, minimizing edits.
13
14?>
15
16<?php
17if( $Skin->get_setting('column_count') == '3' )
18{
19	echo '<div id="secondaryContent_3columns">';
20}
21elseif( $Skin->get_setting('column_count') == '2' )
22{
23	echo '<div id="secondaryContent_2columns">';
24}
25
26	if( $Skin->get_setting('column_count') == '3' )
27	{
28	// ------------------------- SIDEBAR INCLUDED HERE --------------------------
29	skin_include( '_sidebar-w-1.inc.php' );
30	// Note: You can customize the default BODY footer by copying the
31	// _body_footer.inc.php file into the current skin folder.
32	// ----------------------------- END OF SIDEBAR -----------------------------
33	}
34
35	// ------------------------- SIDEBAR INCLUDED HERE --------------------------
36	skin_include( '_sidebar-1.inc.php' );
37	// Note: You can customize the default BODY footer by copying the
38	// _body_footer.inc.php file into the current skin folder.
39	// ----------------------------- END OF SIDEBAR -----------------------------
40
41	if( $Skin->get_setting('column_count') == '3' )
42	{
43	// ------------------------- SIDEBAR INCLUDED HERE --------------------------
44	skin_include( '_sidebar-2.inc.php' );
45	// Note: You can customize the default BODY footer by copying the
46	// _body_footer.inc.php file into the current skin folder.
47	// ----------------------------- END OF SIDEBAR -----------------------------
48	}
49?>
50
51	<div class="clear"></div>
52
53</div> <!-- end of id="secondaryContent_Xcolumns" -->
54<div class="clear"></div>