All Your Categories

The table below listing your ad categories is editable.

" . "

You can edit the category name or the associated comment by clicking on it. You can also set a category inactive (which means the ads belonging to it won't be served) by clicking on the green Active button. An inactive button will have a red Disabled label.

" . "

If you want to create a new category, please use the menu item New Category.

"); ?> getData('categories'); foreach ($categories as $cat) { extract($cat); if ($active) { $class = 'success'; } else { $class = 'danger'; } $bannerCount = $db->getCount('banners', array('category' => $id)); $htmlCount = $db->getCount('htmlAds', array('category' => $id)); echo << EOF; } ?>
Name Comment Banners HTML Ads Active?
$name $comment $bannerCount $htmlCount