Beispiel #1
0
function wpi_do_sidebars_range($start = 1, $end = 3)
{
    $cnt = 1;
    $option = array();
    foreach (range($start, $end) as $index) {
        $css_class = $cnt === 1 ? 'class="cf"' : null;
        echo '<dd id="sidebar-' . $cnt . '" ' . $css_class . '>' . "\n";
        wpi_dynamic_sidebar($index);
        echo '</dd>' . "\n";
        $cnt++;
    }
}
Beispiel #2
0
wpi_section_start('content-bottom');
rewind_posts();
if (have_posts()) {
    ?>
		<div id="main-bottom" class="start">
<?php 
    wpi_template_content_bottom();
    wpi_pagination();
    ?>
		
<?php 
} else {
    wpi_template_nopost();
    ?>
	
<?php 
}
?>
		</div>
		<div id="sidebar-bottom" class="fl">
				<dl class="xoxo">					
					<dd id="sidebar-3" class="cf">
					<?php 
wpi_dynamic_sidebar(3);
?>
					</dd>
				</dl>
		</div>		
<?php 
wpi_section_end();
get_footer();
Beispiel #3
0
    echo $classname;
    ?>
">
					<?php 
    wpi_dynamic_sidebar(5);
    ?>
					</dd>					
					<?php 
}
?>
					<?php 
if (sidebar_has_widgets(6)) {
    ?>
					<dd id="sidebar-3-single" class="<?php 
    echo $classname;
    ?>
">
					<?php 
    wpi_dynamic_sidebar(6);
    ?>
					</dd>					
					<?php 
}
?>
					
				</dl>
		</div>		
<?php 
wpi_section_end();
comments_template();
get_footer();
Beispiel #4
0
    wpi_current_template();
    wpi_pagination();
    ?>
		
<?php 
} else {
    wpi_template_nopost();
    ?>
	
<?php 
}
?>
		</div>		
<?php 
wpi_section_end();
if (wpiSidebar::hasWidget(10)) {
    wpi_section_start('content-mid');
    ?>
		<div id="sidebar-mid">
				<dl class="xoxo w cf">					
					<dd id="sidebar-2" class="cf">
					<?php 
    wpi_dynamic_sidebar(10);
    ?>
					</dd>
				</dl>
		</div>
<?php 
    wpi_section_end();
}
get_footer();
Beispiel #5
0
    echo $classname;
    ?>
">
					<?php 
    wpi_dynamic_sidebar(8);
    ?>
					</dd>					
					<?php 
}
?>
					<?php 
if (sidebar_has_widgets(9)) {
    ?>
					<dd id="sidebar-3-page" class="<?php 
    echo $classname;
    ?>
">
					<?php 
    wpi_dynamic_sidebar(9);
    ?>
					</dd>					
					<?php 
}
?>
										
				</dl>
		</div>		
<?php 
wpi_section_end();
comments_template();
get_footer();
Beispiel #6
0
    wpi_current_template();
    wpi_pagination();
    ?>
		
<?php 
} else {
    wpi_template_nopost();
    ?>
	
<?php 
}
?>
		</div>		
<?php 
wpi_section_end();
if (wpiSidebar::hasWidget(11)) {
    wpi_section_start('content-mid');
    ?>
		<div id="sidebar-mid">
				<dl class="xoxo w cf">					
					<dd id="sidebar-2" class="cf">
					<?php 
    wpi_dynamic_sidebar(11);
    ?>
					</dd>
				</dl>
		</div>
<?php 
    wpi_section_end();
}
get_footer();
Beispiel #7
0
					<?php 
        wpi_dynamic_sidebar(14);
        ?>
					</dd>					
					<?php 
    }
    ?>
					<?php 
    if (sidebar_has_widgets(15)) {
        ?>
					<dd id="sidebar-3-author" class="<?php 
        echo $classname;
        ?>
">
					<?php 
        wpi_dynamic_sidebar(15);
        ?>
					</dd>					
					<?php 
    }
    ?>
					
				</dl>
		</div>		
		<?php 
}
?>
		
<?php 
wpi_section_end();
get_footer();