HasHeader)
{
print '
' . "\n";
}
if($_CONTROL->HasLeftColumn)
{
print '' . "\n";
if($_CONTROL->LeftPanelContentBlocks)
{
foreach( $_CONTROL->aryLeftPanelContentBlocks as $childBlockView )
if($childBlockView instanceof ContentBlockController)
$childBlockView->Render();
}
print '
' . "\n";
}
// We assume at least the center panel exists ..
print '' . "\n";
if($_CONTROL->CenterPanelContentBlocks)
{
foreach( $_CONTROL->aryCenterPanelContentBlocks as $childBlockView )
if($childBlockView instanceof ContentBlockController)
$childBlockView->Render();
}
print '
' . "\n";
if($_CONTROL->HasRightColumn)
{
print '' . "\n";
if($_CONTROL->RightPanelContentBlocks)
{
foreach( $_CONTROL->aryRightPanelContentBlocks as $childBlockView )
if($childBlockView instanceof ContentBlockController)
$childBlockView->Render();
}
print '
' . "\n";
}
if($_CONTROL->HasFooter)
{
print ' ' . "\n";
}
// Now for all the free radicals .. these are only constrained by the index.tpl.php PageContainer div
if($_CONTROL->ExtraContentBlocks)
{
foreach( $_CONTROL->aryExtraContentBlocks as $childBlockView )
if($childBlockView instanceof ContentBlockController )
$childBlockView->Render();
}
?>