Zrobiłem reinstal już i zapomniałem skopiować i mam tylko blanteve_przemo i jeśli mam przykładowo tabelę taką
Kod: | -
-- Struktura tabeli dla tabeli `phpbb_forums`
--
CREATE TABLE IF NOT EXISTS `phpbb_forums` (
`forum_id` smallint(5) unsigned NOT NULL DEFAULT '0',
`cat_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
`forum_name` varchar(254) COLLATE utf8_unicode_ci DEFAULT '',
`forum_desc` text COLLATE utf8_unicode_ci,
`forum_status` tinyint(1) NOT NULL DEFAULT '0',
`forum_order` mediumint(8) unsigned NOT NULL DEFAULT '1',
`forum_posts` mediumint(8) unsigned NOT NULL DEFAULT '0',
`forum_topics` mediumint(8) unsigned NOT NULL DEFAULT '0',
`forum_last_post_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
`prune_next` int(11) DEFAULT NULL,
`prune_enable` tinyint(1) NOT NULL DEFAULT '0',
`auth_view` tinyint(2) NOT NULL DEFAULT '0',
`auth_read` tinyint(2) NOT NULL DEFAULT '0',
`auth_post` tinyint(2) NOT NULL DEFAULT '0',
`auth_reply` tinyint(2) NOT NULL DEFAULT '0',
`auth_edit` tinyint(2) NOT NULL DEFAULT '0',
`auth_delete` tinyint(2) NOT NULL DEFAULT '0',
`auth_sticky` tinyint(2) NOT NULL DEFAULT '0',
`auth_announce` tinyint(2) NOT NULL DEFAULT '0',
`auth_globalannounce` tinyint(2) NOT NULL DEFAULT '3',
`auth_vote` tinyint(2) NOT NULL DEFAULT '0',
`auth_pollcreate` tinyint(2) NOT NULL DEFAULT '0',
`auth_attachments` tinyint(2) NOT NULL DEFAULT '0',
`auth_download` tinyint(2) NOT NULL DEFAULT '0',
`password` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`forum_sort` varchar(12) COLLATE utf8_unicode_ci NOT NULL,
`forum_color` varchar(6) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`forum_link` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`forum_link_internal` tinyint(1) NOT NULL DEFAULT '0',
`forum_link_hit_count` tinyint(1) NOT NULL DEFAULT '0',
`forum_link_hit` bigint(20) unsigned NOT NULL DEFAULT '0',
`main_type` char(1) COLLATE utf8_unicode_ci DEFAULT NULL,
`forum_moderate` tinyint(1) NOT NULL DEFAULT '0',
`no_count` tinyint(1) NOT NULL DEFAULT '0',
`forum_trash` smallint(1) NOT NULL DEFAULT '0',
`forum_separate` smallint(1) NOT NULL DEFAULT '2',
`forum_show_ga` smallint(1) NOT NULL DEFAULT '1',
`forum_tree_grade` tinyint(1) NOT NULL DEFAULT '3',
`forum_tree_req` tinyint(1) NOT NULL DEFAULT '0',
`forum_no_split` tinyint(1) NOT NULL DEFAULT '0',
`forum_no_helped` tinyint(1) NOT NULL DEFAULT '0',
`topic_tags` varchar(255) COLLATE utf8_unicode_ci DEFAULT '',
`locked_bottom` tinyint(1) DEFAULT '0',
`forum_image_url` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`forum_id`),
KEY `forums_order` (`forum_order`),
KEY `cat_id` (`cat_id`),
KEY `forum_last_post_id` (`forum_last_post_id`),
KEY `no_count` (`no_count`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Zrzut danych tabeli `phpbb_forums`
--
INSERT INTO `phpbb_forums` (`forum_id`, `cat_id`, `forum_name`, `forum_desc`, `forum_status`, `forum_order`, `forum_posts`, `forum_topics`, `forum_last_post_id`, `prune_next`, `prune_enable`, `auth_view`, `auth_read`, `auth_post`, `auth_reply`, `auth_edit`, `auth_delete`, `auth_sticky`, `auth_announce`, `auth_globalannounce`, `auth_vote`, `auth_pollcreate`, `auth_attachments`, `auth_download`, `password`, `forum_sort`, `forum_color`, `forum_link`, `forum_link_internal`, `forum_link_hit_count`, `forum_link_hit`, `main_type`, `forum_moderate`, `no_count`, `forum_trash`, `forum_separate`, `forum_show_ga`, `forum_tree_grade`, `forum_tree_req`, `forum_no_split`, `forum_no_helped`, `topic_tags`, `locked_bottom`, `forum_image_url`) VALUES
(2, 5, 'Sprawy forum', '', 0, 90, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'c', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(3, 5, 'Regulaminy', 'Ka¿dy powinien je znaæ', 0, 20, 1, 1, 618, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'c', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(4, 5, 'Og³oszenia', '', 0, 30, 3, 1, 710, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'c', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(5, 2, 'Przywitania/Po¿egnania', '', 0, 100, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'f', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(6, 5, 'Przywitaj siê', '', 0, 120, 2, 1, 697, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'f', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(7, 6, 'Blantever.pl [FFA][Vip] ', '<img src="http://www.blantever.xaa.pl/images/ffa.png">\r\n<img src="http://cache.www.gametracker.com/server_info/193.33.177.87:27101/b_350_20_525252_2B2C2B_FFFFFF_000000.png" alt="" border="0" height="20" width="350"></a>\r\n<b><font color="red">HeadAdmin serwera: <b>RomanHardcor</b></font></br>\r\n<font color="white">Opiekun serwera: <b>Konrado698</b></font>', 0, 240, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'c', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(8, 7, 'Regulamin', '', 0, 250, 2, 2, 775, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', 'FF3300', '', 0, 0, 0, 'f', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(9, 7, 'Propozycje/Uwagi', '', 0, 280, 1, 1, 800, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'f', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(25, 10, 'Nowoci', '', 0, 420, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'c', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(12, 7, 'Kosz', '', 0, 730, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'c', 0, 0, 1, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(13, 7, 'Archiwum', '', 0, 720, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'c', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(14, 8, 'League Of Legends', '', 0, 490, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'c', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(15, 9, 'Poradniki', '', 0, 550, 2, 2, 703, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'c', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(16, 5, 'Po¿egnaj siê', '', 0, 110, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'f', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(18, 8, '4Story', '', 0, 500, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'c', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(19, 9, 'Pobieralnia', '', 0, 560, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'c', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(20, 9, 'Galeria Prac', '', 0, 610, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'c', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(21, 9, 'Zlecenia', '', 0, 620, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'c', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(22, 21, 'P³atne', '', 0, 630, 1, 1, 612, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'f', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(26, 10, 'Pobieralnia', '', 0, 430, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'c', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(24, 21, 'Darmowe', '', 0, 640, 1, 1, 776, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'f', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(27, 10, 'Serwery NS/S', '', 0, 470, 26, 26, 803, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'c', 1, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(28, 7, 'Skargi na Adminów/Graczy', '', 0, 290, 6, 1, 782, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'f', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(29, 7, 'Og³oszenia', '', 0, 260, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'f', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(30, 8, 'Counter-Strike Global Offensive', '', 0, 510, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'c', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(31, 8, 'Counter-Strike Source', '', 0, 520, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'c', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(32, 8, 'Team Fortrees', '', 0, 530, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'c', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(33, 5, 'Zg³o nieobecnoæ ', '', 0, 130, 1, 1, 721, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'f', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(34, 5, 'Zrezygnuj z rang', '', 0, 140, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'f', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL),
(35, 2, 'Warny', '', 0, 150, 0, 0, 0, NULL, 0, 0, 0, 1, 1, 1, 1, 3, 5, 5, 1, 1, 1, 0, '', 'SORT_FPDATE', '', '', 0, 0, 0, 'f', 0, 0, 0, 2, 1, 3, 0, 0, 0, '', 0, NULL);
/*!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 */;
|
Co z tego kawałku jest zapytaniem SQL |