-- phpMyAdmin SQL Dump
-- version 2.10.1
-- [www.phpmyadmin.net...](http://www.phpmyadmin.net)
--
-- Serveur: localhost
-- Généré le : Jeu 17 Janvier 2008 à 13:54
-- Version du serveur: 5.0.41
-- Version de PHP: 5.2.3
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
--
-- Base de données: `woe2`
--
-- --------------------------------------------------------
--
-- Structure de la table `woe_classe`
--
CREATE TABLE `woe_classe` (
`idc` tinyint(2) NOT NULL auto_increment,
`cname` varchar(50) NOT NULL default '',
PRIMARY KEY (`idc`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=10 ;
--
-- Contenu de la table `woe_classe`
--
INSERT INTO `woe_classe` (`idc`, `cname`) VALUES
(1, 'Chaman'),
(2, 'Chasseur'),
(3, 'Démoniste'),
(4, 'Druide'),
(5, 'Guerrier'),
(6, 'Mage'),
(7, 'Paladin'),
(8, 'Prêtre'),
(9, 'Voleur');
-- --------------------------------------------------------
--
-- Structure de la table `woe_dispo`
--
CREATE TABLE `woe_dispo` (
`idd` int(10) NOT NULL auto_increment,
`idj` int(10) NOT NULL default '0',
`ide` int(10) NOT NULL default '0',
`idtd` int(10) NOT NULL default '0',
`datefirst` int(11) NOT NULL default '0',
`datelast` int(11) NOT NULL default '0',
`wasthere` tinyint(1) NOT NULL default '0',
`active` tinyint(1) NOT NULL default '0',
PRIMARY KEY (`idd`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ;
--
-- Contenu de la table `woe_dispo`
--
INSERT INTO `woe_dispo` (`idd`, `idj`, `ide`, `idtd`, `datefirst`, `datelast`, `wasthere`, `active`) VALUES
(1, 1, 4, 6, 0, 1200495755, 0, 1),
(2, 6, 5, 2, 1200497640, 1200497662, 0, 0),
(3, 6, 3, 1, 1200497729, 0, 0, 0),
(4, 6, 2, 2, 1200497730, 0, 0, 0),
(5, 6, 1, 2, 1200497731, 0, 0, 0),
(6, 7, 5, 1, 1200498735, 0, 0, 0),
(7, 7, 3, 1, 1200498737, 0, 0, 0),
(8, 7, 1, 2, 1200501569, 1200501580, 0, 0);
-- --------------------------------------------------------
--
-- Structure de la table `woe_event`
--
CREATE TABLE `woe_event` (
`ide` int(10) NOT NULL auto_increment,
`idte` int(10) NOT NULL default '0',
`idg` int(10) NOT NULL default '0',
`date` int(11) NOT NULL default '0',
`note` varchar(200) NOT NULL default '',
`active` tinyint(1) NOT NULL default '0',
PRIMARY KEY (`ide`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ;
--
-- Contenu de la table `woe_event`
--
INSERT INTO `woe_event` (`ide`, `idte`, `idg`, `date`, `note`, `active`) VALUES
(1, 4, 2, 1181673900, 'Instance test', 1),
(2, 4, 2, 1181846700, '', 1),
(3, 4, 2, 1181930400, '', 1),
(4, 3, 1, 1200511800, '', 1),
(5, 4, 2, 1210960800, '', 1);
-- --------------------------------------------------------
--
-- Structure de la table `woe_joueur`
--
CREATE TABLE `woe_joueur` (
`idj` int(10) NOT NULL auto_increment,
`jname` varchar(50) NOT NULL default '',
`idg` int(10) NOT NULL default '0',
`idc` tinyint(2) NOT NULL default '0',
`password` varchar(32) NOT NULL default '',
`email` varchar(100) NOT NULL default '',
`template` varchar(100) NOT NULL default '',
`rank` varchar(50) NOT NULL default '2',
`active` tinyint(1) NOT NULL default '0',
`various` varchar(10) NOT NULL default '',
PRIMARY KEY (`idj`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ;
--
-- Contenu de la table `woe_joueur`
--
INSERT INTO `woe_joueur` (`idj`, `jname`, `idg`, `idc`, `password`, `email`, `template`, `rank`, `active`, `various`) VALUES
(1, 'Startide', 1, 5, '098f6bcd4621d373cade4e832627b4f6', 'startide@free.fr', '', '1', 1, ''),
(3, 'Malkoh', 1, 9, '098f6bcd4621d373cade4e832627b4f6', 'test@free.fr', '', '2', 3, ''),
(4, 'Darklighter', 1, 1, '098f6bcd4621d373cade4e832627b4f6', 'darklighter@free.fr', '', '2', 3, ''),
(6, 'Lapinroz', 2, 9, '098f6bcd4621d373cade4e832627b4f6', 're@free.fr', '', '1', 1, ''),
(7, 'test', 2, 1, '098f6bcd4621d373cade4e832627b4f6', 'testa@free.fr', '', '2', 1, '');
-- --------------------------------------------------------
--
-- Structure de la table `woe_typedispo`
--
CREATE TABLE `woe_typedispo` (
`idtd` int(10) NOT NULL auto_increment,
`idg` int(10) NOT NULL default '0',
`tdname` varchar(50) NOT NULL default '',
`priority` tinyint(2) NOT NULL default '0',
`active` tinyint(1) NOT NULL default '0',
PRIMARY KEY (`idtd`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;
--
-- Contenu de la table `woe_typedispo`
--
INSERT INTO `woe_typedispo` (`idtd`, `idg`, `tdname`, `priority`, `active`) VALUES
(1, 2, 'Présent', 1, 1),
(2, 2, 'Retard', 2, 1),
(3, 2, 'Absent', 3, 1),
(4, 2, 'Se touche', 4, 1),
(5, 1, 'Disponible', 1, 1),
(6, 1, 'Absent', 2, 1);
[quote="Dalai-Lama"]
ben rajoute WHERE woe_dispo.ide = xxxxx avant le group by :)
[/quote]
oui oui ! Ca j'avais déjà fait, mais c'était plus pour te répondre en fait ;)
Voilà ce que je veux faire :
[http://img205.imageshack.us/img205/2818/sanstitreey4.th.png](http://img205.imageshack.us/my.php?image=sanstitreey4.png)