The meta data items displayed with the banners below are editable. Click on any underlined quantity to edit it. Click on the thumbnail of the banner to see it in full size.

By default, this editor shows only those banners that lack some required data. If you would like to se all banners, including those with all the required info already entered, please click on the Show button.

"); $catSource = EZ::mkCatSource(); $catNames = EZ::mkCatNames(); $actSource = "[{value: 1, text: 'Active'}, {value:0, text: 'Disabled'}]"; $noBanners = true; foreach ($banners as $b) { $color = "#ddd"; if (!empty($bannerMeta[$b])) { // banner in the DB extract($bannerMeta[$b]); $class = "class='all hideable'"; $style = "style='background-color:$color'"; $catName = $catNames[$category]; } else { $id = $title = $target = $category = $active = $size = ''; $md5 = md5($b); $iSize = getimagesize($b); $width = $iSize[0]; $height = $iSize[1]; $size = "{$width}x{$height}"; $noBanners = false; } $style = ""; if (empty($target)) { $color = blush($color); $style = "style='background-color:$color'"; $class = "class='all shown'"; $noBanners = false; } if (empty($title)) { $color = blush($color); $style = "style='background-color:$color'"; $class = "class='all shown'"; $noBanners = false; } if (empty($catName) || $catName == 'unknown') { $color = blush($color); $style = "style='background-color:$color'"; $class = "class='all shown'"; $noBanners = false; } $iSize = getimagesize($b); echo <<
$b
$target
$title
$width $width
$catName


$id
$b
EOF; } if ($noBanners) { ?>
All your banners seem to have all the required information in the database. If you want to see and modify the information, please click on the "Show" button above.