Файл: [BESTSKRIPT.COM]_script2/script2/baza_d.sql
Строк: 277
-- phpMyAdmin SQL Dump
-- version 3.4.4
-- http://www.phpmyadmin.net
--
--
Хост: localhost
-- Время создания: Янв 04 2013 г.,
20:04
-- Версия сервера: 5.1.57
-- Версия PHP:
5.2.17
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone =
"+00:00";
/*!40101 SET
@OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET
@OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET
@OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES
utf8 */;
--
-- База данных: `avitto_inbonus`
--
--
--------------------------------------------------------
--
--
Структура таблицы `tb_ban`
--
CREATE TABLE IF NOT EXISTS
`tb_ban` (
`user` varchar(25) NOT NULL
) ENGINE=MyISAM DEFAULT
CHARSET=cp1251;
--
--------------------------------------------------------
--
--
Структура таблицы `tb_bl_ip`
--
CREATE TABLE IF NOT EXISTS
`tb_bl_ip` (
`ip` varchar(160) NOT NULL
) ENGINE=MyISAM DEFAULT
CHARSET=cp1251;
--
--------------------------------------------------------
--
--
Структура таблицы `tb_chat`
--
CREATE TABLE IF NOT EXISTS
`tb_chat` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`text` varchar(360)
NOT NULL,
`date` varchar(21) NOT NULL,
`login` varchar(25) NOT NULL,
`user_id` int(11) NOT NULL,
`img` varchar(4) NOT NULL,
`flag`
tinyint(1) NOT NULL,
`moder` tinyint(1) NOT NULL,
PRIMARY KEY (`id`)
)
ENGINE=MyISAM DEFAULT CHARSET=cp1251 AUTO_INCREMENT=17926 ;
--
--------------------------------------------------------
--
--
Структура таблицы `tb_chat2`
--
CREATE TABLE IF NOT EXISTS
`tb_chat2` (
`name` int(11) NOT NULL,
`fi` varchar(60) NOT NULL
)
ENGINE=MyISAM DEFAULT CHARSET=cp1251;
--
--------------------------------------------------------
--
--
Структура таблицы `tb_config`
--
CREATE TABLE IF NOT
EXISTS `tb_config` (
`id` tinyint(1) NOT NULL AUTO_INCREMENT,
`site_name` varchar(160) NOT NULL,
`money` varchar(5) NOT NULL,
`min`
float(9,2) NOT NULL,
`money_ref` float(9,2) NOT NULL,
`ar_money`
float(9,2) NOT NULL,
`ar_money2` float(9,2) NOT NULL,
`mail` float(9,3)
NOT NULL,
`mail2` float(9,3) NOT NULL,
`mail_max` float(9,3) NOT NULL,
`mail2_max` float(9,3) NOT NULL,
`mail_money` float(9,2) NOT NULL,
`mail2_money` float(9,2) NOT NULL,
`gl_money` float(9,2) NOT NULL,
`gl_money2` float(9,2) NOT NULL,
`limit_money` float(9,2) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 AUTO_INCREMENT=2
;
--
-- Дамп данных таблицы `tb_config`
--
INSERT INTO
`tb_config` (`id`, `site_name`, `money`, `min`, `money_ref`, `ar_money`,
`ar_money2`, `mail`, `mail2`, `mail_max`, `mail2_max`, `mail_money`,
`mail2_money`, `gl_money`, `gl_money2`, `limit_money`) VALUES
(1,
'Invest-bonus.com', 'руб.', 0.00, 0.00, 0.00, 0.00, 0.000, 0.000, 0.000,
0.000, 0.00, 0.00, 0.00, 0.00, 0.00);
--
--------------------------------------------------------
--
--
Структура таблицы `tb_history`
--
CREATE TABLE IF NOT
EXISTS `tb_history` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`login`
varchar(25) NOT NULL,
`text` varchar(160) NOT NULL,
`money` float(9,2)
NOT NULL,
`date` varchar(21) NOT NULL,
`flag` tinyint(1) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251
AUTO_INCREMENT=20953 ;
--
--------------------------------------------------------
--
--
Структура таблицы `tb_inv`
--
CREATE TABLE IF NOT EXISTS
`tb_inv` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`login` varchar(25)
NOT NULL,
`money` float(9,0) NOT NULL,
`money2` float(9,0) NOT NULL,
`pr` float(9,0) NOT NULL,
`date` varchar(21) NOT NULL,
PRIMARY KEY
(`id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 AUTO_INCREMENT=19743 ;
--
--------------------------------------------------------
--
--
Структура таблицы `tb_massmail`
--
CREATE TABLE IF NOT
EXISTS `tb_massmail` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title`
varchar(160) NOT NULL,
`text` text NOT NULL,
`users` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 AUTO_INCREMENT=2
;
-- --------------------------------------------------------
--
--
Структура таблицы `tb_news`
--
CREATE TABLE IF NOT EXISTS
`tb_news` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(60)
NOT NULL,
`text` text NOT NULL,
`date` varchar(10) NOT NULL,
PRIMARY
KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 AUTO_INCREMENT=29 ;
--
--------------------------------------------------------
--
--
Структура таблицы `tb_news_cm`
--
CREATE TABLE IF NOT
EXISTS `tb_news_cm` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user`
varchar(25) NOT NULL,
`text` varchar(360) NOT NULL,
`text2`
varchar(360) NOT NULL,
`date` varchar(21) NOT NULL,
`num` int(11) NOT
NULL,
`flag` tinyint(1) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM
DEFAULT CHARSET=cp1251 AUTO_INCREMENT=956 ;
--
--------------------------------------------------------
--
--
Структура таблицы `tb_online_chat`
--
CREATE TABLE IF NOT
EXISTS `tb_online_chat` (
`user` int(11) NOT NULL,
`login` varchar(25)
NOT NULL,
`img` varchar(4) NOT NULL,
`time` varchar(25) NOT NULL
)
ENGINE=MyISAM DEFAULT CHARSET=cp1251;
--
--------------------------------------------------------
--
--
Структура таблицы `tb_payme`
--
CREATE TABLE IF NOT EXISTS
`tb_payme` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`login` varchar(25)
NOT NULL,
`summa` float(9,2) NOT NULL,
`text` varchar(160) NOT NULL,
`op` tinyint(3) NOT NULL,
`date` varchar(21) NOT NULL,
`flag`
tinyint(1) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT
CHARSET=cp1251 AUTO_INCREMENT=49715 ;
--
--------------------------------------------------------
--
--
Структура таблицы `tb_qiwi`
--
CREATE TABLE IF NOT EXISTS
`tb_qiwi` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`login` varchar(25)
NOT NULL,
`money` float(9,0) NOT NULL,
`date` varchar(21) NOT NULL,
`payid` varchar(21) NOT NULL,
`phone` varchar(21) NOT NULL,
PRIMARY KEY
(`id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 AUTO_INCREMENT=19606 ;
--
--------------------------------------------------------
--
--
Структура таблицы `tb_stat`
--
CREATE TABLE IF NOT EXISTS
`tb_stat` (
`id` tinyint(1) NOT NULL AUTO_INCREMENT,
`users` int(11)
NOT NULL,
`ru` int(11) NOT NULL,
`ua` int(11) NOT NULL,
`kz` int(11)
NOT NULL,
`byr` int(11) NOT NULL,
`allr` int(11) NOT NULL,
`inv`
int(11) NOT NULL,
`sinv` float(9,2) NOT NULL,
`vinv` float(9,2) NOT
NULL,
`online` int(11) NOT NULL,
`money` float(9,2) NOT NULL,
`money2` float(9,2) NOT NULL,
`date` varchar(15) NOT NULL,
`payme`
float(9,2) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT
CHARSET=cp1251 AUTO_INCREMENT=2 ;
--
--------------------------------------------------------
--
--
Структура таблицы `tb_theme`
--
CREATE TABLE IF NOT EXISTS
`tb_theme` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user1` varchar(25)
NOT NULL,
`user` varchar(25) NOT NULL,
`title` varchar(160) NOT NULL,
`text` longtext NOT NULL,
`date` int(10) NOT NULL,
`active` tinyint(3)
NOT NULL,
`flag` tinyint(3) NOT NULL,
`flag2` tinyint(3) NOT NULL,
`theme` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY
`active` (`active`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251
AUTO_INCREMENT=2083 ;
--
--------------------------------------------------------
--
--
Структура таблицы `tb_theme2`
--
CREATE TABLE IF NOT
EXISTS `tb_theme2` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user`
varchar(25) NOT NULL,
`num` int(10) NOT NULL,
`text` longtext NOT
NULL,
`date` int(10) NOT NULL,
`adm` tinyint(3) NOT NULL,
`flag`
tinyint(3) NOT NULL,
`foto` varchar(2) NOT NULL,
PRIMARY KEY (`id`),
KEY `num` (`num`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251
AUTO_INCREMENT=4181 ;
--
--------------------------------------------------------
--
--
Структура таблицы `tb_users`
--
CREATE TABLE IF NOT EXISTS
`tb_users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`login` varchar(25)
NOT NULL,
`password` varchar(25) NOT NULL,
`email` varchar(150) NOT
NULL,
`wmid` varchar(12) NOT NULL,
`referer` varchar(25) NOT NULL,
`visits` mediumint(8) NOT NULL DEFAULT '0',
`money` float(9,2) NOT NULL
DEFAULT '0.00',
`sinv` float(9,2) NOT NULL DEFAULT '0.00',
`vinv`
float(9,2) NOT NULL DEFAULT '0.00',
`agent` longtext NOT NULL,
`img`
varchar(4) NOT NULL,
`all_view` int(11) NOT NULL,
`all_view_money`
float(9,3) NOT NULL,
`all_ref` int(11) NOT NULL,
`all_ref_money`
float(9,3) NOT NULL,
`all_ref_money2` float(9,3) NOT NULL,
`all_ads`
int(11) NOT NULL,
`all_ads_money` float(9,3) NOT NULL,
`all_task`
int(11) NOT NULL,
`all_task_money` float(9,2) NOT NULL,
`all_ip`
longtext NOT NULL,
`http_referer` varchar(160) NOT NULL,
`online`
varchar(15) NOT NULL,
`chat_mod` tinyint(1) NOT NULL,
`click`
float(9,3) NOT NULL,
`click2` float(9,3) NOT NULL,
`click3` float(9,3)
NOT NULL,
`ads_pc` float(9,2) NOT NULL,
`task_pc` float(9,2) NOT NULL,
`money_ref` float(9,2) NOT NULL,
`refbek` float(9,3) NOT NULL,
`country` varchar(3) NOT NULL,
`bl` tinyint(1) NOT NULL,
`bl_text`
varchar(160) NOT NULL,
`no_bl` tinyint(1) NOT NULL,
`text_all` longtext
NOT NULL,
`status` tinyint(1) NOT NULL,
`folder` tinyint(1) NOT NULL,
`folder2` varchar(15) NOT NULL,
`folder3` varchar(15) NOT NULL,
`news`
int(11) NOT NULL,
`rris` tinyint(1) NOT NULL,
`action` int(11) NOT
NULL,
`action_pc` float(9,1) NOT NULL,
`action_money_all` float(9,4)
NOT NULL,
`sec_flag` tinyint(1) NOT NULL,
`sec_md` varchar(32) NOT
NULL,
`ar_ref` int(11) NOT NULL,
`fs` float(9,2) NOT NULL,
`fs_no`
float(9,2) NOT NULL,
`fs_ok` float(9,2) NOT NULL,
`rb` int(11) NOT
NULL,
`rb_money` float(9,4) NOT NULL,
`rb_date` varchar(10) NOT NULL,
`bonus` float(9,3) NOT NULL,
`bonus2` float(9,3) NOT NULL,
`bonus_all`
int(11) NOT NULL,
`bonus_money` float(9,3) NOT NULL,
`bonus_time`
varchar(15) NOT NULL,
`vip` varchar(15) NOT NULL,
`vip_test` tinyint(1)
NOT NULL,
`ref_lease` float(9,3) NOT NULL,
`mail_flag` tinyint(1) NOT
NULL,
`mail_wait` varchar(32) NOT NULL,
`online_page` varchar(60) NOT
NULL,
`mail` float(9,3) NOT NULL,
`mail2` float(9,3) NOT NULL,
`all_view_mail` int(11) NOT NULL,
`all_view_mail_money` float(9,3) NOT
NULL,
`flag_pay` tinyint(1) NOT NULL,
`update_date` varchar(15) NOT
NULL,
`mail_in` int(11) NOT NULL,
`ads_in` int(11) NOT NULL,
`test_dr` tinyint(1) NOT NULL,
`gl2_money` float(9,2) NOT NULL,
`gl2_all` int(11) NOT NULL,
`gl_vip` int(11) NOT NULL,
`gl_all` int(11)
NOT NULL,
`gl_flag` tinyint(1) NOT NULL,
`gl_users` text NOT NULL,
`bj_flag` tinyint(1) NOT NULL,
`bj_flag2` tinyint(1) NOT NULL,
`bj_money` float(9,2) NOT NULL,
`bj_ok_all` int(11) NOT NULL,
`bj_ok_money` float(9,2) NOT NULL,
`bj_time` varchar(15) NOT NULL,
`bj_time2` varchar(15) NOT NULL,
`limit1` varchar(15) NOT NULL,
`limit2` varchar(15) NOT NULL,
`limit_all` int(11) NOT NULL,
`yanm`
varchar(14) NOT NULL,
`pmnm` varchar(8) NOT NULL,
`phone` varchar(14)
NOT NULL,
`gls` float(9,2) NOT NULL,
`gls2` float(9,2) NOT NULL,
`credit_money` float(9,2) NOT NULL,
`credit_proc` float(9,2) NOT NULL,
`contest_ads` float(9,2) NOT NULL,
`contest_click` int(11) NOT NULL,
`contest_ref` int(11) NOT NULL,
`contest_inv` float(9,2) NOT NULL,
`credit_vz` float(9,2) NOT NULL,
`credit_vr` float(9,2) NOT NULL,
`credit_date` varchar(15) NOT NULL,
`theme_bl` tinyint(1) NOT NULL,
`ref_text` varchar(2000) NOT NULL,
`ip` varchar(25) NOT NULL,
PRIMARY
KEY (`id`),
KEY `username` (`login`),
KEY `password` (`password`),
KEY `referer` (`referer`),
KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT
CHARSET=cp1251 AUTO_INCREMENT=425 ;
--
-- Дамп данных
таблицы `tb_users`
--
INSERT INTO `tb_users` (`id`, `login`,
`password`, `email`, `wmid`, `referer`, `visits`, `money`, `sinv`, `vinv`,
`agent`, `img`, `all_view`, `all_view_money`, `all_ref`, `all_ref_money`,
`all_ref_money2`, `all_ads`, `all_ads_money`, `all_task`, `all_task_money`,
`all_ip`, `http_referer`, `online`, `chat_mod`, `click`, `click2`,
`click3`, `ads_pc`, `task_pc`, `money_ref`, `refbek`, `country`, `bl`,
`bl_text`, `no_bl`, `text_all`, `status`, `folder`, `folder2`, `folder3`,
`news`, `rris`, `action`, `action_pc`, `action_money_all`, `sec_flag`,
`sec_md`, `ar_ref`, `fs`, `fs_no`, `fs_ok`, `rb`, `rb_money`, `rb_date`,
`bonus`, `bonus2`, `bonus_all`, `bonus_money`, `bonus_time`, `vip`,
`vip_test`, `ref_lease`, `mail_flag`, `mail_wait`, `online_page`, `mail`,
`mail2`, `all_view_mail`, `all_view_mail_money`, `flag_pay`, `update_date`,
`mail_in`, `ads_in`, `test_dr`, `gl2_money`, `gl2_all`, `gl_vip`, `gl_all`,
`gl_flag`, `gl_users`, `bj_flag`, `bj_flag2`, `bj_money`, `bj_ok_all`,
`bj_ok_money`, `bj_time`, `bj_time2`, `limit1`, `limit2`, `limit_all`,
`yanm`, `pmnm`, `phone`, `gls`, `gls2`, `credit_money`, `credit_proc`,
`contest_ads`, `contest_click`, `contest_ref`, `contest_inv`, `credit_vz`,
`credit_vr`, `credit_date`, `theme_bl`, `ref_text`, `ip`) VALUES
(1,
'administration', 'admin', 'admin@admin.com', '', '', 0, 0.00, 0.00, 0.00,
'', 'gif', 0, 0.000, 0, 0.000, 0.000, 0, 0.000, 0, 0.00, '', '', '', 0,
0.000, 0.000, 0.000, 0.00, 0.00, 0.00, 0.000, 'ru', 0, '', 0, '', 2, 0,
'Рефы 1', 'Рефы 2', 0, 0, 0, 0.0, 0.0000, 0, '', 0, 0.00, 0.00,
0.00, 0, 0.0000, '', 0.000, 0.000, 0, 0.000, '', '', 1, 0.000, 0, '', '',
0.000, 0.000, 0, 0.000, 0, '1357312877', 0, 0, 0, 0.00, 0, 0, 0, 0, '', 0,
1, 0.00, 0, 0.00, '', '1357455469', '', '', 0, '', '', '', 0.00, 0.00,
0.00, 0.00, 0.00, 0, 0, 0.00, 0.00, 0.00, '', 0, '', '');
/*!40101 SET
CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET
CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET
COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;