
CREATE TABLE IF NOT EXISTS `rekl` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(32) NOT NULL,
  `img` varchar(64) NOT NULL,
  `link` varchar(64) NOT NULL,
  `time_last` int(11) NOT NULL,
  `sel` set('1','2','3','4') NOT NULL DEFAULT '1',
  `count` int(11) NOT NULL DEFAULT '0',
  `dop_str` set('0','1') NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `sel` (`sel`),
  KEY `time_last` (`time_last`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;

INSERT INTO `rekl` (`id`, `name`, `img`, `link`, `time_last`, `sel`, `count`, `dop_str`) VALUES
(1, 'WAPLOG', 'http://c.waplog.net/399223.cnt', 'http://waplog.net/c.shtml?399223', 1445288984, '3', 0, '0'),
(2, 'waplog', 'http://c.waplog.net/399224.cnt', 'http://waplog.net/c.shtml?399224', 1445289022, '4', 0, '0');
