CREATE TABLE ?_ad_rotator_places (
  `place_id` int(11) NOT NULL auto_increment,
  `name` varchar(300) NOT NULL default '',
  `describe` text,
  `active` tinyint(4) NOT NULL default '0',
  PRIMARY KEY  (`place_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

CREATE TABLE ?_ad_rotator_values (
  `value_id` int(11) NOT NULL auto_increment,
  `place_id` int(11) NOT NULL,
  `name` varchar(200) NOT NULL default '',
  `value` varchar(1024) NOT NULL default '',
  `rate` tinyint(4) NOT NULL default '1',
  `active` tinyint(4) NOT NULL default '0',
  PRIMARY KEY  (`value_id`),
  KEY `place_id` (`place_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;