-- phpMyAdmin SQL Dump -- version 3.4.5 -- http://www.phpmyadmin.net -- -- Хост: open-server:3306 -- Время создания: Ноя 19 2011 г., 02:30 -- Версия сервера: 5.1.59 -- Версия PHP: 5.3.8 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 */; -- -- База данных: `johnlite` -- -- -------------------------------------------------------- -- -- Структура таблицы `cms_ban_ip` -- CREATE TABLE IF NOT EXISTS `cms_ban_ip` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `ip1` bigint(11) NOT NULL DEFAULT '0', `ip2` bigint(11) NOT NULL DEFAULT '0', `ban_type` tinyint(4) NOT NULL DEFAULT '0', `link` varchar(100) NOT NULL, `who` varchar(25) NOT NULL, `reason` text NOT NULL, `date` int(11) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `ip1` (`ip1`), UNIQUE KEY `ip2` (`ip2`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Структура таблицы `cms_ban_users` -- CREATE TABLE IF NOT EXISTS `cms_ban_users` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL DEFAULT '0', `ban_time` int(11) NOT NULL DEFAULT '0', `ban_while` int(11) NOT NULL DEFAULT '0', `ban_type` tinyint(4) NOT NULL DEFAULT '1', `ban_who` varchar(30) NOT NULL DEFAULT '', `ban_ref` int(11) NOT NULL DEFAULT '0', `ban_reason` text NOT NULL, `ban_raz` varchar(30) NOT NULL DEFAULT '', PRIMARY KEY (`id`), KEY `user_id` (`user_id`), KEY `ban_time` (`ban_time`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Структура таблицы `cms_sessions` -- CREATE TABLE IF NOT EXISTS `cms_sessions` ( `session_id` char(32) NOT NULL DEFAULT '', `ip` bigint(11) NOT NULL DEFAULT '0', `ip_via_proxy` bigint(11) NOT NULL DEFAULT '0', `browser` varchar(255) NOT NULL DEFAULT '', `lastdate` int(10) unsigned NOT NULL DEFAULT '0', `sestime` int(10) unsigned NOT NULL DEFAULT '0', `views` int(10) unsigned NOT NULL DEFAULT '0', `movings` smallint(5) unsigned NOT NULL DEFAULT '0', `place` varchar(100) NOT NULL DEFAULT '', PRIMARY KEY (`session_id`), KEY `lastdate` (`lastdate`), KEY `place` (`place`(10)) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Структура таблицы `cms_settings` -- CREATE TABLE IF NOT EXISTS `cms_settings` ( `key` tinytext NOT NULL, `val` text NOT NULL, PRIMARY KEY (`key`(30)) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Дамп данных таблицы `cms_settings` -- INSERT INTO `cms_settings` (`key`, `val`) VALUES ('homeurl', 'http://johnlite'), ('email', 'webmaster@johnlite'), ('timeshift', '0'), ('copyright', 'Powered by JohnCMS'), ('admp', 'panel'), ('flsz', '4000'), ('clean_time', '1321650605'), ('mod_reg', '2'), ('meta_key', ''), ('meta_desc', 'Powered by JohnCMS http://johncms.com'), ('skindef', 'default'), ('kmess', '9'), ('antiflood', 'a:5:{s:4:"mode";i:2;s:3:"day";i:10;s:5:"night";i:30;s:7:"dayfrom";i:10;s:5:"dayto";i:22;}'), ('active', '1'); -- -------------------------------------------------------- -- -- Структура таблицы `cms_users_iphistory` -- CREATE TABLE IF NOT EXISTS `cms_users_iphistory` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `user_id` int(10) unsigned NOT NULL, `ip` bigint(11) NOT NULL DEFAULT '0', `ip_via_proxy` bigint(11) NOT NULL DEFAULT '0', `time` int(10) unsigned NOT NULL, PRIMARY KEY (`id`), KEY `user_id` (`user_id`), KEY `user_ip` (`ip`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Структура таблицы `users` -- CREATE TABLE IF NOT EXISTS `users` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(25) NOT NULL DEFAULT '', `name_lat` varchar(40) NOT NULL DEFAULT '', `password` varchar(32) NOT NULL DEFAULT '', `rights` int(1) NOT NULL DEFAULT '0', `failed_login` tinyint(4) NOT NULL DEFAULT '0', `imname` varchar(25) NOT NULL DEFAULT '', `sex` varchar(2) NOT NULL DEFAULT '', `yearofbirth` int(4) NOT NULL DEFAULT '0', `datereg` int(11) NOT NULL DEFAULT '0', `lastdate` int(11) NOT NULL DEFAULT '0', `mail` varchar(50) NOT NULL DEFAULT '', `about` text NOT NULL, `live` varchar(50) NOT NULL DEFAULT '', `status` text NOT NULL, `ip` bigint(11) NOT NULL DEFAULT '0', `ip_via_proxy` bigint(11) NOT NULL DEFAULT '0', `browser` text NOT NULL, `time` int(11) NOT NULL DEFAULT '0', `preg` tinyint(1) NOT NULL DEFAULT '0', `regadm` varchar(25) NOT NULL DEFAULT '', `mailvis` tinyint(1) NOT NULL DEFAULT '0', `dayb` int(2) NOT NULL DEFAULT '0', `monthb` int(2) NOT NULL DEFAULT '0', `sestime` int(15) NOT NULL DEFAULT '0', `total_on_site` int(11) NOT NULL DEFAULT '0', `lastpost` int(11) NOT NULL, `rest_code` varchar(32) NOT NULL, `rest_time` int(11) NOT NULL, `movings` int(11) NOT NULL DEFAULT '0', `place` varchar(30) NOT NULL, `timeshift` int(2) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `name_lat` (`name_lat`), KEY `lastdate` (`lastdate`), KEY `place` (`place`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; -- -- Дамп данных таблицы `users` -- INSERT INTO `users` (`id`, `name`, `name_lat`, `password`, `rights`, `failed_login`, `imname`, `sex`, `yearofbirth`, `datereg`, `lastdate`, `mail`, `about`, `live`, `status`, `ip`, `ip_via_proxy`, `browser`, `time`, `preg`, `regadm`, `mailvis`, `dayb`, `monthb`, `sestime`, `total_on_site`, `lastpost`, `rest_code`, `rest_time`, `movings`, `place`, `timeshift`) VALUES (1, 'admin', 'admin', '1f32aa4c9a1d2ea010adcf2348166a04', 9, 0, '', 'm', 0, 1321474599, 1321655256, 'webmaster@johnlite', '', '', '', 2130706437, 0, 'Opera/9.80 (Windows NT 5.1; U; ru) Presto/2.9.168 Version/11.51', 0, 1, '', 0, 0, 0, 1321654011, 4813, 0, '', 0, 15, 'mainpage', 3); /*!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 */;