DROP TABLE IF EXISTS `site_plugin_popups_log`;
CREATE TABLE `site_plugin_popups_log` (
  `log_id` int(11) NOT NULL AUTO_INCREMENT,
  `log_type` int(1) NOT NULL,
  `log_user` int(11) NOT NULL,
  `log_date` int(11) NOT NULL,
  `log_url` int(11) NOT NULL,
  `log_user_agent` text NOT NULL,
  `log_language` text NOT NULL,
  `log_remote_addr` varchar(20) NOT NULL,
  `log_referer` text NOT NULL,
  `log_page` text NOT NULL,
  PRIMARY KEY (`log_id`),
  UNIQUE KEY `log_id` (`log_id`),
  KEY `log_remote_addr` (`log_remote_addr`),
  KEY `log_url` (`log_url`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
