';
else
echo '
';
} // end if ($link != '') {
echo $a_banner_load['description'][$banner_group_id][$key_banner];
if ($link != '')
echo '';
} elseif ($a_group_banner_config['banner_type'][$banner_group_id] == 'Banner') { // end if ($a_group_banner_config['banner_type'][$banner_group_id] == 'Text') {
if ( ($a_banner_load['html_file'][$banner_group_id][$key_banner] != '') && checkSwiffyBrowser() )
$image = $a_banner_load['html_file'][$banner_group_id][$key_banner];
if ( $image != '' ) {
$thisPath = 'uploads/banner/' . $image;
$aSize = @getimagesize($thisPath);
$width = $a_group_banner_config['banner_width'][$banner_group_id];
$height = $a_group_banner_config['banner_height'][$banner_group_id];
$aSize[0] = ((int)$aSize[0] > $width)?$width:(int)$aSize[0];
$aSize[1] = ((int)$aSize[1] > $height)?$height:(int)$aSize[1];
$aType = explode(".", $image);
$stype = $aType[count($aType)-1];
if ($stype == 'html') {
?>
';
} else { // end if ($link == '') {
if ($linkToOutSite)
echo '
';
else
echo '';
echo '
';
echo '';
} // if ($link == '') {
} else { // end if ($stype != 'swf') {
?>
$image) {
} // end if (count($a_banner_load['image'][$banner_group_id]) > 0) {
for ($i=$allBanner; $i<$showDefaultBanner; $i++) {
//for ($i=1; $i<2; $i++) {
?>