Guest User

MySQL

a guest
Jan 1st, 2013
914
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 11.33 KB | None | 0 0
  1. --
  2. -- Table structure for table 'administrators'
  3. --
  4.  
  5. CREATE TABLE 'administrators' (
  6.   'ADMINID' BIGINT(20) NOT NULL AUTO_INCREMENT,
  7.   'email' VARCHAR(80) NOT NULL DEFAULT '',
  8.   'username' VARCHAR(80) NOT NULL DEFAULT '',
  9.   'password' VARCHAR(50) NOT NULL DEFAULT '',
  10.   PRIMARY KEY  ('ADMINID'),
  11.   UNIQUE KEY 'email' ('email'),
  12.   UNIQUE KEY 'username' ('username')
  13. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
  14.  
  15. --
  16. -- Dumping data for table 'administrators'
  17. --
  18.  
  19. INSERT INTO 'administrators' VALUES (1, '[email protected]', 'tomex009', '48238b7f2aa5f76a1d1e119f8942ebe7');
  20.  
  21. -- --------------------------------------------------------
  22.  
  23. --
  24. -- Table structure for table 'advertisements'
  25. --
  26.  
  27. CREATE TABLE 'advertisements' (
  28.   'AID' BIGINT(30) NOT NULL AUTO_INCREMENT,
  29.   'description' VARCHAR(200) NOT NULL DEFAULT '',
  30.   'code' text NOT NULL,
  31.   'active' enum('1','0') NOT NULL DEFAULT '1',
  32.   PRIMARY KEY  ('AID')
  33. ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;
  34.  
  35. --
  36. -- Dumping data for table 'advertisements'
  37. --
  38.  
  39. INSERT INTO 'advertisements' VALUES (1, '300 x 250 pixels', '<script type="text/javascript"><!--\r\ngoogle_ad_client = "ca-pub-4038454921391697";\r\n/* 250x250 21 */\r\ngoogle_ad_slot = "7681226835";\r\ngoogle_ad_width = 250;\r\ngoogle_ad_height = 250;\r\n//-->\r\n</script>\r\n<script type="text/javascript"\r\nsrc="http://pagead2.googlesyndication.com/pagead/show_ads.js">\r\n</script>', '1');
  40. INSERT INTO 'advertisements' VALUES (2, '300 x 300 pixels', '<script type="text/javascript"><!--\r\ngoogle_ad_client = "ca-pub-4038454921391697";\r\n/* 300x250 2 */\r\ngoogle_ad_slot = "5822717234";\r\ngoogle_ad_width = 300;\r\ngoogle_ad_height = 250;\r\n//-->\r\n</script>\r\n<script type="text/javascript"\r\nsrc="http://pagead2.googlesyndication.com/pagead/show_ads.js">\r\n</script>', '1');
  41. INSERT INTO 'advertisements' VALUES (3, '728 x 90 pixels', '<script type="text/javascript"><!--\r\ngoogle_ad_client = "ca-pub-4038454921391697";\r\n/* Down Banner */\r\ngoogle_ad_slot = "3166702349";\r\ngoogle_ad_width = 728;\r\ngoogle_ad_height = 90;\r\n//-->\r\n</script>\r\n<script type="text/javascript"\r\nsrc="http://pagead2.googlesyndication.com/pagead/show_ads.js">\r\n</script>', '1');
  42.  
  43. -- --------------------------------------------------------
  44.  
  45. --
  46. -- Table structure for table 'bans_ips'
  47. --
  48.  
  49. CREATE TABLE 'bans_ips' (
  50.   'ip' VARCHAR(20) NOT NULL,
  51.   UNIQUE KEY 'ip' ('ip')
  52. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  53.  
  54. --
  55. -- Dumping data for table 'bans_ips'
  56. --
  57.  
  58.  
  59. -- --------------------------------------------------------
  60.  
  61. --
  62. -- Table structure for table 'config'
  63. --
  64.  
  65. CREATE TABLE 'config' (
  66.   'setting' VARCHAR(60) NOT NULL DEFAULT '',
  67.   'value' text NOT NULL
  68. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  69.  
  70. --
  71. -- Dumping data for table 'config'
  72. --
  73.  
  74. INSERT INTO 'config' VALUES ('site_email', '[email protected]');
  75. INSERT INTO 'config' VALUES ('site_name', 'Balkan Fail Blog');
  76. INSERT INTO 'config' VALUES ('max_syndicate_results', '25');
  77. INSERT INTO 'config' VALUES ('maximum_results', '1000000');
  78. INSERT INTO 'config' VALUES ('emailsender', 'Admin');
  79. INSERT INTO 'config' VALUES ('max_img_size', '200');
  80. INSERT INTO 'config' VALUES ('items_per_page', '10');
  81. INSERT INTO 'config' VALUES ('approve_stories', '0');
  82. INSERT INTO 'config' VALUES ('metadescription', 'Official Balkan Fail Blog Website');
  83. INSERT INTO 'config' VALUES ('metakeywords', '9gag clone, 9gag script, 9gag clone script, clone, script');
  84. INSERT INTO 'config' VALUES ('pub_mod', '1');
  85. INSERT INTO 'config' VALUES ('ver', '2.9');
  86. INSERT INTO 'config' VALUES ('FACEBOOK_PROFILE', 'BalkanFailBlog');
  87. INSERT INTO 'config' VALUES ('myes', '5');
  88. INSERT INTO 'config' VALUES ('mno', '5');
  89. INSERT INTO 'config' VALUES ('twitter', 'Scriptolution');
  90. INSERT INTO 'config' VALUES ('FACEBOOK_APP_ID', '128333383995241');
  91. INSERT INTO 'config' VALUES ('FACEBOOK_SECRET', 'a3459feb8732bcc1bfeff0b344da35fd');
  92. INSERT INTO 'config' VALUES ('enable_fc', '1');
  93. INSERT INTO 'config' VALUES ('mtrend', '1');
  94. INSERT INTO 'config' VALUES ('quota', '15');
  95. INSERT INTO 'config' VALUES ('contact_email', '[email protected]');
  96. INSERT INTO 'config' VALUES ('short_urls', '1');
  97. INSERT INTO 'config' VALUES ('FACEBOOK_ADMIN', '100000051390750');
  98. INSERT INTO 'config' VALUES ('wm', '0');
  99. INSERT INTO 'config' VALUES ('watermark', 'watermark.png');
  100. INSERT INTO 'config' VALUES ('points_gag', '10');
  101. INSERT INTO 'config' VALUES ('points_view', '1');
  102. INSERT INTO 'config' VALUES ('enable_featured', '0');
  103. INSERT INTO 'config' VALUES ('infinity_paging', '1');
  104. INSERT INTO 'config' VALUES ('wm', '0');
  105. INSERT INTO 'config' VALUES ('watermark', 'watermark.png');
  106. INSERT INTO 'config' VALUES ('FACEBOOK_ADMIN', '100000051390750');
  107. INSERT INTO 'config' VALUES ('re_mobile', '1');
  108. INSERT INTO 'config' VALUES ('m_url', 'http://mobilebfb.tk');
  109.  
  110. -- --------------------------------------------------------
  111.  
  112. --
  113. -- Table structure for table 'members'
  114. --
  115.  
  116. CREATE TABLE 'members' (
  117.   'USERID' BIGINT(20) NOT NULL AUTO_INCREMENT,
  118.   'email' VARCHAR(80) NOT NULL DEFAULT '',
  119.   'username' VARCHAR(80) NOT NULL DEFAULT '',
  120.   'password' VARCHAR(50) NOT NULL DEFAULT '',
  121.   'pwd' VARCHAR(50) NOT NULL,
  122.   'fullname' VARCHAR(200) NOT NULL DEFAULT '',
  123.   'gender' VARCHAR(6) NOT NULL DEFAULT '',
  124.   'description' text NOT NULL,
  125.   'country' VARCHAR(100) NOT NULL DEFAULT '',
  126.   'yourviewed' INT(20) NOT NULL DEFAULT '0',
  127.   'profileviews' INT(20) NOT NULL DEFAULT '0',
  128.   'youviewed' BIGINT(20) NOT NULL DEFAULT '0',
  129.   'addtime' VARCHAR(20) NOT NULL DEFAULT '',
  130.   'lastlogin' VARCHAR(20) NOT NULL DEFAULT '',
  131.   'verified' CHAR(1) NOT NULL DEFAULT '1',
  132.   'status' enum('1','0') NOT NULL DEFAULT '1',
  133.   'profilepicture' VARCHAR(100) NOT NULL DEFAULT '',
  134.   'remember_me_key' VARCHAR(32) DEFAULT NULL,
  135.   'remember_me_time' datetime DEFAULT NULL,
  136.   'ip' VARCHAR(20) NOT NULL,
  137.   'lip' VARCHAR(20) NOT NULL,
  138.   'website' VARCHAR(200) NOT NULL,
  139.   'news' INT(1) NOT NULL DEFAULT '0',
  140.   'mylang' VARCHAR(20) NOT NULL,
  141.   'color1' VARCHAR(6) NOT NULL DEFAULT '333333',
  142.   'color2' VARCHAR(6) NOT NULL DEFAULT 'FFFFFF',
  143.   'filter' BIGINT(1) NOT NULL DEFAULT '1',
  144.   'points' BIGINT(50) NOT NULL,
  145.   PRIMARY KEY  ('USERID'),
  146.   UNIQUE KEY 'email' ('email')
  147. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
  148.  
  149. --
  150. -- Dumping data for table 'members'
  151. --
  152.  
  153. INSERT INTO 'members' VALUES (1, '[email protected]', 'tomex009', '48238b7f2aa5f76a1d1e119f8942ebe7', 'XlQ2v1356734945', '', '', '', '', 6, 0, 5, '1356734945', '', '1', '1', '', NULL, NULL, '89.172.31.197', '89.172.31.197', '', 0, '', '333333', 'FFFFFF', 1, 15);
  154.  
  155. -- --------------------------------------------------------
  156.  
  157. --
  158. -- Table structure for table 'members_passcode'
  159. --
  160.  
  161. CREATE TABLE 'members_passcode' (
  162.   'USERID' BIGINT(20) NOT NULL DEFAULT '0',
  163.   'code' VARCHAR(30) NOT NULL DEFAULT '',
  164.   PRIMARY KEY  ('USERID')
  165. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  166.  
  167. --
  168. -- Dumping data for table 'members_passcode'
  169. --
  170.  
  171.  
  172. -- --------------------------------------------------------
  173.  
  174. --
  175. -- Table structure for table 'members_verifycode'
  176. --
  177.  
  178. CREATE TABLE 'members_verifycode' (
  179.   'USERID' BIGINT(20) NOT NULL DEFAULT '0',
  180.   'code' VARCHAR(30) NOT NULL DEFAULT '',
  181.   PRIMARY KEY  ('USERID')
  182. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  183.  
  184. --
  185. -- Dumping data for table 'members_verifycode'
  186. --
  187.  
  188. INSERT INTO 'members_verifycode' VALUES (0, 'h394Y1328501678');
  189.  
  190. -- --------------------------------------------------------
  191.  
  192. --
  193. -- Table structure for table 'posts'
  194. --
  195.  
  196. CREATE TABLE 'posts' (
  197.   'PID' BIGINT(20) NOT NULL AUTO_INCREMENT,
  198.   'USERID' BIGINT(20) NOT NULL DEFAULT '0',
  199.   'story' text NOT NULL,
  200.   'tags' VARCHAR(200) NOT NULL,
  201.   'source' VARCHAR(200) NOT NULL,
  202.   'nsfw' INT(1) NOT NULL DEFAULT '0',
  203.   'pic' VARCHAR(20) NOT NULL,
  204.   'youtube_key' VARCHAR(20) NOT NULL,
  205.   'fod_key' VARCHAR(20) NOT NULL,
  206.   'url' text NOT NULL,
  207.   'time_added' VARCHAR(20) DEFAULT NULL,
  208.   'date_added' DATE NOT NULL DEFAULT '0000-00-00',
  209.   'active' CHAR(1) NOT NULL DEFAULT '',
  210.   'phase' BIGINT(1) NOT NULL DEFAULT '0',
  211.   'favclicks' BIGINT(50) NOT NULL DEFAULT '0',
  212.   'last_viewed' VARCHAR(20) NOT NULL DEFAULT '',
  213.   'mod_yes' BIGINT(20) NOT NULL DEFAULT '0',
  214.   'mod_no' BIGINT(20) NOT NULL DEFAULT '0',
  215.   'pip' VARCHAR(20) NOT NULL,
  216.   'pip2' VARCHAR(20) NOT NULL,
  217.   'unfavclicks' BIGINT(50) NOT NULL DEFAULT '0',
  218.   'fix' BIGINT(20) NOT NULL DEFAULT '0',
  219.   'short' VARCHAR(20) NOT NULL,
  220.   'ttime' VARCHAR(20) NOT NULL,
  221.   'htime' VARCHAR(20) NOT NULL,
  222.   'feat' INT(1) NOT NULL DEFAULT '0',
  223.   'rec' INT(1) NOT NULL DEFAULT '0',
  224.   PRIMARY KEY  ('PID')
  225. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
  226.  
  227. --
  228. -- Dumping data for table 'posts'
  229. --
  230.  
  231. INSERT INTO 'posts' VALUES (1, 1, 'ZM', '', '', 0, '1.jpg', '', '', '', '1357007005', '2012-12-31', '1', 0, 1, '1357007133', 0, 0, '89.172.25.214', '', 0, 0, '', '', '', 0, 0);
  232.  
  233. -- --------------------------------------------------------
  234.  
  235. --
  236. -- Table structure for table 'posts_favorited'
  237. --
  238.  
  239. CREATE TABLE 'posts_favorited' (
  240.   'FID' BIGINT(20) NOT NULL AUTO_INCREMENT,
  241.   'USERID' BIGINT(25) NOT NULL DEFAULT '0',
  242.   'PID' BIGINT(25) NOT NULL DEFAULT '0',
  243.   PRIMARY KEY  ('FID'),
  244.   UNIQUE KEY 'USERID' ('USERID','PID')
  245. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
  246.  
  247. --
  248. -- Dumping data for table 'posts_favorited'
  249. --
  250.  
  251. INSERT INTO 'posts_favorited' VALUES (1, 1, 1);
  252.  
  253. -- --------------------------------------------------------
  254.  
  255. --
  256. -- Table structure for table 'posts_reports'
  257. --
  258.  
  259. CREATE TABLE 'posts_reports' (
  260.   'RID' BIGINT(20) NOT NULL AUTO_INCREMENT,
  261.   'PID' BIGINT(20) NOT NULL DEFAULT '0',
  262.   'time' VARCHAR(20) DEFAULT NULL,
  263.   'ip' VARCHAR(20) NOT NULL,
  264.   'reason' BIGINT(1) NOT NULL,
  265.   PRIMARY KEY  ('RID')
  266. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
  267.  
  268. --
  269. -- Dumping data for table 'posts_reports'
  270. --
  271.  
  272.  
  273. -- --------------------------------------------------------
  274.  
  275. --
  276. -- Table structure for table 'posts_unfavorited'
  277. --
  278.  
  279. CREATE TABLE 'posts_unfavorited' (
  280.   'FID' BIGINT(20) NOT NULL AUTO_INCREMENT,
  281.   'USERID' BIGINT(25) NOT NULL DEFAULT '0',
  282.   'PID' BIGINT(25) NOT NULL DEFAULT '0',
  283.   PRIMARY KEY  ('FID'),
  284.   UNIQUE KEY 'USERID' ('USERID','PID')
  285. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
  286.  
  287. --
  288. -- Dumping data for table 'posts_unfavorited'
  289. --
  290.  
  291.  
  292. -- --------------------------------------------------------
  293.  
  294. --
  295. -- Table structure for table 'static'
  296. --
  297.  
  298. CREATE TABLE 'static' (
  299.   'ID' BIGINT(30) NOT NULL AUTO_INCREMENT,
  300.   'title' VARCHAR(255) NOT NULL DEFAULT '',
  301.   'value' text NOT NULL,
  302.   PRIMARY KEY  ('ID')
  303. ) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ;
  304.  
  305. --
  306. -- Dumping data for table 'static'
  307. --
  308.  
  309. INSERT INTO 'static' VALUES (1, 'Terms Of Use', 'Insert your terms of use information here.<br><br>\r\n\r\nHTML is accepted.');
  310. INSERT INTO 'static' VALUES (2, 'Privacy Policy', 'Insert your privacy policy information here.<br><br>\r\n\r\nHTML is accepted.');
  311. INSERT INTO 'static' VALUES (3, 'About', 'Insert your about us information here.<br><br>\r\n\r\nHTML is accepted.');
  312. INSERT INTO 'static' VALUES (4, '9 Rules', 'Insert your 9 rules here.<br><br>\r\n\r\nHTML is accepted.');
  313. INSERT INTO 'static' VALUES (5, 'FAQ', 'Insert your frequently asked questions here.<br><br>\r\n\r\nHTML is accepted.');
Advertisement
Add Comment
Please, Sign In to add comment