DROP TABLE IF EXISTS `!PREFIX!_cat_art`;

CREATE TABLE `!PREFIX!_cat_art` (
  `idcatart` int(11) NOT NULL auto_increment,
  `idcat` int(11) NOT NULL default '0',
  `idart` int(11) NOT NULL default '0',
  `is_start` tinyint(1) NOT NULL default '0',
  `status` int(11) NOT NULL default '0',
  `author` varchar(32) NOT NULL,
  `created` datetime NOT NULL default '0000-00-00 00:00:00',
  `lastmodified` datetime NOT NULL default '0000-00-00 00:00:00',
  `createcode` tinyint(1) NOT NULL default '1',
  PRIMARY KEY  (`idcatart`),
  KEY `is_start_2` (`is_start`,`idcat`),
  KEY `idart` (`idart`),
  KEY `idcat` (`idcat`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=0;

INSERT INTO `!PREFIX!_cat_art` (`idcatart`, `idcat`, `idart`, `is_start`, `status`, `author`, `created`, `lastmodified`, `createcode`) VALUES
(84, 1, 77, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(2, 3, 2, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(12, 2, 3, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(6, 4, 6, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(7, 4, 7, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(8, 4, 8, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(9, 4, 9, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(10, 4, 10, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(14, 2, 12, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(15, 5, 13, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(17, 2, 15, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(18, 30, 16, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(19, 28, 17, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(21, 12, 19, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(22, 26, 20, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(23, 25, 21, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(27, 8, 24, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(32, 9, 29, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(34, 10, 31, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(35, 13, 32, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(36, 11, 33, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(59, 46, 55, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(48, 29, 45, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(49, 6, 46, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(53, 40, 50, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(54, 41, 51, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(55, 43, 52, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(56, 44, 53, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(57, 45, 54, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(58, 4, 43, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(60, 47, 56, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(62, 48, 58, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(63, 13, 59, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(64, 13, 60, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(65, 49, 61, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(67, 13, 63, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(68, 51, 64, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(69, 52, 65, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(70, 54, 66, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(71, 55, 67, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(72, 53, 68, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(73, 56, 69, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(74, 57, 70, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(81, 56, 74, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(82, 56, 75, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(83, 56, 76, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(85, 41, 78, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(89, 63, 82, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(90, 64, 83, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(91, 66, 84, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(92, 67, 85, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(93, 65, 86, 0, 0, 'sysadmin', NOW(), NOW(), 1),
(94, 68, 87, 0, 0, 'sysadmin', NOW(), NOW(), 1);