`view_orders` int(11) NOT NULL DEFAULT '0',
`accept_orders` int(11) NOT NULL DEFAULT '0',
`delete_orders` int(11) NOT NULL DEFAULT '0',
`add_tovar` int(11) NOT NULL DEFAULT '0',
`edit_tovar` int(11) NOT NULL DEFAULT '0',
`delete_tovar` int(11) NOT NULL DEFAULT '0',
`accept_reviews` int(11) NOT NULL DEFAULT '0',
`delete_reviews` int(11) NOT NULL DEFAULT '0',
`view_clients` int(11) NOT NULL DEFAULT '0',
`delete_clients` int(11) NOT NULL DEFAULT '0',
`add_news` int(11) NOT NULL DEFAULT '0',
`delete_news` int(11) NOT NULL DEFAULT '0',
`add_category` int(11) NOT NULL DEFAULT '0',
`delete_category` int(11) NOT NULL DEFAULT '0',
`view_admin` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
--
-- Дамп данных таблицы `reg_admin`
--
INSERT INTO `reg_admin` (`id`, `login`, `pass`, `fio`, `role`, `email`, `phone`, `view_orders`, `accept_orders`, `delete_orders`, `add_tovar`, `edit_tovar`, `delete_tovar`, `accept_reviews`, `delete_reviews`, `view_clients`, `delete_clients`, `add_news`, `delete_news`, `add_category`, `delete_category`, `view_admin`) VALUES
-- --------------------------------------------------------
--
-- Структура таблицы `reg_user`
--
CREATE TABLE IF NOT EXISTS `reg_user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`login` varchar(100) NOT NULL,
`pass` varchar(100) NOT NULL,
`surname` varchar(100) NOT NULL,
`name` varchar(100) NOT NULL,
`patronymic` varchar(100) NOT NULL,
`email` varchar(100) NOT NULL,
`phone` varchar(100) NOT NULL,
`address` text NOT NULL,
`datetime` datetime NOT NULL,
`ip` varchar(50) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ;
--
-- Дамп данных таблицы `reg_user`
--
INSERT INTO `reg_user` (`id`, `login`, `pass`, `surname`, `name`, `patronymic`, `email`, `phone`, `address`, `datetime`, `ip`) VALUES
-- --------------------------------------------------------
--
-- Структура таблицы `table_products`
--
CREATE TABLE IF NOT EXISTS `table_products` (