Файл: install/table_globalcms701.sql
Строк: 230
-- phpMyAdmin SQL Dump
-- version 3.5.1
-- http://www.phpmyadmin.net
--
--
Хост: 127.0.0.1
-- Время создания: Мар 02 2016 г.,
02:17
-- Версия сервера: 5.5.25
-- Версия PHP:
5.3.13
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone =
"+00:00";
/*!40101 SET
@OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET
@OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET
@OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES
utf8 */;
--
-- База данных: `cms71`
--
--
--------------------------------------------------------
--
--
Структура таблицы `albom_pav`
--
CREATE TABLE IF NOT
EXISTS `albom_pav` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user`
int(11) NOT NULL,
`name` text NOT NULL,
`obl` int(11) NOT NULL,
`text` text NOT NULL,
`time` int(11) NOT NULL,
PRIMARY KEY (`id`)
)
ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--
--------------------------------------------------------
--
--
Структура таблицы `antimessage`
--
CREATE TABLE IF NOT
EXISTS `antimessage` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`mess`
varchar(80) NOT NULL,
`messoff` varchar(80) NOT NULL,
PRIMARY KEY
(`id`),
KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251
AUTO_INCREMENT=1 ;
--
--------------------------------------------------------
--
--
Структура таблицы `ban`
--
CREATE TABLE IF NOT EXISTS
`ban` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`yaid` int(11) NOT NULL,
`ip` char(30) NOT NULL,
`type` text NOT NULL,
`iduser` int(11) NOT
NULL,
`text` text NOT NULL,
`bantime` int(11) NOT NULL,
`time`
int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8
AUTO_INCREMENT=1 ;
--
--------------------------------------------------------
--
--
Структура таблицы `comes`
--
CREATE TABLE IF NOT EXISTS
`comes` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user` int(11) NOT
NULL,
`idwh` int(11) NOT NULL,
`text` text NOT NULL,
`where` text NOT
NULL,
`time` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM
DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--
--------------------------------------------------------
--
--
Структура таблицы `country`
--
CREATE TABLE IF NOT EXISTS
`country` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` text NOT
NULL,
`name_eng` text NOT NULL,
`icon` text NOT NULL,
PRIMARY KEY
(`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--
--------------------------------------------------------
--
--
Структура таблицы `country_city`
--
CREATE TABLE IF NOT
EXISTS `country_city` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name`
text NOT NULL,
`name_eng` text NOT NULL,
`yandex_id` int(11) NOT NULL,
`country` int(11) NOT NULL,
`region` int(11) NOT NULL,
PRIMARY KEY
(`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--
--------------------------------------------------------
--
--
Структура таблицы `country_region`
--
CREATE TABLE IF NOT
EXISTS `country_region` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name`
text NOT NULL,
`region` int(11) NOT NULL,
`country` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1
;
-- --------------------------------------------------------
--
--
Структура таблицы `dialogs`
--
CREATE TABLE IF NOT EXISTS
`dialogs` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user` varchar(14)
NOT NULL,
`oid` int(11) NOT NULL,
`time` int(11) NOT NULL,
PRIMARY
KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--
--------------------------------------------------------
--
--
Структура таблицы `faq`
--
CREATE TABLE IF NOT EXISTS
`faq` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`sid` int(11) NOT NULL,
`name` text NOT NULL,
`text` text NOT NULL,
PRIMARY KEY (`id`)
)
ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--
--------------------------------------------------------
--
--
Структура таблицы `files`
--
CREATE TABLE IF NOT EXISTS
`files` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`what` varchar(255) NOT
NULL,
`where` int(11) NOT NULL,
`url` text NOT NULL,
`info` text NOT
NULL,
`format` text NOT NULL,
`name` varchar(255) NOT NULL,
`user`
int(11) NOT NULL,
`pass` varchar(8) NOT NULL,
`time` int(11) NOT NULL,
`load` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `id` (`id`)
)
ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--
--------------------------------------------------------
--
--
Структура таблицы `lenta`
--
CREATE TABLE IF NOT EXISTS
`lenta` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT
NULL,
`type` int(11) NOT NULL,
`text` text NOT NULL,
`from` int(11)
NOT NULL,
`url` text NOT NULL,
`status` int(1) NOT NULL DEFAULT '1',
`where` int(11) NOT NULL DEFAULT '0',
`time` int(11) NOT NULL,
PRIMARY
KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--
--------------------------------------------------------
--
--
Структура таблицы `mail`
--
CREATE TABLE IF NOT EXISTS
`mail` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`fid` int(11) NOT NULL,
`oid` int(11) NOT NULL,
`dialog` int(11) NOT NULL,
`title`
varchar(150) NOT NULL,
`text` text NOT NULL,
`read`
enum('yes','no','save') NOT NULL DEFAULT 'no',
`time` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1
;
-- --------------------------------------------------------
--
--
Структура таблицы `menu`
--
CREATE TABLE IF NOT EXISTS
`menu` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` text NOT NULL,
`tip` varchar(40) NOT NULL,
`url` text NOT NULL,
`chet` varchar(40) NOT
NULL,
`icon` varchar(40) NOT NULL,
`sid` int(11) NOT NULL,
`info`
text NOT NULL,
`time` int(11) NOT NULL,
PRIMARY KEY (`id`)
)
ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--
--------------------------------------------------------
--
--
Структура таблицы `nuts`
--
CREATE TABLE IF NOT EXISTS
`nuts` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user` int(11) NOT
NULL,
`idwh` int(11) NOT NULL,
`where` text NOT NULL,
`time` int(11)
NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8
AUTO_INCREMENT=1 ;
--
--------------------------------------------------------
--
--
Структура таблицы `online`
--
CREATE TABLE IF NOT EXISTS
`online` (
`login` varchar(40) NOT NULL,
`id` int(11) NOT NULL,
`session` varchar(100) NOT NULL,
`ip` char(30) NOT NULL,
`browser`
varchar(100) NOT NULL,
`where` text NOT NULL,
`time` int(11) NOT NULL
)
ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Дамп данных
таблицы `online`
--
INSERT INTO `online` (`login`, `id`, `session`,
`ip`, `browser`, `where`, `time`) VALUES
('admin', 1,
'i5250fmev6o0681t4jmacp5me6', '127.0.0.1', 'Mozilla/5.0 (Windows NT 6.1;
WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safa',
'<a href="/">На главной</a>',
1456870678);
--
--------------------------------------------------------
--
--
Структура таблицы `reit`
--
CREATE TABLE IF NOT EXISTS
`reit` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`kto` int(11) NOT NULL,
`komy` int(11) NOT NULL,
`text` text NOT NULL,
`rei` int(11) NOT
NULL,
`where` text NOT NULL,
`time` int(11) NOT NULL,
PRIMARY KEY
(`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--
--------------------------------------------------------
--
--
Структура таблицы `reklama`
--
CREATE TABLE IF NOT EXISTS
`reklama` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(60)
NOT NULL,
`url` text NOT NULL,
`img` text NOT NULL,
`poz` int(2) NOT
NULL,
`type` text NOT NULL,
`people` int(11) NOT NULL,
`time` int(11)
NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8
AUTO_INCREMENT=1 ;
--
--------------------------------------------------------
--
--
Структура таблицы `report`
--
CREATE TABLE IF NOT EXISTS
`report` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user` int(11) NOT
NULL,
`uid` int(11) NOT NULL,
`text` text NOT NULL,
`come` text NOT
NULL,
`type` text NOT NULL,
`time` int(11) NOT NULL,
PRIMARY KEY
(`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--
--------------------------------------------------------
--
--
Структура таблицы `settings`
--
CREATE TABLE IF NOT EXISTS
`settings` (
`name` text NOT NULL,
`parametr` text NOT NULL,
`comments` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
--
Дамп данных таблицы `settings`
--
INSERT INTO `settings`
(`name`, `parametr`, `comments`) VALUES
('siteopen', 'off',
'Технический перерыв (on- включён, off-
выключен)'),
('web', '1', 'Доступна ли web версия
сайта(1-Да,0-нет))'),
('timezone', 'Europe/Moscow',
'Временная зона'),
('rules', 'Правила сайта
пока что не установлены.', 'Правила для
сайта'),
('bbcodes', 'off', 'Включены ли BB коды (on-
включены, off-выключены)'),
('sys_mail', '1',
'Системные уведомления
(1-включены,0-отключены)'),
('copyright', 'yes',
'Вставлять ли копирай на изображения (yes-
вставлять, no-нет)'),
('smiles', 'off', 'Стикеры
сайта (on-включены, off-выключены)'),
('title',
'Новый сайт', 'Заголовок сайта'),
('kopy',
'Новый сайт', 'Копирайт снизу
сайта'),
('keywords', 'Новый сайт на GlobalCMS',
'Ключевые слова сайта'),
('description', 'Новый
сайт на GlobalCMS', 'Описание сайта'),
('timeus', '500',
'Время нахождения пользователей в
онлайн(в секундах)'),
('timeguest', '450', 'Время
нахождения гостей в онлайн(в
секундах)'),
('cron', '86400', 'Время,через
которое будет выполняться проверка и
очистка мусора'),
('crontime', '1456957069',
'Время,когда была выполнена последняя
очистка мусора'),
('capcha', '1', 'Отображается
ли капча (0-да,1-капча
отключена)'),
('captcha_eazy', '3', 'Сложност капчи
(1-только цифры,2-только буквы латинского
алфавита,3-буквы и цифры)'),
('rega', '2', 'Тип
регистрации на сайте
(1-закрытая,2-открытая,3-по одобрению
администрации)'),
('ststyle', 'gcms', 'Стандартный
стиль сайта'),
('top', '1', 'Статистика сайта
(0-выключена,1-включена)'),
('floodfiles', '0',
'Время,через которое можно загрузить
следующий файл'),
('ogrfiles', '0', 'Сколько
необходимо баллов для загрузки
файлов'),
('bonus', '0', 'Бонус баллов при
регистрации'),
('floodpm', '10', 'Время,через
которое можно написать следующее личное
сообщение'),
('floodkom', '10', 'Время между
сообщениями'),
('sys_mail', '1', 'Отправлять
уведомления о новых личных сообщениях на
email (0-выключено,1-включено)'),
('max_import', '10',
'Максимальный размер для загрузки файлов
(в байтах)'),
('stena', '0', 'Включены ли личные
стены пользователей (0-нет,1-да)'),
('geopos', '0',
'Геолокация(система городов и стран)
(0-выключена,1-включена)'),
('time_online_users', '0',
'Вести и отображать подсчёт времени
пользователей в сети (0-нет,1-да)'),
('date_reg',
'0', 'Отображение даты регистрации
пользователям (0-нет,1-да). Администрация
может проверить дату регистрации при
проверке пользователя'),
('dinamyc_files', '0',
'Возможность прикреплять файлы в почте и
к записям на стене(0-нет,1-да)'),
('warning_email',
'0', 'Возможна ли регистрация множества
аккаунтов с одинаковым email. (0-да,1-нет)');
--
--------------------------------------------------------
--
--
Структура таблицы `stickers`
--
CREATE TABLE IF NOT EXISTS
`stickers` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`file` varchar(120)
NOT NULL,
`cat` int(11) NOT NULL,
`name` text NOT NULL,
PRIMARY KEY
(`id`),
KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251
AUTO_INCREMENT=1 ;
--
--------------------------------------------------------
--
--
Структура таблицы `stickers_cat`
--
CREATE TABLE IF NOT
EXISTS `stickers_cat` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`sid`
int(11) NOT NULL,
`cena` int(11) NOT NULL,
`user` int(11) NOT NULL,
`md` int(1) NOT NULL,
`name` text NOT NULL,
PRIMARY KEY (`id`),
KEY
`id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;
--
--------------------------------------------------------
--
--
Структура таблицы `styles`
--
CREATE TABLE IF NOT EXISTS
`styles` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` text NOT NULL,
`url` text NOT NULL,
`time` int(11) NOT NULL,
PRIMARY KEY (`id`)
)
ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
--
-- Дамп
данных таблицы `styles`
--
INSERT INTO `styles` (`id`,
`name`, `url`, `time`) VALUES
(1, 'Стандартный стиль',
'gcms', 1456870660);
--
--------------------------------------------------------
--
--
Структура таблицы `top`
--
CREATE TABLE IF NOT EXISTS
`top` (
`agent` text NOT NULL,
`user` text NOT NULL,
`id` int(11) NOT
NULL,
`ip` text NOT NULL,
`hits` int(11) NOT NULL,
`time` int(11) NOT
NULL,
`day` int(11) NOT NULL,
`month` int(11) NOT NULL
) ENGINE=MyISAM
DEFAULT CHARSET=utf8;
--
-- Дамп данных таблицы
`top`
--
INSERT INTO `top` (`agent`, `user`, `id`, `ip`, `hits`, `time`,
`day`, `month`) VALUES
('Mozilla/5.0 (Windows NT 6.1; WOW64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36
OPR/35.0.2066.82', 'Windows 7', 1, '127.0.0.1', 9, 1456870669, 2, 3);
--
--------------------------------------------------------
--
--
Структура таблицы `users`
--
CREATE TABLE IF NOT EXISTS
`users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`login` varchar(40) NOT
NULL,
`pass` varchar(100) NOT NULL,
`email` varchar(50) NOT NULL,
`email_act` enum('yes','no') NOT NULL,
`site` varchar(40) NOT NULL,
`level` tinyint(2) NOT NULL DEFAULT '1',
`name` varchar(40) NOT NULL,
`otch` varchar(60) NOT NULL,
`fami` varchar(40) NOT NULL,
`foto`
varchar(80) NOT NULL,
`sex` enum('m','w') NOT NULL,
`day` tinyint(2)
NOT NULL,
`month` tinyint(2) NOT NULL,
`year` smallint(4) NOT NULL,
`status` varchar(11) NOT NULL,
`city` int(11) NOT NULL,
`number` text
NOT NULL,
`balls` int(9) NOT NULL,
`skype` varchar(11) NOT NULL,
`do`
text NOT NULL,
`interes` text NOT NULL,
`about` text NOT NULL,
`music` text NOT NULL,
`films` text NOT NULL,
`games` text NOT NULL,
`act` enum('yes','no') NOT NULL,
`actid` int(9) NOT NULL,
`mail` int(1)
NOT NULL,
`ip` char(30) NOT NULL DEFAULT 'Null',
`browser` varchar(100)
NOT NULL DEFAULT 'Null',
`sort` char(4) NOT NULL DEFAULT 'ASC',
`style`
varchar(11) NOT NULL,
`num` tinyint(2) NOT NULL DEFAULT '10',
`forma`
int(1) NOT NULL,
`stenacom` int(1) NOT NULL,
`stenazap` int(1) NOT
NULL,
`height` int(3) NOT NULL DEFAULT '3',
`width` int(3) NOT NULL
DEFAULT '20',
`lasttime` int(11) NOT NULL,
`time` int(11) NOT NULL,
`online` int(11) NOT NULL,
`money` int(11) NOT NULL,
`autoritet`
int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT
CHARSET=utf8 AUTO_INCREMENT=3 ;
--
-- Дамп данных таблицы
`users`
--
INSERT INTO `users` (`id`, `login`, `pass`, `email`,
`email_act`, `site`, `level`, `name`, `otch`, `fami`, `foto`, `sex`, `day`,
`month`, `year`, `status`, `city`, `number`, `balls`, `skype`, `do`,
`interes`, `about`, `music`, `films`, `games`, `act`, `actid`, `mail`,
`ip`, `browser`, `sort`, `style`, `num`, `forma`, `stenacom`, `stenazap`,
`height`, `width`, `lasttime`, `time`, `online`, `money`, `autoritet`)
VALUES
(1, 'admin', '14e1b600b1fd579f47433b88e8d85291', '', 'yes', '', 7,
'', '', '', '', 'm', 0, 0, 0, '', 0, '', 0, '', '', '', '', '', '', '',
'yes', 0, 0, '127.0.0.1', 'Mozilla/5.0 (Windows NT 6.1; WOW64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safa', 'ASC',
'gcms', 10, 0, 0, 0, 3, 15, 1456870678, 1456870660, 0, 0, 0),
(2,
'Система', '0a69937fbc7c90f1bf48b90c1ae6a283', '', 'yes', '', 1, '',
'', '', '', 'm', 0, 0, 0, '', 0, '', 0, '', '', '', '', '', '', '', 'yes',
0, 1, 'Null', 'Null', 'ASC', 'gcms', 10, 0, 1, 1, 3, 15, 0, 1456870660, 0,
0, 0);
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT
*/;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS
*/;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;