Ushaev,
----------------
CREATE TABLE IF NOT EXISTS `gallery` (
`id` int(11) NOT NULL auto_increment,
`refid` int(11) NOT NULL,
`time` int(11) NOT NULL,
`type` char(2) NOT NULL,
`avtor` varchar(25) NOT NULL,
`text` text NOT NULL,
`name` text NOT NULL,
`user` binary(1) NOT NULL,
`ip` text NOT NULL,
`soft` text NOT NULL,
PRIMARY KEY (`id`),
KEY `refid` (`refid`),
KEY `time` (`time`),
KEY `type` (`type`),
KEY `avtor` (`avtor`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;