} ?> <div class="clear"></div> <?php // home-page-before-content Widget Area $before_cont_1_is_active = sidebar_exist_and_active('home-page-before-content'); if ($before_cont_1_is_active) { // hide this area if no widgets are active... ?> <div id="before-content"> <div id="before-content-column" class="container_24"> <div class="home-page-divider pngfix"></div> <?php if ($before_cont_1_is_active) { echo get_dynamic_column('before-cont-box-1', 'column_3_of_3 home-cont-box', 'home-page-before-content'); } ?> <div class="home-page-divider pngfix"></div> </div> <!-- end before-content-column --> </div> <!-- end before-content --> <div class="clear"></div> <?php } ?> <div id="home-page-content">
if ($bottom_1_is_active && !$bottom_2_is_active && !$bottom_3_is_active && $bottom_4_is_active) { $output .= get_dynamic_column('bottom_1', 'one_half', 'bottom-widget-area-1'); $output .= get_dynamic_column('bottom_4', 'one_half last_column', 'bottom-widget-area-4'); } // 1 active: 4 cases if ($bottom_1_is_active && !$bottom_2_is_active && !$bottom_3_is_active && !$bottom_4_is_active) { $output .= get_dynamic_column('bottom_1', 'full_width', 'bottom-widget-area-1'); } if (!$bottom_1_is_active && $bottom_2_is_active && !$bottom_3_is_active && !$bottom_4_is_active) { $output .= get_dynamic_column('bottom_2', 'full_width', 'bottom-widget-area-2'); } if (!$bottom_1_is_active && !$bottom_2_is_active && $bottom_3_is_active && !$bottom_4_is_active) { $output .= get_dynamic_column('bottom_3', 'full_width', 'bottom-widget-area-3'); } if (!$bottom_1_is_active && !$bottom_2_is_active && !$bottom_3_is_active && $bottom_4_is_active) { $output .= get_dynamic_column('bottom_4', 'full_width', 'bottom-widget-area-4'); } echo $output; ?> </div> <!-- end bottom-content-padding --> </div> <!-- end bottom --> </div> <!-- end bottom-bg --> <div class="clear"></div> <?php }
if (!$cont_1_is_active && !$cont_2_is_active && $cont_3_is_active && $cont_4_is_active) { $output .= get_dynamic_column('cont-box-3', 'one_half home-cont-box', 'home-page-column-3'); $output .= get_dynamic_column('cont-box-4', 'one_half home-cont-box last_column', 'home-page-column-4'); } // 1 active: 4 cases if ($cont_1_is_active && !$cont_2_is_active && !$cont_3_is_active && !$cont_4_is_active) { $output .= get_dynamic_column('cont-box-1', 'full_width home-cont-box', 'home-page-column-1'); } if (!$cont_1_is_active && $cont_2_is_active && !$cont_3_is_active && !$cont_4_is_active) { $output .= get_dynamic_column('cont-box-2', 'full_width home-cont-box', 'home-page-column-2'); } if (!$cont_1_is_active && !$cont_2_is_active && $cont_3_is_active && !$cont_4_is_active) { $output .= get_dynamic_column('cont-box-3', 'full_width home-cont-box', 'home-page-column-3'); } if (!$cont_1_is_active && !$cont_2_is_active && !$cont_3_is_active && $cont_4_is_active) { $output .= get_dynamic_column('cont-box-4', 'full_width home-cont-box', 'home-page-column-4'); } // home-page-after-content-row-1 Widget Area // if ( $after_cont_row_1_is_active ) { // echo '<div class="clear"></div>'; // $output .= get_dynamic_column( 'after-cont-row-1', 'full_width home-cont-box', 'home-page-after-content-row-1' ); // } // // home-page-after-content-row-2 Widget Area // if ( $after_cont_row_2_is_active ) { // echo '<div class="clear"></div>'; // $output .= get_dynamic_column( 'after-cont-row-2', 'full_width home-cont-box', 'home-page-after-content-row-2' ); // // } echo $output; ?> <!-- <div class="cont_col_1 widget_text substitute_widget_class">
} if (!$cont_1_is_active && !$cont_2_is_active && $cont_3_is_active && !$cont_4_is_active) { $output .= get_dynamic_column('cont-box-3', 'full_width home-cont-box', 'home-page-column-3'); } if (!$cont_1_is_active && !$cont_2_is_active && !$cont_3_is_active && $cont_4_is_active) { $output .= get_dynamic_column('cont-box-4', 'full_width home-cont-box', 'home-page-column-4'); } // home-page-after-content-row-1 Widget Area if ($after_cont_row_1_is_active) { echo '<div class="clear"></div>'; $output .= get_dynamic_column('after-cont-row-1', 'full_width home-cont-box', 'home-page-after-content-row-1'); } // home-page-after-content-row-2 Widget Area if ($after_cont_row_2_is_active) { echo '<div class="clear"></div>'; $output .= get_dynamic_column('after-cont-row-2', 'full_width home-cont-box', 'home-page-after-content-row-2'); } echo $output; ?> </div> <!-- end main-content-padding --> </div> <!-- end main-content --> </div> <!-- end content-container --> <div class="clear"></div> <?php } ?>