Display Function : showBanner

Posted on Wed, 18 May 2011


showBanner($page,$id,$section,$size,$range)

Display a banner from the Banners Admin. Use $size OR $range (not both).

$page = received from URL - do not change
$id = received from URL - do not change
$section = received from URL - do not change
$size = set exact pixel size match for banner spot
example usage: '125x125' shows only 125px by 125px banners.
$range = set a size range, minwidth x minheight | maxwidth x maxheight
example usage: '300x40|380x200' shows all banners 300px wide to 380px wide and 40px high by 200px high.


Tag cloud

cms tutorials design
Right column custom page. You can add anything you want here or disable it. This page displays on 2-column and 3-column Bootstrap layouts.