"; }else{ if($clickUrl == ""){ $tmpData = ""; }else{ $tmpData = ""; } } if($width > 130){ $bigBannerArray[$bannerId]["output"] = "$tmpData"; }else{ /* $totalHeight += $height; if($height > 60){ $smallButHighBannerArray[$bannerId]["output"] = "$tmpData"; $smallButHighBannerArray[$bannerId]["height"] = "$height"; }else{ $smallBannerArray[$bannerId]["output"] = "$tmpData"; $smallBannerArray[$bannerId]["height"] = "$height"; } */ $smallBannerArray[$bannerId]["output"] = "$tmpData"; } $exposures++; modifyBanner("$bannerId", "", "", "", "", "", "", "", "$exposures", "", ""); } ?> 0){ ?> $value){ echo " "; } } /* if(count($bigBannerArray) == 0){ foreach ($smallBannerArray as $key => $value){ echo " "; } }else{ $finalArray = array_merge($smallButHighBannerArray, $smallBannerArray); $currentHeight = 0; echo "\n"; } */ echo "\n"; ?>
".$bigBannerArray[$key]["output"]."
".$smallBannerArray[$key]["output"]."
\n"; foreach ($finalArray as $key => $value){ if(($currentHeight >= ($totalHeight/2)) AND ($loop != true)){ echo "\n"; $loop = true; } echo $finalArray[$key]["output"]."

\n"; $currentHeight += $finalArray[$key]["height"]; } echo "
\n"; foreach ($smallBannerArray as $key => $value){ echo $smallBannerArray[$key]["output"]."

\n"; } echo "
"; echo "
"; if(count($placeIdArray)>1){ echo ""; } echo "
"; echo "