Execute("select banners_title, banners_image, banners_html_text from " . TABLE_BANNERS . " where banners_id = '" . (int)$banners_id . "'"); $page_title = $banner->fields['banners_title']; if ($banner->fields['banners_html_text']) { $image_source = $banner->fields['banners_html_text']; } elseif ($banner->fields['banners_image']) { $image_source = zen_image(DIR_WS_CATALOG_IMAGES . $banner->fields['banners_image'], $page_title); } break; } } ?> >