From eee1eb900d4f6f85a3e24965cc518392f0a383e7 Mon Sep 17 00:00:00 2001 From: dees040 Date: Wed, 3 Dec 2014 12:07:40 +0100 Subject: [PATCH] New sql dump --- db_dump.sql | 136 +++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 107 insertions(+), 29 deletions(-) diff --git a/db_dump.sql b/db_dump.sql index d96a1b6..5b6daf9 100644 --- a/db_dump.sql +++ b/db_dump.sql @@ -3,7 +3,7 @@ -- http://www.phpmyadmin.net -- -- Host: localhost --- Generation Time: Nov 30, 2014 at 03:17 PM +-- Generation Time: Dec 03, 2014 at 12:05 PM -- Server version: 5.5.38-MariaDB-cll-lve -- PHP Version: 5.5.17 @@ -32,7 +32,6 @@ CREATE TABLE IF NOT EXISTS `active_guests` ( PRIMARY KEY (`ip`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; - -- -------------------------------------------------------- -- @@ -54,6 +53,7 @@ CREATE TABLE IF NOT EXISTS `active_users` ( CREATE TABLE IF NOT EXISTS `banned_ip` ( `ip` varchar(50) NOT NULL, + `timestamp` int(11) NOT NULL, UNIQUE KEY `ip` (`ip`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; @@ -113,8 +113,8 @@ INSERT INTO `configuration` (`config_name`, `config_value`) VALUES ('CURRENCY', '$'), ('NUMBER_FORMAT', '2'), ('FLY_TICKET_COST', '5000'), -('PAYPAL_CLIENT_ID', ''), -('PAYPAL_SECRET_ID', ''); +('PAYPAL_CLIENT_ID', 'AUCUlRBQfOCEQOWh7MWqOFcVTcNTGIj2GYDq-PyYxm5Cab-q2l3gUG_dNXg8'), +('PAYPAL_SECRET_ID', 'EDNzFRBikoM8mciNAvDB90g5JLG1sV0XcAQRQZ_F54jzfxTu_LOMEbwGhJdF'); -- -------------------------------------------------------- @@ -156,7 +156,6 @@ INSERT INTO `crimes` (`id`, `name`, `min_payout`, `max_payout`, `change`, `icon` CREATE TABLE IF NOT EXISTS `families` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(20) NOT NULL, - `cash` int(11) NOT NULL, `bank` int(11) NOT NULL, `power` int(20) NOT NULL, `bullits` int(11) NOT NULL, @@ -165,7 +164,21 @@ CREATE TABLE IF NOT EXISTS `families` ( `info` text NOT NULL, `join_status` tinyint(1) NOT NULL, PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ; +) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `family_bank_transactions` +-- + +CREATE TABLE IF NOT EXISTS `family_bank_transactions` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `fid` int(11) NOT NULL, + `uid` int(11) NOT NULL, + `amount` int(11) NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; -- -------------------------------------------------------- @@ -178,7 +191,51 @@ CREATE TABLE IF NOT EXISTS `family_join_invites` ( `uid` int(11) NOT NULL, `fid` int(11) NOT NULL, PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ; +) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=10 ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `forum_forums` +-- + +CREATE TABLE IF NOT EXISTS `forum_forums` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `title` varchar(50) NOT NULL, + `description` varchar(200) NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `forum_reactions` +-- + +CREATE TABLE IF NOT EXISTS `forum_reactions` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `tid` int(11) NOT NULL, + `uid` int(11) NOT NULL, + `content` text NOT NULL, + `date` int(11) NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `forum_topics` +-- + +CREATE TABLE IF NOT EXISTS `forum_topics` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `fid` int(11) NOT NULL, + `title` varchar(50) NOT NULL, + `content` text NOT NULL, + `creator` int(11) NOT NULL, + `date` int(11) NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; -- -------------------------------------------------------- @@ -285,7 +342,7 @@ INSERT INTO `items_shop` (`id`, `name`, `description`, `price`, `power`, `max_am (2, 'Pepperspray', 'none', 950, 40, 0, 'pepperspray.gif'), (3, 'Desert Eagle', 'none', 1000, 45, 0, 'deserteagle.gif'), (4, 'Sig P228', 'none', 1400, 55, 0, 'sigp228.gif'), -(5, 'Attack Coin', 'Get 5 attack coins to attack people.', 1500, 0, 0, 'attackcoins.gif'), +(5, 'Attack Coin', 'Get 1 attack coin to attack people.', 300, 0, 0, 'attackcoins.gif'), (6, 'C4 Bomb', 'none', 3000, 75, 0, 'c4.gif'), (7, 'Machine Gun', 'none', 5000, 150, 0, 'm16.gif'), (8, 'Corner Shot', 'none', 5000, 150, 0, 'cornershot.gif'), @@ -314,7 +371,7 @@ CREATE TABLE IF NOT EXISTS `menus` ( `weight` int(11) NOT NULL, `display` tinyint(4) NOT NULL DEFAULT '1', PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=36 ; +) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=44 ; -- -- Dumping data for table `menus` @@ -333,12 +390,12 @@ INSERT INTO `menus` (`id`, `pid`, `menu`, `link`, `weight`, `display`) VALUES (10, 12, 'crime', 'crime/crimes', 0, 1), (11, 13, 'family', 'family', 1, 1), (12, 14, 'statistics', 'online', 0, 1), -(13, 15, 'personal', 'personal/user-edit', 2, 1), -(14, 16, 'personal', 'personal/user-info', 1, 0), +(13, 15, 'personal', 'personal/user-edit', 4, 1), +(14, 16, 'personal', 'personal/user-info', 3, 0), (15, 17, 'locations', 'locations/airport', 3, 1), -(16, 18, 'personal', 'personal/messages', 0, 1), +(16, 18, 'personal', 'personal/messages', 1, 1), (17, 19, 'call-credits', 'call-credits', 0, 1), -(18, 20, 'call-credits', 'call-credits/shop', 0, 1), +(18, 20, 'call-credits', 'call-credits/shop', 1, 1), (19, 21, 'locations', 'locations/shop', 2, 1), (20, 22, 'locations', 'locations/jail', 1, 1), (21, 23, 'locations', 'locations/bank', 0, 1), @@ -347,15 +404,23 @@ INSERT INTO `menus` (`id`, `pid`, `menu`, `link`, `weight`, `display`) VALUES (24, 26, 'extra', 'extra/attack', 0, 1), (25, 27, 'admin', 'admin/modules', 0, 0), (26, 28, 'extra', 'extra/shoutbox', 0, 1), -(27, 29, 'extra', 'extra/forum', 0, 1), +(27, 29, 'extra', 'forum', 0, 1), (28, 30, 'casino', 'casino/crack-the-vault', 0, 1), (29, 31, 'family', 'family/profile', 3, 0), -(30, 32, 'personal', 'personal/message', 0, 0), -(31, 33, 'call-credits', 'pay/failed', 0, 0), -(32, 34, 'call-credits', 'pay/success', 0, 0), -(33, 35, 'call-credits', 'credits/payments', 0, 1), +(30, 32, 'personal', 'personal/message', 2, 0), +(31, 33, 'call-credits', 'pay/failed', 2, 0), +(32, 34, 'call-credits', 'pay/success', 3, 0), +(33, 35, 'call-credits', 'credits/payments', 4, 1), (34, 36, 'family', 'family/create', 0, 1), -(35, 37, 'family', 'family/settings', 2, 1); +(35, 37, 'family', 'family/settings', 2, 1), +(36, 38, 'locations', 'locations/red-light-district', 6, 1), +(37, 39, 'statistics', 'statistics/members', 0, 0), +(38, 40, 'statistics', 'statistics/more', 0, 1), +(39, 41, 'family', 'family/bank', 4, 1), +(40, 42, 'extra', 'extra/forum/topics', 0, 0), +(41, 43, 'extra', 'extra/forum/topic', 0, 0), +(42, 44, 'extra', 'extra/forum/create-topic', 0, 0), +(43, 45, 'extra', 'extra/forum/create-form', 0, 0); -- -------------------------------------------------------- @@ -373,7 +438,7 @@ CREATE TABLE IF NOT EXISTS `messages` ( `status` tinyint(4) NOT NULL, `from_status` tinyint(4) NOT NULL, PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=11 ; +) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=37 ; -- -------------------------------------------------------- @@ -390,7 +455,7 @@ CREATE TABLE IF NOT EXISTS `pages` ( `jail` tinyint(4) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `link` (`link`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=38 ; +) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=46 ; -- -- Dumping data for table `pages` @@ -423,15 +488,23 @@ INSERT INTO `pages` (`id`, `title`, `link`, `file`, `groups`, `jail`) VALUES (26, 'Attack', 'extra/attack', 'attack.php', 'a:0:{}', 1), (27, 'Modules', 'admin/modules', 'modules.php', 'a:1:{i:0;s:1:"1";}', 0), (28, 'Shoutbox', 'extra/shoutbox', 'shoutbox.php', 'a:0:{}', 0), -(29, 'Forum', 'extra/forum', 'forum.php', 'a:0:{}', 0), +(29, 'Forum', 'forum', 'forum.php', 'a:0:{}', 0), (30, 'Crack the vault', 'casino/crack-the-vault', 'crack-the-vault.php', 'a:0:{}', 1), (31, 'Family profile', 'family/profile', 'family-profile.php', 'a:0:{}', 1), -(32, 'Message', 'personal/message', 'message_load.php', 'a:3:{i:0;s:1:"1";i:1;s:1:"3";i:2;s:1:"2";}', 0), +(32, 'Message', 'personal/message', 'message_load.php', 'a:0:{}', 0), (33, 'Pay Failed', 'pay/failed', 'failed.php', 'a:0:{}', 0), (34, 'Pay Success', 'pay/success', 'success.php', 'a:0:{}', 0), (35, 'Payments', 'credits/payments', 'payments.php', 'a:1:{i:0;s:1:"1";}', 0), (36, 'Create family', 'family/create', 'family-create.php', 'a:0:{}', 1), -(37, 'Family settings', 'family/settings', 'family-settings.php', 'a:0:{}', 0); +(37, 'Family settings', 'family/settings', 'family-settings.php', 'a:0:{}', 0), +(38, 'Red light district', 'locations/red-light-district', 'red-light-district.php', 'a:0:{}', 1), +(39, 'Members', 'statistics/members', 'members.php', 'a:0:{}', 0), +(40, 'More statistics', 'statistics/more', 'more.php', 'a:0:{}', 0), +(41, 'Family bank', 'family/bank', 'bank.php', 'a:0:{}', 1), +(42, 'Forum Topic', 'extra/forum/topics', 'forum-topics.php', 'a:0:{}', 0), +(43, 'Topic', 'extra/forum/topic', 'topic.php', 'a:0:{}', 0), +(44, 'Create topic', 'extra/forum/create-topic', 'create-topic.php', 'a:0:{}', 0), +(45, 'Create Forum', 'extra/forum/create-form', 'create-forum.php', 'a:1:{i:0;s:1:"1";}', 0); -- -------------------------------------------------------- @@ -449,7 +522,7 @@ CREATE TABLE IF NOT EXISTS `payments` ( `date_completed` int(11) NOT NULL, `price` varchar(5) NOT NULL, PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=13 ; +) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=24 ; -- -------------------------------------------------------- @@ -463,7 +536,7 @@ CREATE TABLE IF NOT EXISTS `shoutbox` ( `message` varchar(600) NOT NULL, `date` int(11) NOT NULL, PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ; +) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=10 ; -- -------------------------------------------------------- @@ -484,8 +557,9 @@ CREATE TABLE IF NOT EXISTS `users` ( `ip` varchar(15) NOT NULL, `regdate` int(11) unsigned NOT NULL, `groups` varchar(255) NOT NULL, + `profile_picture` varchar(50) NOT NULL DEFAULT 'none-profile.png', PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=18 ; +) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=19 ; -- -------------------------------------------------------- @@ -503,11 +577,13 @@ CREATE TABLE IF NOT EXISTS `users_info` ( `money` int(20) NOT NULL DEFAULT '100', `bank` int(20) NOT NULL DEFAULT '500', `power` int(15) NOT NULL, - `crime_process` int(5) NOT NULL, + `crime_process` int(5) NOT NULL DEFAULT '50', `credits` int(11) NOT NULL, `house` int(11) NOT NULL, `bullets` int(11) NOT NULL, `protection` int(11) NOT NULL, + `ho_street` int(11) NOT NULL, + `ho_glass` int(11) NOT NULL, UNIQUE KEY `id` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; @@ -523,7 +599,7 @@ CREATE TABLE IF NOT EXISTS `users_items` ( `sid` int(11) NOT NULL, `amount` int(11) NOT NULL, PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ; +) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=15 ; -- -------------------------------------------------------- @@ -536,6 +612,8 @@ CREATE TABLE IF NOT EXISTS `users_time` ( `jail` int(11) NOT NULL, `crime_time` int(11) NOT NULL, `fly_time` int(11) NOT NULL, + `pimp_time` int(11) NOT NULL, + `pimp_money` int(11) NOT NULL, UNIQUE KEY `uid` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1;