| 1 |
-- phpMyAdmin SQL Dump |
|---|
| 2 |
-- version 3.3.7 |
|---|
| 3 |
-- http://www.phpmyadmin.net |
|---|
| 4 |
-- |
|---|
| 5 |
-- Хост: localhost |
|---|
| 6 |
-- Время создания: Янв 28 2011 г., 14:47 |
|---|
| 7 |
-- Версия сервера: 5.1.40 |
|---|
| 8 |
-- Версия PHP: 5.3.3 |
|---|
| 9 |
|
|---|
| 10 |
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; |
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|---|
| 14 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|---|
| 15 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|---|
| 16 |
/*!40101 SET NAMES utf8 */; |
|---|
| 17 |
|
|---|
| 18 |
-- |
|---|
| 19 |
-- База данных: `test` |
|---|
| 20 |
-- |
|---|
| 21 |
|
|---|
| 22 |
-- -------------------------------------------------------- |
|---|
| 23 |
|
|---|
| 24 |
-- |
|---|
| 25 |
-- Структура таблицы `banlist` |
|---|
| 26 |
-- |
|---|
| 27 |
|
|---|
| 28 |
DROP TABLE IF EXISTS `banlist`; |
|---|
| 29 |
CREATE TABLE IF NOT EXISTS `banlist` ( |
|---|
| 30 |
`ban_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 31 |
`ban_userid` mediumint(8) NOT NULL DEFAULT '0', |
|---|
| 32 |
`ban_ip` varchar(16) DEFAULT '', |
|---|
| 33 |
`ban_email` varchar(255) DEFAULT NULL, |
|---|
| 34 |
`ban_added` int(11) NOT NULL DEFAULT '0', |
|---|
| 35 |
`ban_until` int(11) NOT NULL DEFAULT '0', |
|---|
| 36 |
`ban_type` tinyint(1) NOT NULL DEFAULT '0', |
|---|
| 37 |
PRIMARY KEY (`ban_id`), |
|---|
| 38 |
KEY `ban_ip_user_id` (`ban_ip`,`ban_userid`), |
|---|
| 39 |
KEY `ban_type` (`ban_type`) |
|---|
| 40 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 41 |
|
|---|
| 42 |
-- |
|---|
| 43 |
-- Дамп данных таблицы `banlist` |
|---|
| 44 |
-- |
|---|
| 45 |
|
|---|
| 46 |
|
|---|
| 47 |
-- -------------------------------------------------------- |
|---|
| 48 |
|
|---|
| 49 |
-- |
|---|
| 50 |
-- Структура таблицы `bookmarks` |
|---|
| 51 |
-- |
|---|
| 52 |
|
|---|
| 53 |
DROP TABLE IF EXISTS `bookmarks`; |
|---|
| 54 |
CREATE TABLE IF NOT EXISTS `bookmarks` ( |
|---|
| 55 |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 56 |
`userid` int(10) unsigned DEFAULT '0', |
|---|
| 57 |
`torrentid` int(10) unsigned DEFAULT '0', |
|---|
| 58 |
PRIMARY KEY (`id`) |
|---|
| 59 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 60 |
|
|---|
| 61 |
-- |
|---|
| 62 |
-- Дамп данных таблицы `bookmarks` |
|---|
| 63 |
-- |
|---|
| 64 |
|
|---|
| 65 |
|
|---|
| 66 |
-- -------------------------------------------------------- |
|---|
| 67 |
|
|---|
| 68 |
-- |
|---|
| 69 |
-- Структура таблицы `categories` |
|---|
| 70 |
-- |
|---|
| 71 |
|
|---|
| 72 |
DROP TABLE IF EXISTS `categories`; |
|---|
| 73 |
CREATE TABLE IF NOT EXISTS `categories` ( |
|---|
| 74 |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 75 |
`name` varchar(255) DEFAULT NULL, |
|---|
| 76 |
`image` varchar(255) DEFAULT NULL, |
|---|
| 77 |
`cat_parent_id` int(10) DEFAULT NULL, |
|---|
| 78 |
`torrents_limit` int(11) DEFAULT '0', |
|---|
| 79 |
`anonymous_view` tinyint(1) DEFAULT '1', |
|---|
| 80 |
`allow_upload` tinyint(1) DEFAULT '0', |
|---|
| 81 |
PRIMARY KEY (`id`) |
|---|
| 82 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 83 |
|
|---|
| 84 |
-- |
|---|
| 85 |
-- Дамп данных таблицы `categories` |
|---|
| 86 |
-- |
|---|
| 87 |
|
|---|
| 88 |
|
|---|
| 89 |
-- -------------------------------------------------------- |
|---|
| 90 |
|
|---|
| 91 |
-- |
|---|
| 92 |
-- Структура таблицы `chat_messages` |
|---|
| 93 |
-- |
|---|
| 94 |
|
|---|
| 95 |
DROP TABLE IF EXISTS `chat_messages`; |
|---|
| 96 |
CREATE TABLE IF NOT EXISTS `chat_messages` ( |
|---|
| 97 |
`chat_msg_id` int(10) NOT NULL AUTO_INCREMENT, |
|---|
| 98 |
`chat_uid` int(10) NOT NULL DEFAULT '0', |
|---|
| 99 |
`chat_msg` text NOT NULL, |
|---|
| 100 |
`chat_msg_added` int(11) NOT NULL DEFAULT '0', |
|---|
| 101 |
`chat_user_ip` varchar(16) NOT NULL DEFAULT '', |
|---|
| 102 |
PRIMARY KEY (`chat_msg_id`), |
|---|
| 103 |
KEY `chat_uid` (`chat_uid`) |
|---|
| 104 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 105 |
|
|---|
| 106 |
-- |
|---|
| 107 |
-- Дамп данных таблицы `chat_messages` |
|---|
| 108 |
-- |
|---|
| 109 |
|
|---|
| 110 |
|
|---|
| 111 |
-- -------------------------------------------------------- |
|---|
| 112 |
|
|---|
| 113 |
-- |
|---|
| 114 |
-- Структура таблицы `cheaters` |
|---|
| 115 |
-- |
|---|
| 116 |
|
|---|
| 117 |
DROP TABLE IF EXISTS `cheaters`; |
|---|
| 118 |
CREATE TABLE IF NOT EXISTS `cheaters` ( |
|---|
| 119 |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 120 |
`added` int(11) DEFAULT '0', |
|---|
| 121 |
`userid` int(10) DEFAULT '0', |
|---|
| 122 |
`torrentid` int(10) DEFAULT '0', |
|---|
| 123 |
`che_useragent` varchar(60) DEFAULT NULL, |
|---|
| 124 |
`che_peer_id` blob, |
|---|
| 125 |
`rate` int(11) DEFAULT '0', |
|---|
| 126 |
`beforeup` bigint(20) DEFAULT '0', |
|---|
| 127 |
`upthis` bigint(20) DEFAULT '0', |
|---|
| 128 |
`timediff` varchar(255) DEFAULT NULL, |
|---|
| 129 |
`userip` varchar(16) DEFAULT NULL, |
|---|
| 130 |
PRIMARY KEY (`id`), |
|---|
| 131 |
KEY `userid` (`userid`), |
|---|
| 132 |
KEY `torrentid` (`torrentid`) |
|---|
| 133 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 134 |
|
|---|
| 135 |
-- |
|---|
| 136 |
-- Дамп данных таблицы `cheaters` |
|---|
| 137 |
-- |
|---|
| 138 |
|
|---|
| 139 |
|
|---|
| 140 |
-- -------------------------------------------------------- |
|---|
| 141 |
|
|---|
| 142 |
-- |
|---|
| 143 |
-- Структура таблицы `checkcomm` |
|---|
| 144 |
-- |
|---|
| 145 |
|
|---|
| 146 |
DROP TABLE IF EXISTS `checkcomm`; |
|---|
| 147 |
CREATE TABLE IF NOT EXISTS `checkcomm` ( |
|---|
| 148 |
`checkcomm_userid` int(10) DEFAULT '0', |
|---|
| 149 |
`checkcomm_notify_status` tinyint(1) DEFAULT '0', |
|---|
| 150 |
`checkcomm_view_status` tinyint(1) NOT NULL DEFAULT '0', |
|---|
| 151 |
`checkcomm_for_id` int(10) DEFAULT '0', |
|---|
| 152 |
`checkcomm_type` tinyint(1) DEFAULT '0', |
|---|
| 153 |
`checkcomm_last_comment_id` int(10) DEFAULT '0', |
|---|
| 154 |
KEY `userid` (`checkcomm_userid`), |
|---|
| 155 |
KEY `checkcomm_last_comment_id` (`checkcomm_last_comment_id`) |
|---|
| 156 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
|---|
| 157 |
|
|---|
| 158 |
-- |
|---|
| 159 |
-- Дамп данных таблицы `checkcomm` |
|---|
| 160 |
-- |
|---|
| 161 |
|
|---|
| 162 |
|
|---|
| 163 |
-- -------------------------------------------------------- |
|---|
| 164 |
|
|---|
| 165 |
-- |
|---|
| 166 |
-- Структура таблицы `comments` |
|---|
| 167 |
-- |
|---|
| 168 |
|
|---|
| 169 |
DROP TABLE IF EXISTS `comments`; |
|---|
| 170 |
CREATE TABLE IF NOT EXISTS `comments` ( |
|---|
| 171 |
`comment_id` int(10) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 172 |
`comment_user` int(10) unsigned DEFAULT '0', |
|---|
| 173 |
`comment_added` int(11) DEFAULT '0', |
|---|
| 174 |
`comment_text` text, |
|---|
| 175 |
`comment_editedby` int(10) unsigned DEFAULT '0', |
|---|
| 176 |
`comment_editedat` int(11) DEFAULT '0', |
|---|
| 177 |
`comment_type` tinyint(1) DEFAULT '0', |
|---|
| 178 |
`comment_for_id` int(10) DEFAULT '0', |
|---|
| 179 |
`comment_reputation` int(10) DEFAULT '0', |
|---|
| 180 |
PRIMARY KEY (`comment_id`), |
|---|
| 181 |
KEY `user` (`comment_user`), |
|---|
| 182 |
KEY `comment_for_id` (`comment_for_id`) |
|---|
| 183 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 184 |
|
|---|
| 185 |
-- |
|---|
| 186 |
-- Дамп данных таблицы `comments` |
|---|
| 187 |
-- |
|---|
| 188 |
|
|---|
| 189 |
|
|---|
| 190 |
-- -------------------------------------------------------- |
|---|
| 191 |
|
|---|
| 192 |
-- |
|---|
| 193 |
-- Структура таблицы `config` |
|---|
| 194 |
-- |
|---|
| 195 |
|
|---|
| 196 |
DROP TABLE IF EXISTS `config`; |
|---|
| 197 |
CREATE TABLE IF NOT EXISTS `config` ( |
|---|
| 198 |
`name` varchar(255) NOT NULL DEFAULT '', |
|---|
| 199 |
`value` varchar(255) DEFAULT NULL, |
|---|
| 200 |
`is_dynamic` tinyint(1) DEFAULT '0', |
|---|
| 201 |
PRIMARY KEY (`name`), |
|---|
| 202 |
KEY `is_dynamic` (`is_dynamic`) |
|---|
| 203 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
|---|
| 204 |
|
|---|
| 205 |
-- |
|---|
| 206 |
-- Дамп данных таблицы `config` |
|---|
| 207 |
-- |
|---|
| 208 |
|
|---|
| 209 |
INSERT INTO `config` (`name`, `value`, `is_dynamic`) VALUES |
|---|
| 210 |
('siteonline', '1', 0), |
|---|
| 211 |
('onlinesince', UNIX_TIMESTAMP(NOW()), 0), |
|---|
| 212 |
('sitename', '', 0), |
|---|
| 213 |
('autoclean_last_run_clean_peers', '1296214237', 1), |
|---|
| 214 |
('sitemail', '', 0), |
|---|
| 215 |
('max_torrent_size', '100000000', 0), |
|---|
| 216 |
('announce_interval', '1800', 0), |
|---|
| 217 |
('min_announce_interval', '1740', 0), |
|---|
| 218 |
('signup_timeout', '1', 0), |
|---|
| 219 |
('minvotes', '5', 0), |
|---|
| 220 |
('ttl', '0', 0), |
|---|
| 221 |
('maxusers', '100000', 0), |
|---|
| 222 |
('torrent_dir', '/torrents', 0), |
|---|
| 223 |
('user_limit_ary_torrents', 'a:10:{s:1:"W";i:1;s:1:"D";i:10;i:0;i:0;i:1;i:5;i:2;i:10;i:3;i:20;i:4;i:0;i:5;i:0;i:6;i:0;i:7;i:0;}', 0), |
|---|
| 224 |
('merge_time', '24', 0), |
|---|
| 225 |
('site_desc', '', 0), |
|---|
| 226 |
('cookie_name', 'tbdev_sz', 0), |
|---|
| 227 |
('cookie_path', '/', 0), |
|---|
| 228 |
('cookie_domain', '', 0), |
|---|
| 229 |
('cookie_secure', '0', 0), |
|---|
| 230 |
('session_length', '3600', 0), |
|---|
| 231 |
('allow_html', '0', 0), |
|---|
| 232 |
('allow_html_tags', 'b,i,u,pre', 0), |
|---|
| 233 |
('allow_bbcode', '1', 0), |
|---|
| 234 |
('allow_smilies', '1', 0), |
|---|
| 235 |
('allow_sig', '0', 0), |
|---|
| 236 |
('email_function_name', 'mail', 0), |
|---|
| 237 |
('allow_avatar_local', '0', 0), |
|---|
| 238 |
('allow_avatar_remote', '1', 0), |
|---|
| 239 |
('allow_avatar_upload', '1', 0), |
|---|
| 240 |
('enable_confirm', '0', 0), |
|---|
| 241 |
('allow_autologin', '1', 0), |
|---|
| 242 |
('max_autologin_time', '60', 0), |
|---|
| 243 |
('override_user_style', '0', 0), |
|---|
| 244 |
('posts_per_page', '15', 0), |
|---|
| 245 |
('topics_per_page', '50', 0), |
|---|
| 246 |
('hot_threshold', '25', 0), |
|---|
| 247 |
('max_poll_options', '20', 0), |
|---|
| 248 |
('max_sig_chars', '255', 0), |
|---|
| 249 |
('max_inbox_privmsgs', '30', 0), |
|---|
| 250 |
('max_sentbox_privmsgs', '30', 0), |
|---|
| 251 |
('max_savebox_privmsgs', '50', 0), |
|---|
| 252 |
('board_email_sig', '', 0), |
|---|
| 253 |
('smtp_delivery', '0', 0), |
|---|
| 254 |
('smtp_host', '', 0), |
|---|
| 255 |
('smtp_username', '', 0), |
|---|
| 256 |
('smtp_password', '', 0), |
|---|
| 257 |
('sendmail_fix', '0', 0), |
|---|
| 258 |
('flood_interval', '15', 0), |
|---|
| 259 |
('avatar_filesize', '153600', 0), |
|---|
| 260 |
('avatar_max_width', '100', 0), |
|---|
| 261 |
('avatar_max_height', '100', 0), |
|---|
| 262 |
('avatar_path', 'pic/avatars', 0), |
|---|
| 263 |
('avatar_gallery_path', 'images/avatars/gallery', 0), |
|---|
| 264 |
('smilies_path', 'pic/smilies', 0), |
|---|
| 265 |
('default_style', '1', 0), |
|---|
| 266 |
('default_dateformat', 'Y-m-d H:i', 0), |
|---|
| 267 |
('board_timezone', '0', 0), |
|---|
| 268 |
('prune_enable', '1', 0), |
|---|
| 269 |
('privmsg_disable', '0', 0), |
|---|
| 270 |
('gzip_compress', '0', 0), |
|---|
| 271 |
('record_online_users', '0', 1), |
|---|
| 272 |
('record_online_date', '0', 1), |
|---|
| 273 |
('server_name', '', 0), |
|---|
| 274 |
('server_port', '', 0), |
|---|
| 275 |
('script_path', '', 0), |
|---|
| 276 |
('version', '0.3.4svn324', 0), |
|---|
| 277 |
('default_lang', 'english', 0), |
|---|
| 278 |
('max_login_attempts', '5', 0), |
|---|
| 279 |
('login_reset_time', '30', 0), |
|---|
| 280 |
('online_time', '300', 0), |
|---|
| 281 |
('time_to_merge', '24', 0), |
|---|
| 282 |
('merge_flood_interval', '5', 0), |
|---|
| 283 |
('search_flood_interval', '0', 0), |
|---|
| 284 |
('rand_seed', '8fa36961e6c15829e3cbda4392c9a836', 1), |
|---|
| 285 |
('search_min_chars', '3', 0), |
|---|
| 286 |
('inactive_users_del_days', '0', 0), |
|---|
| 287 |
('postimg_width', '500', 0), |
|---|
| 288 |
('postimg_height', '300', 0), |
|---|
| 289 |
('alternate_ttl', '0', 0), |
|---|
| 290 |
('board_dst', '0', 0), |
|---|
| 291 |
('waittime', '0', 0), |
|---|
| 292 |
('tpl_allow_php', '1', 0), |
|---|
| 293 |
('smtp_port', '25', 0), |
|---|
| 294 |
('allow_invite', '0', 0), |
|---|
| 295 |
('autoclean_interval_receive_invites', '0', 0), |
|---|
| 296 |
('number_invites', '', 0), |
|---|
| 297 |
('allow_autowarn', '0', 0), |
|---|
| 298 |
('autowarn_settings', '', 0), |
|---|
| 299 |
('activate_via_email', '1', 0), |
|---|
| 300 |
('allow_clons', '1', 0), |
|---|
| 301 |
('autowarn_min_added', '0', 0), |
|---|
| 302 |
('demote_uploader_days', '0', 0), |
|---|
| 303 |
('allow_my_bonus', '0', 0), |
|---|
| 304 |
('my_bonus_points', '0', 0), |
|---|
| 305 |
('my_bonus_settings', '', 0), |
|---|
| 306 |
('my_bonus_title_length', '0', 0), |
|---|
| 307 |
('check_dnsbl', '0', 0), |
|---|
| 308 |
('email_enable', '1', 0), |
|---|
| 309 |
('email_package_size', '100', 0), |
|---|
| 310 |
('max_warn_for_user', '4', 0), |
|---|
| 311 |
('captcha_width', '250', 0), |
|---|
| 312 |
('captcha_height', '60', 0), |
|---|
| 313 |
('captcha_example_code', 'SAMPLE', 0), |
|---|
| 314 |
('captcha_background_color', '#E5ECF9', 0), |
|---|
| 315 |
('captcha_jpeg', '0', 0), |
|---|
| 316 |
('captcha_jpeg_quality', '50', 0), |
|---|
| 317 |
('captcha_pre_letters', '0', 0), |
|---|
| 318 |
('captcha_pre_letters_great', '0', 0), |
|---|
| 319 |
('captcha_font', '0', 0), |
|---|
| 320 |
('captcha_trans_letters', '0', 0), |
|---|
| 321 |
('captcha_chess', '0', 0), |
|---|
| 322 |
('captcha_ellipses', '0', 0), |
|---|
| 323 |
('captcha_arcs', '0', 0), |
|---|
| 324 |
('captcha_lines', '0', 0), |
|---|
| 325 |
('captcha_image', '0', 0), |
|---|
| 326 |
('captcha_bg_transition', '25', 0), |
|---|
| 327 |
('captcha_gammacorrect', '0.8', 0), |
|---|
| 328 |
('captcha_foreground_lattice_width', '0', 0), |
|---|
| 329 |
('captcha_foreground_lattice_height', '0', 0), |
|---|
| 330 |
('captcha_lattice_color', '#FFFFFF', 0), |
|---|
| 331 |
('max_register_attempts_per_session', '3', 0), |
|---|
| 332 |
('uploadapp_promote_text', '', 0), |
|---|
| 333 |
('max_torrent_allow_seed', '10', 0), |
|---|
| 334 |
('uploader_promoted_demote_days', '0', 0), |
|---|
| 335 |
('uploadapp_delete_records_days', '0', 0), |
|---|
| 336 |
('uploadapp_min_uploaded', '0', 0), |
|---|
| 337 |
('uploadapp_min_added', '0', 0), |
|---|
| 338 |
('uploadapp_min_ratio', '0', 0), |
|---|
| 339 |
('show_online_users', '0', 0), |
|---|
| 340 |
('server_protocol', '', 0), |
|---|
| 341 |
('force_server_vars', '0', 0), |
|---|
| 342 |
('inactive_users_del_min_class', '0', 0), |
|---|
| 343 |
('inactive_users_parked_del_days', '0', 0), |
|---|
| 344 |
('promote_to_power_megs_limit', '0', 0), |
|---|
| 345 |
('promote_to_power_min_ratio', '0', 0), |
|---|
| 346 |
('promote_to_power_reg_date_ago', '0', 0), |
|---|
| 347 |
('promote_to_power_demote_ratio', '0', 0), |
|---|
| 348 |
('autoclean_interval_clean_peers', '30', 0), |
|---|
| 349 |
('autoclean_interval_sync_torrents_info', '30', 0), |
|---|
| 350 |
('autoclean_interval_clean_pending_accounts', '1440', 0), |
|---|
| 351 |
('autoclean_interval_clean_inactive_users', '3600', 0), |
|---|
| 352 |
('autoclean_interval_clean_old_torrents', '1440', 0), |
|---|
| 353 |
('autoclean_interval_autowarn_autodemote', '1440', 0), |
|---|
| 354 |
('autoclean_interval_demote_uploaders', '3600', 0), |
|---|
| 355 |
('autoclean_interval_remove_expired_warnings', '60', 0), |
|---|
| 356 |
('autoclean_interval_parse_queue', '10', 0), |
|---|
| 357 |
('autoclean_interval_tidy_cache', '10', 0), |
|---|
| 358 |
('autoclean_last_run_sync_torrents_info', '1277214019', 1), |
|---|
| 359 |
('autoclean_last_run_clean_pending_accounts', '1296214237', 1), |
|---|
| 360 |
('autoclean_last_run_clean_inactive_users', '1296214237', 1), |
|---|
| 361 |
('autoclean_last_run_clean_old_torrents', '1296214237', 1), |
|---|
| 362 |
('autoclean_last_run_autowarn_autodemote', '1296214237', 1), |
|---|
| 363 |
('autoclean_last_run_remove_expired_warnings', '1296214237', 1), |
|---|
| 364 |
('autoclean_last_run_demote_uploaders', '1296214237', 1), |
|---|
| 365 |
('autoclean_last_run_receive_invites', '0', 1), |
|---|
| 366 |
('autoclean_last_run_parse_queue', '1296214237', 1), |
|---|
| 367 |
('autoclean_last_run_tidy_cache', '1296214237', 1), |
|---|
| 368 |
('autoclean_interval_promote_demote_users', '1440', 0), |
|---|
| 369 |
('autoclean_last_run_promote_demote_users', '1296214237', 1), |
|---|
| 370 |
('user_limit_ary_allow_download', 'a:10:{s:1:"W";i:1;s:1:"D";i:1;i:0;i:0;i:1;i:1;i:2;i:1;i:3;i:1;i:4;i:1;i:5;i:1;i:6;i:1;i:7;i:1;}', 0), |
|---|
| 371 |
('min_seeders_for_sos_button', '3', 0), |
|---|
| 372 |
('min_class_allow_upload', '4', 0), |
|---|
| 373 |
('default_type_moderated_torrents', '2', 0), |
|---|
| 374 |
('site_keywords', '', 0), |
|---|
| 375 |
('autoclean_interval_delete_old_sessions', '10', 0), |
|---|
| 376 |
('autoclean_last_run_delete_old_sessions', '1296214237', 1), |
|---|
| 377 |
('cleanup_lock', '0', 1), |
|---|
| 378 |
('offline_text', '', 0), |
|---|
| 379 |
('count_helpdesk_not_solved', '0', 1), |
|---|
| 380 |
('count_reports_not_solved', '0', 1), |
|---|
| 381 |
('count_candidates_waiting', '0', 1), |
|---|
| 382 |
('points_settings', '', 0), |
|---|
| 383 |
('tags_max_allow', '10', 0), |
|---|
| 384 |
('tags_max_length', '50', 0), |
|---|
| 385 |
('tags_min_length', '3', 0), |
|---|
| 386 |
('load_db_lastread', '0', 0), |
|---|
| 387 |
('load_anon_lastread', '1', 0), |
|---|
| 388 |
('load_db_track', '0', 0), |
|---|
| 389 |
('anonymous_announce', '1', 0), |
|---|
| 390 |
('smtp_auth_method', '', 0); |
|---|
| 391 |
|
|---|
| 392 |
-- -------------------------------------------------------- |
|---|
| 393 |
|
|---|
| 394 |
-- |
|---|
| 395 |
-- Структура таблицы `confirm` |
|---|
| 396 |
-- |
|---|
| 397 |
|
|---|
| 398 |
DROP TABLE IF EXISTS `confirm`; |
|---|
| 399 |
CREATE TABLE IF NOT EXISTS `confirm` ( |
|---|
| 400 |
`confirm_id` char(32) NOT NULL DEFAULT '', |
|---|
| 401 |
`session_id` char(32) NOT NULL DEFAULT '', |
|---|
| 402 |
`code` char(10) DEFAULT NULL, |
|---|
| 403 |
PRIMARY KEY (`session_id`,`confirm_id`) |
|---|
| 404 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
|---|
| 405 |
|
|---|
| 406 |
-- |
|---|
| 407 |
-- Дамп данных таблицы `confirm` |
|---|
| 408 |
-- |
|---|
| 409 |
|
|---|
| 410 |
|
|---|
| 411 |
-- -------------------------------------------------------- |
|---|
| 412 |
|
|---|
| 413 |
-- |
|---|
| 414 |
-- Структура таблицы `countries` |
|---|
| 415 |
-- |
|---|
| 416 |
|
|---|
| 417 |
DROP TABLE IF EXISTS `countries`; |
|---|
| 418 |
CREATE TABLE IF NOT EXISTS `countries` ( |
|---|
| 419 |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 420 |
`name` varchar(50) DEFAULT NULL, |
|---|
| 421 |
`flagpic` varchar(50) DEFAULT NULL, |
|---|
| 422 |
PRIMARY KEY (`id`) |
|---|
| 423 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=108 ; |
|---|
| 424 |
|
|---|
| 425 |
-- |
|---|
| 426 |
-- Дамп данных таблицы `countries` |
|---|
| 427 |
-- |
|---|
| 428 |
|
|---|
| 429 |
INSERT INTO `countries` (`id`, `name`, `flagpic`) VALUES |
|---|
| 430 |
(1, 'Sweden', 'sweden.gif'), |
|---|
| 431 |
(2, 'United States of America', 'usa.gif'), |
|---|
| 432 |
(3, 'Russia', 'russia.gif'), |
|---|
| 433 |
(4, 'Finland', 'finland.gif'), |
|---|
| 434 |
(5, 'Canada', 'canada.gif'), |
|---|
| 435 |
(6, 'France', 'france.gif'), |
|---|
| 436 |
(7, 'Germany', 'germany.gif'), |
|---|
| 437 |
(8, 'China', 'china.gif'), |
|---|
| 438 |
(9, 'Italy', 'italy.gif'), |
|---|
| 439 |
(10, 'Denmark', 'denmark.gif'), |
|---|
| 440 |
(11, 'Norway', 'norway.gif'), |
|---|
| 441 |
(12, 'United Kingdom', 'uk.gif'), |
|---|
| 442 |
(13, 'Ireland', 'ireland.gif'), |
|---|
| 443 |
(14, 'Poland', 'poland.gif'), |
|---|
| 444 |
(15, 'Netherlands', 'netherlands.gif'), |
|---|
| 445 |
(16, 'Belgium', 'belgium.gif'), |
|---|
| 446 |
(17, 'Japan', 'japan.gif'), |
|---|
| 447 |
(18, 'Brazil', 'brazil.gif'), |
|---|
| 448 |
(19, 'Argentina', 'argentina.gif'), |
|---|
| 449 |
(20, 'Australia', 'australia.gif'), |
|---|
| 450 |
(21, 'New Zealand', 'newzealand.gif'), |
|---|
| 451 |
(23, 'Spain', 'spain.gif'), |
|---|
| 452 |
(24, 'Portugal', 'portugal.gif'), |
|---|
| 453 |
(25, 'Mexico', 'mexico.gif'), |
|---|
| 454 |
(26, 'Singapore', 'singapore.gif'), |
|---|
| 455 |
(70, 'India', 'india.gif'), |
|---|
| 456 |
(65, 'Albania', 'albania.gif'), |
|---|
| 457 |
(29, 'South Africa', 'southafrica.gif'), |
|---|
| 458 |
(30, 'South Korea', 'southkorea.gif'), |
|---|
| 459 |
(31, 'Jamaica', 'jamaica.gif'), |
|---|
| 460 |
(32, 'Luxembourg', 'luxembourg.gif'), |
|---|
| 461 |
(33, 'Hong Kong', 'hongkong.gif'), |
|---|
| 462 |
(34, 'Belize', 'belize.gif'), |
|---|
| 463 |
(35, 'Algeria', 'algeria.gif'), |
|---|
| 464 |
(36, 'Angola', 'angola.gif'), |
|---|
| 465 |
(37, 'Austria', 'austria.gif'), |
|---|
| 466 |
(38, 'Yugoslavia', 'yugoslavia.gif'), |
|---|
| 467 |
(39, 'Western Samoa', 'westernsamoa.gif'), |
|---|
| 468 |
(40, 'Malaysia', 'malaysia.gif'), |
|---|
| 469 |
(41, 'Dominican Republic', 'dominicanrep.gif'), |
|---|
| 470 |
(42, 'Greece', 'greece.gif'), |
|---|
| 471 |
(43, 'Guatemala', 'guatemala.gif'), |
|---|
| 472 |
(44, 'Israel', 'israel.gif'), |
|---|
| 473 |
(45, 'Pakistan', 'pakistan.gif'), |
|---|
| 474 |
(46, 'Czech Republic', 'czechrep.gif'), |
|---|
| 475 |
(47, 'Serbia', 'serbia.gif'), |
|---|
| 476 |
(48, 'Seychelles', 'seychelles.gif'), |
|---|
| 477 |
(49, 'Taiwan', 'taiwan.gif'), |
|---|
| 478 |
(50, 'Puerto Rico', 'puertorico.gif'), |
|---|
| 479 |
(51, 'Chile', 'chile.gif'), |
|---|
| 480 |
(52, 'Cuba', 'cuba.gif'), |
|---|
| 481 |
(53, 'Congo', 'congo.gif'), |
|---|
| 482 |
(54, 'Afghanistan', 'afghanistan.gif'), |
|---|
| 483 |
(55, 'Turkey', 'turkey.gif'), |
|---|
| 484 |
(56, 'Uzbekistan', 'uzbekistan.gif'), |
|---|
| 485 |
(57, 'Switzerland', 'switzerland.gif'), |
|---|
| 486 |
(58, 'Kiribati', 'kiribati.gif'), |
|---|
| 487 |
(59, 'Philippines', 'philippines.gif'), |
|---|
| 488 |
(60, 'Burkina Faso', 'burkinafaso.gif'), |
|---|
| 489 |
(61, 'Nigeria', 'nigeria.gif'), |
|---|
| 490 |
(62, 'Iceland', 'iceland.gif'), |
|---|
| 491 |
(63, 'Nauru', 'nauru.gif'), |
|---|
| 492 |
(64, 'Slovenia', 'slovenia.gif'), |
|---|
| 493 |
(66, 'Turkmenistan', 'turkmenistan.gif'), |
|---|
| 494 |
(67, 'Bosnia Herzegovina', 'bosniaherzegovina.gif'), |
|---|
| 495 |
(68, 'Andorra', 'andorra.gif'), |
|---|
| 496 |
(69, 'Lithuania', 'lithuania.gif'), |
|---|
| 497 |
(71, 'Netherlands Antilles', 'nethantilles.gif'), |
|---|
| 498 |
(72, 'Ukraine', 'ukraine.gif'), |
|---|
| 499 |
(73, 'Venezuela', 'venezuela.gif'), |
|---|
| 500 |
(74, 'Hungary', 'hungary.gif'), |
|---|
| 501 |
(75, 'Romania', 'romania.gif'), |
|---|
| 502 |
(76, 'Vanuatu', 'vanuatu.gif'), |
|---|
| 503 |
(77, 'Vietnam', 'vietnam.gif'), |
|---|
| 504 |
(78, 'Trinidad & Tobago', 'trinidadandtobago.gif'), |
|---|
| 505 |
(79, 'Honduras', 'honduras.gif'), |
|---|
| 506 |
(80, 'Kyrgyzstan', 'kyrgyzstan.gif'), |
|---|
| 507 |
(81, 'Ecuador', 'ecuador.gif'), |
|---|
| 508 |
(82, 'Bahamas', 'bahamas.gif'), |
|---|
| 509 |
(83, 'Peru', 'peru.gif'), |
|---|
| 510 |
(84, 'Cambodia', 'cambodia.gif'), |
|---|
| 511 |
(85, 'Barbados', 'barbados.gif'), |
|---|
| 512 |
(86, 'Bangladesh', 'bangladesh.gif'), |
|---|
| 513 |
(87, 'Laos', 'laos.gif'), |
|---|
| 514 |
(88, 'Uruguay', 'uruguay.gif'), |
|---|
| 515 |
(89, 'Antigua Barbuda', 'antiguabarbuda.gif'), |
|---|
| 516 |
(90, 'Paraguay', 'paraguay.gif'), |
|---|
| 517 |
(93, 'Thailand', 'thailand.gif'), |
|---|
| 518 |
(92, 'Union of Soviet Socialist Republics', 'ussr.gif'), |
|---|
| 519 |
(94, 'Senegal', 'senegal.gif'), |
|---|
| 520 |
(95, 'Togo', 'togo.gif'), |
|---|
| 521 |
(96, 'North Korea', 'northkorea.gif'), |
|---|
| 522 |
(97, 'Croatia', 'croatia.gif'), |
|---|
| 523 |
(98, 'Estonia', 'estonia.gif'), |
|---|
| 524 |
(99, 'Colombia', 'colombia.gif'), |
|---|
| 525 |
(100, 'Lebanon', 'lebanon.gif'), |
|---|
| 526 |
(101, 'Latvia', 'latvia.gif'), |
|---|
| 527 |
(102, 'Costa Rica', 'costarica.gif'), |
|---|
| 528 |
(103, 'Egypt', 'egypt.gif'), |
|---|
| 529 |
(104, 'Bulgaria', 'bulgaria.gif'), |
|---|
| 530 |
(105, 'Isla de Muerte', 'jollyroger.gif'), |
|---|
| 531 |
(106, 'Belarus', 'belarus.gif'), |
|---|
| 532 |
(107, 'Kazakhstan', 'kazakhstan.gif'); |
|---|
| 533 |
|
|---|
| 534 |
-- -------------------------------------------------------- |
|---|
| 535 |
|
|---|
| 536 |
-- |
|---|
| 537 |
-- Структура таблицы `disallow` |
|---|
| 538 |
-- |
|---|
| 539 |
|
|---|
| 540 |
DROP TABLE IF EXISTS `disallow`; |
|---|
| 541 |
CREATE TABLE IF NOT EXISTS `disallow` ( |
|---|
| 542 |
`disallow_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 543 |
`disallow_username` varchar(25) DEFAULT NULL, |
|---|
| 544 |
PRIMARY KEY (`disallow_id`) |
|---|
| 545 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 546 |
|
|---|
| 547 |
-- |
|---|
| 548 |
-- Дамп данных таблицы `disallow` |
|---|
| 549 |
-- |
|---|
| 550 |
|
|---|
| 551 |
|
|---|
| 552 |
-- -------------------------------------------------------- |
|---|
| 553 |
|
|---|
| 554 |
-- |
|---|
| 555 |
-- Структура таблицы `files` |
|---|
| 556 |
-- |
|---|
| 557 |
|
|---|
| 558 |
DROP TABLE IF EXISTS `files`; |
|---|
| 559 |
CREATE TABLE IF NOT EXISTS `files` ( |
|---|
| 560 |
`torrent` int(10) unsigned DEFAULT '0', |
|---|
| 561 |
`filename` text, |
|---|
| 562 |
`size` bigint(20) unsigned DEFAULT '0', |
|---|
| 563 |
KEY `torrent` (`torrent`) |
|---|
| 564 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
|---|
| 565 |
|
|---|
| 566 |
-- |
|---|
| 567 |
-- Дамп данных таблицы `files` |
|---|
| 568 |
-- |
|---|
| 569 |
|
|---|
| 570 |
|
|---|
| 571 |
-- -------------------------------------------------------- |
|---|
| 572 |
|
|---|
| 573 |
-- |
|---|
| 574 |
-- Структура таблицы `forum_auth_access` |
|---|
| 575 |
-- |
|---|
| 576 |
|
|---|
| 577 |
DROP TABLE IF EXISTS `forum_auth_access`; |
|---|
| 578 |
CREATE TABLE IF NOT EXISTS `forum_auth_access` ( |
|---|
| 579 |
`group_id` mediumint(8) DEFAULT '0', |
|---|
| 580 |
`forum_id` smallint(5) unsigned DEFAULT '0', |
|---|
| 581 |
`auth_view` tinyint(1) DEFAULT '0', |
|---|
| 582 |
`auth_read` tinyint(1) DEFAULT '0', |
|---|
| 583 |
`auth_post` tinyint(1) DEFAULT '0', |
|---|
| 584 |
`auth_reply` tinyint(1) DEFAULT '0', |
|---|
| 585 |
`auth_edit` tinyint(1) DEFAULT '0', |
|---|
| 586 |
`auth_delete` tinyint(1) DEFAULT '0', |
|---|
| 587 |
`auth_sticky` tinyint(1) DEFAULT '0', |
|---|
| 588 |
`auth_announce` tinyint(1) DEFAULT '0', |
|---|
| 589 |
`auth_vote` tinyint(1) DEFAULT '0', |
|---|
| 590 |
`auth_pollcreate` tinyint(1) DEFAULT '0', |
|---|
| 591 |
`auth_attachments` tinyint(1) DEFAULT '0', |
|---|
| 592 |
`auth_mod` tinyint(1) DEFAULT '0', |
|---|
| 593 |
KEY `group_id` (`group_id`), |
|---|
| 594 |
KEY `forum_id` (`forum_id`) |
|---|
| 595 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
|---|
| 596 |
|
|---|
| 597 |
-- |
|---|
| 598 |
-- Дамп данных таблицы `forum_auth_access` |
|---|
| 599 |
-- |
|---|
| 600 |
|
|---|
| 601 |
|
|---|
| 602 |
-- -------------------------------------------------------- |
|---|
| 603 |
|
|---|
| 604 |
-- |
|---|
| 605 |
-- Структура таблицы `forum_categories` |
|---|
| 606 |
-- |
|---|
| 607 |
|
|---|
| 608 |
DROP TABLE IF EXISTS `forum_categories`; |
|---|
| 609 |
CREATE TABLE IF NOT EXISTS `forum_categories` ( |
|---|
| 610 |
`cat_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 611 |
`cat_title` varchar(100) DEFAULT NULL, |
|---|
| 612 |
`cat_order` mediumint(8) unsigned DEFAULT '0', |
|---|
| 613 |
PRIMARY KEY (`cat_id`), |
|---|
| 614 |
KEY `cat_order` (`cat_order`) |
|---|
| 615 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 616 |
|
|---|
| 617 |
-- |
|---|
| 618 |
-- Дамп данных таблицы `forum_categories` |
|---|
| 619 |
-- |
|---|
| 620 |
|
|---|
| 621 |
|
|---|
| 622 |
-- -------------------------------------------------------- |
|---|
| 623 |
|
|---|
| 624 |
-- |
|---|
| 625 |
-- Структура таблицы `forum_forums` |
|---|
| 626 |
-- |
|---|
| 627 |
|
|---|
| 628 |
DROP TABLE IF EXISTS `forum_forums`; |
|---|
| 629 |
CREATE TABLE IF NOT EXISTS `forum_forums` ( |
|---|
| 630 |
`forum_id` smallint(5) unsigned NOT NULL DEFAULT '0', |
|---|
| 631 |
`cat_id` mediumint(8) unsigned DEFAULT '0', |
|---|
| 632 |
`forum_name` varchar(150) DEFAULT NULL, |
|---|
| 633 |
`forum_desc` text, |
|---|
| 634 |
`forum_status` tinyint(4) DEFAULT '0', |
|---|
| 635 |
`forum_order` mediumint(8) unsigned DEFAULT '1', |
|---|
| 636 |
`forum_posts` mediumint(8) unsigned DEFAULT '0', |
|---|
| 637 |
`forum_topics` mediumint(8) unsigned DEFAULT '0', |
|---|
| 638 |
`forum_last_post_id` mediumint(8) unsigned DEFAULT '0', |
|---|
| 639 |
`prune_next` int(11) DEFAULT NULL, |
|---|
| 640 |
`prune_enable` tinyint(1) DEFAULT '0', |
|---|
| 641 |
`auth_view` tinyint(2) DEFAULT '0', |
|---|
| 642 |
`auth_read` tinyint(2) DEFAULT '0', |
|---|
| 643 |
`auth_post` tinyint(2) DEFAULT '0', |
|---|
| 644 |
`auth_reply` tinyint(2) DEFAULT '0', |
|---|
| 645 |
`auth_edit` tinyint(2) DEFAULT '0', |
|---|
| 646 |
`auth_delete` tinyint(2) DEFAULT '0', |
|---|
| 647 |
`auth_sticky` tinyint(2) DEFAULT '0', |
|---|
| 648 |
`auth_announce` tinyint(2) DEFAULT '0', |
|---|
| 649 |
`auth_vote` tinyint(2) DEFAULT '0', |
|---|
| 650 |
`auth_pollcreate` tinyint(2) DEFAULT '0', |
|---|
| 651 |
`auth_attachments` tinyint(2) DEFAULT '0', |
|---|
| 652 |
`forum_parent` int(11) DEFAULT '0', |
|---|
| 653 |
`forum_last_post_time` int(11) DEFAULT '0', |
|---|
| 654 |
PRIMARY KEY (`forum_id`), |
|---|
| 655 |
KEY `forums_order` (`forum_order`), |
|---|
| 656 |
KEY `cat_id` (`cat_id`), |
|---|
| 657 |
KEY `forum_last_post_id` (`forum_last_post_id`) |
|---|
| 658 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
|---|
| 659 |
|
|---|
| 660 |
-- |
|---|
| 661 |
-- Дамп данных таблицы `forum_forums` |
|---|
| 662 |
-- |
|---|
| 663 |
|
|---|
| 664 |
|
|---|
| 665 |
-- -------------------------------------------------------- |
|---|
| 666 |
|
|---|
| 667 |
-- |
|---|
| 668 |
-- Структура таблицы `forum_groups` |
|---|
| 669 |
-- |
|---|
| 670 |
|
|---|
| 671 |
DROP TABLE IF EXISTS `forum_groups`; |
|---|
| 672 |
CREATE TABLE IF NOT EXISTS `forum_groups` ( |
|---|
| 673 |
`group_id` mediumint(8) NOT NULL AUTO_INCREMENT, |
|---|
| 674 |
`group_type` tinyint(4) DEFAULT '1', |
|---|
| 675 |
`group_name` varchar(40) DEFAULT NULL, |
|---|
| 676 |
`group_description` varchar(255) DEFAULT NULL, |
|---|
| 677 |
`group_moderator` mediumint(8) DEFAULT '0', |
|---|
| 678 |
`group_single_user` tinyint(1) DEFAULT '1', |
|---|
| 679 |
PRIMARY KEY (`group_id`), |
|---|
| 680 |
KEY `group_single_user` (`group_single_user`) |
|---|
| 681 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=388 ; |
|---|
| 682 |
|
|---|
| 683 |
-- |
|---|
| 684 |
-- Дамп данных таблицы `forum_groups` |
|---|
| 685 |
-- |
|---|
| 686 |
|
|---|
| 687 |
INSERT INTO `forum_groups` (`group_id`, `group_type`, `group_name`, `group_description`, `group_moderator`, `group_single_user`) VALUES |
|---|
| 688 |
(385, 1, '', '', 1, 0), |
|---|
| 689 |
(56, 1, '', '', 1, 0), |
|---|
| 690 |
(7, 1, '', '', 1, 0), |
|---|
| 691 |
(387, 1, '', '', 1, 0), |
|---|
| 692 |
(55, 1, '', '', 1, 0), |
|---|
| 693 |
(6, 1, '', '', 1, 0), |
|---|
| 694 |
(386, 1, 'VIP', '', 1, 0), |
|---|
| 695 |
(1, 1, 'Anonymous', 'Personal User', 1, 0), |
|---|
| 696 |
(2, 1, 'Admin', 'Personal User', 1, 0), |
|---|
| 697 |
(126, 1, '', 'Personal User', 1, 0); |
|---|
| 698 |
|
|---|
| 699 |
-- -------------------------------------------------------- |
|---|
| 700 |
|
|---|
| 701 |
-- |
|---|
| 702 |
-- Структура таблицы `forum_posts` |
|---|
| 703 |
-- |
|---|
| 704 |
|
|---|
| 705 |
DROP TABLE IF EXISTS `forum_posts`; |
|---|
| 706 |
CREATE TABLE IF NOT EXISTS `forum_posts` ( |
|---|
| 707 |
`post_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 708 |
`topic_id` mediumint(8) unsigned DEFAULT '0', |
|---|
| 709 |
`forum_id` smallint(5) unsigned DEFAULT '0', |
|---|
| 710 |
`poster_id` mediumint(8) DEFAULT '0', |
|---|
| 711 |
`post_time` int(11) DEFAULT '0', |
|---|
| 712 |
`post_created` int(11) DEFAULT '0', |
|---|
| 713 |
`poster_ip` varchar(16) DEFAULT NULL, |
|---|
| 714 |
`post_username` varchar(25) DEFAULT NULL, |
|---|
| 715 |
`enable_bbcode` tinyint(1) DEFAULT '1', |
|---|
| 716 |
`enable_html` tinyint(1) DEFAULT '0', |
|---|
| 717 |
`enable_smilies` tinyint(1) DEFAULT '1', |
|---|
| 718 |
`enable_sig` tinyint(1) DEFAULT '1', |
|---|
| 719 |
`post_edit_time` int(11) DEFAULT NULL, |
|---|
| 720 |
`post_edit_count` smallint(5) unsigned DEFAULT '0', |
|---|
| 721 |
`post_reputation` int(10) DEFAULT '0', |
|---|
| 722 |
PRIMARY KEY (`post_id`), |
|---|
| 723 |
KEY `forum_id` (`forum_id`), |
|---|
| 724 |
KEY `topic_id` (`topic_id`), |
|---|
| 725 |
KEY `poster_id` (`poster_id`), |
|---|
| 726 |
KEY `post_time` (`post_time`) |
|---|
| 727 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 728 |
|
|---|
| 729 |
-- |
|---|
| 730 |
-- Дамп данных таблицы `forum_posts` |
|---|
| 731 |
-- |
|---|
| 732 |
|
|---|
| 733 |
|
|---|
| 734 |
-- -------------------------------------------------------- |
|---|
| 735 |
|
|---|
| 736 |
-- |
|---|
| 737 |
-- Структура таблицы `forum_posts_text` |
|---|
| 738 |
-- |
|---|
| 739 |
|
|---|
| 740 |
DROP TABLE IF EXISTS `forum_posts_text`; |
|---|
| 741 |
CREATE TABLE IF NOT EXISTS `forum_posts_text` ( |
|---|
| 742 |
`post_id` mediumint(8) unsigned NOT NULL DEFAULT '0', |
|---|
| 743 |
`post_subject` varchar(255) DEFAULT NULL, |
|---|
| 744 |
`post_text` mediumtext, |
|---|
| 745 |
PRIMARY KEY (`post_id`) |
|---|
| 746 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
|---|
| 747 |
|
|---|
| 748 |
-- |
|---|
| 749 |
-- Дамп данных таблицы `forum_posts_text` |
|---|
| 750 |
-- |
|---|
| 751 |
|
|---|
| 752 |
|
|---|
| 753 |
-- -------------------------------------------------------- |
|---|
| 754 |
|
|---|
| 755 |
-- |
|---|
| 756 |
-- Структура таблицы `forum_prune` |
|---|
| 757 |
-- |
|---|
| 758 |
|
|---|
| 759 |
DROP TABLE IF EXISTS `forum_prune`; |
|---|
| 760 |
CREATE TABLE IF NOT EXISTS `forum_prune` ( |
|---|
| 761 |
`prune_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 762 |
`forum_id` smallint(5) unsigned DEFAULT '0', |
|---|
| 763 |
`prune_days` smallint(5) unsigned DEFAULT '0', |
|---|
| 764 |
`prune_freq` smallint(5) unsigned DEFAULT '0', |
|---|
| 765 |
PRIMARY KEY (`prune_id`), |
|---|
| 766 |
KEY `forum_id` (`forum_id`) |
|---|
| 767 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 768 |
|
|---|
| 769 |
-- |
|---|
| 770 |
-- Дамп данных таблицы `forum_prune` |
|---|
| 771 |
-- |
|---|
| 772 |
|
|---|
| 773 |
|
|---|
| 774 |
-- -------------------------------------------------------- |
|---|
| 775 |
|
|---|
| 776 |
-- |
|---|
| 777 |
-- Структура таблицы `forum_search_results` |
|---|
| 778 |
-- |
|---|
| 779 |
|
|---|
| 780 |
DROP TABLE IF EXISTS `forum_search_results`; |
|---|
| 781 |
CREATE TABLE IF NOT EXISTS `forum_search_results` ( |
|---|
| 782 |
`search_id` int(11) unsigned NOT NULL DEFAULT '0', |
|---|
| 783 |
`session_id` varchar(32) DEFAULT NULL, |
|---|
| 784 |
`search_array` longtext, |
|---|
| 785 |
`search_time` int(11) DEFAULT '0', |
|---|
| 786 |
PRIMARY KEY (`search_id`), |
|---|
| 787 |
KEY `session_id` (`session_id`) |
|---|
| 788 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
|---|
| 789 |
|
|---|
| 790 |
-- |
|---|
| 791 |
-- Дамп данных таблицы `forum_search_results` |
|---|
| 792 |
-- |
|---|
| 793 |
|
|---|
| 794 |
|
|---|
| 795 |
-- -------------------------------------------------------- |
|---|
| 796 |
|
|---|
| 797 |
-- |
|---|
| 798 |
-- Структура таблицы `forum_search_wordlist` |
|---|
| 799 |
-- |
|---|
| 800 |
|
|---|
| 801 |
DROP TABLE IF EXISTS `forum_search_wordlist`; |
|---|
| 802 |
CREATE TABLE IF NOT EXISTS `forum_search_wordlist` ( |
|---|
| 803 |
`word_text` varchar(50) NOT NULL DEFAULT '', |
|---|
| 804 |
`word_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 805 |
`word_common` tinyint(1) unsigned NOT NULL DEFAULT '0', |
|---|
| 806 |
PRIMARY KEY (`word_text`), |
|---|
| 807 |
KEY `word_id` (`word_id`) |
|---|
| 808 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 809 |
|
|---|
| 810 |
-- |
|---|
| 811 |
-- Дамп данных таблицы `forum_search_wordlist` |
|---|
| 812 |
-- |
|---|
| 813 |
|
|---|
| 814 |
|
|---|
| 815 |
-- -------------------------------------------------------- |
|---|
| 816 |
|
|---|
| 817 |
-- |
|---|
| 818 |
-- Структура таблицы `forum_search_wordmatch` |
|---|
| 819 |
-- |
|---|
| 820 |
|
|---|
| 821 |
DROP TABLE IF EXISTS `forum_search_wordmatch`; |
|---|
| 822 |
CREATE TABLE IF NOT EXISTS `forum_search_wordmatch` ( |
|---|
| 823 |
`post_id` mediumint(8) unsigned DEFAULT '0', |
|---|
| 824 |
`word_id` mediumint(8) unsigned DEFAULT '0', |
|---|
| 825 |
`title_match` tinyint(1) DEFAULT '0', |
|---|
| 826 |
KEY `post_id` (`post_id`), |
|---|
| 827 |
KEY `word_id` (`word_id`) |
|---|
| 828 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
|---|
| 829 |
|
|---|
| 830 |
-- |
|---|
| 831 |
-- Дамп данных таблицы `forum_search_wordmatch` |
|---|
| 832 |
-- |
|---|
| 833 |
|
|---|
| 834 |
|
|---|
| 835 |
-- -------------------------------------------------------- |
|---|
| 836 |
|
|---|
| 837 |
-- |
|---|
| 838 |
-- Структура таблицы `forum_topics` |
|---|
| 839 |
-- |
|---|
| 840 |
|
|---|
| 841 |
DROP TABLE IF EXISTS `forum_topics`; |
|---|
| 842 |
CREATE TABLE IF NOT EXISTS `forum_topics` ( |
|---|
| 843 |
`topic_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 844 |
`forum_id` smallint(8) unsigned DEFAULT '0', |
|---|
| 845 |
`topic_title` varchar(255) DEFAULT NULL, |
|---|
| 846 |
`topic_poster` mediumint(8) DEFAULT '0', |
|---|
| 847 |
`topic_time` int(11) DEFAULT '0', |
|---|
| 848 |
`topic_views` mediumint(8) unsigned DEFAULT '0', |
|---|
| 849 |
`topic_replies` mediumint(8) unsigned DEFAULT '0', |
|---|
| 850 |
`topic_status` tinyint(3) DEFAULT '0', |
|---|
| 851 |
`topic_vote` tinyint(1) DEFAULT '0', |
|---|
| 852 |
`topic_type` tinyint(3) DEFAULT '0', |
|---|
| 853 |
`topic_first_post_id` mediumint(8) unsigned DEFAULT '0', |
|---|
| 854 |
`topic_first_post_sticky` tinyint(1) DEFAULT '0', |
|---|
| 855 |
`topic_last_post_id` mediumint(8) unsigned DEFAULT '0', |
|---|
| 856 |
`topic_moved_id` mediumint(8) unsigned DEFAULT '0', |
|---|
| 857 |
`topic_last_post_time` int(11) DEFAULT '0', |
|---|
| 858 |
PRIMARY KEY (`topic_id`), |
|---|
| 859 |
KEY `forum_id` (`forum_id`), |
|---|
| 860 |
KEY `topic_moved_id` (`topic_moved_id`), |
|---|
| 861 |
KEY `topic_status` (`topic_status`), |
|---|
| 862 |
KEY `topic_type` (`topic_type`), |
|---|
| 863 |
KEY `topic_last_post_id` (`topic_last_post_id`) |
|---|
| 864 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 865 |
|
|---|
| 866 |
-- |
|---|
| 867 |
-- Дамп данных таблицы `forum_topics` |
|---|
| 868 |
-- |
|---|
| 869 |
|
|---|
| 870 |
|
|---|
| 871 |
-- -------------------------------------------------------- |
|---|
| 872 |
|
|---|
| 873 |
-- |
|---|
| 874 |
-- Структура таблицы `forum_user_group` |
|---|
| 875 |
-- |
|---|
| 876 |
|
|---|
| 877 |
DROP TABLE IF EXISTS `forum_user_group`; |
|---|
| 878 |
CREATE TABLE IF NOT EXISTS `forum_user_group` ( |
|---|
| 879 |
`group_id` mediumint(8) DEFAULT '0', |
|---|
| 880 |
`user_id` mediumint(8) DEFAULT '0', |
|---|
| 881 |
`user_pending` tinyint(1) DEFAULT NULL, |
|---|
| 882 |
KEY `group_id` (`group_id`), |
|---|
| 883 |
KEY `user_id` (`user_id`) |
|---|
| 884 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
|---|
| 885 |
|
|---|
| 886 |
-- |
|---|
| 887 |
-- Дамп данных таблицы `forum_user_group` |
|---|
| 888 |
-- |
|---|
| 889 |
|
|---|
| 890 |
INSERT INTO `forum_user_group` (`group_id`, `user_id`, `user_pending`) VALUES |
|---|
| 891 |
(1, 0, 0), |
|---|
| 892 |
(6, 1, 0), |
|---|
| 893 |
(7, 1, 0), |
|---|
| 894 |
(55, 1, 0), |
|---|
| 895 |
(56, 1, 0), |
|---|
| 896 |
(126, 1, 0), |
|---|
| 897 |
(385, 1, 0), |
|---|
| 898 |
(386, 1, 0), |
|---|
| 899 |
(387, 1, 0); |
|---|
| 900 |
|
|---|
| 901 |
-- -------------------------------------------------------- |
|---|
| 902 |
|
|---|
| 903 |
-- |
|---|
| 904 |
-- Структура таблицы `friends` |
|---|
| 905 |
-- |
|---|
| 906 |
|
|---|
| 907 |
DROP TABLE IF EXISTS `friends`; |
|---|
| 908 |
CREATE TABLE IF NOT EXISTS `friends` ( |
|---|
| 909 |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 910 |
`userid` int(10) unsigned DEFAULT '0', |
|---|
| 911 |
`friendid` int(10) unsigned DEFAULT '0', |
|---|
| 912 |
`blockid` int(10) DEFAULT '0', |
|---|
| 913 |
PRIMARY KEY (`id`), |
|---|
| 914 |
KEY `userid` (`userid`) |
|---|
| 915 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 916 |
|
|---|
| 917 |
-- |
|---|
| 918 |
-- Дамп данных таблицы `friends` |
|---|
| 919 |
-- |
|---|
| 920 |
|
|---|
| 921 |
|
|---|
| 922 |
-- -------------------------------------------------------- |
|---|
| 923 |
|
|---|
| 924 |
-- |
|---|
| 925 |
-- Структура таблицы `helpdesk` |
|---|
| 926 |
-- |
|---|
| 927 |
|
|---|
| 928 |
DROP TABLE IF EXISTS `helpdesk`; |
|---|
| 929 |
CREATE TABLE IF NOT EXISTS `helpdesk` ( |
|---|
| 930 |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 931 |
`title` varchar(60) DEFAULT NULL, |
|---|
| 932 |
`msg_problem` text, |
|---|
| 933 |
`added` int(11) DEFAULT '0', |
|---|
| 934 |
`solved_date` int(11) DEFAULT '0', |
|---|
| 935 |
`solved` tinyint(1) DEFAULT '0', |
|---|
| 936 |
`added_by` int(10) DEFAULT '0', |
|---|
| 937 |
`solved_by` int(10) DEFAULT '0', |
|---|
| 938 |
`msg_answer` text, |
|---|
| 939 |
UNIQUE KEY `id` (`id`), |
|---|
| 940 |
KEY `added_by` (`added_by`), |
|---|
| 941 |
KEY `solved_by` (`solved_by`), |
|---|
| 942 |
KEY `solved` (`solved`) |
|---|
| 943 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 944 |
|
|---|
| 945 |
-- |
|---|
| 946 |
-- Дамп данных таблицы `helpdesk` |
|---|
| 947 |
-- |
|---|
| 948 |
|
|---|
| 949 |
|
|---|
| 950 |
-- -------------------------------------------------------- |
|---|
| 951 |
|
|---|
| 952 |
-- |
|---|
| 953 |
-- Структура таблицы `indexreleases` |
|---|
| 954 |
-- |
|---|
| 955 |
|
|---|
| 956 |
DROP TABLE IF EXISTS `indexreleases`; |
|---|
| 957 |
CREATE TABLE IF NOT EXISTS `indexreleases` ( |
|---|
| 958 |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 959 |
`name` varchar(250) DEFAULT NULL, |
|---|
| 960 |
`cover` varchar(250) DEFAULT NULL, |
|---|
| 961 |
`description` text, |
|---|
| 962 |
`torrent_id` int(10) DEFAULT '0', |
|---|
| 963 |
`forum_link` mediumint(8) DEFAULT '0', |
|---|
| 964 |
`imdb_link` varchar(255) DEFAULT NULL, |
|---|
| 965 |
PRIMARY KEY (`id`), |
|---|
| 966 |
KEY `torrent_id` (`torrent_id`) |
|---|
| 967 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 968 |
|
|---|
| 969 |
-- |
|---|
| 970 |
-- Дамп данных таблицы `indexreleases` |
|---|
| 971 |
-- |
|---|
| 972 |
|
|---|
| 973 |
|
|---|
| 974 |
-- -------------------------------------------------------- |
|---|
| 975 |
|
|---|
| 976 |
-- |
|---|
| 977 |
-- Структура таблицы `invites` |
|---|
| 978 |
-- |
|---|
| 979 |
|
|---|
| 980 |
DROP TABLE IF EXISTS `invites`; |
|---|
| 981 |
CREATE TABLE IF NOT EXISTS `invites` ( |
|---|
| 982 |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 983 |
`invite_user` int(10) unsigned DEFAULT '0', |
|---|
| 984 |
`invite_email` varchar(255) DEFAULT NULL, |
|---|
| 985 |
`hash` varchar(32) DEFAULT NULL, |
|---|
| 986 |
`added` int(11) DEFAULT '0', |
|---|
| 987 |
PRIMARY KEY (`id`), |
|---|
| 988 |
KEY `invite_user` (`invite_user`), |
|---|
| 989 |
KEY `invite_email` (`invite_email`), |
|---|
| 990 |
KEY `hash` (`hash`) |
|---|
| 991 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 992 |
|
|---|
| 993 |
-- |
|---|
| 994 |
-- Дамп данных таблицы `invites` |
|---|
| 995 |
-- |
|---|
| 996 |
|
|---|
| 997 |
|
|---|
| 998 |
-- -------------------------------------------------------- |
|---|
| 999 |
|
|---|
| 1000 |
-- |
|---|
| 1001 |
-- Структура таблицы `messages` |
|---|
| 1002 |
-- |
|---|
| 1003 |
|
|---|
| 1004 |
DROP TABLE IF EXISTS `messages`; |
|---|
| 1005 |
CREATE TABLE IF NOT EXISTS `messages` ( |
|---|
| 1006 |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 1007 |
`sender` int(10) unsigned DEFAULT '0', |
|---|
| 1008 |
`receiver` int(10) unsigned DEFAULT '0', |
|---|
| 1009 |
`added` int(11) DEFAULT '0', |
|---|
| 1010 |
`subject` varchar(255) DEFAULT NULL, |
|---|
| 1011 |
`msg` text, |
|---|
| 1012 |
`unread` tinyint(1) DEFAULT '1', |
|---|
| 1013 |
`location` tinyint(1) DEFAULT '1', |
|---|
| 1014 |
`saved` tinyint(1) DEFAULT '0', |
|---|
| 1015 |
`reply_to` int(10) DEFAULT '0', |
|---|
| 1016 |
PRIMARY KEY (`id`), |
|---|
| 1017 |
KEY `receiver` (`receiver`), |
|---|
| 1018 |
KEY `sender` (`sender`), |
|---|
| 1019 |
KEY `location` (`location`), |
|---|
| 1020 |
KEY `reply_to` (`reply_to`) |
|---|
| 1021 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 1022 |
|
|---|
| 1023 |
-- |
|---|
| 1024 |
-- Дамп данных таблицы `messages` |
|---|
| 1025 |
-- |
|---|
| 1026 |
|
|---|
| 1027 |
|
|---|
| 1028 |
-- -------------------------------------------------------- |
|---|
| 1029 |
|
|---|
| 1030 |
-- |
|---|
| 1031 |
-- Структура таблицы `news` |
|---|
| 1032 |
-- |
|---|
| 1033 |
|
|---|
| 1034 |
DROP TABLE IF EXISTS `news`; |
|---|
| 1035 |
CREATE TABLE IF NOT EXISTS `news` ( |
|---|
| 1036 |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 1037 |
`userid` int(11) DEFAULT '0', |
|---|
| 1038 |
`added` int(11) DEFAULT '0', |
|---|
| 1039 |
`body` text, |
|---|
| 1040 |
`title` varchar(255) DEFAULT NULL, |
|---|
| 1041 |
`news_announce_time` int(4) DEFAULT '0', |
|---|
| 1042 |
`news_announce_user_classes` varchar(255) DEFAULT NULL, |
|---|
| 1043 |
`news_comments` int(10) DEFAULT '0', |
|---|
| 1044 |
`news_disable_comments` tinyint(1) DEFAULT '0', |
|---|
| 1045 |
PRIMARY KEY (`id`) |
|---|
| 1046 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 1047 |
|
|---|
| 1048 |
-- |
|---|
| 1049 |
-- Дамп данных таблицы `news` |
|---|
| 1050 |
-- |
|---|
| 1051 |
|
|---|
| 1052 |
|
|---|
| 1053 |
-- -------------------------------------------------------- |
|---|
| 1054 |
|
|---|
| 1055 |
-- |
|---|
| 1056 |
-- Структура таблицы `offers` |
|---|
| 1057 |
-- |
|---|
| 1058 |
|
|---|
| 1059 |
DROP TABLE IF EXISTS `offers`; |
|---|
| 1060 |
CREATE TABLE IF NOT EXISTS `offers` ( |
|---|
| 1061 |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 1062 |
`userid` int(10) unsigned DEFAULT '0', |
|---|
| 1063 |
`name` varchar(225) DEFAULT NULL, |
|---|
| 1064 |
`descr` text, |
|---|
| 1065 |
`added` int(11) DEFAULT '0', |
|---|
| 1066 |
`category` int(11) DEFAULT '0', |
|---|
| 1067 |
`comments` int(11) DEFAULT '0', |
|---|
| 1068 |
`votes` smallint(10) DEFAULT '0', |
|---|
| 1069 |
`filled` int(10) unsigned DEFAULT '0', |
|---|
| 1070 |
`filledby` int(10) DEFAULT '0', |
|---|
| 1071 |
PRIMARY KEY (`id`), |
|---|
| 1072 |
KEY `userid` (`userid`), |
|---|
| 1073 |
KEY `filledby` (`filledby`) |
|---|
| 1074 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 1075 |
|
|---|
| 1076 |
-- |
|---|
| 1077 |
-- Дамп данных таблицы `offers` |
|---|
| 1078 |
-- |
|---|
| 1079 |
|
|---|
| 1080 |
|
|---|
| 1081 |
-- -------------------------------------------------------- |
|---|
| 1082 |
|
|---|
| 1083 |
-- |
|---|
| 1084 |
-- Структура таблицы `offers_votes` |
|---|
| 1085 |
-- |
|---|
| 1086 |
|
|---|
| 1087 |
DROP TABLE IF EXISTS `offers_votes`; |
|---|
| 1088 |
CREATE TABLE IF NOT EXISTS `offers_votes` ( |
|---|
| 1089 |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 1090 |
`offerid` int(10) unsigned DEFAULT '0', |
|---|
| 1091 |
`userid` int(10) unsigned DEFAULT '0', |
|---|
| 1092 |
PRIMARY KEY (`id`), |
|---|
| 1093 |
KEY `userid` (`userid`) |
|---|
| 1094 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 1095 |
|
|---|
| 1096 |
-- |
|---|
| 1097 |
-- Дамп данных таблицы `offers_votes` |
|---|
| 1098 |
-- |
|---|
| 1099 |
|
|---|
| 1100 |
|
|---|
| 1101 |
-- -------------------------------------------------------- |
|---|
| 1102 |
|
|---|
| 1103 |
-- |
|---|
| 1104 |
-- Структура таблицы `peers` |
|---|
| 1105 |
-- |
|---|
| 1106 |
|
|---|
| 1107 |
DROP TABLE IF EXISTS `peers`; |
|---|
| 1108 |
CREATE TABLE IF NOT EXISTS `peers` ( |
|---|
| 1109 |
`fid` int(10) unsigned DEFAULT '0', |
|---|
| 1110 |
`peer_id` blob, |
|---|
| 1111 |
`ip` varchar(16) DEFAULT NULL, |
|---|
| 1112 |
`port` smallint(5) unsigned DEFAULT '0', |
|---|
| 1113 |
`uploaded` bigint(20) unsigned DEFAULT '0', |
|---|
| 1114 |
`downloaded` bigint(20) unsigned DEFAULT '0', |
|---|
| 1115 |
`left` bigint(20) unsigned DEFAULT '0', |
|---|
| 1116 |
`started` int(11) DEFAULT '0', |
|---|
| 1117 |
`mtime` int(11) DEFAULT '0', |
|---|
| 1118 |
`uid` int(10) unsigned DEFAULT '0', |
|---|
| 1119 |
`useragent` varchar(60) DEFAULT NULL, |
|---|
| 1120 |
`downspeed` bigint(20) unsigned DEFAULT '0', |
|---|
| 1121 |
`upspeed` bigint(20) unsigned DEFAULT '0', |
|---|
| 1122 |
`announced` int(11) DEFAULT '0', |
|---|
| 1123 |
`completed` int(11) DEFAULT '0', |
|---|
| 1124 |
`active` tinyint(4) DEFAULT '0', |
|---|
| 1125 |
UNIQUE KEY `fid_uid` (`fid`,`uid`), |
|---|
| 1126 |
KEY `peer_id` (`peer_id`(20)) |
|---|
| 1127 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
|---|
| 1128 |
|
|---|
| 1129 |
-- |
|---|
| 1130 |
-- Дамп данных таблицы `peers` |
|---|
| 1131 |
-- |
|---|
| 1132 |
|
|---|
| 1133 |
|
|---|
| 1134 |
-- -------------------------------------------------------- |
|---|
| 1135 |
|
|---|
| 1136 |
-- |
|---|
| 1137 |
-- Структура таблицы `ranks` |
|---|
| 1138 |
-- |
|---|
| 1139 |
|
|---|
| 1140 |
DROP TABLE IF EXISTS `ranks`; |
|---|
| 1141 |
CREATE TABLE IF NOT EXISTS `ranks` ( |
|---|
| 1142 |
`rank_id` int(10) NOT NULL AUTO_INCREMENT, |
|---|
| 1143 |
`rank_name` varchar(255) NOT NULL, |
|---|
| 1144 |
`rank_points` int(10) NOT NULL, |
|---|
| 1145 |
`rank_image` varchar(255) NOT NULL, |
|---|
| 1146 |
`rank_level` int(10) NOT NULL DEFAULT '0', |
|---|
| 1147 |
`rank_simpaty_limit` int(3) NOT NULL DEFAULT '0', |
|---|
| 1148 |
PRIMARY KEY (`rank_id`) |
|---|
| 1149 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; |
|---|
| 1150 |
|
|---|
| 1151 |
-- |
|---|
| 1152 |
-- Дамп данных таблицы `ranks` |
|---|
| 1153 |
-- |
|---|
| 1154 |
|
|---|
| 1155 |
INSERT INTO `ranks` (`rank_id`, `rank_name`, `rank_points`, `rank_image`, `rank_level`, `rank_simpaty_limit`) VALUES |
|---|
| 1156 |
(1, 'Base Rank', 0, '', 0, 0); |
|---|
| 1157 |
|
|---|
| 1158 |
-- -------------------------------------------------------- |
|---|
| 1159 |
|
|---|
| 1160 |
-- |
|---|
| 1161 |
-- Структура таблицы `ratings` |
|---|
| 1162 |
-- |
|---|
| 1163 |
|
|---|
| 1164 |
DROP TABLE IF EXISTS `ratings`; |
|---|
| 1165 |
CREATE TABLE IF NOT EXISTS `ratings` ( |
|---|
| 1166 |
`torrent` int(10) unsigned NOT NULL DEFAULT '0', |
|---|
| 1167 |
`user` int(10) unsigned NOT NULL DEFAULT '0', |
|---|
| 1168 |
`rating` tinyint(3) unsigned DEFAULT '0', |
|---|
| 1169 |
PRIMARY KEY (`torrent`,`user`), |
|---|
| 1170 |
KEY `user` (`user`) |
|---|
| 1171 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
|---|
| 1172 |
|
|---|
| 1173 |
-- |
|---|
| 1174 |
-- Дамп данных таблицы `ratings` |
|---|
| 1175 |
-- |
|---|
| 1176 |
|
|---|
| 1177 |
|
|---|
| 1178 |
-- -------------------------------------------------------- |
|---|
| 1179 |
|
|---|
| 1180 |
-- |
|---|
| 1181 |
-- Структура таблицы `release_groups` |
|---|
| 1182 |
-- |
|---|
| 1183 |
|
|---|
| 1184 |
DROP TABLE IF EXISTS `release_groups`; |
|---|
| 1185 |
CREATE TABLE IF NOT EXISTS `release_groups` ( |
|---|
| 1186 |
`group_id` smallint(5) NOT NULL AUTO_INCREMENT, |
|---|
| 1187 |
`pic_url` varchar(100) DEFAULT NULL, |
|---|
| 1188 |
`group_name` varchar(100) DEFAULT NULL, |
|---|
| 1189 |
PRIMARY KEY (`group_id`) |
|---|
| 1190 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 1191 |
|
|---|
| 1192 |
-- |
|---|
| 1193 |
-- Дамп данных таблицы `release_groups` |
|---|
| 1194 |
-- |
|---|
| 1195 |
|
|---|
| 1196 |
|
|---|
| 1197 |
-- -------------------------------------------------------- |
|---|
| 1198 |
|
|---|
| 1199 |
-- |
|---|
| 1200 |
-- Структура таблицы `reports` |
|---|
| 1201 |
-- |
|---|
| 1202 |
|
|---|
| 1203 |
DROP TABLE IF EXISTS `reports`; |
|---|
| 1204 |
CREATE TABLE IF NOT EXISTS `reports` ( |
|---|
| 1205 |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 1206 |
`addedby` int(10) unsigned DEFAULT '0', |
|---|
| 1207 |
`votedfor` int(10) unsigned DEFAULT '0', |
|---|
| 1208 |
`type` tinyint(1) DEFAULT '0', |
|---|
| 1209 |
`reason` varchar(255) DEFAULT NULL, |
|---|
| 1210 |
`dealtby` int(10) unsigned DEFAULT '0', |
|---|
| 1211 |
`dealtwith` tinyint(1) DEFAULT '0', |
|---|
| 1212 |
PRIMARY KEY (`id`), |
|---|
| 1213 |
KEY `dealtwith` (`dealtwith`) |
|---|
| 1214 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 1215 |
|
|---|
| 1216 |
-- |
|---|
| 1217 |
-- Дамп данных таблицы `reports` |
|---|
| 1218 |
-- |
|---|
| 1219 |
|
|---|
| 1220 |
|
|---|
| 1221 |
-- -------------------------------------------------------- |
|---|
| 1222 |
|
|---|
| 1223 |
-- |
|---|
| 1224 |
-- Структура таблицы `requests` |
|---|
| 1225 |
-- |
|---|
| 1226 |
|
|---|
| 1227 |
DROP TABLE IF EXISTS `requests`; |
|---|
| 1228 |
CREATE TABLE IF NOT EXISTS `requests` ( |
|---|
| 1229 |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 1230 |
`userid` int(10) unsigned DEFAULT '0', |
|---|
| 1231 |
`request` varchar(225) DEFAULT NULL, |
|---|
| 1232 |
`descr` text, |
|---|
| 1233 |
`added` int(11) DEFAULT '0', |
|---|
| 1234 |
`hits` int(10) unsigned DEFAULT '0', |
|---|
| 1235 |
`filled` int(10) unsigned DEFAULT '0', |
|---|
| 1236 |
`comments` int(10) unsigned DEFAULT '0', |
|---|
| 1237 |
`cat` int(10) unsigned DEFAULT '0', |
|---|
| 1238 |
`filledby` int(10) unsigned DEFAULT '0', |
|---|
| 1239 |
PRIMARY KEY (`id`), |
|---|
| 1240 |
KEY `userid` (`userid`) |
|---|
| 1241 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 1242 |
|
|---|
| 1243 |
-- |
|---|
| 1244 |
-- Дамп данных таблицы `requests` |
|---|
| 1245 |
-- |
|---|
| 1246 |
|
|---|
| 1247 |
|
|---|
| 1248 |
-- -------------------------------------------------------- |
|---|
| 1249 |
|
|---|
| 1250 |
-- |
|---|
| 1251 |
-- Структура таблицы `requests_votes` |
|---|
| 1252 |
-- |
|---|
| 1253 |
|
|---|
| 1254 |
DROP TABLE IF EXISTS `requests_votes`; |
|---|
| 1255 |
CREATE TABLE IF NOT EXISTS `requests_votes` ( |
|---|
| 1256 |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 1257 |
`requestid` int(10) unsigned DEFAULT '0', |
|---|
| 1258 |
`userid` int(10) unsigned DEFAULT '0', |
|---|
| 1259 |
PRIMARY KEY (`id`), |
|---|
| 1260 |
KEY `userid` (`userid`) |
|---|
| 1261 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 1262 |
|
|---|
| 1263 |
-- |
|---|
| 1264 |
-- Дамп данных таблицы `requests_votes` |
|---|
| 1265 |
-- |
|---|
| 1266 |
|
|---|
| 1267 |
|
|---|
| 1268 |
-- -------------------------------------------------------- |
|---|
| 1269 |
|
|---|
| 1270 |
-- |
|---|
| 1271 |
-- Структура таблицы `sessions` |
|---|
| 1272 |
-- |
|---|
| 1273 |
|
|---|
| 1274 |
DROP TABLE IF EXISTS `sessions`; |
|---|
| 1275 |
CREATE TABLE IF NOT EXISTS `sessions` ( |
|---|
| 1276 |
`session_id` varchar(32) NOT NULL DEFAULT '', |
|---|
| 1277 |
`session_user_id` mediumint(8) DEFAULT '0', |
|---|
| 1278 |
`session_start` int(11) DEFAULT '0', |
|---|
| 1279 |
`session_time` int(11) DEFAULT '0', |
|---|
| 1280 |
`session_ip` varchar(16) DEFAULT NULL, |
|---|
| 1281 |
`session_page` varchar(255) DEFAULT NULL, |
|---|
| 1282 |
`session_logged_in` tinyint(1) DEFAULT '0', |
|---|
| 1283 |
`session_admin` tinyint(2) DEFAULT '0', |
|---|
| 1284 |
PRIMARY KEY (`session_id`), |
|---|
| 1285 |
KEY `session_user_id` (`session_user_id`), |
|---|
| 1286 |
KEY `session_ip` (`session_ip`) |
|---|
| 1287 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
|---|
| 1288 |
|
|---|
| 1289 |
-- -------------------------------------------------------- |
|---|
| 1290 |
|
|---|
| 1291 |
-- |
|---|
| 1292 |
-- Структура таблицы `sessions_keys` |
|---|
| 1293 |
-- |
|---|
| 1294 |
|
|---|
| 1295 |
DROP TABLE IF EXISTS `sessions_keys`; |
|---|
| 1296 |
CREATE TABLE IF NOT EXISTS `sessions_keys` ( |
|---|
| 1297 |
`key_id` varchar(32) NOT NULL DEFAULT '', |
|---|
| 1298 |
`user_id` mediumint(8) NOT NULL DEFAULT '0', |
|---|
| 1299 |
`last_ip` varchar(16) DEFAULT NULL, |
|---|
| 1300 |
`last_login` int(11) DEFAULT '0', |
|---|
| 1301 |
PRIMARY KEY (`key_id`,`user_id`) |
|---|
| 1302 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
|---|
| 1303 |
|
|---|
| 1304 |
-- -------------------------------------------------------- |
|---|
| 1305 |
|
|---|
| 1306 |
-- |
|---|
| 1307 |
-- Структура таблицы `simpaty` |
|---|
| 1308 |
-- |
|---|
| 1309 |
|
|---|
| 1310 |
DROP TABLE IF EXISTS `simpaty`; |
|---|
| 1311 |
CREATE TABLE IF NOT EXISTS `simpaty` ( |
|---|
| 1312 |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 1313 |
`touserid` int(10) unsigned DEFAULT '0', |
|---|
| 1314 |
`fromuserid` int(10) unsigned DEFAULT '0', |
|---|
| 1315 |
`simpaty` tinyint(1) DEFAULT '0', |
|---|
| 1316 |
`type` tinyint(1) DEFAULT '0', |
|---|
| 1317 |
`simpid` int(10) DEFAULT '0', |
|---|
| 1318 |
`respect_time` int(11) DEFAULT '0', |
|---|
| 1319 |
`description` text, |
|---|
| 1320 |
PRIMARY KEY (`id`), |
|---|
| 1321 |
KEY `touserid` (`touserid`), |
|---|
| 1322 |
KEY `fromuserid` (`fromuserid`), |
|---|
| 1323 |
KEY `simpid` (`simpid`) |
|---|
| 1324 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 1325 |
|
|---|
| 1326 |
-- |
|---|
| 1327 |
-- Дамп данных таблицы `simpaty` |
|---|
| 1328 |
-- |
|---|
| 1329 |
|
|---|
| 1330 |
|
|---|
| 1331 |
-- -------------------------------------------------------- |
|---|
| 1332 |
|
|---|
| 1333 |
-- |
|---|
| 1334 |
-- Структура таблицы `sitelog` |
|---|
| 1335 |
-- |
|---|
| 1336 |
|
|---|
| 1337 |
DROP TABLE IF EXISTS `sitelog`; |
|---|
| 1338 |
CREATE TABLE IF NOT EXISTS `sitelog` ( |
|---|
| 1339 |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 1340 |
`added` int(11) DEFAULT '0', |
|---|
| 1341 |
`txt` text, |
|---|
| 1342 |
`log_view_level` tinyint(2) DEFAULT '0', |
|---|
| 1343 |
PRIMARY KEY (`id`), |
|---|
| 1344 |
KEY `added` (`added`) |
|---|
| 1345 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 1346 |
|
|---|
| 1347 |
-- |
|---|
| 1348 |
-- Дамп данных таблицы `sitelog` |
|---|
| 1349 |
-- |
|---|
| 1350 |
|
|---|
| 1351 |
|
|---|
| 1352 |
-- -------------------------------------------------------- |
|---|
| 1353 |
|
|---|
| 1354 |
-- |
|---|
| 1355 |
-- Структура таблицы `smilies` |
|---|
| 1356 |
-- |
|---|
| 1357 |
|
|---|
| 1358 |
DROP TABLE IF EXISTS `smilies`; |
|---|
| 1359 |
CREATE TABLE IF NOT EXISTS `smilies` ( |
|---|
| 1360 |
`smilies_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 1361 |
`code` varchar(50) DEFAULT NULL, |
|---|
| 1362 |
`smile_url` varchar(100) DEFAULT NULL, |
|---|
| 1363 |
`emoticon` varchar(75) DEFAULT NULL, |
|---|
| 1364 |
PRIMARY KEY (`smilies_id`) |
|---|
| 1365 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=178 ; |
|---|
| 1366 |
|
|---|
| 1367 |
-- |
|---|
| 1368 |
-- Дамп данных таблицы `smilies` |
|---|
| 1369 |
-- |
|---|
| 1370 |
|
|---|
| 1371 |
INSERT INTO `smilies` (`smilies_id`, `code`, `smile_url`, `emoticon`) VALUES |
|---|
| 1372 |
(1, ':-)', 'smile1.gif', 'smile1'), |
|---|
| 1373 |
(2, ':smile:', 'smile2.gif', 'smile2'), |
|---|
| 1374 |
(3, ':-D', 'grin.gif', 'grin'), |
|---|
| 1375 |
(4, ':lol:', 'laugh.gif', 'laugh'), |
|---|
| 1376 |
(5, ':w00t:', 'w00t.gif', 'w00t'), |
|---|
| 1377 |
(6, ':-P', 'tongue.gif', 'tongue'), |
|---|
| 1378 |
(7, ';-)', 'wink.gif', 'wink'), |
|---|
| 1379 |
(8, ':-|', 'noexpression.gif', 'noexpression'), |
|---|
| 1380 |
(9, ':-/', 'confused.gif', 'confused'), |
|---|
| 1381 |
(10, ':-(', 'sad.gif', 'sad'), |
|---|
| 1382 |
(11, ':''-(', 'cry.gif', ''), |
|---|
| 1383 |
(12, ':weep:', 'weep.gif', 'weep'), |
|---|
| 1384 |
(13, ':-O', 'ohmy.gif', 'ohmy'), |
|---|
| 1385 |
(14, ':o)', 'clown.gif', 'clown'), |
|---|
| 1386 |
(15, '8-)', 'cool1.gif', 'cool1'), |
|---|
| 1387 |
(16, '|-)', 'sleeping.gif', 'sleeping'), |
|---|
| 1388 |
(17, ':innocent:', 'innocent.gif', 'innocent'), |
|---|
| 1389 |
(18, ':whistle:', 'whistle.gif', 'whistle'), |
|---|
| 1390 |
(19, ':unsure:', 'unsure.gif', 'unsure'), |
|---|
| 1391 |
(20, ':closedeyes:', 'closedeyes.gif', 'closedeyes'), |
|---|
| 1392 |
(21, ':cool:', 'cool2.gif', 'cool2'), |
|---|
| 1393 |
(22, ':fun:', 'fun.gif', 'fun'), |
|---|
| 1394 |
(23, ':thumbsup:', 'thumbsup.gif', 'thumbsup'), |
|---|
| 1395 |
(24, ':thumbsdown:', 'thumbsdown.gif', 'thumbsdown'), |
|---|
| 1396 |
(25, ':blush:', 'blush.gif', 'blush'), |
|---|
| 1397 |
(26, ':yes:', 'yes.gif', 'yes'), |
|---|
| 1398 |
(27, ':no:', 'no.gif', 'no'), |
|---|
| 1399 |
(28, ':love:', 'love.gif', 'love'), |
|---|
| 1400 |
(29, ':?:', 'question.gif', 'question'), |
|---|
| 1401 |
(30, ':!:', 'excl.gif', 'excl'), |
|---|
| 1402 |
(31, ':idea:', 'idea.gif', 'idea'), |
|---|
| 1403 |
(32, ':arrow:', 'arrow.gif', 'arrow'), |
|---|
| 1404 |
(33, ':arrow2:', 'arrow2.gif', 'arrow2'), |
|---|
| 1405 |
(34, ':hmm:', 'hmm.gif', 'hmm'), |
|---|
| 1406 |
(35, ':hmmm:', 'hmmm.gif', 'hmmm'), |
|---|
| 1407 |
(36, ':huh:', 'huh.gif', 'huh'), |
|---|
| 1408 |
(37, ':geek:', 'geek.gif', 'geek'), |
|---|
| 1409 |
(38, ':look:', 'look.gif', 'look'), |
|---|
| 1410 |
(39, ':rolleyes:', 'rolleyes.gif', 'rolleyes'), |
|---|
| 1411 |
(40, ':kiss:', 'kiss.gif', 'kiss'), |
|---|
| 1412 |
(41, ':shifty:', 'shifty.gif', 'shifty'), |
|---|
| 1413 |
(42, ':blink:', 'blink.gif', 'blink'), |
|---|
| 1414 |
(43, ':smartass:', 'smartass.gif', 'smartass'), |
|---|
| 1415 |
(44, ':sick:', 'sick.gif', 'sick'), |
|---|
| 1416 |
(45, ':crazy:', 'crazy.gif', 'crazy'), |
|---|
| 1417 |
(46, ':wacko:', 'wacko.gif', 'wacko'), |
|---|
| 1418 |
(47, ':alien:', 'alien.gif', 'alien'), |
|---|
| 1419 |
(48, ':wizard:', 'wizard.gif', 'wizard'), |
|---|
| 1420 |
(49, ':wave:', 'wave.gif', 'wave'), |
|---|
| 1421 |
(50, ':wavecry:', 'wavecry.gif', 'wavecry'), |
|---|
| 1422 |
(51, ':baby:', 'baby.gif', 'baby'), |
|---|
| 1423 |
(52, ':angry:', 'angry.gif', 'angry'), |
|---|
| 1424 |
(53, ':ras:', 'ras.gif', 'ras'), |
|---|
| 1425 |
(54, ':sly:', 'sly.gif', 'sly'), |
|---|
| 1426 |
(55, ':devil:', 'devil.gif', 'devil'), |
|---|
| 1427 |
(56, ':evil:', 'evil.gif', 'evil'), |
|---|
| 1428 |
(57, ':evilmad:', 'evilmad.gif', 'evilmad'), |
|---|
| 1429 |
(58, ':sneaky:', 'sneaky.gif', 'sneaky'), |
|---|
| 1430 |
(59, ':axe:', 'axe.gif', 'axe'), |
|---|
| 1431 |
(60, ':slap:', 'slap.gif', 'slap'), |
|---|
| 1432 |
(61, ':wall:', 'wall.gif', 'wall'), |
|---|
| 1433 |
(62, ':rant:', 'rant.gif', 'rant'), |
|---|
| 1434 |
(63, ':jump:', 'jump.gif', 'jump'), |
|---|
| 1435 |
(64, ':yucky:', 'yucky.gif', 'yucky'), |
|---|
| 1436 |
(65, ':nugget:', 'nugget.gif', 'nugget'), |
|---|
| 1437 |
(66, ':smart:', 'smart.gif', 'smart'), |
|---|
| 1438 |
(67, ':shutup:', 'shutup.gif', 'shutup'), |
|---|
| 1439 |
(68, ':shutup2:', 'shutup2.gif', 'shutup2'), |
|---|
| 1440 |
(69, ':crockett:', 'crockett.gif', 'crockett'), |
|---|
| 1441 |
(70, ':zorro:', 'zorro.gif', 'zorro'), |
|---|
| 1442 |
(71, ':snap:', 'snap.gif', 'snap'), |
|---|
| 1443 |
(72, ':beer:', 'beer.gif', 'beer'), |
|---|
| 1444 |
(73, ':beer2:', 'beer2.gif', 'beer2'), |
|---|
| 1445 |
(74, ':drunk:', 'drunk.gif', 'drunk'), |
|---|
| 1446 |
(75, ':strongbench:', 'strongbench.gif', 'strongbench'), |
|---|
| 1447 |
(76, ':weakbench:', 'weakbench.gif', 'weakbench'), |
|---|
| 1448 |
(77, ':dumbells:', 'dumbells.gif', 'dumbells'), |
|---|
| 1449 |
(78, ':music:', 'music.gif', 'music'), |
|---|
| 1450 |
(79, ':stupid:', 'stupid.gif', 'stupid'), |
|---|
| 1451 |
(80, ':dots:', 'dots.gif', 'dots'), |
|---|
| 1452 |
(81, ':offtopic:', 'offtopic.gif', 'offtopic'), |
|---|
| 1453 |
(82, ':spam:', 'spam.gif', ''), |
|---|
| 1454 |
(83, ':oops:', 'oops.gif', 'oops'), |
|---|
| 1455 |
(84, ':lttd:', 'lttd.gif', 'lttd'), |
|---|
| 1456 |
(85, ':please:', 'please.gif', 'please'), |
|---|
| 1457 |
(86, ':sorry:', 'sorry.gif', ''), |
|---|
| 1458 |
(87, ':hi:', 'hi.gif', ''), |
|---|
| 1459 |
(88, ':yay:', 'yay.gif', 'yay'), |
|---|
| 1460 |
(89, ':cake:', 'cake.gif', 'cake'), |
|---|
| 1461 |
(90, ':hbd:', 'hbd.gif', ''), |
|---|
| 1462 |
(91, ':band:', 'band.gif', 'band'), |
|---|
| 1463 |
(92, ':punk:', 'punk.gif', 'punk'), |
|---|
| 1464 |
(93, ':rofl:', 'rofl.gif', 'rofl'), |
|---|
| 1465 |
(94, ':bounce:', 'bounce.gif', 'bounce'), |
|---|
| 1466 |
(95, ':mbounce:', 'mbounce.gif', 'mbounce'), |
|---|
| 1467 |
(96, ':thankyou:', 'thankyou.gif', ''), |
|---|
| 1468 |
(97, ':gathering:', 'gathering.gif', 'gathering'), |
|---|
| 1469 |
(98, ':hang:', 'hang.gif', 'hang'), |
|---|
| 1470 |
(99, ':chop:', 'chop.gif', 'chop'), |
|---|
| 1471 |
(100, ':rip:', 'rip.gif', 'rip'), |
|---|
| 1472 |
(101, ':whip:', 'whip.gif', 'whip'), |
|---|
| 1473 |
(102, ':judge:', 'judge.gif', 'judge'), |
|---|
| 1474 |
(103, ':chair:', 'chair.gif', 'chair'), |
|---|
| 1475 |
(104, ':tease:', 'tease.gif', 'tease'), |
|---|
| 1476 |
(105, ':box:', 'box.gif', 'box'), |
|---|
| 1477 |
(106, ':boxing:', 'boxing.gif', 'boxing'), |
|---|
| 1478 |
(107, ':guns:', 'guns.gif', 'guns'), |
|---|
| 1479 |
(108, ':shoot:', 'shoot.gif', 'shoot'), |
|---|
| 1480 |
(109, ':shoot2:', 'shoot2.gif', 'shoot2'), |
|---|
| 1481 |
(110, ':flowers:', 'flowers.gif', 'flowers'), |
|---|
| 1482 |
(111, ':wub:', 'wub.gif', 'wub'), |
|---|
| 1483 |
(112, ':lovers:', 'lovers.gif', 'lovers'), |
|---|
| 1484 |
(113, ':kissing:', 'kissing.gif', 'kissing'), |
|---|
| 1485 |
(114, ':kissing2:', 'kissing2.gif', 'kissing2'), |
|---|
| 1486 |
(115, ':console:', 'console.gif', 'console'), |
|---|
| 1487 |
(116, ':group:', 'group.gif', 'group'), |
|---|
| 1488 |
(117, ':hump:', 'hump.gif', 'hump'), |
|---|
| 1489 |
(118, ':hooray:', 'hooray.gif', 'hooray'), |
|---|
| 1490 |
(119, ':happy2:', 'happy2.gif', 'happy2'), |
|---|
| 1491 |
(120, ':clap:', 'clap.gif', 'clap'), |
|---|
| 1492 |
(121, ':clap2:', 'clap2.gif', 'clap2'), |
|---|
| 1493 |
(122, ':weirdo:', 'weirdo.gif', 'weirdo'), |
|---|
| 1494 |
(123, ':yawn:', 'yawn.gif', 'yawn'), |
|---|
| 1495 |
(124, ':bow:', 'bow.gif', 'bow'), |
|---|
| 1496 |
(125, ':dawgie:', 'dawgie.gif', 'dawgie'), |
|---|
| 1497 |
(126, ':cylon:', 'cylon.gif', 'cylon'), |
|---|
| 1498 |
(127, ':book:', 'book.gif', 'book'), |
|---|
| 1499 |
(128, ':fish:', 'fish.gif', 'fish'), |
|---|
| 1500 |
(129, ':mama:', 'mama.gif', 'mama'), |
|---|
| 1501 |
(130, ':pepsi:', 'pepsi.gif', 'pepsi'), |
|---|
| 1502 |
(131, ':medieval:', 'medieval.gif', 'medieval'), |
|---|
| 1503 |
(132, ':rambo:', 'rambo.gif', 'rambo'), |
|---|
| 1504 |
(133, ':ninja:', 'ninja.gif', 'ninja'), |
|---|
| 1505 |
(134, ':hannibal:', 'hannibal.gif', 'hannibal'), |
|---|
| 1506 |
(135, ':party:', 'party.gif', 'party'), |
|---|
| 1507 |
(136, ':snorkle:', 'snorkle.gif', 'snorkle'), |
|---|
| 1508 |
(137, ':evo:', 'evo.gif', 'evo'), |
|---|
| 1509 |
(138, ':king:', 'king.gif', 'king'), |
|---|
| 1510 |
(139, ':chef:', 'chef.gif', 'chef'), |
|---|
| 1511 |
(140, ':mario:', 'mario.gif', 'mario'), |
|---|
| 1512 |
(141, ':pope:', 'pope.gif', 'pope'), |
|---|
| 1513 |
(142, ':fez:', 'fez.gif', 'fez'), |
|---|
| 1514 |
(143, ':cap:', 'cap.gif', 'cap'), |
|---|
| 1515 |
(144, ':cowboy:', 'cowboy.gif', 'cowboy'), |
|---|
| 1516 |
(145, ':pirate:', 'pirate.gif', 'pirate'), |
|---|
| 1517 |
(146, ':pirate2:', 'pirate2.gif', 'pirate2'), |
|---|
| 1518 |
(147, ':rock:', 'rock.gif', 'rock'), |
|---|
| 1519 |
(148, ':cigar:', 'cigar.gif', 'cigar'), |
|---|
| 1520 |
(149, ':icecream:', 'icecream.gif', 'icecream'), |
|---|
| 1521 |
(150, ':oldtimer:', 'oldtimer.gif', 'oldtimer'), |
|---|
| 1522 |
(151, ':trampoline:', 'trampoline.gif', 'trampoline'), |
|---|
| 1523 |
(152, ':banana:', 'bananadance.gif', 'bananadance'), |
|---|
| 1524 |
(153, ':smurf:', 'smurf.gif', 'smurf'), |
|---|
| 1525 |
(154, ':yikes:', 'yikes.gif', 'yikes'), |
|---|
| 1526 |
(155, ':osama:', 'osama.gif', 'osama'), |
|---|
| 1527 |
(156, ':saddam:', 'saddam.gif', 'saddam'), |
|---|
| 1528 |
(157, ':santa:', 'santa.gif', 'santa'), |
|---|
| 1529 |
(158, ':indian:', 'indian.gif', 'indian'), |
|---|
| 1530 |
(159, ':pimp:', 'pimp.gif', 'pimp'), |
|---|
| 1531 |
(160, ':nuke:', 'nuke.gif', 'nuke'), |
|---|
| 1532 |
(161, ':jacko:', 'jacko.gif', 'jacko'), |
|---|
| 1533 |
(162, ':ike:', 'ike.gif', 'ike'), |
|---|
| 1534 |
(163, ':greedy:', 'greedy.gif', 'greedy'), |
|---|
| 1535 |
(164, ':super:', 'super.gif', 'super'), |
|---|
| 1536 |
(165, ':wolverine:', 'wolverine.gif', 'wolverine'), |
|---|
| 1537 |
(166, ':spidey:', 'spidey.gif', 'spidey'), |
|---|
| 1538 |
(167, ':spider:', 'spider.gif', 'spider'), |
|---|
| 1539 |
(168, ':bandana:', 'bandana.gif', 'bandana'), |
|---|
| 1540 |
(169, ':construction:', 'construction.gif', 'construction'), |
|---|
| 1541 |
(170, ':sheep:', 'sheep.gif', 'sheep'), |
|---|
| 1542 |
(171, ':police:', 'police.gif', 'police'), |
|---|
| 1543 |
(172, ':detective:', 'detective.gif', 'detective'), |
|---|
| 1544 |
(173, ':bike:', 'bike.gif', 'bike'), |
|---|
| 1545 |
(174, ':fishing:', 'fishing.gif', 'fishing'), |
|---|
| 1546 |
(175, ':clover:', 'clover.gif', 'clover'), |
|---|
| 1547 |
(176, ':horse:', 'horse.gif', 'horse'), |
|---|
| 1548 |
(177, ':shit:', 'shit.gif', 'shit'); |
|---|
| 1549 |
|
|---|
| 1550 |
-- -------------------------------------------------------- |
|---|
| 1551 |
|
|---|
| 1552 |
-- |
|---|
| 1553 |
-- Структура таблицы `snatched` |
|---|
| 1554 |
-- |
|---|
| 1555 |
|
|---|
| 1556 |
DROP TABLE IF EXISTS `snatched`; |
|---|
| 1557 |
CREATE TABLE IF NOT EXISTS `snatched` ( |
|---|
| 1558 |
`torrentid` int(10) DEFAULT '0', |
|---|
| 1559 |
`userid` int(10) DEFAULT '0', |
|---|
| 1560 |
`uploaded` bigint(20) unsigned DEFAULT '0', |
|---|
| 1561 |
`downloaded` bigint(20) unsigned DEFAULT '0', |
|---|
| 1562 |
`last_action` int(11) DEFAULT '0', |
|---|
| 1563 |
`completedat` int(11) DEFAULT '0', |
|---|
| 1564 |
UNIQUE KEY `fid_uid` (`torrentid`,`userid`), |
|---|
| 1565 |
KEY `userid` (`userid`), |
|---|
| 1566 |
KEY `torrentid` (`torrentid`) |
|---|
| 1567 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
|---|
| 1568 |
|
|---|
| 1569 |
-- |
|---|
| 1570 |
-- Дамп данных таблицы `snatched` |
|---|
| 1571 |
-- |
|---|
| 1572 |
|
|---|
| 1573 |
|
|---|
| 1574 |
-- -------------------------------------------------------- |
|---|
| 1575 |
|
|---|
| 1576 |
-- |
|---|
| 1577 |
-- Структура таблицы `sos` |
|---|
| 1578 |
-- |
|---|
| 1579 |
|
|---|
| 1580 |
DROP TABLE IF EXISTS `sos`; |
|---|
| 1581 |
CREATE TABLE IF NOT EXISTS `sos` ( |
|---|
| 1582 |
`torrentid` int(11) DEFAULT '0', |
|---|
| 1583 |
`userid` int(11) DEFAULT '0', |
|---|
| 1584 |
`id` int(11) NOT NULL AUTO_INCREMENT, |
|---|
| 1585 |
PRIMARY KEY (`id`) |
|---|
| 1586 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 1587 |
|
|---|
| 1588 |
-- |
|---|
| 1589 |
-- Дамп данных таблицы `sos` |
|---|
| 1590 |
-- |
|---|
| 1591 |
|
|---|
| 1592 |
|
|---|
| 1593 |
-- -------------------------------------------------------- |
|---|
| 1594 |
|
|---|
| 1595 |
-- |
|---|
| 1596 |
-- Структура таблицы `tags` |
|---|
| 1597 |
-- |
|---|
| 1598 |
|
|---|
| 1599 |
DROP TABLE IF EXISTS `tags`; |
|---|
| 1600 |
CREATE TABLE IF NOT EXISTS `tags` ( |
|---|
| 1601 |
`tag_name` varchar(255) NOT NULL, |
|---|
| 1602 |
`tag_type` tinyint(1) NOT NULL, |
|---|
| 1603 |
`tag_for_id` int(10) NOT NULL, |
|---|
| 1604 |
`tag_count` int(10) NOT NULL DEFAULT '0', |
|---|
| 1605 |
`tag_cat_id` int(10) NOT NULL DEFAULT '0', |
|---|
| 1606 |
KEY `tag_type` (`tag_type`), |
|---|
| 1607 |
KEY `tag_for_id` (`tag_for_id`) |
|---|
| 1608 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
|---|
| 1609 |
|
|---|
| 1610 |
-- |
|---|
| 1611 |
-- Дамп данных таблицы `tags` |
|---|
| 1612 |
-- |
|---|
| 1613 |
|
|---|
| 1614 |
|
|---|
| 1615 |
-- -------------------------------------------------------- |
|---|
| 1616 |
|
|---|
| 1617 |
-- |
|---|
| 1618 |
-- Структура таблицы `tags_users` |
|---|
| 1619 |
-- |
|---|
| 1620 |
|
|---|
| 1621 |
DROP TABLE IF EXISTS `tags_users`; |
|---|
| 1622 |
CREATE TABLE IF NOT EXISTS `tags_users` ( |
|---|
| 1623 |
`tag_users_uid` int(10) NOT NULL, |
|---|
| 1624 |
`tag_users_for_id` int(10) NOT NULL, |
|---|
| 1625 |
`tag_users_type` tinyint(1) NOT NULL, |
|---|
| 1626 |
`tag_users_name` varchar(255) NOT NULL, |
|---|
| 1627 |
KEY `tag_users_type` (`tag_users_type`), |
|---|
| 1628 |
KEY `tag_users_for_id` (`tag_users_for_id`), |
|---|
| 1629 |
KEY `tag_users_uid` (`tag_users_uid`) |
|---|
| 1630 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
|---|
| 1631 |
|
|---|
| 1632 |
-- |
|---|
| 1633 |
-- Дамп данных таблицы `tags_users` |
|---|
| 1634 |
-- |
|---|
| 1635 |
|
|---|
| 1636 |
|
|---|
| 1637 |
-- -------------------------------------------------------- |
|---|
| 1638 |
|
|---|
| 1639 |
-- |
|---|
| 1640 |
-- Структура таблицы `thanks` |
|---|
| 1641 |
-- |
|---|
| 1642 |
|
|---|
| 1643 |
DROP TABLE IF EXISTS `thanks`; |
|---|
| 1644 |
CREATE TABLE IF NOT EXISTS `thanks` ( |
|---|
| 1645 |
`torrentid` int(10) DEFAULT '0', |
|---|
| 1646 |
`userid` int(10) DEFAULT '0', |
|---|
| 1647 |
KEY `torrentid` (`torrentid`), |
|---|
| 1648 |
KEY `userid` (`userid`) |
|---|
| 1649 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
|---|
| 1650 |
|
|---|
| 1651 |
-- |
|---|
| 1652 |
-- Дамп данных таблицы `thanks` |
|---|
| 1653 |
-- |
|---|
| 1654 |
|
|---|
| 1655 |
|
|---|
| 1656 |
-- -------------------------------------------------------- |
|---|
| 1657 |
|
|---|
| 1658 |
-- |
|---|
| 1659 |
-- Структура таблицы `themes` |
|---|
| 1660 |
-- |
|---|
| 1661 |
|
|---|
| 1662 |
DROP TABLE IF EXISTS `themes`; |
|---|
| 1663 |
CREATE TABLE IF NOT EXISTS `themes` ( |
|---|
| 1664 |
`themes_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 1665 |
`template_name` varchar(30) DEFAULT NULL, |
|---|
| 1666 |
`style_name` varchar(30) DEFAULT NULL, |
|---|
| 1667 |
`is_use_right_menu` tinyint(1) DEFAULT '0', |
|---|
| 1668 |
`is_use_left_menu` tinyint(1) DEFAULT '0', |
|---|
| 1669 |
`head_stylesheet` varchar(100) DEFAULT NULL, |
|---|
| 1670 |
`body_background` varchar(100) DEFAULT NULL, |
|---|
| 1671 |
`body_bgcolor` varchar(6) DEFAULT NULL, |
|---|
| 1672 |
`body_text` varchar(6) DEFAULT NULL, |
|---|
| 1673 |
`body_link` varchar(6) DEFAULT NULL, |
|---|
| 1674 |
`body_vlink` varchar(6) DEFAULT NULL, |
|---|
| 1675 |
`body_alink` varchar(6) DEFAULT NULL, |
|---|
| 1676 |
`body_hlink` varchar(6) DEFAULT NULL, |
|---|
| 1677 |
`tr_color1` varchar(6) DEFAULT NULL, |
|---|
| 1678 |
`tr_color2` varchar(6) DEFAULT NULL, |
|---|
| 1679 |
`tr_color3` varchar(6) DEFAULT NULL, |
|---|
| 1680 |
`tr_class1` varchar(25) DEFAULT NULL, |
|---|
| 1681 |
`tr_class2` varchar(25) DEFAULT NULL, |
|---|
| 1682 |
`tr_class3` varchar(25) DEFAULT NULL, |
|---|
| 1683 |
`th_color1` varchar(6) DEFAULT NULL, |
|---|
| 1684 |
`th_color2` varchar(6) DEFAULT NULL, |
|---|
| 1685 |
`th_color3` varchar(6) DEFAULT NULL, |
|---|
| 1686 |
`th_class1` varchar(25) DEFAULT NULL, |
|---|
| 1687 |
`th_class2` varchar(25) DEFAULT NULL, |
|---|
| 1688 |
`th_class3` varchar(25) DEFAULT NULL, |
|---|
| 1689 |
`td_color1` varchar(6) DEFAULT NULL, |
|---|
| 1690 |
`td_color2` varchar(6) DEFAULT NULL, |
|---|
| 1691 |
`td_color3` varchar(6) DEFAULT NULL, |
|---|
| 1692 |
`td_class1` varchar(25) DEFAULT NULL, |
|---|
| 1693 |
`td_class2` varchar(25) DEFAULT NULL, |
|---|
| 1694 |
`td_class3` varchar(25) DEFAULT NULL, |
|---|
| 1695 |
`fontface1` varchar(50) DEFAULT NULL, |
|---|
| 1696 |
`fontface2` varchar(50) DEFAULT NULL, |
|---|
| 1697 |
`fontface3` varchar(50) DEFAULT NULL, |
|---|
| 1698 |
`fontsize1` tinyint(4) DEFAULT NULL, |
|---|
| 1699 |
`fontsize2` tinyint(4) DEFAULT NULL, |
|---|
| 1700 |
`fontsize3` tinyint(4) DEFAULT NULL, |
|---|
| 1701 |
`fontcolor1` varchar(6) DEFAULT NULL, |
|---|
| 1702 |
`fontcolor2` varchar(6) DEFAULT NULL, |
|---|
| 1703 |
`fontcolor3` varchar(6) DEFAULT NULL, |
|---|
| 1704 |
`span_class1` varchar(25) DEFAULT NULL, |
|---|
| 1705 |
`span_class2` varchar(25) DEFAULT NULL, |
|---|
| 1706 |
`span_class3` varchar(25) DEFAULT NULL, |
|---|
| 1707 |
`img_size_poll` smallint(5) unsigned DEFAULT NULL, |
|---|
| 1708 |
`img_size_privmsg` smallint(5) unsigned DEFAULT NULL, |
|---|
| 1709 |
`online_color` varchar(6) DEFAULT NULL, |
|---|
| 1710 |
`offline_color` varchar(6) DEFAULT NULL, |
|---|
| 1711 |
`hidden_color` varchar(6) DEFAULT NULL, |
|---|
| 1712 |
`hidden_torrent_color` varchar(6) DEFAULT NULL, |
|---|
| 1713 |
PRIMARY KEY (`themes_id`) |
|---|
| 1714 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ; |
|---|
| 1715 |
|
|---|
| 1716 |
-- |
|---|
| 1717 |
-- Дамп данных таблицы `themes` |
|---|
| 1718 |
-- |
|---|
| 1719 |
|
|---|
| 1720 |
INSERT INTO `themes` (`themes_id`, `template_name`, `style_name`, `is_use_right_menu`, `is_use_left_menu`, `head_stylesheet`, `body_background`, `body_bgcolor`, `body_text`, `body_link`, `body_vlink`, `body_alink`, `body_hlink`, `tr_color1`, `tr_color2`, `tr_color3`, `tr_class1`, `tr_class2`, `tr_class3`, `th_color1`, `th_color2`, `th_color3`, `th_class1`, `th_class2`, `th_class3`, `td_color1`, `td_color2`, `td_color3`, `td_class1`, `td_class2`, `td_class3`, `fontface1`, `fontface2`, `fontface3`, `fontsize1`, `fontsize2`, `fontsize3`, `fontcolor1`, `fontcolor2`, `fontcolor3`, `span_class1`, `span_class2`, `span_class3`, `img_size_poll`, `img_size_privmsg`, `online_color`, `offline_color`, `hidden_color`, `hidden_torrent_color`) VALUES |
|---|
| 1721 |
(1, 'main', 'main', 1, 1, 'main.css', '', 'E5E5E5', '000000', '006699', '5493B4', '', 'DD6900', 'EFEFEF', 'DEE3E7', 'D1D7DC', '', '', '', '98AAB1', '006699', 'FFFFFF', 'cellpic1.gif', 'cellpic3.gif', 'cellpic2.jpg', 'FAFAFA', 'FFFFFF', '', 'row1', 'row2', '', 'Verdana, Arial, Helvetica, sans-serif', 'Trebuchet MS', 'Courier, ''Courier New'', sans-serif', 10, 11, 12, '444444', '006600', 'FFA34F', '', '', '', NULL, NULL, '008500', 'DF0000', 'EBD400', ''), |
|---|
| 1722 |
(2, 'reflection', 'reflection', 0, 0, 'reflection.css', '', 'E5E5E5', '000000', '006699', '5493B4', '', 'DD6900', 'EFEFEF', 'DEE3E7', 'D1D7DC', '', '', '', '98AAB1', '006699', 'FFFFFF', 'cellpic1.gif', 'cellpic3.gif', 'cellpic2.jpg', 'FAFAFA', 'FFFFFF', '', 'row1', 'row2', '', 'Verdana, Arial, Helvetica, sans-serif', 'Trebuchet MS', 'Courier, \\\\''Courier New\\\\'', sans-serif', 10, 11, 12, '444444', '006600', 'FFA34F', '', '', '', 0, 0, '008500', 'DF0000', 'EBD400', 'CCCCCC'), |
|---|
| 1723 |
(3, 'bithdtv', 'bithdtv', 0, 0, 'bithdtv.css', '', 'E5E5E5', '000000', '006699', '5493B4', '', 'DD6900', 'EFEFEF', 'DEE3E7', 'D1D7DC', '', '', '', '98AAB1', '006699', 'FFFFFF', 'cellpic1.gif', 'cellpic3.gif', 'cellpic2.jpg', 'FAFAFA', 'FFFFFF', '', 'row1', 'row2', '', 'Verdana, Arial, Helvetica, sans-serif', 'Trebuchet MS', 'Courier, \\''Courier New\\'', sans-serif', 10, 11, 12, '444444', '006600', 'FFA34F', '', '', '', 0, 0, '008500', 'DF0000', 'EBD400', 'CCCCCC'); |
|---|
| 1724 |
|
|---|
| 1725 |
-- -------------------------------------------------------- |
|---|
| 1726 |
|
|---|
| 1727 |
-- |
|---|
| 1728 |
-- Структура таблицы `torrents` |
|---|
| 1729 |
-- |
|---|
| 1730 |
|
|---|
| 1731 |
DROP TABLE IF EXISTS `torrents`; |
|---|
| 1732 |
CREATE TABLE IF NOT EXISTS `torrents` ( |
|---|
| 1733 |
`fid` int(10) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 1734 |
`info_hash` blob, |
|---|
| 1735 |
`name` varchar(255) DEFAULT NULL, |
|---|
| 1736 |
`filename` varchar(255) DEFAULT NULL, |
|---|
| 1737 |
`descr` text, |
|---|
| 1738 |
`category` int(10) unsigned DEFAULT '0', |
|---|
| 1739 |
`size` bigint(20) unsigned DEFAULT '0', |
|---|
| 1740 |
`ctime` int(11) DEFAULT '0', |
|---|
| 1741 |
`numfiles` int(10) unsigned DEFAULT '0', |
|---|
| 1742 |
`comments` int(10) unsigned DEFAULT '0', |
|---|
| 1743 |
`views` int(10) unsigned DEFAULT '0', |
|---|
| 1744 |
`hits` int(10) unsigned DEFAULT '0', |
|---|
| 1745 |
`completed` int(10) unsigned DEFAULT '0', |
|---|
| 1746 |
`leechers` int(10) unsigned DEFAULT '0', |
|---|
| 1747 |
`seeders` int(10) unsigned DEFAULT '0', |
|---|
| 1748 |
`mtime` int(11) DEFAULT '0', |
|---|
| 1749 |
`banned` tinyint(1) DEFAULT '0', |
|---|
| 1750 |
`owner` int(10) unsigned DEFAULT '0', |
|---|
| 1751 |
`numratings` int(10) unsigned DEFAULT '0', |
|---|
| 1752 |
`ratingsum` int(10) unsigned DEFAULT '0', |
|---|
| 1753 |
`nfo` text, |
|---|
| 1754 |
`hidden` tinyint(1) DEFAULT '0', |
|---|
| 1755 |
`free` tinyint(1) DEFAULT '0', |
|---|
| 1756 |
`visible` tinyint(1) DEFAULT '0', |
|---|
| 1757 |
`disable_comments` tinyint(1) DEFAULT '0', |
|---|
| 1758 |
`flags` tinyint(1) DEFAULT '0', |
|---|
| 1759 |
`moderated` tinyint(1) DEFAULT '0', |
|---|
| 1760 |
PRIMARY KEY (`fid`), |
|---|
| 1761 |
UNIQUE KEY `info_hash` (`info_hash`(20)), |
|---|
| 1762 |
KEY `owner` (`owner`), |
|---|
| 1763 |
KEY `ratingsum` (`ratingsum`), |
|---|
| 1764 |
KEY `numratings` (`numratings`), |
|---|
| 1765 |
KEY `times_completed` (`completed`), |
|---|
| 1766 |
KEY `numfiles` (`numfiles`), |
|---|
| 1767 |
KEY `comments` (`comments`), |
|---|
| 1768 |
KEY `category` (`category`), |
|---|
| 1769 |
KEY `size` (`size`), |
|---|
| 1770 |
KEY `name` (`name`), |
|---|
| 1771 |
KEY `banned` (`banned`), |
|---|
| 1772 |
KEY `hidden` (`hidden`), |
|---|
| 1773 |
KEY `visible` (`visible`), |
|---|
| 1774 |
KEY `free` (`free`), |
|---|
| 1775 |
KEY `disable_comments` (`disable_comments`), |
|---|
| 1776 |
KEY `flags` (`flags`), |
|---|
| 1777 |
KEY `ctime` (`ctime`) |
|---|
| 1778 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 1779 |
|
|---|
| 1780 |
-- |
|---|
| 1781 |
-- Дамп данных таблицы `torrents` |
|---|
| 1782 |
-- |
|---|
| 1783 |
|
|---|
| 1784 |
|
|---|
| 1785 |
-- -------------------------------------------------------- |
|---|
| 1786 |
|
|---|
| 1787 |
-- |
|---|
| 1788 |
-- Структура таблицы `uploadapp` |
|---|
| 1789 |
-- |
|---|
| 1790 |
|
|---|
| 1791 |
DROP TABLE IF EXISTS `uploadapp`; |
|---|
| 1792 |
CREATE TABLE IF NOT EXISTS `uploadapp` ( |
|---|
| 1793 |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 1794 |
`active` tinyint(1) DEFAULT '1', |
|---|
| 1795 |
`userid` int(10) DEFAULT '0', |
|---|
| 1796 |
`applied` int(11) DEFAULT '0', |
|---|
| 1797 |
`content` longtext, |
|---|
| 1798 |
`comment` longtext, |
|---|
| 1799 |
`seeding` tinyint(1) DEFAULT '0', |
|---|
| 1800 |
`othergrps` tinyint(1) DEFAULT '0', |
|---|
| 1801 |
`seedtime` varchar(100) DEFAULT NULL, |
|---|
| 1802 |
`modcomments` text, |
|---|
| 1803 |
`votes` text, |
|---|
| 1804 |
PRIMARY KEY (`id`), |
|---|
| 1805 |
UNIQUE KEY `users` (`userid`), |
|---|
| 1806 |
KEY `active` (`active`) |
|---|
| 1807 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 1808 |
|
|---|
| 1809 |
-- |
|---|
| 1810 |
-- Дамп данных таблицы `uploadapp` |
|---|
| 1811 |
-- |
|---|
| 1812 |
|
|---|
| 1813 |
|
|---|
| 1814 |
-- -------------------------------------------------------- |
|---|
| 1815 |
|
|---|
| 1816 |
-- |
|---|
| 1817 |
-- Структура таблицы `users` |
|---|
| 1818 |
-- |
|---|
| 1819 |
|
|---|
| 1820 |
DROP TABLE IF EXISTS `users`; |
|---|
| 1821 |
CREATE TABLE IF NOT EXISTS `users` ( |
|---|
| 1822 |
`uid` int(10) unsigned NOT NULL DEFAULT '0', |
|---|
| 1823 |
`name` varchar(40) DEFAULT NULL, |
|---|
| 1824 |
`name_append` text NOT NULL, |
|---|
| 1825 |
`pass` varchar(32) DEFAULT NULL, |
|---|
| 1826 |
`secret` blob, |
|---|
| 1827 |
`email` varchar(80) DEFAULT NULL, |
|---|
| 1828 |
`status` tinyint(1) DEFAULT '0', |
|---|
| 1829 |
`added` int(11) DEFAULT '0', |
|---|
| 1830 |
`editsecret` blob, |
|---|
| 1831 |
`privacy` tinyint(1) DEFAULT '1', |
|---|
| 1832 |
`acceptpms` tinyint(1) DEFAULT '1', |
|---|
| 1833 |
`ip` varchar(16) DEFAULT NULL, |
|---|
| 1834 |
`class` tinyint(3) unsigned DEFAULT '1', |
|---|
| 1835 |
`avatar` varchar(100) DEFAULT NULL, |
|---|
| 1836 |
`uploaded` bigint(20) unsigned DEFAULT '0', |
|---|
| 1837 |
`downloaded` bigint(20) unsigned DEFAULT '0', |
|---|
| 1838 |
`title` varchar(30) DEFAULT NULL, |
|---|
| 1839 |
`country` int(10) unsigned DEFAULT '0', |
|---|
| 1840 |
`notifs` mediumtext, |
|---|
| 1841 |
`modcomment` text, |
|---|
| 1842 |
`enabled` tinyint(1) DEFAULT '1', |
|---|
| 1843 |
`avatars` tinyint(1) DEFAULT '1', |
|---|
| 1844 |
`donor` tinyint(1) DEFAULT '0', |
|---|
| 1845 |
`warneduntil` int(11) DEFAULT '0', |
|---|
| 1846 |
`warn` tinyint(1) unsigned DEFAULT '0', |
|---|
| 1847 |
`torrentsperpage` int(3) unsigned DEFAULT '0', |
|---|
| 1848 |
`deletepms` tinyint(1) DEFAULT '1', |
|---|
| 1849 |
`savepms` tinyint(1) DEFAULT '0', |
|---|
| 1850 |
`torrent_pass` varchar(32) DEFAULT NULL, |
|---|
| 1851 |
`tzoffset` decimal(5,2) DEFAULT '0.00', |
|---|
| 1852 |
`user_dst` tinyint(1) DEFAULT '0', |
|---|
| 1853 |
`hiddentorrents` tinyint(1) DEFAULT '0', |
|---|
| 1854 |
`parked` tinyint(1) DEFAULT '0', |
|---|
| 1855 |
`invites` int(10) DEFAULT '0', |
|---|
| 1856 |
`invited_by` int(10) DEFAULT '0', |
|---|
| 1857 |
`download` int(9) DEFAULT '0', |
|---|
| 1858 |
`upload` int(9) DEFAULT '0', |
|---|
| 1859 |
`icq` varchar(10) DEFAULT NULL, |
|---|
| 1860 |
`msn` varchar(30) DEFAULT NULL, |
|---|
| 1861 |
`aim` varchar(30) DEFAULT NULL, |
|---|
| 1862 |
`yahoo` varchar(30) DEFAULT NULL, |
|---|
| 1863 |
`skype` varchar(20) DEFAULT NULL, |
|---|
| 1864 |
`commentpm` tinyint(1) DEFAULT '1', |
|---|
| 1865 |
`gender` tinyint(1) DEFAULT '0', |
|---|
| 1866 |
`birthday` date DEFAULT '0000-00-00', |
|---|
| 1867 |
`autodemote` tinyint(1) DEFAULT '1', |
|---|
| 1868 |
`language` varchar(255) DEFAULT NULL, |
|---|
| 1869 |
`total_seed_time` int(11) DEFAULT '0', |
|---|
| 1870 |
`user_reputation` int(11) DEFAULT '0', |
|---|
| 1871 |
`user_reputation_level` int(11) DEFAULT '0', |
|---|
| 1872 |
`user_session_time` int(11) DEFAULT '0', |
|---|
| 1873 |
`user_session_page` varchar(255) DEFAULT NULL, |
|---|
| 1874 |
`user_level` tinyint(4) DEFAULT '0', |
|---|
| 1875 |
`user_posts` mediumint(8) unsigned DEFAULT '0', |
|---|
| 1876 |
`user_lastvisit` int(11) DEFAULT '0', |
|---|
| 1877 |
`user_sig` text, |
|---|
| 1878 |
`user_style` tinyint(3) DEFAULT '0', |
|---|
| 1879 |
`can_leech` tinyint(4) DEFAULT '1', |
|---|
| 1880 |
`torrents_limit` int(11) DEFAULT '0', |
|---|
| 1881 |
`user_unread_pms` int(10) DEFAULT '0', |
|---|
| 1882 |
`user_rank_id` int(10) DEFAULT '0', |
|---|
| 1883 |
`user_lastmark` int(11) DEFAULT '0', |
|---|
| 1884 |
`user_bans` varchar(29) NOT NULL DEFAULT '0:0:0:0:0:0:0:0:0:0:0:0:0:0:0', |
|---|
| 1885 |
`user_torrents_uploaded` int(10) NOT NULL DEFAULT '0', |
|---|
| 1886 |
`user_requests_created` int(10) NOT NULL DEFAULT '0', |
|---|
| 1887 |
`user_offers_created` int(10) NOT NULL DEFAULT '0', |
|---|
| 1888 |
`user_requests_filled` int(10) NOT NULL DEFAULT '0', |
|---|
| 1889 |
`user_offers_filled` int(10) NOT NULL DEFAULT '0', |
|---|
| 1890 |
PRIMARY KEY (`uid`), |
|---|
| 1891 |
UNIQUE KEY `torrent_pass` (`torrent_pass`), |
|---|
| 1892 |
UNIQUE KEY `username` (`name`), |
|---|
| 1893 |
KEY `country` (`country`), |
|---|
| 1894 |
KEY `enabled` (`enabled`), |
|---|
| 1895 |
KEY `gender` (`gender`), |
|---|
| 1896 |
KEY `upload` (`upload`), |
|---|
| 1897 |
KEY `download` (`download`), |
|---|
| 1898 |
KEY `parked` (`parked`), |
|---|
| 1899 |
KEY `points` (`user_reputation`), |
|---|
| 1900 |
KEY `class` (`class`) |
|---|
| 1901 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
|---|
| 1902 |
|
|---|
| 1903 |
-- |
|---|
| 1904 |
-- Дамп данных таблицы `users` |
|---|
| 1905 |
-- |
|---|
| 1906 |
|
|---|
| 1907 |
INSERT INTO `users` (`uid`, `name`, `name_append`, `pass`, `secret`, `email`, `status`, `added`, `editsecret`, `privacy`, `acceptpms`, `ip`, `class`, `avatar`, `uploaded`, `downloaded`, `title`, `country`, `notifs`, `modcomment`, `enabled`, `avatars`, `donor`, `warneduntil`, `warn`, `torrentsperpage`, `deletepms`, `savepms`, `torrent_pass`, `tzoffset`, `user_dst`, `hiddentorrents`, `parked`, `invites`, `invited_by`, `download`, `upload`, `icq`, `msn`, `aim`, `yahoo`, `skype`, `commentpm`, `gender`, `birthday`, `autodemote`, `language`, `total_seed_time`, `user_reputation`, `user_reputation_level`, `user_session_time`, `user_session_page`, `user_level`, `user_posts`, `user_lastvisit`, `user_sig`, `user_style`, `can_leech`, `torrents_limit`, `user_unread_pms`, `user_rank_id`, `user_lastmark`, `user_bans`, `user_torrents_uploaded`, `user_requests_created`, `user_offers_created`, `user_requests_filled`, `user_offers_filled`) VALUES |
|---|
| 1908 |
(0, 'Anonymous', '', '', '', '', 1, 943909200, '', 1, 1, '0.0.0.0', 1, '', 0, 0, '', 0, '[forum]', '', 1, 1, 0, 0, 0, 0, 1, 0, 'fbc807cec4a079dd5add35845ec9d059', '0.00', 0, 0, 0, 0, 0, 65536, 65536, '', '', '', '', '', 1, 0, '0000-00-00', 1, 'russian', 3600000, 0, 0, 943909200, '0', 0, 0, 0, '', 1, 0, 0, 0, 0, 0, '0:0:0:0:0:0:0:0:0:0:0:0:0:0:0', 0, 0, 0, 0, 0), |
|---|
| 1909 |
(1, 'admin', '', 'd41d8cd98f00b204e9800998ecf8427e', '', 'EMAIL@ADDRESS.COM', 1, UNIX_TIMESTAMP(NOW()), '', 3, 1, '127.0.0.1', 7, '', 0, 0, '', 3, '[forum]', '', 1, 1, 0, 0, 0, 60, 1, 1, '57154e78ba0de787487576ae87207371', '3.00', 1, 0, 0, 0, 0, 10485760, 10485760, '', '', '', '', '', 1, 0, '0000-00-00', 1, 'english', 0, 0, 0, 1296214242, 'login.php', 1, 0, 1277214025, '', 1, 0, 0, 0, 0, 0, '0:0:0:0:0:0:0:0:0:0:0:0:0:0:0', 0, 0, 0, 0, 0); |
|---|
| 1910 |
|
|---|
| 1911 |
-- -------------------------------------------------------- |
|---|
| 1912 |
|
|---|
| 1913 |
-- |
|---|
| 1914 |
-- Структура таблицы `vote_desc` |
|---|
| 1915 |
-- |
|---|
| 1916 |
|
|---|
| 1917 |
DROP TABLE IF EXISTS `vote_desc`; |
|---|
| 1918 |
CREATE TABLE IF NOT EXISTS `vote_desc` ( |
|---|
| 1919 |
`vote_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 1920 |
`topic_id` mediumint(8) unsigned DEFAULT '0', |
|---|
| 1921 |
`vote_text` text, |
|---|
| 1922 |
`vote_start` int(11) DEFAULT '0', |
|---|
| 1923 |
`vote_length` int(11) DEFAULT '0', |
|---|
| 1924 |
PRIMARY KEY (`vote_id`), |
|---|
| 1925 |
KEY `topic_id` (`topic_id`) |
|---|
| 1926 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 1927 |
|
|---|
| 1928 |
-- |
|---|
| 1929 |
-- Дамп данных таблицы `vote_desc` |
|---|
| 1930 |
-- |
|---|
| 1931 |
|
|---|
| 1932 |
|
|---|
| 1933 |
-- -------------------------------------------------------- |
|---|
| 1934 |
|
|---|
| 1935 |
-- |
|---|
| 1936 |
-- Структура таблицы `vote_results` |
|---|
| 1937 |
-- |
|---|
| 1938 |
|
|---|
| 1939 |
DROP TABLE IF EXISTS `vote_results`; |
|---|
| 1940 |
CREATE TABLE IF NOT EXISTS `vote_results` ( |
|---|
| 1941 |
`vote_id` mediumint(8) unsigned DEFAULT '0', |
|---|
| 1942 |
`vote_option_id` tinyint(4) unsigned DEFAULT '0', |
|---|
| 1943 |
`vote_option_text` varchar(255) DEFAULT NULL, |
|---|
| 1944 |
`vote_result` int(11) DEFAULT '0', |
|---|
| 1945 |
KEY `vote_option_id` (`vote_option_id`), |
|---|
| 1946 |
KEY `vote_id` (`vote_id`) |
|---|
| 1947 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
|---|
| 1948 |
|
|---|
| 1949 |
-- |
|---|
| 1950 |
-- Дамп данных таблицы `vote_results` |
|---|
| 1951 |
-- |
|---|
| 1952 |
|
|---|
| 1953 |
|
|---|
| 1954 |
-- -------------------------------------------------------- |
|---|
| 1955 |
|
|---|
| 1956 |
-- |
|---|
| 1957 |
-- Структура таблицы `vote_voters` |
|---|
| 1958 |
-- |
|---|
| 1959 |
|
|---|
| 1960 |
DROP TABLE IF EXISTS `vote_voters`; |
|---|
| 1961 |
CREATE TABLE IF NOT EXISTS `vote_voters` ( |
|---|
| 1962 |
`vote_id` mediumint(8) unsigned DEFAULT '0', |
|---|
| 1963 |
`vote_user_id` mediumint(8) DEFAULT '0', |
|---|
| 1964 |
`vote_user_ip` varchar(16) DEFAULT NULL, |
|---|
| 1965 |
`vote_cast` tinyint(4) unsigned DEFAULT '0', |
|---|
| 1966 |
KEY `vote_id` (`vote_id`), |
|---|
| 1967 |
KEY `vote_user_id` (`vote_user_id`), |
|---|
| 1968 |
KEY `vote_user_ip` (`vote_user_ip`) |
|---|
| 1969 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
|---|
| 1970 |
|
|---|
| 1971 |
-- |
|---|
| 1972 |
-- Дамп данных таблицы `vote_voters` |
|---|
| 1973 |
-- |
|---|
| 1974 |
|
|---|
| 1975 |
|
|---|
| 1976 |
-- -------------------------------------------------------- |
|---|
| 1977 |
|
|---|
| 1978 |
-- |
|---|
| 1979 |
-- Структура таблицы `words` |
|---|
| 1980 |
-- |
|---|
| 1981 |
|
|---|
| 1982 |
DROP TABLE IF EXISTS `words`; |
|---|
| 1983 |
CREATE TABLE IF NOT EXISTS `words` ( |
|---|
| 1984 |
`word_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, |
|---|
| 1985 |
`word` char(100) DEFAULT NULL, |
|---|
| 1986 |
`replacement` char(100) DEFAULT NULL, |
|---|
| 1987 |
PRIMARY KEY (`word_id`) |
|---|
| 1988 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; |
|---|
| 1989 |
|
|---|
| 1990 |
-- |
|---|
| 1991 |
-- Дамп данных таблицы `words` |
|---|
| 1992 |
-- |
|---|
| 1993 |
|
|---|
| 1994 |
|
|---|
| 1995 |
-- -------------------------------------------------------- |
|---|
| 1996 |
|
|---|
| 1997 |
-- |
|---|
| 1998 |
-- Структура таблицы `xbt_deleted_hashes` |
|---|
| 1999 |
-- |
|---|
| 2000 |
|
|---|
| 2001 |
DROP TABLE IF EXISTS `xbt_deleted_hashes`; |
|---|
| 2002 |
CREATE TABLE IF NOT EXISTS `xbt_deleted_hashes` ( |
|---|
| 2003 |
`fid` int(10) NOT NULL DEFAULT '0', |
|---|
| 2004 |
`info_hash` blob NOT NULL, |
|---|
| 2005 |
KEY `fid` (`fid`) |
|---|
| 2006 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
|---|
| 2007 |
|
|---|
| 2008 |
-- |
|---|
| 2009 |
-- Дамп данных таблицы `xbt_deleted_hashes` |
|---|
| 2010 |
-- |
|---|
| 2011 |
|
|---|