source: branches/rsr.v5.1.1/web/install/dist/sql/rsr.v5.all.sql @ 4

Last change on this file since 4 was 4, checked in by dj3c1t, 12 years ago

passage en v5.1.1

File size: 41.2 KB
Line 
1-- phpMyAdmin SQL Dump
2-- version 3.2.2.1deb1
3-- http://www.phpmyadmin.net
4--
5-- Serveur: localhost
6-- Généré le : Lun 14 Novembre 2011 à 22:36
7-- Version du serveur: 5.1.37
8-- Version de PHP: 5.2.10-2ubuntu6.10
9
10SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
11
12--
13-- Base de données: `rsr_v5`
14--
15
16-- --------------------------------------------------------
17
18--
19-- Structure de la table `rsrv5_albums`
20--
21
22DROP TABLE IF EXISTS `rsrv5_albums`;
23CREATE TABLE `rsrv5_albums` (
24  `id` int(11) NOT NULL AUTO_INCREMENT,
25  `id_artiste` int(11) NOT NULL,
26  `titre` varchar(255) DEFAULT NULL,
27  `image` varchar(255) NOT NULL,
28  `description` text,
29  `url` varchar(255) DEFAULT NULL,
30  `format` int(11) DEFAULT NULL,
31  `taille` int(11) DEFAULT NULL,
32  `date_creation` date DEFAULT NULL,
33  `date_publication` date DEFAULT NULL,
34  `compteur` int(11) NOT NULL DEFAULT '0',
35  `actif` tinyint(4) NOT NULL DEFAULT '1',
36  `ordre` int(11) NOT NULL DEFAULT '0',
37  PRIMARY KEY (`id`)
38) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
39
40--
41-- Contenu de la table `rsrv5_albums`
42--
43
44
45-- --------------------------------------------------------
46
47--
48-- Structure de la table `rsrv5_artistes`
49--
50
51DROP TABLE IF EXISTS `rsrv5_artistes`;
52CREATE TABLE `rsrv5_artistes` (
53  `id` int(11) NOT NULL AUTO_INCREMENT,
54  `nom` varchar(255) DEFAULT NULL,
55  `presentation` text,
56  `style` varchar(255) DEFAULT NULL,
57  `image` varchar(255) DEFAULT NULL,
58  `pays` varchar(255) DEFAULT NULL,
59  `site` varchar(255) DEFAULT NULL,
60  `email_contact` varchar(255) DEFAULT NULL,
61  `hide_email` tinyint(4) NOT NULL DEFAULT '1',
62  `contact_form` tinyint(4) NOT NULL DEFAULT '1',
63  `identifiant_paypal` varchar(255) DEFAULT NULL,
64  `lien_boutique` varchar(255) DEFAULT NULL,
65  `pun_forum` int(11) DEFAULT NULL,
66  `pun_user` int(11) DEFAULT NULL,
67  `compteur` int(11) NOT NULL DEFAULT '0',
68  `lien_facebook` varchar(255) DEFAULT NULL,
69  `lien_flickr` varchar(255) DEFAULT NULL,
70  `lien_twitter` varchar(255) DEFAULT NULL,
71  `lien_youtube` varchar(255) DEFAULT NULL,
72  `dossier_personnel` varchar(255) DEFAULT NULL,
73  PRIMARY KEY (`id`)
74) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
75
76--
77-- Contenu de la table `rsrv5_artistes`
78--
79
80
81-- --------------------------------------------------------
82
83--
84-- Structure de la table `rsrv5_artistes_admins`
85--
86
87DROP TABLE IF EXISTS `rsrv5_artistes_admins`;
88CREATE TABLE `rsrv5_artistes_admins` (
89  `id_artiste` int(11) NOT NULL,
90  `pun_user` int(11) NOT NULL,
91  PRIMARY KEY (`id_artiste`,`pun_user`)
92) ENGINE=MyISAM DEFAULT CHARSET=utf8;
93
94--
95-- Contenu de la table `rsrv5_artistes_admins`
96--
97
98
99-- --------------------------------------------------------
100
101--
102-- Structure de la table `rsrv5_boxes`
103--
104
105DROP TABLE IF EXISTS `rsrv5_boxes`;
106CREATE TABLE `rsrv5_boxes` (
107  `id` int(11) NOT NULL AUTO_INCREMENT,
108  `nom` varchar(64) DEFAULT NULL,
109  `emplacement` varchar(255) DEFAULT NULL,
110  `titre` varchar(255) DEFAULT NULL,
111  `fichier` varchar(255) DEFAULT NULL,
112  `contenu` text,
113  `auteur_creation` int(11) DEFAULT NULL,
114  `date_creation` datetime DEFAULT NULL,
115  `auteur_modification` int(11) DEFAULT NULL,
116  `date_modification` datetime DEFAULT NULL,
117  `date_publication` datetime DEFAULT NULL,
118  `public` tinyint(4) DEFAULT NULL,
119  `ordre` int(11) DEFAULT NULL,
120  PRIMARY KEY (`id`)
121) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=162 ;
122
123--
124-- Contenu de la table `rsrv5_boxes`
125--
126
127INSERT INTO `rsrv5_boxes` (`id`, `nom`, `emplacement`, `titre`, `fichier`, `contenu`, `auteur_creation`, `date_creation`, `auteur_modification`, `date_modification`, `date_publication`, `public`, `ordre`) VALUES
128(141, 'navigation', NULL, '', 'navigation.php', '<p>Affiche le menu principal dans l''ent&ecirc;te du site.</p>\r\n<p>Les &eacute;l&eacute;ments du menu sont &eacute;ditables dans l''administration du site, menu :</p>\r\n<p><strong>Contenus</strong> &gt; <strong>menus</strong></p>', 186, '2009-08-30 21:48:09', 186, '2011-11-12 16:14:42', '2009-09-05 23:35:21', 1, 0),
129(150, 'accueil_forum', 'accueil_gauche', 'Forum : derniers messages', 'accueil_forum.php', '<p>Ce bloc affiche des liens vers les 7 derniers messages du forum.</p>', 186, '2009-09-06 19:08:59', 186, '2011-11-12 15:56:53', '2009-09-06 19:10:21', 1, 3),
130(127, 'spotlight', 'accueil_gauche', 'Spotlight', 'spotlight.php', '<p>Ce bloc affiche le dernier spotlight, &eacute;dit&eacute; dans l''administration :</p>\r\n<p><strong>La redaction</strong> &gt; <strong>spotlights</strong></p>', 186, '2009-08-10 10:26:40', 186, '2011-11-12 16:05:10', '2009-09-06 17:16:40', 0, 2),
131(126, 'playlists_accueil', 'accueil_petite_gauche', 'Playlists', 'playlists.php', '', 186, '2009-08-09 23:15:00', 186, '2010-08-05 01:48:25', '2009-09-06 19:45:23', 1, 1),
132(142, 'edito', 'accueil_gauche', 'Edito', 'edito.php', '<p>Affiche le dernier &eacute;dito.</p>\r\n<p>Pour l''&eacute;dition des &eacute;ditos, menu :</p>\r\n<p><strong>La redaction</strong> &gt; <strong>&eacute;ditos</strong></p>', 186, '2009-09-01 19:49:18', 186, '2011-11-12 16:12:08', '2009-09-06 17:16:14', 1, 1),
133(151, 'playlists_interne', 'interne_gauche', 'Playlists', 'playlists.php', '', 186, '2009-09-06 19:45:02', 186, '2010-08-05 01:48:15', '2009-09-06 19:45:58', 1, 2),
134(124, 'identification', NULL, '', 'login.php', '', 186, '2009-08-09 22:16:57', 186, '2009-09-05 23:39:50', '2009-09-05 23:39:50', 1, 1),
135(130, 'nous_y_etions', 'accueil_petite_droite', 'Nous y étions', 'nous_y_etions.php', '<p>Ce bloc affiche un lien vers un sujet au hasard pris dans une section du forum. RSR utilise ce bloc pour faire un lien vers son forum des &eacute;v&eacute;nements pass&eacute;s.</p>\r\n<p>Avant d''utiliser ce bloc, modifiez le fichier <strong>data/modules/data_forum.php</strong> pour y renseigner l''identifiant du forum li&eacute; (variable <em>$forum_id</em>, ligne. 37).</p>\r\n<p>pour trouver l''identifiant d''un forum, rendez-vous avec votre navigateur sur le forum en question et regardez son URL, qui devrait se terminer par :</p>\r\n<p><em>viewforum.php?id=<strong>XX</strong></em></p>\r\n<p><em><strong>XX</strong></em> : identifiant du forum &agrave; modifier dans <strong>data/modules/data_forum.php</strong></p>', 186, '2009-08-10 11:49:58', 186, '2011-11-12 17:07:52', '2009-09-06 19:07:21', 0, 2),
136(140, 'artistes_au_hasard', 'accueil_droite_haut', 'Artistes au hasard', 'artistes_au_hasard.php', '', 186, '2009-08-30 21:44:32', 186, '2011-11-12 15:25:33', '2009-09-06 17:16:26', 0, 1),
137(143, 'news', 'accueil_droite_bas', 'Les autres news', 'news.php', '', 186, '2009-09-01 19:57:51', 186, '2010-08-05 01:48:55', '2009-09-06 17:16:52', 1, 2),
138(152, 'forum_interne', 'interne_gauche', 'Forum', 'accueil_forum.php', '<p>Ce bloc affiche les 7 derniers messages du forum.</p>', 186, '2009-09-06 19:46:30', 186, '2011-11-12 15:52:34', '2009-09-06 19:48:57', 0, 4),
139(149, '', 'accueil_footer', 'Bloc en bas de la page d''accueil', '', '<p>Plus de docs sur <a href="http://www.revolutionsoundrecords.org/trac">le trac</a>.</p>\r\n<ul>\r\n</ul>\r\n<p>Pour les questions, les retours (...) vous &ecirc;tes invit&eacute;s &agrave; venir en parler sur le <a href="http://www.revolutionsoundrecords.org/punbb">forum de l''association Revolution Sound Records</a>.</p>', 186, '2009-09-06 16:41:15', 186, '2011-11-12 22:36:42', '2009-09-06 19:07:34', 1, 6),
140(128, 'administration', NULL, 'Administration', 'admin.php', '', 186, '2009-08-10 10:27:12', 186, '2009-09-06 00:13:40', '2009-09-06 00:13:40', 1, 4),
141(155, '', 'interne_gauche', 'News', 'menu_news.php', '<p>Affiche les 2 derni&egrave;res news et un menu pour acc&eacute;der aux autres news.</p>', 186, '2010-01-15 22:39:32', 186, '2011-11-12 16:10:38', NULL, 1, 1),
142(156, 'last_news', 'accueil_droite_bas', 'News', 'last_news.php', '<p>Ce bloc affiche une news au hazard parmis les 5 derni&egrave;res.</p>', 186, '2010-04-06 15:58:29', 186, '2011-11-12 16:07:40', NULL, 1, 1),
143(157, 'last_albums', 'interne_gauche', 'Album au hasard', 'last_albums.php', '<p>Ce bloc affiche un album au hazard.</p>', 186, '2010-04-06 17:19:27', 186, '2011-11-12 15:56:10', NULL, 1, 3),
144(158, '', 'accueil_droite_bas', 'Soutenir notre action', 'soutenir.php', '<p>Ce bloc affiche un bouton de don PayPal et, &eacute;ventuellement, un lien vers une boutique de vente en ligne.</p>\r\n<p>Avant d''utiliser ce bloc, rendez-vous dans l''administration du site, menu :</p>\r\n<p><strong>G&eacute;n&eacute;ral</strong> &gt; <strong>dons et achats</strong></p>\r\n<p>Pour y renseigner votre identifiant s&eacute;curis&eacute; PayPal et/ou le lien vers la boutique en ligne.</p>', 3, '2010-08-03 13:05:44', 186, '2011-11-12 15:54:58', NULL, 0, 3),
145(159, '', 'accueil_droite_haut', 'Administrer le site', '', '<p>Les blocs affich&eacute;s sur cette page sont des exemples d''utilisation.</p>\r\n<p>Identifiez-vous avec votre compte admin et suivez le lien <a title="administration du site" href="index.php?e=set_config">admin</a> pour vous rendre dans l''administration du site et commencer &agrave; &eacute;diter les blocs, les contenus, les comptes artistes...</p>\r\n<p>&nbsp;</p>', 186, '2010-08-04 13:54:50', 186, '2011-11-12 22:17:47', NULL, 1, 0),
146(161, '', 'accueil_gauche', 'En images', 'flickr.php', '<p>Ce bloc affiche 4 images prises au hazard sur un compte Flickr.</p>\r\n<p>Avant d''utiliser ce bloc, modifiez le fichier</p>\r\n<p><strong>boxes/flickr.php</strong></p>\r\n<p>du template pour y indiquer vos informations de connexion sur l''API Flickr.</p>', 186, '2010-08-05 15:19:23', 186, '2011-11-12 15:50:41', NULL, 0, 4);
147
148-- --------------------------------------------------------
149
150--
151-- Structure de la table `rsrv5_categories`
152--
153
154DROP TABLE IF EXISTS `rsrv5_categories`;
155CREATE TABLE `rsrv5_categories` (
156  `id` int(11) NOT NULL AUTO_INCREMENT,
157  `nom` varchar(64) DEFAULT NULL,
158  `titre` varchar(255) DEFAULT NULL,
159  `icone` varchar(255) DEFAULT NULL,
160  `description` text,
161  `contenu` text,
162  `ordre` int(11) NOT NULL DEFAULT '0',
163  PRIMARY KEY (`id`)
164) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=103 ;
165
166--
167-- Contenu de la table `rsrv5_categories`
168--
169
170INSERT INTO `rsrv5_categories` (`id`, `nom`, `titre`, `icone`, `description`, `contenu`, `ordre`) VALUES
171(4, 'artistes', NULL, NULL, NULL, NULL, 0),
172(5, 'presentation', NULL, NULL, NULL, NULL, 0),
173(7, 'menus', NULL, NULL, NULL, NULL, 0),
174(22, 'Nav', 'menu top', NULL, NULL, '', 0),
175(30, '', 'Accueil', NULL, NULL, 'index.php?e=edito', 0),
176(29, '', 'Forum', NULL, NULL, 'punbb', 2),
177(33, '', 'Le son', NULL, NULL, '', 1),
178(38, '', 'Les artistes', NULL, NULL, 'index.php?e=artistes', 1),
179(40, '', 'Rechercher...', NULL, NULL, 'index.php?e=rechercher', 2),
180(63, '74', NULL, NULL, NULL, '', 0),
181(1, 'editos', 'Editos', NULL, NULL, NULL, 0),
182(2, 'news', NULL, NULL, NULL, NULL, 0),
183(0, 'root', NULL, NULL, NULL, NULL, 0),
184(6, 'news', NULL, NULL, NULL, NULL, 0),
185(3, 'spotlights', 'Spotlights', NULL, NULL, NULL, 0),
186(79, 'boxes', NULL, NULL, NULL, NULL, 0),
187(80, 'accueil_left', 'accueil - colonne de gauche', NULL, NULL, NULL, 0),
188(81, 'accueil_right', 'accueil - colonne de droite', NULL, NULL, NULL, 0),
189(82, '64', NULL, NULL, NULL, '', 0),
190(83, 'pages', NULL, NULL, NULL, NULL, 0),
191(85, 'links', NULL, NULL, NULL, NULL, 0),
192(93, 'interne_left', 'pages internes - colonne de gauche', NULL, NULL, NULL, 0),
193(94, 'accueil_small_left', 'accueil - petite colonne gauche', NULL, NULL, NULL, 0),
194(95, 'accueil_small_right', 'accueil - petite colonne droite', NULL, NULL, NULL, 0),
195(99, '54', NULL, NULL, NULL, '', 0),
196(100, '3', NULL, NULL, NULL, '', 0),
197(101, '73', NULL, NULL, NULL, '', 0),
198(102, '34', NULL, NULL, NULL, '', 0);
199
200-- --------------------------------------------------------
201
202--
203-- Structure de la table `rsrv5_categories_tree`
204--
205
206DROP TABLE IF EXISTS `rsrv5_categories_tree`;
207CREATE TABLE `rsrv5_categories_tree` (
208  `parent` int(11) NOT NULL,
209  `child` int(11) NOT NULL,
210  PRIMARY KEY (`parent`,`child`)
211) ENGINE=MyISAM DEFAULT CHARSET=utf8;
212
213--
214-- Contenu de la table `rsrv5_categories_tree`
215--
216
217INSERT INTO `rsrv5_categories_tree` (`parent`, `child`) VALUES
218(0, 1),
219(0, 2),
220(0, 3),
221(0, 4),
222(0, 7),
223(0, 79),
224(0, 83),
225(0, 85),
226(4, 5),
227(4, 6),
228(6, 82),
229(6, 99),
230(6, 100),
231(6, 101),
232(6, 102),
233(7, 22),
234(22, 29),
235(22, 30),
236(22, 33),
237(33, 38),
238(33, 40),
239(79, 80),
240(79, 81),
241(79, 93),
242(79, 94),
243(79, 95);
244
245-- --------------------------------------------------------
246
247--
248-- Structure de la table `rsrv5_concerts`
249--
250
251DROP TABLE IF EXISTS `rsrv5_concerts`;
252CREATE TABLE `rsrv5_concerts` (
253  `id` int(11) NOT NULL AUTO_INCREMENT,
254  `id_artiste` int(11) DEFAULT NULL,
255  `nom` varchar(255) DEFAULT NULL,
256  `date` datetime DEFAULT NULL,
257  `lieu` varchar(255) DEFAULT NULL,
258  `paf` int(11) DEFAULT NULL,
259  `description` text,
260  `pun_forum` int(11) DEFAULT NULL,
261  `affiche` varchar(255) DEFAULT NULL,
262  `flyer` varchar(255) DEFAULT NULL,
263  PRIMARY KEY (`id`)
264) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
265
266--
267-- Contenu de la table `rsrv5_concerts`
268--
269
270
271-- --------------------------------------------------------
272
273--
274-- Structure de la table `rsrv5_configuration`
275--
276
277DROP TABLE IF EXISTS `rsrv5_configuration`;
278CREATE TABLE `rsrv5_configuration` (
279  `key` varchar(255) NOT NULL,
280  `value` text NOT NULL,
281  PRIMARY KEY (`key`)
282) ENGINE=MyISAM DEFAULT CHARSET=utf8;
283
284--
285-- Contenu de la table `rsrv5_configuration`
286--
287
288INSERT INTO `rsrv5_configuration` (`key`, `value`) VALUES
289('site_name', 'rsr - v.5.1.1'),
290('email_contact', 'admin@domain.tld'),
291('out', 'app/out/dist/'),
292('max_list', '10'),
293('identifiant_paypal', ''),
294('lien_boutique', '');
295
296-- --------------------------------------------------------
297
298--
299-- Structure de la table `rsrv5_contenus`
300--
301
302DROP TABLE IF EXISTS `rsrv5_contenus`;
303CREATE TABLE `rsrv5_contenus` (
304  `id` int(11) NOT NULL AUTO_INCREMENT,
305  `nom` varchar(64) DEFAULT NULL,
306  `categorie` int(11) DEFAULT NULL,
307  `titre` varchar(255) DEFAULT NULL,
308  `description` text,
309  `contenu` text,
310  `auteur_creation` int(11) DEFAULT NULL,
311  `date_creation` datetime DEFAULT NULL,
312  `auteur_modification` int(11) DEFAULT NULL,
313  `date_modification` datetime DEFAULT NULL,
314  `date_publication` datetime DEFAULT NULL,
315  `public` tinyint(4) DEFAULT NULL,
316  `ordre` int(11) DEFAULT NULL,
317  PRIMARY KEY (`id`)
318) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=935 ;
319
320--
321-- Contenu de la table `rsrv5_contenus`
322--
323
324INSERT INTO `rsrv5_contenus` (`id`, `nom`, `categorie`, `titre`, `description`, `contenu`, `auteur_creation`, `date_creation`, `auteur_modification`, `date_modification`, `date_publication`, `public`, `ordre`) VALUES
325(919, '', 1, 'Nouvelle installation', '', '<p>Bienvenue sur votre installation de rsr v.5.</p>\r\n<p>Pensez &agrave; effacer le dossier <strong>install</strong></p>\r\n<p>&nbsp;</p>\r\n<p>Bonnes publications !</p>', 186, '2011-09-04 15:03:09', 186, '2011-11-12 22:07:24', '2011-09-04 00:00:00', 1, NULL);
326
327-- --------------------------------------------------------
328
329--
330-- Structure de la table `rsrv5_downloads`
331--
332
333DROP TABLE IF EXISTS `rsrv5_downloads`;
334CREATE TABLE `rsrv5_downloads` (
335  `id` int(11) NOT NULL AUTO_INCREMENT,
336  `id_artiste` int(11) DEFAULT NULL,
337  `id_album` int(11) DEFAULT NULL,
338  `id_licence` int(11) DEFAULT NULL,
339  `nom` varchar(255) DEFAULT NULL,
340  `date_creation` date DEFAULT NULL,
341  `style` varchar(255) DEFAULT NULL,
342  `description` text,
343  `ordre` int(11) DEFAULT NULL,
344  `actif` tinyint(4) NOT NULL DEFAULT '1',
345  PRIMARY KEY (`id`)
346) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
347
348--
349-- Contenu de la table `rsrv5_downloads`
350--
351
352
353-- --------------------------------------------------------
354
355--
356-- Structure de la table `rsrv5_download_urls`
357--
358
359DROP TABLE IF EXISTS `rsrv5_download_urls`;
360CREATE TABLE `rsrv5_download_urls` (
361  `id` int(11) NOT NULL AUTO_INCREMENT,
362  `id_download` int(11) DEFAULT NULL,
363  `id_format` int(11) DEFAULT NULL,
364  `qualite` int(11) DEFAULT NULL,
365  `url` varchar(255) DEFAULT NULL,
366  `taille` int(11) DEFAULT NULL,
367  `date_publication` date DEFAULT NULL,
368  `compteur` int(11) NOT NULL DEFAULT '0',
369  PRIMARY KEY (`id`)
370) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
371
372--
373-- Contenu de la table `rsrv5_download_urls`
374--
375
376
377-- --------------------------------------------------------
378
379--
380-- Structure de la table `rsrv5_formats`
381--
382
383DROP TABLE IF EXISTS `rsrv5_formats`;
384CREATE TABLE `rsrv5_formats` (
385  `id` int(11) NOT NULL AUTO_INCREMENT,
386  `nom` varchar(32) DEFAULT NULL,
387  `content_type` varchar(64) NOT NULL,
388  PRIMARY KEY (`id`)
389) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=10 ;
390
391--
392-- Contenu de la table `rsrv5_formats`
393--
394
395INSERT INTO `rsrv5_formats` (`id`, `nom`, `content_type`) VALUES
396(1, 'ogg', 'audio/ogg'),
397(2, 'mp3', 'audio/mpeg'),
398(3, 'rar', 'application/x-rar-compressed'),
399(4, 'zip', 'application/x-zip'),
400(5, 'jpg', 'image/jpeg'),
401(6, 'pdf', 'application/pdf'),
402(7, 'avi', 'video/avi'),
403(8, 'gz', 'application/x-gzip'),
404(9, 'wav', 'audio/wav');
405
406-- --------------------------------------------------------
407
408--
409-- Structure de la table `rsrv5_licences`
410--
411
412DROP TABLE IF EXISTS `rsrv5_licences`;
413CREATE TABLE `rsrv5_licences` (
414  `id` int(11) NOT NULL AUTO_INCREMENT,
415  `nom` varchar(255) NOT NULL DEFAULT '',
416  `lien` varchar(255) NOT NULL DEFAULT '',
417  `icone` varchar(255) NOT NULL,
418  PRIMARY KEY (`id`)
419) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=17 ;
420
421--
422-- Contenu de la table `rsrv5_licences`
423--
424
425INSERT INTO `rsrv5_licences` (`id`, `nom`, `lien`, `icone`) VALUES
426(1, 'Creative Commons by-nc-nd 2.0', 'http://creativecommons.org/licenses/by-nc-nd/2.0/', 'icons/licences/cc.by.nc.nd.png'),
427(2, 'Creative Commons by-nc-nd 2.5', 'http://creativecommons.org/licenses/by-nc-nd/2.5/', 'icons/licences/cc.by.nc.nd.png'),
428(3, 'Creative Commons by-nc-sa 2.0', 'http://creativecommons.org/licenses/by-nc-sa/2.0/', 'icons/licences/cc.by.nc.sa.png'),
429(4, 'Creative Commons by-nc-sa 2.5', 'http://creativecommons.org/licenses/by-nc-sa/2.5/', 'icons/licences/cc.by.nc.sa.png'),
430(5, 'Creative Commons by-nc 2.0', 'http://creativecommons.org/licenses/by-nc/2.0/', 'icons/licences/cc.by.nc.png'),
431(6, 'Creative Commons by-nc 2.5', 'http://creativecommons.org/licenses/by-nc/2.5/', 'icons/licences/cc.by.nc.png'),
432(7, 'Creative Commons by-nd 2.0', 'http://creativecommons.org/licenses/by-nd/2.0/', 'icons/licences/cc.by.nd.png'),
433(8, 'Creative Commons by-nd 2.5', 'http://creativecommons.org/licenses/by-nd/2.5/', 'icons/licences/cc.by.nd.png'),
434(9, 'Creative Commons by-sa 2.0', 'http://creativecommons.org/licenses/by-sa/2.0/', 'icons/licences/cc.by.sa.png'),
435(10, 'Creative Commons by-sa 2.5', 'http://creativecommons.org/licenses/by-sa/2.5/', 'icons/licences/cc.by.sa.png'),
436(11, 'Creative Commons by 2.0', 'http://creativecommons.org/licenses/by/2.0/', 'icons/licences/cc.by.png'),
437(12, 'Creative Commons by 2.5', 'http://creativecommons.org/licenses/by/2.5/', 'icons/licences/cc.by.png'),
438(13, 'Licence Art Libre', 'http://artlibre.org/licence/lal/', ''),
439(14, 'Licence C Reaction', 'http://morne.free.fr/Necktar7/creactionfr.htm', ''),
440(15, 'Domaine Public', '', ''),
441(16, 'Licence GNU GPL (GNUArt)', 'http://gnuart.org/francais/gnugpl.html', '');
442
443-- --------------------------------------------------------
444
445--
446-- Structure de la table `rsrv5_playlists`
447--
448
449DROP TABLE IF EXISTS `rsrv5_playlists`;
450CREATE TABLE `rsrv5_playlists` (
451  `id` int(11) NOT NULL AUTO_INCREMENT,
452  `pun_user` int(11) NOT NULL,
453  `titre` varchar(255) NOT NULL,
454  `description` text NOT NULL,
455  `creation` datetime NOT NULL,
456  PRIMARY KEY (`id`)
457) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
458
459--
460-- Contenu de la table `rsrv5_playlists`
461--
462
463
464-- --------------------------------------------------------
465
466--
467-- Structure de la table `rsrv5_playlist_download`
468--
469
470DROP TABLE IF EXISTS `rsrv5_playlist_download`;
471CREATE TABLE `rsrv5_playlist_download` (
472  `id` int(11) NOT NULL,
473  `id_download` int(11) NOT NULL,
474  PRIMARY KEY (`id`,`id_download`)
475) ENGINE=MyISAM DEFAULT CHARSET=utf8;
476
477--
478-- Contenu de la table `rsrv5_playlist_download`
479--
480
481
482-- --------------------------------------------------------
483
484--
485-- Structure de la table `rsrv5_pun_bans`
486--
487
488DROP TABLE IF EXISTS `rsrv5_pun_bans`;
489CREATE TABLE `rsrv5_pun_bans` (
490  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
491  `username` varchar(200) DEFAULT NULL,
492  `ip` varchar(255) DEFAULT NULL,
493  `email` varchar(80) DEFAULT NULL,
494  `message` varchar(255) DEFAULT NULL,
495  `expire` int(10) unsigned DEFAULT NULL,
496  `ban_creator` int(10) unsigned NOT NULL DEFAULT '0',
497  PRIMARY KEY (`id`),
498  KEY `rsrv5_pun_bans_username_idx` (`username`(25))
499) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=10 ;
500
501--
502-- Contenu de la table `rsrv5_pun_bans`
503--
504
505
506-- --------------------------------------------------------
507
508--
509-- Structure de la table `rsrv5_pun_categories`
510--
511
512DROP TABLE IF EXISTS `rsrv5_pun_categories`;
513CREATE TABLE `rsrv5_pun_categories` (
514  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
515  `cat_name` varchar(80) NOT NULL DEFAULT 'New Category',
516  `disp_position` int(10) NOT NULL DEFAULT '0',
517  PRIMARY KEY (`id`)
518) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=22 ;
519
520--
521-- Contenu de la table `rsrv5_pun_categories`
522--
523
524
525-- --------------------------------------------------------
526
527--
528-- Structure de la table `rsrv5_pun_censoring`
529--
530
531DROP TABLE IF EXISTS `rsrv5_pun_censoring`;
532CREATE TABLE `rsrv5_pun_censoring` (
533  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
534  `search_for` varchar(60) NOT NULL DEFAULT '',
535  `replace_with` varchar(60) NOT NULL DEFAULT '',
536  PRIMARY KEY (`id`)
537) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
538
539--
540-- Contenu de la table `rsrv5_pun_censoring`
541--
542
543
544-- --------------------------------------------------------
545
546--
547-- Structure de la table `rsrv5_pun_config`
548--
549
550DROP TABLE IF EXISTS `rsrv5_pun_config`;
551CREATE TABLE `rsrv5_pun_config` (
552  `conf_name` varchar(255) NOT NULL DEFAULT '',
553  `conf_value` text,
554  PRIMARY KEY (`conf_name`)
555) ENGINE=MyISAM DEFAULT CHARSET=utf8;
556
557--
558-- Contenu de la table `rsrv5_pun_config`
559--
560
561INSERT INTO `rsrv5_pun_config` (`conf_name`, `conf_value`) VALUES
562('o_cur_version', '1.4.7'),
563('o_cur_version_fr', '1.2.10'),
564('o_board_title', 'Forums'),
565('o_board_desc', NULL),
566('o_default_timezone', '0'),
567('o_time_format', 'H:i:s'),
568('o_date_format', 'd-m-Y'),
569('o_timeout_visit', '1800'),
570('o_timeout_online', '300'),
571('o_redirect_delay', '1'),
572('o_show_version', '1'),
573('o_show_user_info', '1'),
574('o_show_post_count', '1'),
575('o_smilies', '1'),
576('o_smilies_sig', '0'),
577('o_make_links', '1'),
578('o_default_lang', 'French'),
579('o_default_style', 'Rsr'),
580('o_default_user_group', '4'),
581('o_topic_review', '15'),
582('o_disp_topics_default', '30'),
583('o_disp_posts_default', '25'),
584('o_indent_num_spaces', '4'),
585('o_quickpost', '1'),
586('o_users_online', '1'),
587('o_censoring', '0'),
588('o_ranks', '1'),
589('o_show_dot', '0'),
590('o_quickjump', '1'),
591('o_gzip', '0'),
592('o_additional_navlinks', NULL),
593('o_report_method', '2'),
594('o_regs_report', '1'),
595('o_mailing_list', 'admin@domain.tld'),
596('o_avatars', '1'),
597('o_avatars_dir', 'img/avatars'),
598('o_avatars_width', '128'),
599('o_avatars_height', '128'),
600('o_avatars_size', '25000'),
601('o_search_all_forums', '1'),
602('o_base_url', 'http://rsr.v5.dev/punbb'),
603('o_admin_email', 'admin@domain.tld'),
604('o_webmaster_email', 'admin@domain.tld'),
605('o_topic_subscriptions', '1'),
606('o_smtp_host', NULL),
607('o_smtp_user', NULL),
608('o_smtp_pass', NULL),
609('o_regs_allow', '1'),
610('o_regs_verify', '0'),
611('o_announcement', '0'),
612('o_announcement_message', 'Saisissez votre annonce ici.'),
613('o_regs_captchabox', '1'),
614('o_guest_post_captchabox', '0'),
615('o_rules', '0'),
616('o_rules_message', 'Saisissez vos rÚgles d''utilisation ici.'),
617('o_maintenance', '0'),
618('o_maintenance_message', 'Les forums sont temporairement fermés pour des raisons de maintenance. Nous vous prions de bien vouloir nous excuser pour cette gÚne. Veuillez essayer à nouveau d''ici quelques minutes.<br />\n<br />\nRevolution Sound Records'),
619('o_forum_subscriptions', '1'),
620('p_message_bbcode', '1'),
621('p_message_img_tag', '1'),
622('p_message_all_caps', '1'),
623('p_subject_all_caps', '0'),
624('p_sig_all_caps', '0'),
625('p_sig_bbcode', '1'),
626('p_sig_img_tag', '1'),
627('p_sig_length', '400'),
628('p_sig_lines', '4'),
629('p_allow_banned_email', '1'),
630('p_allow_dupe_email', '0'),
631('p_force_guest_email', '1'),
632('o_database_revision', '15'),
633('o_searchindex_revision', '2'),
634('o_parser_revision', '2'),
635('o_default_email_setting', '1'),
636('o_topic_views', '1'),
637('o_signatures', '1'),
638('o_smtp_ssl', '0'),
639('o_default_dst', '0'),
640('o_quote_depth', '3'),
641('o_feed_type', '2'),
642('o_feed_ttl', '0');
643
644-- --------------------------------------------------------
645
646--
647-- Structure de la table `rsrv5_pun_forums`
648--
649
650DROP TABLE IF EXISTS `rsrv5_pun_forums`;
651CREATE TABLE `rsrv5_pun_forums` (
652  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
653  `forum_name` varchar(80) NOT NULL DEFAULT 'New forum',
654  `forum_desc` text,
655  `redirect_url` varchar(100) DEFAULT NULL,
656  `moderators` text,
657  `num_topics` mediumint(8) unsigned NOT NULL DEFAULT '0',
658  `num_posts` mediumint(8) unsigned NOT NULL DEFAULT '0',
659  `last_post` int(10) unsigned DEFAULT NULL,
660  `last_post_id` int(10) unsigned DEFAULT NULL,
661  `last_poster` varchar(200) DEFAULT NULL,
662  `sort_by` tinyint(1) NOT NULL DEFAULT '0',
663  `disp_position` int(10) NOT NULL DEFAULT '0',
664  `cat_id` int(10) unsigned NOT NULL DEFAULT '0',
665  PRIMARY KEY (`id`)
666) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=103 ;
667
668--
669-- Contenu de la table `rsrv5_pun_forums`
670--
671
672
673-- --------------------------------------------------------
674
675--
676-- Structure de la table `rsrv5_pun_forum_perms`
677--
678
679DROP TABLE IF EXISTS `rsrv5_pun_forum_perms`;
680CREATE TABLE `rsrv5_pun_forum_perms` (
681  `group_id` int(10) NOT NULL DEFAULT '0',
682  `forum_id` int(10) NOT NULL DEFAULT '0',
683  `read_forum` tinyint(1) NOT NULL DEFAULT '1',
684  `post_replies` tinyint(1) NOT NULL DEFAULT '1',
685  `post_topics` tinyint(1) NOT NULL DEFAULT '1',
686  PRIMARY KEY (`group_id`,`forum_id`)
687) ENGINE=MyISAM DEFAULT CHARSET=utf8;
688
689--
690-- Contenu de la table `rsrv5_pun_forum_perms`
691--
692
693INSERT INTO `rsrv5_pun_forum_perms` (`group_id`, `forum_id`, `read_forum`, `post_replies`, `post_topics`) VALUES
694(3, 48, 0, 0, 0),
695(4, 48, 0, 0, 0),
696(5, 48, 0, 0, 0),
697(6, 48, 0, 0, 0),
698(3, 75, 0, 0, 0),
699(4, 75, 0, 0, 0),
700(5, 75, 0, 0, 0),
701(6, 75, 0, 0, 0),
702(3, 77, 0, 0, 0),
703(4, 77, 0, 0, 0),
704(5, 77, 0, 0, 0),
705(6, 77, 0, 0, 0),
706(3, 78, 0, 0, 0),
707(4, 78, 0, 0, 0),
708(5, 78, 0, 0, 0),
709(6, 78, 0, 0, 0),
710(3, 79, 0, 0, 0),
711(4, 79, 0, 0, 0),
712(5, 79, 0, 0, 0),
713(6, 79, 0, 0, 0),
714(3, 80, 0, 0, 0),
715(4, 80, 0, 0, 0),
716(5, 80, 0, 0, 0),
717(6, 80, 0, 0, 0);
718
719-- --------------------------------------------------------
720
721--
722-- Structure de la table `rsrv5_pun_forum_subscriptions`
723--
724
725DROP TABLE IF EXISTS `rsrv5_pun_forum_subscriptions`;
726CREATE TABLE `rsrv5_pun_forum_subscriptions` (
727  `user_id` int(10) unsigned NOT NULL DEFAULT '0',
728  `forum_id` int(10) unsigned NOT NULL DEFAULT '0',
729  PRIMARY KEY (`user_id`,`forum_id`)
730) ENGINE=MyISAM DEFAULT CHARSET=utf8;
731
732--
733-- Contenu de la table `rsrv5_pun_forum_subscriptions`
734--
735
736
737-- --------------------------------------------------------
738
739--
740-- Structure de la table `rsrv5_pun_groups`
741--
742
743DROP TABLE IF EXISTS `rsrv5_pun_groups`;
744CREATE TABLE `rsrv5_pun_groups` (
745  `g_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
746  `g_title` varchar(50) NOT NULL DEFAULT '',
747  `g_user_title` varchar(50) DEFAULT NULL,
748  `g_moderator` tinyint(1) NOT NULL DEFAULT '0',
749  `g_mod_edit_users` tinyint(1) NOT NULL DEFAULT '0',
750  `g_mod_rename_users` tinyint(1) NOT NULL DEFAULT '0',
751  `g_mod_change_passwords` tinyint(1) NOT NULL DEFAULT '0',
752  `g_mod_ban_users` tinyint(1) NOT NULL DEFAULT '0',
753  `g_read_board` tinyint(1) NOT NULL DEFAULT '1',
754  `g_view_users` tinyint(1) NOT NULL DEFAULT '1',
755  `g_post_replies` tinyint(1) NOT NULL DEFAULT '1',
756  `g_post_topics` tinyint(1) NOT NULL DEFAULT '1',
757  `g_edit_posts` tinyint(1) NOT NULL DEFAULT '1',
758  `g_delete_posts` tinyint(1) NOT NULL DEFAULT '1',
759  `g_delete_topics` tinyint(1) NOT NULL DEFAULT '1',
760  `g_set_title` tinyint(1) NOT NULL DEFAULT '1',
761  `g_search` tinyint(1) NOT NULL DEFAULT '1',
762  `g_search_users` tinyint(1) NOT NULL DEFAULT '1',
763  `g_send_email` tinyint(1) NOT NULL DEFAULT '1',
764  `g_post_flood` smallint(6) NOT NULL DEFAULT '30',
765  `g_search_flood` smallint(6) NOT NULL DEFAULT '30',
766  `g_email_flood` smallint(6) NOT NULL DEFAULT '60',
767  `g_report_flood` smallint(6) NOT NULL DEFAULT '60',
768  PRIMARY KEY (`g_id`)
769) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=7 ;
770
771--
772-- Contenu de la table `rsrv5_pun_groups`
773--
774
775INSERT INTO `rsrv5_pun_groups` (`g_id`, `g_title`, `g_user_title`, `g_moderator`, `g_mod_edit_users`, `g_mod_rename_users`, `g_mod_change_passwords`, `g_mod_ban_users`, `g_read_board`, `g_view_users`, `g_post_replies`, `g_post_topics`, `g_edit_posts`, `g_delete_posts`, `g_delete_topics`, `g_set_title`, `g_search`, `g_search_users`, `g_send_email`, `g_post_flood`, `g_search_flood`, `g_email_flood`, `g_report_flood`) VALUES
776(1, 'Admin', 'Admin', 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0),
777(2, 'Modérateurs', 'Modérateur', 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0),
778(3, 'Touriste', NULL, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0),
779(4, 'Membres', NULL, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 60, 30, 60, 60),
780(5, 'Artiste', 'Artiste', 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 10, 10, 60, 60),
781(6, '100 eme Membre', '100 eme Membre', 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 60, 30, 60, 60);
782
783-- --------------------------------------------------------
784
785--
786-- Structure de la table `rsrv5_pun_online`
787--
788
789DROP TABLE IF EXISTS `rsrv5_pun_online`;
790CREATE TABLE `rsrv5_pun_online` (
791  `user_id` int(10) unsigned NOT NULL DEFAULT '1',
792  `ident` varchar(200) NOT NULL DEFAULT '',
793  `logged` int(10) unsigned NOT NULL DEFAULT '0',
794  `idle` tinyint(1) NOT NULL DEFAULT '0',
795  `last_post` int(10) unsigned DEFAULT NULL,
796  `last_search` int(10) unsigned DEFAULT NULL,
797  UNIQUE KEY `rsrv5_pun_online_user_id_ident_idx` (`user_id`,`ident`(25)),
798  KEY `pun_online_user_id_idx` (`user_id`),
799  KEY `rsrv5_pun_online_ident_idx` (`ident`(25)),
800  KEY `rsrv5_pun_online_logged_idx` (`logged`)
801) ENGINE=MyISAM DEFAULT CHARSET=utf8;
802
803--
804-- Contenu de la table `rsrv5_pun_online`
805--
806
807INSERT INTO `rsrv5_pun_online` (`user_id`, `ident`, `logged`, `idle`, `last_post`, `last_search`) VALUES
808(1, '192.168.10.13', 1321306351, 0, NULL, NULL);
809
810-- --------------------------------------------------------
811
812--
813-- Structure de la table `rsrv5_pun_posts`
814--
815
816DROP TABLE IF EXISTS `rsrv5_pun_posts`;
817CREATE TABLE `rsrv5_pun_posts` (
818  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
819  `poster` varchar(200) NOT NULL DEFAULT '',
820  `poster_id` int(10) unsigned NOT NULL DEFAULT '1',
821  `poster_ip` varchar(39) DEFAULT NULL,
822  `poster_email` varchar(80) DEFAULT NULL,
823  `message` mediumtext,
824  `hide_smilies` tinyint(1) NOT NULL DEFAULT '0',
825  `posted` int(10) unsigned NOT NULL DEFAULT '0',
826  `edited` int(10) unsigned DEFAULT NULL,
827  `edited_by` varchar(200) DEFAULT NULL,
828  `topic_id` int(10) unsigned NOT NULL DEFAULT '0',
829  PRIMARY KEY (`id`),
830  KEY `pun_posts_topic_id_idx` (`topic_id`),
831  KEY `pun_posts_multi_idx` (`poster_id`,`topic_id`)
832) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=21233 ;
833
834--
835-- Contenu de la table `rsrv5_pun_posts`
836--
837
838
839-- --------------------------------------------------------
840
841--
842-- Structure de la table `rsrv5_pun_ranks`
843--
844
845DROP TABLE IF EXISTS `rsrv5_pun_ranks`;
846CREATE TABLE `rsrv5_pun_ranks` (
847  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
848  `rank` varchar(50) NOT NULL DEFAULT '',
849  `min_posts` mediumint(8) unsigned NOT NULL DEFAULT '0',
850  PRIMARY KEY (`id`)
851) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=10 ;
852
853--
854-- Contenu de la table `rsrv5_pun_ranks`
855--
856
857INSERT INTO `rsrv5_pun_ranks` (`id`, `rank`, `min_posts`) VALUES
858(1, 'Apprenti posteur', 0),
859(3, 'Posteur', 100),
860(4, 'Posteur chef', 200),
861(5, 'Serial posteur', 300),
862(7, 'Les doigts greffés au clavier', 1000);
863
864-- --------------------------------------------------------
865
866--
867-- Structure de la table `rsrv5_pun_reports`
868--
869
870DROP TABLE IF EXISTS `rsrv5_pun_reports`;
871CREATE TABLE `rsrv5_pun_reports` (
872  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
873  `post_id` int(10) unsigned NOT NULL DEFAULT '0',
874  `topic_id` int(10) unsigned NOT NULL DEFAULT '0',
875  `forum_id` int(10) unsigned NOT NULL DEFAULT '0',
876  `reported_by` int(10) unsigned NOT NULL DEFAULT '0',
877  `created` int(10) unsigned NOT NULL DEFAULT '0',
878  `message` text NOT NULL,
879  `zapped` int(10) unsigned DEFAULT NULL,
880  `zapped_by` int(10) unsigned DEFAULT NULL,
881  PRIMARY KEY (`id`),
882  KEY `pun_reports_zapped_idx` (`zapped`)
883) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
884
885--
886-- Contenu de la table `rsrv5_pun_reports`
887--
888
889
890-- --------------------------------------------------------
891
892--
893-- Structure de la table `rsrv5_pun_search_cache`
894--
895
896DROP TABLE IF EXISTS `rsrv5_pun_search_cache`;
897CREATE TABLE `rsrv5_pun_search_cache` (
898  `id` int(10) unsigned NOT NULL DEFAULT '0',
899  `ident` varchar(200) NOT NULL DEFAULT '',
900  `search_data` mediumtext,
901  PRIMARY KEY (`id`),
902  KEY `pun_search_cache_ident_idx` (`ident`(8))
903) ENGINE=MyISAM DEFAULT CHARSET=utf8;
904
905--
906-- Contenu de la table `rsrv5_pun_search_cache`
907--
908
909
910-- --------------------------------------------------------
911
912--
913-- Structure de la table `rsrv5_pun_search_matches`
914--
915
916DROP TABLE IF EXISTS `rsrv5_pun_search_matches`;
917CREATE TABLE `rsrv5_pun_search_matches` (
918  `post_id` int(10) unsigned NOT NULL DEFAULT '0',
919  `word_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
920  `subject_match` tinyint(1) NOT NULL DEFAULT '0',
921  KEY `pun_search_matches_word_id_idx` (`word_id`),
922  KEY `pun_search_matches_post_id_idx` (`post_id`)
923) ENGINE=MyISAM DEFAULT CHARSET=utf8;
924
925--
926-- Contenu de la table `rsrv5_pun_search_matches`
927--
928
929
930-- --------------------------------------------------------
931
932--
933-- Structure de la table `rsrv5_pun_search_words`
934--
935
936DROP TABLE IF EXISTS `rsrv5_pun_search_words`;
937CREATE TABLE `rsrv5_pun_search_words` (
938  `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
939  `word` varchar(20) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL DEFAULT '',
940  PRIMARY KEY (`word`),
941  KEY `pun_search_words_id_idx` (`id`)
942) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
943
944--
945-- Contenu de la table `rsrv5_pun_search_words`
946--
947
948
949-- --------------------------------------------------------
950
951--
952-- Structure de la table `rsrv5_pun_smilies`
953--
954
955DROP TABLE IF EXISTS `rsrv5_pun_smilies`;
956CREATE TABLE `rsrv5_pun_smilies` (
957  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
958  `image` varchar(60) NOT NULL DEFAULT '',
959  `text` varchar(60) NOT NULL DEFAULT '',
960  `disp_position` int(10) NOT NULL DEFAULT '0',
961  PRIMARY KEY (`id`)
962) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=89 ;
963
964--
965-- Contenu de la table `rsrv5_pun_smilies`
966--
967
968INSERT INTO `rsrv5_pun_smilies` (`id`, `image`, `text`, `disp_position`) VALUES
969(45, 'canon.gif', ':top:', 0),
970(10, 'big_smile.png', ':D', 0),
971(11, 'cool.png', ':cool:', 0),
972(21, 'hmm.png', ':/', 0),
973(24, 'mad.png', ':mad2:', 0),
974(25, 'neutral.png', ':|', 0),
975(26, 'roll.png', ':roll:', 0),
976(29, 'sad.png', ':(', 3),
977(31, 'smile.png', ':)', 4),
978(33, 'tongue.png', ':p', 6),
979(35, 'wink.png', ';)', 7),
980(37, 'yikes.png', ':d', 0),
981(56, 'whaouh6na.gif', 'whaou', 0),
982(87, 'terminator.png', ':terminator:', 0);
983
984-- --------------------------------------------------------
985
986--
987-- Structure de la table `rsrv5_pun_topics`
988--
989
990DROP TABLE IF EXISTS `rsrv5_pun_topics`;
991CREATE TABLE `rsrv5_pun_topics` (
992  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
993  `poster` varchar(200) NOT NULL DEFAULT '',
994  `subject` varchar(255) NOT NULL DEFAULT '',
995  `posted` int(10) unsigned NOT NULL DEFAULT '0',
996  `first_post_id` int(10) unsigned NOT NULL DEFAULT '0',
997  `last_post` int(10) unsigned NOT NULL DEFAULT '0',
998  `last_post_id` int(10) unsigned NOT NULL DEFAULT '0',
999  `last_poster` varchar(200) DEFAULT NULL,
1000  `num_views` mediumint(8) unsigned NOT NULL DEFAULT '0',
1001  `num_replies` mediumint(8) unsigned NOT NULL DEFAULT '0',
1002  `closed` tinyint(1) NOT NULL DEFAULT '0',
1003  `sticky` tinyint(1) NOT NULL DEFAULT '0',
1004  `moved_to` int(10) unsigned DEFAULT NULL,
1005  `forum_id` int(10) unsigned NOT NULL DEFAULT '0',
1006  PRIMARY KEY (`id`),
1007  KEY `pun_topics_forum_id_idx` (`forum_id`),
1008  KEY `pun_topics_moved_to_idx` (`moved_to`),
1009  KEY `rsrv5_pun_topics_last_post_idx` (`last_post`),
1010  KEY `rsrv5_pun_topics_first_post_id_idx` (`first_post_id`)
1011) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2441 ;
1012
1013--
1014-- Contenu de la table `rsrv5_pun_topics`
1015--
1016
1017
1018-- --------------------------------------------------------
1019
1020--
1021-- Structure de la table `rsrv5_pun_topic_subscriptions`
1022--
1023
1024DROP TABLE IF EXISTS `rsrv5_pun_topic_subscriptions`;
1025CREATE TABLE `rsrv5_pun_topic_subscriptions` (
1026  `user_id` int(10) unsigned NOT NULL DEFAULT '0',
1027  `topic_id` int(10) unsigned NOT NULL DEFAULT '0',
1028  PRIMARY KEY (`user_id`,`topic_id`)
1029) ENGINE=MyISAM DEFAULT CHARSET=utf8;
1030
1031--
1032-- Contenu de la table `rsrv5_pun_topic_subscriptions`
1033--
1034
1035
1036-- --------------------------------------------------------
1037
1038--
1039-- Structure de la table `rsrv5_pun_users`
1040--
1041
1042DROP TABLE IF EXISTS `rsrv5_pun_users`;
1043CREATE TABLE `rsrv5_pun_users` (
1044  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
1045  `group_id` int(10) unsigned NOT NULL DEFAULT '4',
1046  `username` varchar(200) NOT NULL DEFAULT '',
1047  `password` varchar(40) NOT NULL DEFAULT '',
1048  `email` varchar(80) NOT NULL DEFAULT '',
1049  `title` varchar(50) DEFAULT NULL,
1050  `realname` varchar(40) DEFAULT NULL,
1051  `url` varchar(100) DEFAULT NULL,
1052  `jabber` varchar(80) DEFAULT NULL,
1053  `icq` varchar(12) DEFAULT NULL,
1054  `msn` varchar(80) DEFAULT NULL,
1055  `aim` varchar(30) DEFAULT NULL,
1056  `yahoo` varchar(30) DEFAULT NULL,
1057  `location` varchar(30) DEFAULT NULL,
1058  `signature` text,
1059  `disp_topics` tinyint(3) unsigned DEFAULT NULL,
1060  `disp_posts` tinyint(3) unsigned DEFAULT NULL,
1061  `email_setting` tinyint(1) NOT NULL DEFAULT '1',
1062  `notify_with_post` tinyint(1) NOT NULL DEFAULT '0',
1063  `auto_notify` tinyint(1) NOT NULL DEFAULT '0',
1064  `show_smilies` tinyint(1) NOT NULL DEFAULT '1',
1065  `show_img` tinyint(1) NOT NULL DEFAULT '1',
1066  `show_img_sig` tinyint(1) NOT NULL DEFAULT '1',
1067  `show_avatars` tinyint(1) NOT NULL DEFAULT '1',
1068  `show_sig` tinyint(1) NOT NULL DEFAULT '1',
1069  `timezone` float NOT NULL DEFAULT '0',
1070  `dst` tinyint(1) NOT NULL DEFAULT '0',
1071  `date_format` tinyint(1) NOT NULL DEFAULT '0',
1072  `time_format` tinyint(1) NOT NULL DEFAULT '0',
1073  `language` varchar(25) NOT NULL DEFAULT 'English',
1074  `style` varchar(25) NOT NULL DEFAULT 'Oxygen',
1075  `num_posts` int(10) unsigned NOT NULL DEFAULT '0',
1076  `last_post` int(10) unsigned DEFAULT NULL,
1077  `last_search` int(10) unsigned DEFAULT NULL,
1078  `last_email_sent` int(10) unsigned DEFAULT NULL,
1079  `last_report_sent` int(10) unsigned DEFAULT NULL,
1080  `registered` int(10) unsigned NOT NULL DEFAULT '0',
1081  `registration_ip` varchar(39) NOT NULL DEFAULT '0.0.0.0',
1082  `last_visit` int(10) unsigned NOT NULL DEFAULT '0',
1083  `admin_note` varchar(30) DEFAULT NULL,
1084  `activate_string` varchar(80) DEFAULT NULL,
1085  `activate_key` varchar(8) DEFAULT NULL,
1086  PRIMARY KEY (`id`),
1087  UNIQUE KEY `rsrv5_pun_users_username_idx` (`username`(25)),
1088  KEY `pun_users_registered_idx` (`registered`),
1089  KEY `pun_users_username_idx` (`username`(8))
1090) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1559 ;
1091
1092--
1093-- Contenu de la table `rsrv5_pun_users`
1094--
1095
1096INSERT INTO `rsrv5_pun_users` (`id`, `group_id`, `username`, `password`, `email`, `title`, `realname`, `url`, `jabber`, `icq`, `msn`, `aim`, `yahoo`, `location`, `signature`, `disp_topics`, `disp_posts`, `email_setting`, `notify_with_post`, `auto_notify`, `show_smilies`, `show_img`, `show_img_sig`, `show_avatars`, `show_sig`, `timezone`, `dst`, `date_format`, `time_format`, `language`, `style`, `num_posts`, `last_post`, `last_search`, `last_email_sent`, `last_report_sent`, `registered`, `registration_ip`, `last_visit`, `admin_note`, `activate_string`, `activate_key`) VALUES
1097(186, 1, 'admin', '90f1b3c6cf62b05606b215265803f553e22bc657', 'admin@domain.tld', NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 'French', 'Rsr', 1382, 1321043538, NULL, NULL, NULL, 1156702867, '82.243.194.97', 1321305012, NULL, NULL, NULL),
1098(1, 3, 'Invité', 'Invité', 'Invité', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 'English', 'Oxygen', 0, NULL, NULL, NULL, NULL, 0, '0.0.0.0', 0, NULL, NULL, NULL);
1099
1100-- --------------------------------------------------------
1101
1102--
1103-- Structure de la table `rsrv5_super_admins`
1104--
1105
1106DROP TABLE IF EXISTS `rsrv5_super_admins`;
1107CREATE TABLE `rsrv5_super_admins` (
1108  `id_pun_user` int(11) NOT NULL,
1109  PRIMARY KEY (`id_pun_user`)
1110) ENGINE=MyISAM DEFAULT CHARSET=utf8;
1111
1112--
1113-- Contenu de la table `rsrv5_super_admins`
1114--
1115
1116
1117-- --------------------------------------------------------
1118
1119--
1120-- Structure de la table `rsrv5_thumbs`
1121--
1122
1123DROP TABLE IF EXISTS `rsrv5_thumbs`;
1124CREATE TABLE `rsrv5_thumbs` (
1125  `id` int(11) NOT NULL AUTO_INCREMENT,
1126  `src` varchar(255) NOT NULL DEFAULT '',
1127  `src_width` int(11) NOT NULL DEFAULT '0',
1128  `src_height` int(11) NOT NULL DEFAULT '0',
1129  `max_width` int(11) NOT NULL DEFAULT '0',
1130  `max_height` int(11) NOT NULL DEFAULT '0',
1131  `thumb_file` varchar(255) NOT NULL,
1132  `thumb_width` int(11) NOT NULL DEFAULT '0',
1133  `thumb_height` int(11) NOT NULL DEFAULT '0',
1134  `creation_date` datetime NOT NULL,
1135  PRIMARY KEY (`id`)
1136) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
1137
1138--
1139-- Contenu de la table `rsrv5_thumbs`
1140--
1141
1142
1143-- --------------------------------------------------------
1144
1145--
1146-- Structure de la table `rsrv5_videos`
1147--
1148
1149DROP TABLE IF EXISTS `rsrv5_videos`;
1150CREATE TABLE `rsrv5_videos` (
1151  `id` int(11) NOT NULL AUTO_INCREMENT,
1152  `id_artiste` int(11) DEFAULT NULL,
1153  `titre` varchar(255) DEFAULT NULL,
1154  `description` text,
1155  `url` varchar(255) DEFAULT NULL,
1156  `id_licence` int(11) DEFAULT NULL,
1157  `date_creation` date DEFAULT NULL,
1158  `date_publication` date DEFAULT NULL,
1159  PRIMARY KEY (`id`)
1160) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
1161
1162--
1163-- Contenu de la table `rsrv5_videos`
1164--
1165
Note: See TracBrowser for help on using the repository browser.