/*
$blocksDisplayed=0;
foreach($blockPoolBlocks as $block){
//make sure user doesn't try to display this block, otherwise it's an infinate loop.
if( intval($bID)==intval($block->getBlockID()) ) continue;
$bv = new BlockView();
$bv->render($block);
$blocksDisplayed++;
if( intval($displayCount)>0 && $blocksDisplayed>=$displayCount ) break;
}
*/
if ($area) $area->display($page);
else {
foreach($blockPoolBlocks as $block){
//make sure user doesn't try to display this block, otherwise it's an infinate loop.
if( intval($bID)==intval($block->getBlockID()) ) continue;
$bv = new BlockView();
$bv->render($block);
$blocksDisplayed++;
//if( intval($displayCount)>0 && $blocksDisplayed>=$displayCount ) break;
}
}
?>