phpubli-1.0/0000775000175000017500000000000011260607037012343 5ustar benoitbenoitphpubli-1.0/phpubli_load_web.sql0000664000175000017500000040106611260607037016372 0ustar benoitbenoit-- -- Database: `phpubli` -- USE `phpubli`; -- -------------------------------------------------------- -- -- Table structure for table `audience` -- DROP TABLE IF EXISTS `audience`; CREATE TABLE `audience` ( `id` int(4) NOT NULL default '0', `libelle` varchar(255) NOT NULL default '', PRIMARY KEY (`id`) ) TYPE=MyISAM; -- -- Dumping data for table `audience` -- INSERT INTO `audience` (`id`, `libelle`) VALUES (1, 'non spécifiée'); INSERT INTO `audience` (`id`, `libelle`) VALUES (2, 'internationale'); INSERT INTO `audience` (`id`, `libelle`) VALUES (3, 'nationale'); -- -------------------------------------------------------- -- -- Table structure for table `conference` -- DROP TABLE IF EXISTS `conference`; CREATE TABLE `conference` ( `conference_id` int(10) unsigned NOT NULL auto_increment, `conference_title` varchar(255) NOT NULL default '', `conference_date_start` date NOT NULL default '0000-00-00', `conference_date_end` date NOT NULL default '0000-00-00', `conference_city` varchar(255) NOT NULL default '', `conference_country_code` char(2) NOT NULL default '0', `conference_audience` int(4) NOT NULL default '2', `log` int(10) NOT NULL default '0', `date` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`conference_id`) ) TYPE=MyISAM AUTO_INCREMENT=73 ; -- -- Dumping data for table `conference` -- INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (1, 'Seventh European Turbulence Conference', '1998-06-30', '1998-07-03', 'Saint-Jean-Cap-Ferrat', 'FR', 2, 0, '2008-02-08 15:27:24'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (2, 'Eigth European Turbulence Conference', '2000-06-27', '2000-06-30', 'Barcelona', 'ES', 2, 0, '2008-02-08 15:29:31'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (3, 'Ninth European Turbulence Conference', '2002-07-02', '2002-07-05', 'Southampton', 'GB', 2, 0, '2008-02-08 15:31:04'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (4, 'Tenth European Turbulence Conference', '2004-06-29', '2004-07-02', 'Trondheim', 'NO', 2, 0, '2008-02-08 15:32:16'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (5, '6th International Conference on Multiphase Flow', '2007-07-09', '2007-07-13', 'Leipzig', 'DE', 2, 0, '2008-02-08 17:45:02'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (7, 'International Symposium on Snow, Avalanches and Impact of the Forest Cover', '2000-05-22', '2000-05-26', 'Innsbruck', 'AT', 2, 0, '2008-02-12 14:50:23'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (8, 'Euromech Fluid Mechanics Conference 6', '2006-06-26', '2006-06-30', 'Stockholm', 'SE', 2, 0, '2008-02-19 16:49:33'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (9, 'Second international conference on \\"Energy transfer in magnetohydrodynamic flows\\"', '1994-09-00', '1994-09-00', 'Aussois', 'FR', 2, 0, '2008-02-20 17:53:10'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (10, 'Third international conference on \\"Transfer phenomena in magneto-hydrodynamic and electro-conducting flows\\"', '1997-09-00', '1997-09-00', 'Aussois', 'FR', 2, 0, '2008-02-20 17:55:13'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (11, 'IUTAM Symposium on Computational Physics and New Perspectives in Turbulence', '2006-09-11', '2006-09-14', 'Nagoya', 'JP', 2, 2, '2008-02-22 15:27:14'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (12, '10es Journées de la matière condensée', '2006-08-28', '2006-09-01', 'Toulouse', 'FR', 2, 0, '2008-03-07 10:17:45'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (13, 'MicroTAS 2007', '2007-10-07', '2007-10-11', 'Paris', 'FR', 2, 0, '2008-03-07 10:41:37'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (14, 'GDR Turbulence', '2008-03-31', '2008-04-02', 'Lyon', 'FR', 3, 0, '2008-04-09 19:42:10'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (15, 'Eleventh European Turbulence Conference', '2007-06-25', '2007-06-28', 'Porto', 'PT', 2, 1, '2008-05-05 11:31:09'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (16, 'Summer School Eurotherm 79 \\"Mixing and Heat Transfer in Chemical Reaction processes\\"', '2006-07-31', '2006-08-05', 'Cargèse', 'FR', 2, 1, '2008-05-05 15:39:00'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (17, 'Microfluidique 2006', '2006-12-12', '2000-12-14', 'Toulouse', 'FR', 3, 0, '2008-05-05 15:42:45'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (18, 'International Congress on Crystal Growth-15', '2007-08-12', '2007-08-17', 'Salt Lake City', 'US', 2, 0, '2008-05-07 16:27:21'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (19, '18ème Congrès français de mécanique', '2007-08-27', '2007-08-31', 'Grenoble', 'FR', 3, 0, '2008-05-07 16:34:53'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (20, 'Euromech Fluid Mechanics Conference 5', '2003-08-24', '2003-08-28', 'Toulouse', 'FR', 2, 0, '2008-05-07 16:47:53'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (21, 'International Congress on Crystal Growth-14', '2004-08-09', '2004-08-13', 'Grenoble', 'FR', 2, 1, '2008-05-07 16:53:53'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (22, '35th Congress on Space Research', '2004-07-18', '2004-07-25', 'Paris', 'FR', 2, 0, '2008-05-07 16:53:27'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (23, '17ème Congrès français de mécanique', '2005-08-29', '2005-09-02', 'Troyes', 'FR', 3, 0, '2008-05-07 17:01:35'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (24, 'Colloque sur les Arcs Electriques', '2005-03-14', '2005-03-15', 'Orléans', 'FR', 3, 0, '2008-05-07 17:02:47'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (25, 'Small-scale turbulence: Theory, Phenomenology and Applications', '2007-08-13', '2007-08-25', 'Cargèse', 'FR', 1, 0, '2008-05-13 09:45:23'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (26, '5th Int. Symposium on Turbulence and Shear Flow Phenomena', '2007-08-27', '2007-08-29', 'Munich', 'DE', 2, 0, '2008-05-13 10:09:37'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (27, 'GDR Phénix', '2008-06-16', '2008-06-17', 'Lyon', 'FR', 3, 0, '2008-09-09 12:03:13'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (28, 'Journées AUM / AFM 2008', '2008-08-27', '2008-08-29', 'Mulhouse', 'FR', 3, 0, '2008-09-12 15:54:22'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (29, 'Euromech Fluid Mechanics Conference 7', '2008-09-14', '2008-09-18', 'Manchester', 'GB', 2, 1, '2008-10-01 15:41:02'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (30, 'Journées de la S.H.F. Mécanique des Fluides Numérique', '1989-00-00', '1989-00-00', 'Paris', 'FR', 3, 1, '2008-09-30 11:53:22'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (31, 'Lecture series on Introduction to the numerical solution of industrial flows, Von Karman Institute', '1986-00-00', '1986-00-00', 'Bruxelles', 'BE', 2, 0, '2008-09-30 11:54:31'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (32, 'Microfluidique 2004', '2004-12-14', '2004-12-16', 'Toulouse', 'FR', 3, 0, '2008-10-01 10:15:35'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (33, 'XXI International Congress of Theoretical and Applied Mechanics', '2004-08-15', '2004-08-21', 'Varsovie', 'PL', 2, 0, '2008-10-01 11:49:58'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (34, 'European Geophysical Society XXVII General Assembly', '2002-04-21', '2002-04-26', 'Nice', 'FR', 2, 0, '2008-10-01 15:49:54'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (35, 'DFD APS Meeting', '1997-11-23', '1997-11-25', 'San Francisco', 'US', 2, 0, '2008-10-01 15:57:03'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (36, 'Euromech European Fluid Mechanics Conference 3', '1997-09-15', '1997-09-18', 'Göttingen', 'DE', 2, 0, '2008-10-01 16:02:45'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (37, 'International Conference on Non Linearity, Bifurcations, Chaos: the door to the future', '1996-09-16', '1996-09-18', 'Lodz-Dobieszkow', 'PL', 2, 0, '2008-10-01 16:09:40'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (38, 'NATO Advanced Study institute: Mixing: Chaos and Turbulence', '1996-07-07', '1996-07-20', 'Cargèse', 'FR', 2, 0, '2008-10-01 16:28:02'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (39, 'Eurotherm 39, Heat Transfer Enhancement by Lagrangian Chaos and Turbulence', '1994-00-00', '1994-00-00', 'Nantes', 'FR', 2, 0, '2008-10-01 16:44:23'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (40, 'Computational Fluid Dynamic Applied to process engineering - Les rencontres scientifiques de l\\''IFP', '1994-00-00', '1994-00-00', 'Solaize', 'FR', 3, 0, '2008-10-01 16:50:06'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (41, '10ème Congrès Français de Mécanique', '1991-09-02', '1991-09-06', 'Paris', 'FR', 3, 0, '2008-10-01 16:55:47'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (42, '7th International Conference on Numerical Methods in laminar and turbulent flows', '1991-07-15', '1991-07-19', 'Stanford, California', 'US', 2, 1, '2008-10-02 16:52:45'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (43, 'European Symposium on Computer Application in the Chemical Industry', '1989-04-23', '1989-04-26', 'Erlangen', 'DE', 2, 0, '2008-10-02 11:10:22'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (44, '1er Congrès National de Génie des Procédés', '1987-09-21', '1987-09-23', 'Nancy', 'FR', 3, 0, '2008-10-02 15:28:36'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (45, 'GAMM Workshop on Analysis of laminar flow over a backward facing step', '1983-00-00', '1983-00-00', 'Bièvres', 'FR', 2, 0, '2008-10-02 16:03:14'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (46, 'Numerical methods in thermal problems', '1981-00-00', '1981-00-00', 'Venice', 'IT', 2, 0, '2008-10-02 16:09:48'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (47, 'ERCOFTAC International Workshop on Chemical reactions in turbulent liquids', '1991-07-00', '1991-07-00', 'Lausanne', 'CH', 2, 0, '2008-10-02 16:54:33'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (48, 'IIIe Encontro nacional de ciencias termicas', '1990-00-00', '1990-00-00', 'Itapema', 'BR', 3, 0, '2008-10-02 17:00:10'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (49, 'Journées Internationales de THermiques', '1989-00-00', '1989-00-00', 'Alger', 'DZ', 2, 0, '2008-10-02 17:02:53'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (50, 'Colloque CNRS Méthodes numériques performantes et phènomènes complexes en Mécanique des Fluides', '1987-00-00', '1987-00-00', 'Nice', 'FR', 3, 1, '2008-10-02 17:07:40'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (51, '6th International Symposium on finite element methods in flow problems', '1986-00-00', '1986-00-00', 'Antibes', 'FR', 2, 0, '2008-10-02 17:08:41'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (52, '6ème congrès français de mécanique', '1983-00-00', '1983-00-00', 'Lyon', 'FR', 3, 0, '2008-10-02 17:11:56'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (53, 'Réseau ‘Microfluidique et Microsystèmes Fluidiques\\''', '2007-05-29', '2007-05-29', 'Paris', 'FR', 3, 0, '2008-10-07 11:16:41'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (54, '6th International Conference on Inverse Problems in Engineering: Theory and Practice', '2008-06-15', '2008-06-19', 'Dourdan (Paris)', 'FR', 2, 0, '2008-10-07 15:01:40'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (55, '8th World Congress on Computational Mechanics (WCCM8)', '2008-06-30', '2008-07-05', 'Venice', 'IT', 2, 0, '2008-10-07 15:15:14'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (56, 'Workshop Micro and Nanofluidics', '2008-06-24', '2008-06-25', 'Lyon', 'FR', 2, 0, '2008-10-09 11:24:54'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (57, '14th AIAA/CEAS Aeroacoustics Conference', '2008-05-05', '2008-05-07', 'Vancouver', 'CA', 2, 0, '2008-12-10 12:32:32'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (58, '7th International ERCOFTAC Symposium on Engineering Turbulence Modelling and Measurements', '2008-06-04', '2008-06-06', 'Limassol', 'CY', 1, 0, '2008-12-11 16:38:13'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (59, '19th International Symposium on Transport Phenomena', '2008-08-17', '2008-08-20', 'Reykjavik', 'IS', 2, 0, '2008-12-11 17:22:29'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (60, 'Acoustics\\''08', '2008-06-30', '2008-07-04', 'Paris', 'FR', 2, 0, '2008-12-12 13:12:45'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (61, 'Ercoftac Symposium on sound source mechanisms in turbulent shear-flow', '2008-07-07', '2008-07-09', 'Poitiers', 'FR', 2, 1, '2008-12-12 13:17:05'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (62, '18th International Symposium on Nonlinear Acoustics (ISNA)', '2008-07-07', '2008-07-10', 'Stockholm', 'SE', 2, 0, '2008-12-19 12:36:47'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (63, '12th ISROMAC', '2008-02-17', '2008-02-22', 'Honolulu', 'US', 2, 0, '2008-12-19 12:45:30'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (64, '37th International Congress and Exposition on Noise Control Engineering (Inter-Noise)', '2008-10-26', '2008-10-29', 'Shangai', 'CN', 2, 0, '2008-12-19 13:03:11'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (65, '61st Annual Meeting of the APS Division of Fluid Dynamics', '2008-11-23', '2008-11-25', 'San Antonio', 'US', 2, 0, '2008-12-19 13:07:45'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (66, 'GDR Micropesanteur Fondamentale et Appliquée', '2008-12-01', '2008-12-03', 'Aussois', 'FR', 3, 0, '2009-01-07 16:09:15'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (67, 'JTET\\''08 - Journées Tunisiennes sur les Ecoulements et les Transferts', '2008-11-07', '2008-11-09', 'Bizerte', 'TN', 3, 0, '2009-01-08 17:52:26'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (68, 'ICAMEM 2008 - Fourth International Conference on Advances in Mechanical Engineering and Mechanics', '2008-12-16', '2008-12-18', 'Sousse', 'TN', 2, 0, '2009-01-08 17:58:33'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (69, 'Ampere meeting: creation of a european structure on magneto-sciences', '2007-07-10', '2007-07-11', 'Paris', 'FR', 2, 0, '2009-01-08 18:12:26'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (70, 'GDR Micropesanteur Fondamentale et Appliquée', '2007-11-26', '2007-11-28', 'Fréjus', 'FR', 3, 0, '2009-01-08 18:16:02'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (71, 'GDR Micropesanteur Fondamentale et Appliquée', '2005-10-17', '2005-10-19', 'Carry le Rouet', 'FR', 3, 0, '2009-01-08 18:19:43'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (72, '7th European Coating Symposium', '2007-09-12', '2007-09-14', 'Paris', 'FR', 2, 0, '2009-02-24 17:10:55'); -- -------------------------------------------------------- -- -- Table structure for table `country` -- DROP TABLE IF EXISTS `country`; CREATE TABLE `country` ( `iso` char(2) NOT NULL default '', `name` varchar(80) NOT NULL default '', `printable_name` varchar(80) NOT NULL default '', `iso3` char(3) default NULL, `numcode` smallint(6) default NULL, PRIMARY KEY (`iso`) ) TYPE=MyISAM; -- -- Dumping data for table `country` -- INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AF', 'AFGHANISTAN', 'Afghanistan', 'AFG', 4); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AL', 'ALBANIA', 'Albania', 'ALB', 8); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('DZ', 'ALGERIA', 'Algeria', 'DZA', 12); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AS', 'AMERICAN SAMOA', 'American Samoa', 'ASM', 16); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AD', 'ANDORRA', 'Andorra', 'AND', 20); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AO', 'ANGOLA', 'Angola', 'AGO', 24); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AI', 'ANGUILLA', 'Anguilla', 'AIA', 660); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AQ', 'ANTARCTICA', 'Antarctica', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AG', 'ANTIGUA AND BARBUDA', 'Antigua and Barbuda', 'ATG', 28); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AR', 'ARGENTINA', 'Argentina', 'ARG', 32); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AM', 'ARMENIA', 'Armenia', 'ARM', 51); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AW', 'ARUBA', 'Aruba', 'ABW', 533); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AU', 'AUSTRALIA', 'Australia', 'AUS', 36); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AT', 'AUSTRIA', 'Austria', 'AUT', 40); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AZ', 'AZERBAIJAN', 'Azerbaijan', 'AZE', 31); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BS', 'BAHAMAS', 'Bahamas', 'BHS', 44); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BH', 'BAHRAIN', 'Bahrain', 'BHR', 48); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BD', 'BANGLADESH', 'Bangladesh', 'BGD', 50); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BB', 'BARBADOS', 'Barbados', 'BRB', 52); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BY', 'BELARUS', 'Belarus', 'BLR', 112); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BE', 'BELGIUM', 'Belgium', 'BEL', 56); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BZ', 'BELIZE', 'Belize', 'BLZ', 84); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BJ', 'BENIN', 'Benin', 'BEN', 204); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BM', 'BERMUDA', 'Bermuda', 'BMU', 60); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BT', 'BHUTAN', 'Bhutan', 'BTN', 64); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BO', 'BOLIVIA', 'Bolivia', 'BOL', 68); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BA', 'BOSNIA AND HERZEGOVINA', 'Bosnia and Herzegovina', 'BIH', 70); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BW', 'BOTSWANA', 'Botswana', 'BWA', 72); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BV', 'BOUVET ISLAND', 'Bouvet Island', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BR', 'BRAZIL', 'Brazil', 'BRA', 76); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('IO', 'BRITISH INDIAN OCEAN TERRITORY', 'British Indian Ocean Territory', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BN', 'BRUNEI DARUSSALAM', 'Brunei Darussalam', 'BRN', 96); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BG', 'BULGARIA', 'Bulgaria', 'BGR', 100); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BF', 'BURKINA FASO', 'Burkina Faso', 'BFA', 854); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BI', 'BURUNDI', 'Burundi', 'BDI', 108); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('KH', 'CAMBODIA', 'Cambodia', 'KHM', 116); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CM', 'CAMEROON', 'Cameroon', 'CMR', 120); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CA', 'CANADA', 'Canada', 'CAN', 124); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CV', 'CAPE VERDE', 'Cape Verde', 'CPV', 132); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('KY', 'CAYMAN ISLANDS', 'Cayman Islands', 'CYM', 136); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CF', 'CENTRAL AFRICAN REPUBLIC', 'Central African Republic', 'CAF', 140); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TD', 'CHAD', 'Chad', 'TCD', 148); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CL', 'CHILE', 'Chile', 'CHL', 152); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CN', 'CHINA', 'China', 'CHN', 156); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CX', 'CHRISTMAS ISLAND', 'Christmas Island', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CC', 'COCOS (KEELING) ISLANDS', 'Cocos (Keeling) Islands', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CO', 'COLOMBIA', 'Colombia', 'COL', 170); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('KM', 'COMOROS', 'Comoros', 'COM', 174); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CG', 'CONGO', 'Congo', 'COG', 178); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CD', 'CONGO, THE DEMOCRATIC REPUBLIC OF THE', 'Congo, the Democratic Republic of the', 'COD', 180); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CK', 'COOK ISLANDS', 'Cook Islands', 'COK', 184); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CR', 'COSTA RICA', 'Costa Rica', 'CRI', 188); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CI', 'COTE D''IVOIRE', 'Cote D''Ivoire', 'CIV', 384); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('HR', 'CROATIA', 'Croatia', 'HRV', 191); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CU', 'CUBA', 'Cuba', 'CUB', 192); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CY', 'CYPRUS', 'Cyprus', 'CYP', 196); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CZ', 'CZECH REPUBLIC', 'Czech Republic', 'CZE', 203); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('DK', 'DENMARK', 'Denmark', 'DNK', 208); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('DJ', 'DJIBOUTI', 'Djibouti', 'DJI', 262); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('DM', 'DOMINICA', 'Dominica', 'DMA', 212); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('DO', 'DOMINICAN REPUBLIC', 'Dominican Republic', 'DOM', 214); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('EC', 'ECUADOR', 'Ecuador', 'ECU', 218); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('EG', 'EGYPT', 'Egypt', 'EGY', 818); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SV', 'EL SALVADOR', 'El Salvador', 'SLV', 222); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GQ', 'EQUATORIAL GUINEA', 'Equatorial Guinea', 'GNQ', 226); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('ER', 'ERITREA', 'Eritrea', 'ERI', 232); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('EE', 'ESTONIA', 'Estonia', 'EST', 233); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('ET', 'ETHIOPIA', 'Ethiopia', 'ETH', 231); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('FK', 'FALKLAND ISLANDS (MALVINAS)', 'Falkland Islands (Malvinas)', 'FLK', 238); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('FO', 'FAROE ISLANDS', 'Faroe Islands', 'FRO', 234); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('FJ', 'FIJI', 'Fiji', 'FJI', 242); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('FI', 'FINLAND', 'Finland', 'FIN', 246); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('FR', 'FRANCE', 'France', 'FRA', 250); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GF', 'FRENCH GUIANA', 'French Guiana', 'GUF', 254); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PF', 'FRENCH POLYNESIA', 'French Polynesia', 'PYF', 258); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TF', 'FRENCH SOUTHERN TERRITORIES', 'French Southern Territories', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GA', 'GABON', 'Gabon', 'GAB', 266); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GM', 'GAMBIA', 'Gambia', 'GMB', 270); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GE', 'GEORGIA', 'Georgia', 'GEO', 268); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('DE', 'GERMANY', 'Germany', 'DEU', 276); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GH', 'GHANA', 'Ghana', 'GHA', 288); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GI', 'GIBRALTAR', 'Gibraltar', 'GIB', 292); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GR', 'GREECE', 'Greece', 'GRC', 300); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GL', 'GREENLAND', 'Greenland', 'GRL', 304); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GD', 'GRENADA', 'Grenada', 'GRD', 308); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GP', 'GUADELOUPE', 'Guadeloupe', 'GLP', 312); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GU', 'GUAM', 'Guam', 'GUM', 316); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GT', 'GUATEMALA', 'Guatemala', 'GTM', 320); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GN', 'GUINEA', 'Guinea', 'GIN', 324); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GW', 'GUINEA-BISSAU', 'Guinea-Bissau', 'GNB', 624); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GY', 'GUYANA', 'Guyana', 'GUY', 328); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('HT', 'HAITI', 'Haiti', 'HTI', 332); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('HM', 'HEARD ISLAND AND MCDONALD ISLANDS', 'Heard Island and Mcdonald Islands', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('VA', 'HOLY SEE (VATICAN CITY STATE)', 'Holy See (Vatican City State)', 'VAT', 336); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('HN', 'HONDURAS', 'Honduras', 'HND', 340); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('HK', 'HONG KONG', 'Hong Kong', 'HKG', 344); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('HU', 'HUNGARY', 'Hungary', 'HUN', 348); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('IS', 'ICELAND', 'Iceland', 'ISL', 352); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('IN', 'INDIA', 'India', 'IND', 356); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('ID', 'INDONESIA', 'Indonesia', 'IDN', 360); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('IR', 'IRAN, ISLAMIC REPUBLIC OF', 'Iran, Islamic Republic of', 'IRN', 364); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('IQ', 'IRAQ', 'Iraq', 'IRQ', 368); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('IE', 'IRELAND', 'Ireland', 'IRL', 372); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('IL', 'ISRAEL', 'Israel', 'ISR', 376); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('IT', 'ITALY', 'Italy', 'ITA', 380); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('JM', 'JAMAICA', 'Jamaica', 'JAM', 388); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('JP', 'JAPAN', 'Japan', 'JPN', 392); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('JO', 'JORDAN', 'Jordan', 'JOR', 400); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('KZ', 'KAZAKHSTAN', 'Kazakhstan', 'KAZ', 398); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('KE', 'KENYA', 'Kenya', 'KEN', 404); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('KI', 'KIRIBATI', 'Kiribati', 'KIR', 296); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('KP', 'KOREA, DEMOCRATIC PEOPLE''S REPUBLIC OF', 'Korea, Democratic People''s Republic of', 'PRK', 408); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('KR', 'KOREA, REPUBLIC OF', 'Korea, Republic of', 'KOR', 410); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('KW', 'KUWAIT', 'Kuwait', 'KWT', 414); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('KG', 'KYRGYZSTAN', 'Kyrgyzstan', 'KGZ', 417); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('LA', 'LAO PEOPLE''S DEMOCRATIC REPUBLIC', 'Lao People''s Democratic Republic', 'LAO', 418); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('LV', 'LATVIA', 'Latvia', 'LVA', 428); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('LB', 'LEBANON', 'Lebanon', 'LBN', 422); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('LS', 'LESOTHO', 'Lesotho', 'LSO', 426); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('LR', 'LIBERIA', 'Liberia', 'LBR', 430); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('LY', 'LIBYAN ARAB JAMAHIRIYA', 'Libyan Arab Jamahiriya', 'LBY', 434); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('LI', 'LIECHTENSTEIN', 'Liechtenstein', 'LIE', 438); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('LT', 'LITHUANIA', 'Lithuania', 'LTU', 440); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('LU', 'LUXEMBOURG', 'Luxembourg', 'LUX', 442); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MO', 'MACAO', 'Macao', 'MAC', 446); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MK', 'MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF', 'Macedonia, the Former Yugoslav Republic of', 'MKD', 807); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MG', 'MADAGASCAR', 'Madagascar', 'MDG', 450); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MW', 'MALAWI', 'Malawi', 'MWI', 454); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MY', 'MALAYSIA', 'Malaysia', 'MYS', 458); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MV', 'MALDIVES', 'Maldives', 'MDV', 462); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('ML', 'MALI', 'Mali', 'MLI', 466); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MT', 'MALTA', 'Malta', 'MLT', 470); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MH', 'MARSHALL ISLANDS', 'Marshall Islands', 'MHL', 584); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MQ', 'MARTINIQUE', 'Martinique', 'MTQ', 474); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MR', 'MAURITANIA', 'Mauritania', 'MRT', 478); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MU', 'MAURITIUS', 'Mauritius', 'MUS', 480); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('YT', 'MAYOTTE', 'Mayotte', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MX', 'MEXICO', 'Mexico', 'MEX', 484); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('FM', 'MICRONESIA, FEDERATED STATES OF', 'Micronesia, Federated States of', 'FSM', 583); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MD', 'MOLDOVA, REPUBLIC OF', 'Moldova, Republic of', 'MDA', 498); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MC', 'MONACO', 'Monaco', 'MCO', 492); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MN', 'MONGOLIA', 'Mongolia', 'MNG', 496); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MS', 'MONTSERRAT', 'Montserrat', 'MSR', 500); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MA', 'MOROCCO', 'Morocco', 'MAR', 504); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MZ', 'MOZAMBIQUE', 'Mozambique', 'MOZ', 508); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MM', 'MYANMAR', 'Myanmar', 'MMR', 104); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('NA', 'NAMIBIA', 'Namibia', 'NAM', 516); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('NR', 'NAURU', 'Nauru', 'NRU', 520); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('NP', 'NEPAL', 'Nepal', 'NPL', 524); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('NL', 'NETHERLANDS', 'Netherlands', 'NLD', 528); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AN', 'NETHERLANDS ANTILLES', 'Netherlands Antilles', 'ANT', 530); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('NC', 'NEW CALEDONIA', 'New Caledonia', 'NCL', 540); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('NZ', 'NEW ZEALAND', 'New Zealand', 'NZL', 554); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('NI', 'NICARAGUA', 'Nicaragua', 'NIC', 558); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('NE', 'NIGER', 'Niger', 'NER', 562); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('NG', 'NIGERIA', 'Nigeria', 'NGA', 566); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('NU', 'NIUE', 'Niue', 'NIU', 570); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('NF', 'NORFOLK ISLAND', 'Norfolk Island', 'NFK', 574); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MP', 'NORTHERN MARIANA ISLANDS', 'Northern Mariana Islands', 'MNP', 580); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('NO', 'NORWAY', 'Norway', 'NOR', 578); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('OM', 'OMAN', 'Oman', 'OMN', 512); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PK', 'PAKISTAN', 'Pakistan', 'PAK', 586); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PW', 'PALAU', 'Palau', 'PLW', 585); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PS', 'PALESTINIAN TERRITORY, OCCUPIED', 'Palestinian Territory, Occupied', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PA', 'PANAMA', 'Panama', 'PAN', 591); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PG', 'PAPUA NEW GUINEA', 'Papua New Guinea', 'PNG', 598); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PY', 'PARAGUAY', 'Paraguay', 'PRY', 600); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PE', 'PERU', 'Peru', 'PER', 604); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PH', 'PHILIPPINES', 'Philippines', 'PHL', 608); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PN', 'PITCAIRN', 'Pitcairn', 'PCN', 612); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PL', 'POLAND', 'Poland', 'POL', 616); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PT', 'PORTUGAL', 'Portugal', 'PRT', 620); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PR', 'PUERTO RICO', 'Puerto Rico', 'PRI', 630); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('QA', 'QATAR', 'Qatar', 'QAT', 634); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('RE', 'REUNION', 'Reunion', 'REU', 638); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('RO', 'ROMANIA', 'Romania', 'ROM', 642); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('RU', 'RUSSIAN FEDERATION', 'Russian Federation', 'RUS', 643); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('RW', 'RWANDA', 'Rwanda', 'RWA', 646); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SH', 'SAINT HELENA', 'Saint Helena', 'SHN', 654); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('KN', 'SAINT KITTS AND NEVIS', 'Saint Kitts and Nevis', 'KNA', 659); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('LC', 'SAINT LUCIA', 'Saint Lucia', 'LCA', 662); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PM', 'SAINT PIERRE AND MIQUELON', 'Saint Pierre and Miquelon', 'SPM', 666); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('VC', 'SAINT VINCENT AND THE GRENADINES', 'Saint Vincent and the Grenadines', 'VCT', 670); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('WS', 'SAMOA', 'Samoa', 'WSM', 882); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SM', 'SAN MARINO', 'San Marino', 'SMR', 674); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('ST', 'SAO TOME AND PRINCIPE', 'Sao Tome and Principe', 'STP', 678); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SA', 'SAUDI ARABIA', 'Saudi Arabia', 'SAU', 682); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SN', 'SENEGAL', 'Senegal', 'SEN', 686); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CS', 'SERBIA AND MONTENEGRO', 'Serbia and Montenegro', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SC', 'SEYCHELLES', 'Seychelles', 'SYC', 690); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SL', 'SIERRA LEONE', 'Sierra Leone', 'SLE', 694); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SG', 'SINGAPORE', 'Singapore', 'SGP', 702); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SK', 'SLOVAKIA', 'Slovakia', 'SVK', 703); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SI', 'SLOVENIA', 'Slovenia', 'SVN', 705); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SB', 'SOLOMON ISLANDS', 'Solomon Islands', 'SLB', 90); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SO', 'SOMALIA', 'Somalia', 'SOM', 706); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('ZA', 'SOUTH AFRICA', 'South Africa', 'ZAF', 710); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GS', 'SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS', 'South Georgia and the South Sandwich Islands', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('ES', 'SPAIN', 'Spain', 'ESP', 724); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('LK', 'SRI LANKA', 'Sri Lanka', 'LKA', 144); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SD', 'SUDAN', 'Sudan', 'SDN', 736); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SR', 'SURINAME', 'Suriname', 'SUR', 740); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SJ', 'SVALBARD AND JAN MAYEN', 'Svalbard and Jan Mayen', 'SJM', 744); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SZ', 'SWAZILAND', 'Swaziland', 'SWZ', 748); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SE', 'SWEDEN', 'Sweden', 'SWE', 752); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CH', 'SWITZERLAND', 'Switzerland', 'CHE', 756); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SY', 'SYRIAN ARAB REPUBLIC', 'Syrian Arab Republic', 'SYR', 760); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TW', 'TAIWAN, PROVINCE OF CHINA', 'Taiwan, Province of China', 'TWN', 158); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TJ', 'TAJIKISTAN', 'Tajikistan', 'TJK', 762); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TZ', 'TANZANIA, UNITED REPUBLIC OF', 'Tanzania, United Republic of', 'TZA', 834); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TH', 'THAILAND', 'Thailand', 'THA', 764); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TL', 'TIMOR-LESTE', 'Timor-Leste', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TG', 'TOGO', 'Togo', 'TGO', 768); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TK', 'TOKELAU', 'Tokelau', 'TKL', 772); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TO', 'TONGA', 'Tonga', 'TON', 776); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TT', 'TRINIDAD AND TOBAGO', 'Trinidad and Tobago', 'TTO', 780); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TN', 'TUNISIA', 'Tunisia', 'TUN', 788); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TR', 'TURKEY', 'Turkey', 'TUR', 792); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TM', 'TURKMENISTAN', 'Turkmenistan', 'TKM', 795); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TC', 'TURKS AND CAICOS ISLANDS', 'Turks and Caicos Islands', 'TCA', 796); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TV', 'TUVALU', 'Tuvalu', 'TUV', 798); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('UG', 'UGANDA', 'Uganda', 'UGA', 800); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('UA', 'UKRAINE', 'Ukraine', 'UKR', 804); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AE', 'UNITED ARAB EMIRATES', 'United Arab Emirates', 'ARE', 784); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GB', 'UNITED KINGDOM', 'United Kingdom', 'GBR', 826); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('US', 'UNITED STATES', 'United States', 'USA', 840); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('UM', 'UNITED STATES MINOR OUTLYING ISLANDS', 'United States Minor Outlying Islands', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('UY', 'URUGUAY', 'Uruguay', 'URY', 858); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('UZ', 'UZBEKISTAN', 'Uzbekistan', 'UZB', 860); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('VU', 'VANUATU', 'Vanuatu', 'VUT', 548); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('VE', 'VENEZUELA', 'Venezuela', 'VEN', 862); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('VN', 'VIET NAM', 'Viet Nam', 'VNM', 704); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('VG', 'VIRGIN ISLANDS, BRITISH', 'Virgin Islands, British', 'VGB', 92); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('VI', 'VIRGIN ISLANDS, U.S.', 'Virgin Islands, U.s.', 'VIR', 850); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('WF', 'WALLIS AND FUTUNA', 'Wallis and Futuna', 'WLF', 876); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('EH', 'WESTERN SAHARA', 'Western Sahara', 'ESH', 732); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('YE', 'YEMEN', 'Yemen', 'YEM', 887); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('ZM', 'ZAMBIA', 'Zambia', 'ZMB', 894); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('ZW', 'ZIMBABWE', 'Zimbabwe', 'ZWE', 716); -- -------------------------------------------------------- -- -- Table structure for table `document` -- DROP TABLE IF EXISTS `document`; CREATE TABLE `document` ( `doc_id` int(10) unsigned NOT NULL auto_increment, `title` varchar(255) default NULL, `year` int(10) default NULL, `volume` varchar(255) default NULL, `doi` varchar(255) default NULL, `hal` varchar(255) default NULL, `journal_id` int(10) unsigned default NULL, `institution_id` int(10) default NULL, `note` varchar(255) default NULL, `typedoc_id` int(10) default NULL, `soustypedoc_id` int(10) default NULL, `pages_start` varchar(32) default NULL, `pages_end` varchar(32) default NULL, `pages_eid` varchar(32) default NULL, `pages_num` varchar(32) default NULL, `groupe` varchar(32) default NULL, `log` int(10) unsigned NOT NULL default '0', `date` datetime NOT NULL default '0000-00-00 00:00:00', `conference_id` int(10) default NULL, `publisher_id` int(10) default NULL, `proceedings_id` int(10) default NULL, `lang` char(2) NOT NULL default 'EN', PRIMARY KEY (`doc_id`) ) TYPE=MyISAM AUTO_INCREMENT=1 ; -- -- Dumping data for table `document` -- -- -------------------------------------------------------- -- -- Table structure for table `flags` -- DROP TABLE IF EXISTS `flags`; CREATE TABLE `flags` ( `name` varchar(255) default NULL, `value` int(10) unsigned default NULL ) TYPE=MyISAM; -- -- Dumping data for table `flags` -- INSERT INTO `flags` (`name`, `value`) VALUES ('readonly', 0); -- -------------------------------------------------------- -- -- Table structure for table `fonction` -- DROP TABLE IF EXISTS `fonction`; CREATE TABLE `fonction` ( `fonction_id` int(10) unsigned NOT NULL auto_increment, `fonction_libelle` varchar(255) default NULL, PRIMARY KEY (`fonction_id`) ) TYPE=MyISAM AUTO_INCREMENT=4 ; -- -- Dumping data for table `fonction` -- INSERT INTO `fonction` (`fonction_id`, `fonction_libelle`) VALUES (1, 'auteur'); INSERT INTO `fonction` (`fonction_id`, `fonction_libelle`) VALUES (2, 'éditeur'); INSERT INTO `fonction` (`fonction_id`, `fonction_libelle`) VALUES (3, 'directeur'); -- -------------------------------------------------------- -- -- Table structure for table `groupes` -- DROP TABLE IF EXISTS `groupes`; CREATE TABLE `groupes` ( `g_id` int(10) unsigned NOT NULL auto_increment, `g_name` varchar(16) NOT NULL default '', `g_fullname` varchar(255) NOT NULL default '', PRIMARY KEY (`g_id`) ) TYPE=MyISAM; -- -- Dumping data for table `groupes` -- -- INSERT INTO `groupes` (`g_id`, `g_name`, `g_fullname`) VALUES (1, 'grp1', 'Équipe de recherche 1'); -- INSERT INTO `groupes` (`g_id`, `g_name`, `g_fullname`) VALUES (2, 'grp2', 'Équipe de recherche 2'); -- INSERT INTO `groupes` (`g_id`, `g_name`, `g_fullname`) VALUES (3, 'grp3', 'Équipe de recherche 3'); -- INSERT INTO `groupes` (`g_id`, `g_name`, `g_fullname`) VALUES (4, 'grp4', 'Équipe de recherche 4'); -- INSERT INTO `groupes` (`g_id`, `g_name`, `g_fullname`) VALUES (5, 'exter', 'Publication hors labo'); -- -------------------------------------------------------- -- -- Table structure for table `history` -- DROP TABLE IF EXISTS `history`; CREATE TABLE `history` ( `id` int(10) unsigned NOT NULL auto_increment, `u_id` int(10) unsigned NOT NULL default '0', `g_id` varchar(32) default NULL, `table_id` int(10) unsigned default NULL, `item_id` int(10) unsigned default NULL, `action` varchar(32) NOT NULL default '', `entry_old` text, `entry_new` text, `date_entry` datetime NOT NULL default '0000-00-00 00:00:00', `date_checked` datetime default NULL, PRIMARY KEY (`id`) ) TYPE=MyISAM AUTO_INCREMENT=1 ; -- -- Dumping data for table `history` -- -- -------------------------------------------------------- -- -- Table structure for table `institution` -- DROP TABLE IF EXISTS `institution`; CREATE TABLE `institution` ( `institution_id` int(10) unsigned NOT NULL auto_increment, `institution_name` varchar(255) NOT NULL default '', `institution_short` varchar(32) NOT NULL default '', `log` int(10) unsigned NOT NULL default '0', `date` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`institution_id`) ) TYPE=MyISAM AUTO_INCREMENT=8 ; -- -- Dumping data for table `institution` -- INSERT INTO `institution` (`institution_id`, `institution_name`, `institution_short`, `log`, `date`) VALUES (1, 'École centrale de Lyon', 'ECL', 0, '2007-09-18 14:23:36'); INSERT INTO `institution` (`institution_id`, `institution_name`, `institution_short`, `log`, `date`) VALUES (2, 'Université Claude-Bernard Lyon 1', 'UCBL', 0, '2007-09-18 14:24:52'); INSERT INTO `institution` (`institution_id`, `institution_name`, `institution_short`, `log`, `date`) VALUES (3, 'Institut national des sciences appliquées de Lyon', 'INSA Lyon', 1, '2007-09-18 14:26:24'); INSERT INTO `institution` (`institution_id`, `institution_name`, `institution_short`, `log`, `date`) VALUES (4, 'Kungliga Tekniska Högskolan Stockholm', 'KTH Stockholm', 1, '2007-10-11 15:22:17'); INSERT INTO `institution` (`institution_id`, `institution_name`, `institution_short`, `log`, `date`) VALUES (5, 'Technocentre Renault Guyancourt', 'Renault', 0, '2007-10-11 15:22:55'); INSERT INTO `institution` (`institution_id`, `institution_name`, `institution_short`, `log`, `date`) VALUES (6, 'Politecnico di Torino', 'Politecnico di Torino', 0, '2007-10-12 08:25:38'); INSERT INTO `institution` (`institution_id`, `institution_name`, `institution_short`, `log`, `date`) VALUES (7, 'Office national d\\''études et de recherches aérospatiales', 'ONERA', 0, '2007-10-12 17:42:02'); -- -------------------------------------------------------- -- -- Table structure for table `journal` -- DROP TABLE IF EXISTS `journal`; CREATE TABLE `journal` ( `journal_id` int(10) unsigned NOT NULL auto_increment, `journal_fullname` varchar(255) default NULL, `journal_name` varchar(255) default NULL, `journal_type` int(11) NOT NULL default '0', `journal_audience` int(4) NOT NULL default '2', `journal_peer_review` int(4) NOT NULL default '1', `log` int(10) unsigned NOT NULL default '0', `date` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`journal_id`) ) TYPE=MyISAM AUTO_INCREMENT=202 ; -- -- Dumping data for table `journal` -- INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (4, 'Houille Blanche-Revue internationale de l\\''eau', 'Houille Blanche-Rev. Int.', 1, 2, 1, 2, '2007-09-12 20:24:57'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (5, 'International Journal for Numerical Methods in Fluids', 'Int. J. Numer. Methods Fluids', 1, 2, 1, 2, '2007-09-12 20:16:38'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (6, 'Annual Review of Fluid Mechanics', 'Annu. Rev. Fluid Mech.', 1, 2, 1, 2, '2007-09-12 18:56:31'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (7, 'Journal de Recherches Hydrauliques', 'Journal de Recherches Hydrauliques', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (8, 'Applied Mechanics Reviews', 'Appl. Mech. Rev.', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (11, 'Proc. Institution Mechanical Engineers', 'Proc. Institution Mechanical Engineers', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (13, 'Journal of Heat Transfer', 'Journal of Heat Transfer', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (14, 'Progress in Aerospace Sciences', 'Prog. Aerosp. Sci.', 1, 2, 1, 2, '2007-09-12 20:56:30'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (15, 'Proceedings of the IEEE', 'Proceedings of the IEEE', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (16, 'Journal of Computational Acoustics', 'J. Comput. Acoust.', 1, 2, 1, 2, '2007-09-12 19:24:36'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (17, 'AIAA Journal', 'AIAA J.', 1, 2, 1, 2, '2007-09-12 18:53:30'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (19, 'Theoretical and Computational Fluid Dynamics', 'Theor. Comput. Fluid Dyn.', 1, 2, 1, 2, '2007-09-12 19:26:36'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (20, 'Journal of Propulsion and Power', 'J. Propul. Power', 1, 2, 1, 2, '2007-09-12 20:41:58'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (21, 'International Journal Thermal Sciences', 'Int. J. Therm. Sci.', 1, 2, 1, 2, '2007-09-12 20:31:11'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (22, 'Chemical Engineering Science', 'Chem. Eng. Sci.', 1, 2, 1, 2, '2007-09-12 19:14:16'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (151, 'Earth Surface Processes and Landforms', 'Earth Surf. Process. Landf.', 1, 2, 1, 2, '2007-09-12 20:03:44'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (24, 'IMA Journal of Applied Mathematics', 'IMA J. Appl. Math.', 1, 2, 1, 1, '2007-09-12 20:25:50'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (25, 'Advances in Chemical Physics', 'Advances in Chemical Physics', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (26, 'Comptes Rendus Acad. Sci., Série IIb', 'Comptes Rendus Acad. Sci., Série IIb', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (27, 'Journal of Fluid Mechanics', 'J. Fluid Mech.', 1, 2, 1, 2, '2007-09-12 20:15:04'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (28, 'Journal of Turbomachinery', 'Journal of Turbomachinery', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (29, 'Journal of Fluids Engineering', 'J. Fluids Eng.', 1, 2, 1, 1, '2008-05-23 09:19:39'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (30, 'Revue de l''I.F.P.', 'Revue de l''I.F.P.', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (31, 'Technica', 'Technica', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (32, 'Revue des Ingénieurs de l''Automobile', 'Revue des Ingénieurs de l''Automobile', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (33, 'Journal d''Acoustique', 'Journal d''Acoustique', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (34, 'Journal de Physique (supplément)', 'Journal de Physique (supplément)', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (35, 'Physics of Fluids', 'Phys. Fluids', 1, 2, 1, 2, '2007-09-12 20:18:18'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (36, 'Journal de Physique, Colloque C3', 'Journal de Physique, Colloque C3', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (37, 'ERCOFTAC Bulletin', 'ERCOFTAC Bulletin', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (38, 'Physico-Chemical Hydrodynamics', 'Physico-Chemical Hydrodynamics', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (39, 'Journal of the Acoustical Society of America', 'J. Acoust. Soc. Am.', 1, 2, 1, 2, '2007-09-12 20:43:15'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (40, 'Chemical Senses', 'Chem. Senses', 1, 2, 1, 2, '2007-09-12 19:16:13'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (41, 'Atmospheric Environment', 'Atmos. Environ.', 1, 2, 1, 2, '2007-09-12 19:01:25'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (42, 'Journal of Hazardous Materials', 'J. Hazard. Mater.', 1, 2, 1, 2, '2007-09-12 20:38:20'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (43, 'European Journal of Mechanics B-Fluids', 'Eur. J. Mech. B-Fluids', 1, 2, 1, 2, '2007-09-12 20:05:43'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (44, 'International Journal of Heat and Mass Transfer', 'Int. J. Heat Mass Transf.', 1, 2, 1, 2, '2007-09-12 20:20:07'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (45, 'JAMA : supplément à l''édition française', 'JAMA : supplément à l''édition française', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (46, 'SPECTRA 2000', 'SPECTRA 2000', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (47, 'Journal de Physique III', 'Journal de Physique III', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (48, 'Journal de Physique IV, Colloque C1', 'Journal de Physique IV, Colloque C1', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (49, 'Combustion Science and Technology', 'Combust. Sci. Technol.', 1, 2, 1, 2, '2007-09-12 19:19:29'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (50, 'Revue Scientifique et Technique de la Défense', 'Revue Scientifique et Technique de la Défense', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (51, 'Entretiens Science et Défense', 'Entretiens Science et Défense', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (52, 'Revue Générale de Thermique', 'Revue Générale de Thermique', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (53, 'Revue Scientifique de la SNECMA', 'Revue Scientifique de la SNECMA', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (54, 'Combustion and Flame', 'Combust. Flame', 1, 2, 1, 2, '2007-09-12 19:18:38'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (55, 'International Journal of Thermophysics', 'Int. J. Thermophys.', 1, 2, 1, 2, '2007-09-12 20:30:11'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (56, 'Applied Scientific Research', 'Applied Scientific Research', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (57, 'Applied Acoustics', 'Appl. Acoust.', 1, 2, 1, 2, '2007-09-12 18:57:50'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (58, 'Waves in Random and Complex Media', 'Waves Random Complex Media', 1, 2, 1, 2, '2007-09-12 21:02:04'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (59, 'Journal of Hydraulic Research', 'J. Hydraul. Res.', 1, 2, 1, 2, '2007-09-12 20:39:43'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (60, 'Experiments in Fluids', 'Exp. Fluids', 1, 2, 1, 2, '2007-09-12 20:10:03'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (61, 'Acustica', 'Acustica', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (62, 'Journal de Physique', 'Journal de Physique', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (63, 'Fluid Dynamics Research', 'Fluid Dyn. Res.', 1, 2, 1, 2, '2007-09-12 20:12:46'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (64, 'Numerical Heat Transfer Part A-Applications', 'Numer. Heat Transf. A-Appl.', 1, 2, 1, 2, '2007-09-12 20:21:40'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (65, 'Smart Materials and Structures', 'Smart Mat. Struct.', 1, 2, 1, 2, '2007-09-12 20:59:05'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (66, 'Acta Acustica', 'Acta Acustica', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (67, 'Journal of Crystal Growth', 'J. Cryst. Growth', 1, 2, 1, 2, '2007-09-12 20:35:06'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (68, 'International Journal of Multiphase Flow', 'Int. J. Multiph. Flow', 1, 2, 1, 2, '2007-09-12 20:28:52'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (69, 'Multiphase Science and Technology', 'Multiphase Science and Technology', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (70, 'Journal of Computational Physics', 'J. Comput. Phys.', 1, 2, 1, 2, '2007-09-12 19:25:05'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (71, 'Journal of Sound and Vibration', 'J. Sound Vib.', 1, 2, 1, 2, '2007-09-12 20:42:34'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (72, 'Applied Optics', 'Appl. Optics', 1, 2, 1, 2, '2007-09-12 18:58:57'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (73, 'Entropie', 'Entropie', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (74, 'Revue Française de Mécanique', 'Revue Française de Mécanique', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (75, 'International Journal of Numerical Methods for Heat and Fluid Flow', 'Int. J. Numer. Methods Heat Fluid Flow', 1, 2, 1, 2, '2007-09-12 20:14:30'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (76, 'Journal of Flow Visualization and Image Processing', 'Journal of Flow Visualization and Image Processing', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (77, 'Microgravity Quarterly', 'Microgravity Quarterly', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (78, 'IMechE Conf. Transactions', 'IMechE Conf. Transactions', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (79, 'Chemical Engineering Communications', 'Chem. Eng. Commun.', 1, 2, 1, 2, '2007-09-12 19:13:26'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (80, 'Isotopes', 'Isotopes', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (82, 'Journal of Thermal Science', 'Journal of Thermal Science', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (83, 'Measurement Science & Technology', 'Meas. Sci. Technol.', 1, 2, 1, 2, '2007-09-12 20:51:13'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (84, 'Lettre d''information du CNUSC', 'Lettre d''information du CNUSC', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (85, 'Experimental Thermal and Fluid Science', 'Exp. Therm. Fluid Sci.', 1, 2, 1, 2, '2007-09-12 20:09:08'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (87, 'Advances Space Research', 'Advances Space Research', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (88, 'Review of Scientific Instruments', 'Rev. Sci. Instrum.', 1, 2, 1, 2, '2007-09-12 20:57:20'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (89, 'International Journal of Heat and Fluid Flow', 'Int. J. Heat Fluid Flow', 1, 2, 1, 2, '2007-09-12 20:13:45'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (90, 'SAE Transactions', 'SAE Transactions', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (91, 'Flow Turbulence and Combustion', 'Flow Turbul. Combust.', 1, 2, 1, 2, '2007-09-12 20:10:47'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (92, 'European Physical Journal-Applied Physics', 'Eur. Phys. J.-Appl. Phys.', 1, 2, 1, 2, '2007-09-12 20:07:28'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (93, 'High Temperatures - High Pressures', 'High Temperatures - High Pressures', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (94, 'Science in China', 'Science in China', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (95, 'International Journal of Bifurcation and Chaos', 'Int. J. Bifurcation Chaos', 1, 2, 1, 2, '2007-09-12 20:27:28'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (96, 'European Physical Journal B', 'Eur. Phys. J. B', 1, 2, 1, 2, '2007-09-12 20:06:50'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (97, 'Journal de Chimie Physique', 'Journal de Chimie Physique', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (98, 'International Journal of Transport Phenomena', 'Int. J. Transport Phen.', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (99, 'Journal of Loss Prevention in the Process Industries', 'J. Loss Prev. Process Ind.', 1, 2, 1, 2, '2007-09-12 20:41:01'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (100, 'Acta Mechanica Sinica', 'Acta Mech. Sin.', 1, 2, 1, 2, '2007-09-12 18:50:57'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (101, 'Limnology and Oceanography', 'Limnol. Oceanogr.', 1, 2, 1, 2, '2007-09-12 20:47:50'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (102, 'Journal of Thermal Analysis and Calorimetry', 'J. Therm. Anal. Calorim.', 1, 2, 1, 2, '2007-09-12 20:45:13'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (103, 'Journal of Fish Biology', 'J. Fish Biol.', 1, 2, 1, 2, '2007-09-12 20:37:05'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (104, 'Annals of the New York Academy of Sciences', 'Ann. NY Acad. Sci.', 1, 2, 1, 2, '2007-09-12 18:55:20'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (105, 'Mécanique et Industries', 'Mécanique et Industries', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (106, 'International Journal of Computational Fluid Dynamics', 'Int. J. Comput. Fluid Dyn.', 1, 2, 1, 2, '2007-09-12 19:23:29'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (107, 'Combustion', 'Combustion', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (108, 'Computational Mechanics', 'Comput. Mech.', 1, 2, 1, 2, '2007-09-12 19:21:46'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (109, 'Revue Officielle de la Société Française d''O.R.L.', 'Revue Officielle de la Société Française d''O.R.L.', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (110, 'Journal of Transport and Communication', 'Journal of Transport and Communication', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (111, 'Proc. IMechE Part A, Journal of Power and Energy', 'Proc. IMechE Part A, Journal of Power and Energy', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (112, 'Atomization and Sprays', 'Atom. Sprays', 1, 2, 1, 2, '2007-09-12 19:02:20'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (113, 'Pour la Science - Dossier Hors-Série', 'Pour la Science - Dossier Hors-Série', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (114, 'Revue Scientifique et Technique (vietnamienne)', 'Revue Scientifique et Technique (vietnamienne)', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (115, 'Vietnam Journal of Mechanics, NCST of Vietnam', 'Vietnam Journal of Mechanics, NCST of Vietnam', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (152, 'Experiments and Measurements in Fluid Mechanics', 'Exp. Measur. Fluid Mech.', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (117, 'Trans. Japan Soc. Mech. Engrs', 'Trans. Japan Soc. Mech. Engrs', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (118, 'ARI (Int. J. Phys. and Eng. Sci.)', 'ARI (Int. J. Phys. and Eng. Sci.)', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (119, 'International Journal of Environment and Pollution', 'Int. J. Environ. Pollut.', 1, 2, 1, 2, '2007-09-12 20:28:10'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (120, 'Comptes Rendus Mécanique', 'C. R. Méc.', 1, 2, 1, 2, '2007-09-12 19:20:41'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (121, 'Journal of Fluids and Structures', 'J. Fluids Struct.', 1, 2, 1, 2, '2007-09-12 20:17:32'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (122, 'Powder Technology', 'Powder Technol.', 1, 2, 1, 2, '2007-09-12 20:54:52'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (123, 'Journal of Turbulence', 'J. Turbul.', 1, 2, 1, 2, '2007-09-12 20:46:32'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (125, 'Quarterly Journal of Mechanics and Applied Mathematics', 'Q. J. Mech. Appl. Math.', 1, 2, 1, 2, '2007-09-12 21:00:21'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (129, 'Proceedings of the Royal Society A-Mathematical Physical and Engineering Sciences', 'Proc. R. Soc. A-Math. Phys. Eng. Sci.', 1, 2, 1, 2, '2007-09-12 20:55:40'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (130, 'International Journal of Aeroacoustics', 'Int. J. Aeroacoustics', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (150, 'Boundary Layer Meteorology', 'Boundary Layer Meteorol.', 0, 2, 1, 1, '2008-06-11 16:33:24'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (132, 'International Journal of Rotating Machinery', 'Int. J. Rot. Machin.', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (133, 'New Journal of Physics', 'New J. Phys.', 1, 2, 1, 2, '2007-09-12 20:52:51'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (134, 'Chinese Journal of Computational Physics', 'Chinese Journal of Computational Physics', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (135, 'Cryogenics', 'Cryogenics', 1, 2, 1, 2, '2007-09-12 20:02:41'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (136, 'AIChE journal', 'AIChE journal', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (137, 'International Journal of Dynamics of Fluids', 'Int. J. Dyn. Fluids', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (138, 'High Temperature Material Processes', 'High Temp. Mat. Process', 1, 2, 1, 1, '2007-09-12 20:23:52'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (139, 'Bulletin de l\\''Union des Physiciens', 'Bulletin de l\\''Union des Physiciens', 3, 2, 1, 1, '2008-02-19 10:37:24'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (140, 'Computer Methods in Biomechanics and Biomedical Engineering', 'Computer Methods in Biomechanics and Biomedical Engineering', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (144, 'Journal of Engineering Mathematics', 'J. Eng. Math.', 1, 2, 1, 2, '2007-09-12 20:36:06'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (145, 'Physical Review E', 'Phys. Rev. E', 1, 2, 1, 1, '2007-09-12 20:53:46'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (146, 'Progress in Computational Fluid Dynamics', 'Prog. Comput. Fluid Dyn.', 1, 2, 1, 2, '2007-09-12 19:26:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (147, 'Journal of Applied Mechanics-Transactions of the ASME', 'J. Appl. Mech.-Trans. ASME', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (148, 'Physica D-Nonlinear Phenomena', 'Physica D', 1, 2, 1, 2, '2007-09-12 20:53:32'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (149, 'Fluid Dynamics and Material Processing', 'Fluid Dyn. Material Proc.', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (163, 'Journal of the Electrochemical Society', 'J. Electrochem. Soc.', 1, 2, 1, 2, '2007-09-12 20:44:17'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (162, 'Heat and Mass Transfer', 'Heat Mass Transf.', 1, 2, 1, 2, '2007-09-12 20:19:25'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (166, 'Progress in Astronautics and Aeronautics', 'Progress Astronautics Aeronautics', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (165, 'Lecture Notes in Physics', 'Lect. Notes Phys.', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (167, 'Notes on Numerical Fluid Mechanics', 'Notes Num. Fluid Mech.', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (168, 'European Space Agency Publications', 'ESA Publications', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (169, 'Numerical Methods in Thermal Problems', 'Num. Methods Thermal Problems', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (170, 'Advances in Fluid Mechanics', 'Advances in Fluid Mechanics', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (171, 'Récents Progrès en Génie des Procédés', 'Récents Progrès en Génie des Procédés', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (172, 'ASME / Heat Transfer Division', 'ASME / Heat Transfer Division', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (173, 'Cold Regions Science and Technology', 'Cold Reg. Sci. Tech.', 1, 2, 1, 2, '2007-09-12 19:17:44'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (174, 'Acta Acustica united with Acustica', 'Acta Acust. United Acust.', 1, 2, 1, 2, '2007-09-12 18:49:17'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (175, 'Journal of Hydraulic Engineering', 'Journal of Hydraulic Engineering', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (176, 'Water Science and Technology', 'Water Sci. Technol.', 0, 2, 1, 1, '2008-06-11 16:27:02'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (177, 'Computers & Fluids', 'Comput. Fluids', 1, 2, 1, 2, '2007-09-12 20:02:02'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (178, 'Acoustical Physics', 'Acoust. Phys.', 0, 2, 1, 1, '2008-06-11 16:29:18'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (179, 'Le journal de Mickey', 'J. Mickey', 10, 2, 1, 0, '2007-09-12 18:35:33'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (180, 'Aeronautical Journal', 'Aeronaut. J.', 1, 2, 1, 0, '2007-11-12 14:02:35'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (181, 'Télérama', 'Télérama', 10, 2, 1, 0, '2008-01-14 09:16:05'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (182, 'Natural Hazards and Earth System Sciences', 'Nat. Hazards Earth Syst. Sci.', 1, 2, 1, 0, '2008-02-12 14:35:21'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (183, 'Mechanical Systems and Signal Processing', 'Mechanical Systems and Signal Processing', 1, 2, 1, 0, '2008-04-30 18:51:27'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (184, 'Journal of the Optical Society of America A', 'J. Opt. Soc. Am. A', 1, 2, 1, 1, '2008-04-30 19:17:07'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (185, 'Journal of the Energy Institute', 'Journal of the Energy Institute', 1, 2, 1, 0, '2008-04-30 19:40:39'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (186, 'Nuclear Engineering and Design', 'Nucl. Eng. Des.', 1, 2, 1, 1, '2008-04-30 19:58:14'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (187, 'Physical Review Letters', 'Phys. Rev. Lett.', 1, 2, 1, 2, '2008-05-13 11:24:18'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (188, 'Journal of Physics. D, Applied Physics', 'J. Phys., D. Appl. Phys.', 1, 2, 1, 1, '2008-05-26 17:07:17'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (189, 'New Phytologist', 'New Phytol.', 1, 2, 1, 0, '2008-05-27 14:41:31'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (190, 'Noise Control Engineering Journal', 'Noise Control Eng. J.', 1, 2, 1, 0, '2008-06-12 14:19:39'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (191, 'Aerospace Science and Technology', 'Aerosp. Sci. Technol.', 1, 2, 1, 0, '2008-06-12 16:13:03'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (192, 'Optics Letters', 'Opt. Lett.', 1, 2, 1, 0, '2008-09-10 15:39:22'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (193, 'Physics of Plasmas', 'Phys. Plasmas', 1, 2, 1, 0, '2008-10-31 11:08:16'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (194, 'Acoustique et Techniques', 'Acoust. Tech.', 0, 1, 0, 0, '2008-12-12 17:33:47'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (195, 'Water Ressources Research', 'Water Resour. Res.', 1, 2, 1, 1, '2008-12-18 13:32:50'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (196, 'International Review of Mechanical Engineering', 'IREME', 0, 2, 1, 1, '2009-02-23 17:14:38'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (197, 'Physica Scripta', 'Phys. Scr.', 1, 2, 1, 0, '2009-02-17 11:31:37'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (198, 'Combustion Theory and Modelling', 'Combust. Theory Model.', 1, 2, 1, 1, '2009-02-23 11:58:49'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (199, 'International Review of Aerospace Engineering', 'IREASE', 0, 2, 1, 0, '2009-02-23 17:18:35'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (200, 'International Review on Modelling and Simulations', 'IREMOS', 0, 2, 1, 0, '2009-02-23 17:19:12'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (201, 'European Physical Journal – Special Topics', 'Eur. Phys. J. - Spec. Top.', 1, 2, 1, 0, '2009-02-24 16:48:07'); -- -------------------------------------------------------- -- -- Table structure for table `language` -- DROP TABLE IF EXISTS `language`; CREATE TABLE `language` ( `iso` char(2) NOT NULL default '', `name` varchar(255) NOT NULL default '', PRIMARY KEY (`iso`) ) TYPE=MyISAM; -- -- Dumping data for table `language` -- INSERT INTO `language` (`iso`, `name`) VALUES ('EN', 'Anglais'); INSERT INTO `language` (`iso`, `name`) VALUES ('FR', 'Français'); INSERT INTO `language` (`iso`, `name`) VALUES ('AF', 'Afrikaans'); INSERT INTO `language` (`iso`, `name`) VALUES ('AA', 'Afar'); INSERT INTO `language` (`iso`, `name`) VALUES ('AB', 'Abkhaze'); INSERT INTO `language` (`iso`, `name`) VALUES ('AK', 'Akan'); INSERT INTO `language` (`iso`, `name`) VALUES ('SQ', 'Albanais'); INSERT INTO `language` (`iso`, `name`) VALUES ('DE', 'Allemand'); INSERT INTO `language` (`iso`, `name`) VALUES ('AM', 'Amharique'); INSERT INTO `language` (`iso`, `name`) VALUES ('AR', 'Arabe'); INSERT INTO `language` (`iso`, `name`) VALUES ('AN', 'Aragonais'); INSERT INTO `language` (`iso`, `name`) VALUES ('HY', 'Arménien'); INSERT INTO `language` (`iso`, `name`) VALUES ('AS', 'Assamais'); INSERT INTO `language` (`iso`, `name`) VALUES ('AV', 'Avar'); INSERT INTO `language` (`iso`, `name`) VALUES ('AE', 'Avestique'); INSERT INTO `language` (`iso`, `name`) VALUES ('AY', 'Aymara'); INSERT INTO `language` (`iso`, `name`) VALUES ('AZ', 'Azéri'); INSERT INTO `language` (`iso`, `name`) VALUES ('BA', 'Bachkir'); INSERT INTO `language` (`iso`, `name`) VALUES ('BM', 'Bambara'); INSERT INTO `language` (`iso`, `name`) VALUES ('EU', 'Basque'); INSERT INTO `language` (`iso`, `name`) VALUES ('BN', 'Bengali'); INSERT INTO `language` (`iso`, `name`) VALUES ('BI', 'Bichlamar'); INSERT INTO `language` (`iso`, `name`) VALUES ('BE', 'Biélorusse'); INSERT INTO `language` (`iso`, `name`) VALUES ('BH', 'Bihari'); INSERT INTO `language` (`iso`, `name`) VALUES ('MY', 'Birman'); INSERT INTO `language` (`iso`, `name`) VALUES ('BS', 'Bosniaque'); INSERT INTO `language` (`iso`, `name`) VALUES ('BR', 'Breton'); INSERT INTO `language` (`iso`, `name`) VALUES ('BG', 'Bulgare'); INSERT INTO `language` (`iso`, `name`) VALUES ('CA', 'Catalan'); INSERT INTO `language` (`iso`, `name`) VALUES ('CH', 'Chamorro'); INSERT INTO `language` (`iso`, `name`) VALUES ('NY', 'Chichewa'); INSERT INTO `language` (`iso`, `name`) VALUES ('ZH', 'Chinois'); INSERT INTO `language` (`iso`, `name`) VALUES ('KO', 'Coréen'); INSERT INTO `language` (`iso`, `name`) VALUES ('KW', 'Cornique'); INSERT INTO `language` (`iso`, `name`) VALUES ('CO', 'Corse'); INSERT INTO `language` (`iso`, `name`) VALUES ('CR', 'Cree'); INSERT INTO `language` (`iso`, `name`) VALUES ('HR', 'Croate'); INSERT INTO `language` (`iso`, `name`) VALUES ('DA', 'Danois'); INSERT INTO `language` (`iso`, `name`) VALUES ('DZ', 'Dzongkha'); INSERT INTO `language` (`iso`, `name`) VALUES ('ES', 'Espagnol'); INSERT INTO `language` (`iso`, `name`) VALUES ('EO', 'Espéranto'); INSERT INTO `language` (`iso`, `name`) VALUES ('ET', 'Estonien'); INSERT INTO `language` (`iso`, `name`) VALUES ('EE', 'Éwé'); INSERT INTO `language` (`iso`, `name`) VALUES ('FO', 'Féroïen'); INSERT INTO `language` (`iso`, `name`) VALUES ('FJ', 'Fidjien'); INSERT INTO `language` (`iso`, `name`) VALUES ('FI', 'Finnois'); INSERT INTO `language` (`iso`, `name`) VALUES ('FL', 'Flamand'); INSERT INTO `language` (`iso`, `name`) VALUES ('FY', 'Frison'); INSERT INTO `language` (`iso`, `name`) VALUES ('GD', 'Gaélique'); INSERT INTO `language` (`iso`, `name`) VALUES ('GL', 'Galicien'); INSERT INTO `language` (`iso`, `name`) VALUES ('OM', 'Galla'); INSERT INTO `language` (`iso`, `name`) VALUES ('CY', 'Gallois'); INSERT INTO `language` (`iso`, `name`) VALUES ('LG', 'Ganda'); INSERT INTO `language` (`iso`, `name`) VALUES ('KA', 'Géorgien'); INSERT INTO `language` (`iso`, `name`) VALUES ('GU', 'Goudjrati'); INSERT INTO `language` (`iso`, `name`) VALUES ('EL', 'Grec'); INSERT INTO `language` (`iso`, `name`) VALUES ('KL', 'Groenlandais'); INSERT INTO `language` (`iso`, `name`) VALUES ('GN', 'Guarani'); INSERT INTO `language` (`iso`, `name`) VALUES ('HT', 'Haïtien'); INSERT INTO `language` (`iso`, `name`) VALUES ('HA', 'Haoussa'); INSERT INTO `language` (`iso`, `name`) VALUES ('HE', 'Hébreu'); INSERT INTO `language` (`iso`, `name`) VALUES ('HZ', 'Herero'); INSERT INTO `language` (`iso`, `name`) VALUES ('HI', 'Hindi'); INSERT INTO `language` (`iso`, `name`) VALUES ('HO', 'Hiri Motu'); INSERT INTO `language` (`iso`, `name`) VALUES ('HU', 'Hongrois'); INSERT INTO `language` (`iso`, `name`) VALUES ('IO', 'Ido'); INSERT INTO `language` (`iso`, `name`) VALUES ('IG', 'Igbo'); INSERT INTO `language` (`iso`, `name`) VALUES ('ID', 'Indonésien'); INSERT INTO `language` (`iso`, `name`) VALUES ('IE', 'Interlingue'); INSERT INTO `language` (`iso`, `name`) VALUES ('IU', 'Inuktitut'); INSERT INTO `language` (`iso`, `name`) VALUES ('IK', 'Inupiaq'); INSERT INTO `language` (`iso`, `name`) VALUES ('GA', 'Irlandais'); INSERT INTO `language` (`iso`, `name`) VALUES ('IS', 'Islandais'); INSERT INTO `language` (`iso`, `name`) VALUES ('IT', 'Italien'); INSERT INTO `language` (`iso`, `name`) VALUES ('JA', 'Japonais'); INSERT INTO `language` (`iso`, `name`) VALUES ('JV', 'Javanais'); INSERT INTO `language` (`iso`, `name`) VALUES ('KN', 'Kannada'); INSERT INTO `language` (`iso`, `name`) VALUES ('KR', 'Kanouri'); INSERT INTO `language` (`iso`, `name`) VALUES ('KS', 'Kashmiri'); INSERT INTO `language` (`iso`, `name`) VALUES ('KK', 'Kazakh'); INSERT INTO `language` (`iso`, `name`) VALUES ('KM', 'Khmer'); INSERT INTO `language` (`iso`, `name`) VALUES ('KI', 'Kikuyu'); INSERT INTO `language` (`iso`, `name`) VALUES ('KY', 'Kirghize'); INSERT INTO `language` (`iso`, `name`) VALUES ('KV', 'Kom'); INSERT INTO `language` (`iso`, `name`) VALUES ('KG', 'Kongo'); INSERT INTO `language` (`iso`, `name`) VALUES ('KJ', 'Kuanyama'); INSERT INTO `language` (`iso`, `name`) VALUES ('KU', 'Kurde'); INSERT INTO `language` (`iso`, `name`) VALUES ('LO', 'Lao'); INSERT INTO `language` (`iso`, `name`) VALUES ('LA', 'Latin'); INSERT INTO `language` (`iso`, `name`) VALUES ('LV', 'Letton'); INSERT INTO `language` (`iso`, `name`) VALUES ('LI', 'Limbourgeois'); INSERT INTO `language` (`iso`, `name`) VALUES ('LN', 'Lingala'); INSERT INTO `language` (`iso`, `name`) VALUES ('LT', 'Lituanien'); INSERT INTO `language` (`iso`, `name`) VALUES ('LU', 'Luba-Katanga'); INSERT INTO `language` (`iso`, `name`) VALUES ('LB', 'Luxembourgeois'); INSERT INTO `language` (`iso`, `name`) VALUES ('MK', 'Macédonien'); INSERT INTO `language` (`iso`, `name`) VALUES ('MS', 'Malais'); INSERT INTO `language` (`iso`, `name`) VALUES ('ML', 'Malayalam'); INSERT INTO `language` (`iso`, `name`) VALUES ('DV', 'Maldivien'); INSERT INTO `language` (`iso`, `name`) VALUES ('MG', 'Malgache'); INSERT INTO `language` (`iso`, `name`) VALUES ('MT', 'Maltais'); INSERT INTO `language` (`iso`, `name`) VALUES ('GV', 'Mannois'); INSERT INTO `language` (`iso`, `name`) VALUES ('MI', 'Maori'); INSERT INTO `language` (`iso`, `name`) VALUES ('MR', 'Marathe'); INSERT INTO `language` (`iso`, `name`) VALUES ('MH', 'Marshall'); INSERT INTO `language` (`iso`, `name`) VALUES ('MO', 'Moldave'); INSERT INTO `language` (`iso`, `name`) VALUES ('MN', 'Mongol'); INSERT INTO `language` (`iso`, `name`) VALUES ('NA', 'Nauruan'); INSERT INTO `language` (`iso`, `name`) VALUES ('NV', 'Navaho'); INSERT INTO `language` (`iso`, `name`) VALUES ('ND', 'Ndébélé du Sud'); INSERT INTO `language` (`iso`, `name`) VALUES ('NG', 'Ndonga'); INSERT INTO `language` (`iso`, `name`) VALUES ('NL', 'Néerlandais'); INSERT INTO `language` (`iso`, `name`) VALUES ('NE', 'Népalais'); INSERT INTO `language` (`iso`, `name`) VALUES ('NO', 'Norvégien'); INSERT INTO `language` (`iso`, `name`) VALUES ('NB', 'Norvégien Bokmål'); INSERT INTO `language` (`iso`, `name`) VALUES ('NN', 'Norvégien Nynorsk'); INSERT INTO `language` (`iso`, `name`) VALUES ('OJ', 'Ojibwa'); INSERT INTO `language` (`iso`, `name`) VALUES ('OR', 'Oriya'); INSERT INTO `language` (`iso`, `name`) VALUES ('OS', 'Ossète'); INSERT INTO `language` (`iso`, `name`) VALUES ('UG', 'Ouïgour'); INSERT INTO `language` (`iso`, `name`) VALUES ('UR', 'Ourdou'); INSERT INTO `language` (`iso`, `name`) VALUES ('UZ', 'Ouszbek'); INSERT INTO `language` (`iso`, `name`) VALUES ('PS', 'Pachto'); INSERT INTO `language` (`iso`, `name`) VALUES ('PI', 'Pali'); INSERT INTO `language` (`iso`, `name`) VALUES ('PA', 'Pendjabi'); INSERT INTO `language` (`iso`, `name`) VALUES ('FA', 'Persan'); INSERT INTO `language` (`iso`, `name`) VALUES ('FF', 'Peul'); INSERT INTO `language` (`iso`, `name`) VALUES ('PL', 'Polonais'); INSERT INTO `language` (`iso`, `name`) VALUES ('PT', 'Portugais'); INSERT INTO `language` (`iso`, `name`) VALUES ('QU', 'Quechua'); INSERT INTO `language` (`iso`, `name`) VALUES ('RM', 'Rhéto-Roman'); INSERT INTO `language` (`iso`, `name`) VALUES ('RO', 'Roumain'); INSERT INTO `language` (`iso`, `name`) VALUES ('RN', 'Rundi'); INSERT INTO `language` (`iso`, `name`) VALUES ('RU', 'Russe'); INSERT INTO `language` (`iso`, `name`) VALUES ('RW', 'Rwanda'); INSERT INTO `language` (`iso`, `name`) VALUES ('SE', 'Sami du Nord'); INSERT INTO `language` (`iso`, `name`) VALUES ('SM', 'Samoan'); INSERT INTO `language` (`iso`, `name`) VALUES ('SG', 'Sango'); INSERT INTO `language` (`iso`, `name`) VALUES ('SA', 'Sanskrit'); INSERT INTO `language` (`iso`, `name`) VALUES ('SC', 'Sarde'); INSERT INTO `language` (`iso`, `name`) VALUES ('SR', 'Serbe'); INSERT INTO `language` (`iso`, `name`) VALUES ('SN', 'Shona'); INSERT INTO `language` (`iso`, `name`) VALUES ('SD', 'Sindhi'); INSERT INTO `language` (`iso`, `name`) VALUES ('SI', 'Singhalais'); INSERT INTO `language` (`iso`, `name`) VALUES ('SK', 'Slovaque'); INSERT INTO `language` (`iso`, `name`) VALUES ('SL', 'Slovène'); INSERT INTO `language` (`iso`, `name`) VALUES ('SO', 'Somali'); INSERT INTO `language` (`iso`, `name`) VALUES ('ST', 'Sotho du Sud'); INSERT INTO `language` (`iso`, `name`) VALUES ('SU', 'Soundanais'); INSERT INTO `language` (`iso`, `name`) VALUES ('SV', 'Suédois'); INSERT INTO `language` (`iso`, `name`) VALUES ('SW', 'Swahili'); INSERT INTO `language` (`iso`, `name`) VALUES ('SS', 'Swati'); INSERT INTO `language` (`iso`, `name`) VALUES ('TG', 'Tadjik'); INSERT INTO `language` (`iso`, `name`) VALUES ('TL', 'Tagalog'); INSERT INTO `language` (`iso`, `name`) VALUES ('TY', 'Tahitien'); INSERT INTO `language` (`iso`, `name`) VALUES ('TA', 'Tamoul'); INSERT INTO `language` (`iso`, `name`) VALUES ('TT', 'Tatar'); INSERT INTO `language` (`iso`, `name`) VALUES ('CS', 'Tchèque'); INSERT INTO `language` (`iso`, `name`) VALUES ('CE', 'Tchétchène'); INSERT INTO `language` (`iso`, `name`) VALUES ('CV', 'Tchouvache'); INSERT INTO `language` (`iso`, `name`) VALUES ('TE', 'Télougou'); INSERT INTO `language` (`iso`, `name`) VALUES ('TH', 'Thaï'); INSERT INTO `language` (`iso`, `name`) VALUES ('BO', 'Tibétain'); INSERT INTO `language` (`iso`, `name`) VALUES ('TI', 'Tigrigna'); INSERT INTO `language` (`iso`, `name`) VALUES ('TO', 'Tongan'); INSERT INTO `language` (`iso`, `name`) VALUES ('TS', 'Tsonga'); INSERT INTO `language` (`iso`, `name`) VALUES ('TN', 'Tswana'); INSERT INTO `language` (`iso`, `name`) VALUES ('TR', 'Turc'); INSERT INTO `language` (`iso`, `name`) VALUES ('TK', 'Turkmène'); INSERT INTO `language` (`iso`, `name`) VALUES ('TW', 'Twi'); INSERT INTO `language` (`iso`, `name`) VALUES ('UK', 'Ukrainien'); INSERT INTO `language` (`iso`, `name`) VALUES ('VE', 'Venda'); INSERT INTO `language` (`iso`, `name`) VALUES ('VI', 'Vietnamien'); INSERT INTO `language` (`iso`, `name`) VALUES ('VO', 'Volapük'); INSERT INTO `language` (`iso`, `name`) VALUES ('WA', 'Wallon'); INSERT INTO `language` (`iso`, `name`) VALUES ('WO', 'Wolof'); INSERT INTO `language` (`iso`, `name`) VALUES ('XH', 'Xhosa'); INSERT INTO `language` (`iso`, `name`) VALUES ('II', 'Yi de Sichuan'); INSERT INTO `language` (`iso`, `name`) VALUES ('YI', 'Yiddish'); INSERT INTO `language` (`iso`, `name`) VALUES ('YO', 'Yoruba'); INSERT INTO `language` (`iso`, `name`) VALUES ('ZA', 'Zhuang / Chuang'); INSERT INTO `language` (`iso`, `name`) VALUES ('ZU', 'Zoulou'); -- -------------------------------------------------------- -- -- Table structure for table `participer` -- DROP TABLE IF EXISTS `participer`; CREATE TABLE `participer` ( `id` int(10) unsigned NOT NULL auto_increment, `doc_id` int(10) unsigned NOT NULL default '0', `pers_id` int(10) unsigned NOT NULL default '0', `fonction_id` int(10) unsigned NOT NULL default '0', `rang` int(10) unsigned NOT NULL default '1', `log` int(10) unsigned NOT NULL default '0', `date` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`id`) ) TYPE=MyISAM AUTO_INCREMENT=1 ; -- -- Dumping data for table `participer` -- -- -------------------------------------------------------- -- -- Table structure for table `personne` -- DROP TABLE IF EXISTS `personne`; CREATE TABLE `personne` ( `pers_id` int(10) unsigned NOT NULL auto_increment, `pers_last` varchar(255) default NULL, `pers_first` varchar(255) default NULL, `lab` int(4) NOT NULL default '0', `log` int(10) unsigned NOT NULL default '0', `date` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`pers_id`) ) TYPE=MyISAM AUTO_INCREMENT=1 ; -- -- Dumping data for table `personne` -- -- -------------------------------------------------------- -- -- Table structure for table `priv` -- DROP TABLE IF EXISTS `priv`; CREATE TABLE `priv` ( `priv_id` int(2) NOT NULL default '0', `priv_libelle` varchar(64) NOT NULL default '' ) TYPE=MyISAM; -- -- Dumping data for table `priv` -- INSERT INTO `priv` (`priv_id`, `priv_libelle`) VALUES (0, 'user'); INSERT INTO `priv` (`priv_id`, `priv_libelle`) VALUES (1, 'admin'); INSERT INTO `priv` (`priv_id`, `priv_libelle`) VALUES (2, 'root'); -- -------------------------------------------------------- -- -- Table structure for table `publisher` -- DROP TABLE IF EXISTS `publisher`; CREATE TABLE `publisher` ( `publisher_id` int(10) unsigned NOT NULL auto_increment, `publisher_name` varchar(255) NOT NULL default '', `publisher_address` varchar(255) NOT NULL default '', `log` int(10) unsigned NOT NULL default '0', `date` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`publisher_id`) ) TYPE=MyISAM AUTO_INCREMENT=20 ; -- -- Dumping data for table `publisher` -- INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (1, 'International Center for Numerical Methods in Engineering (CIMNE)', 'Barcelona, Spain', 0, '2008-02-08 15:22:08'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (2, 'Kluwer Academic Publishers', 'Dordrecht, Boston, London', 0, '2008-02-08 15:25:50'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (3, 'International Glaciological Society', '', 0, '2008-02-12 14:44:40'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (4, 'MHD Pamir publications', 'Grenoble', 0, '2008-02-20 17:58:00'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (5, 'Springer', 'Dordrecht, The Netherlands', 2, '2008-02-22 15:25:03'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (6, 'Chemical and Biological Microsystems Society', '307 Laurel Street, San Diego, California 92101-1630 USA', 0, '2008-03-07 17:35:05'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (7, 'Société Hydrotechnique de France', '25 rue des Favorites 75015 Paris', 1, '2008-05-05 16:12:37'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (8, 'Association Française de Mécanique', 'Maison de la Mécanique, 39/41 rue Louis Blanc - 92400 Courbevoie', 0, '2008-05-13 10:27:25'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (9, 'Cambridge University Press', 'Cambridge, United Kingdom', 0, '2008-06-18 18:48:01'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (10, 'Ellipses Edition Marketing S.A.', '32, rue Bargue 75740 Paris cedex 15', 0, '2008-09-09 11:49:01'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (11, 'Multi-Science Publishing Co', '5 Wates Way, Brentwood, Essex CM15 9TB, UK', 0, '2008-09-26 11:51:48'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (13, 'Pineridge Press', '54, Newton Road, Mumbles, Swansea, U.K.', 0, '2008-10-01 16:59:42'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (14, 'VCH Verlagsgesellschaft', 'Postfach 101161, D-6940 Wainheim (Germany)', 0, '2008-10-02 11:08:47'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (15, 'Éditions Lavoisier - Technique et Documentation', '11 Rue Lavoisier, Paris, Paris 75008', 0, '2008-10-02 15:25:35'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (16, 'Friedrich Vieweg und Sohn', '', 0, '2008-10-02 16:00:05'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (17, 'AIAA', '', 0, '2008-12-10 13:33:45'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (18, 'European Acoustics Association', '', 0, '2008-12-15 19:21:12'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (19, 'International Institute of Noise Control Engineering', 'Purdue University West Lafayette, USA', 0, '2008-12-19 12:55:43'); -- -------------------------------------------------------- -- -- Table structure for table `soustypedoc` -- DROP TABLE IF EXISTS `soustypedoc`; CREATE TABLE `soustypedoc` ( `soustypedoc_id` int(10) unsigned NOT NULL default '0', `soustypedoc_libelle` varchar(255) default NULL, PRIMARY KEY (`soustypedoc_id`) ) TYPE=MyISAM; -- -- Dumping data for table `soustypedoc` -- INSERT INTO `soustypedoc` (`soustypedoc_id`, `soustypedoc_libelle`) VALUES (60, 'thèse de doctorat'); INSERT INTO `soustypedoc` (`soustypedoc_id`, `soustypedoc_libelle`) VALUES (61, 'habilitation à diriger des recherches'); INSERT INTO `soustypedoc` (`soustypedoc_id`, `soustypedoc_libelle`) VALUES (0, 'aucun'); INSERT INTO `soustypedoc` (`soustypedoc_id`, `soustypedoc_libelle`) VALUES (80, 'communication non invitée'); INSERT INTO `soustypedoc` (`soustypedoc_id`, `soustypedoc_libelle`) VALUES (81, 'communication invitée'); INSERT INTO `soustypedoc` (`soustypedoc_id`, `soustypedoc_libelle`) VALUES (30, 'communication non invitée'); INSERT INTO `soustypedoc` (`soustypedoc_id`, `soustypedoc_libelle`) VALUES (31, 'communication invitée'); -- -------------------------------------------------------- -- -- Table structure for table `tables` -- DROP TABLE IF EXISTS `tables`; CREATE TABLE `tables` ( `table_id` int(10) unsigned NOT NULL auto_increment, `table_name` varchar(255) NOT NULL default '', PRIMARY KEY (`table_id`) ) TYPE=MyISAM AUTO_INCREMENT=13 ; -- -- Dumping data for table `tables` -- INSERT INTO `tables` (`table_id`, `table_name`) VALUES (1, 'personne'); INSERT INTO `tables` (`table_id`, `table_name`) VALUES (2, 'journal'); INSERT INTO `tables` (`table_id`, `table_name`) VALUES (3, 'document'); INSERT INTO `tables` (`table_id`, `table_name`) VALUES (4, 'participer'); INSERT INTO `tables` (`table_id`, `table_name`) VALUES (5, 'fonction'); INSERT INTO `tables` (`table_id`, `table_name`) VALUES (6, 'typedoc'); INSERT INTO `tables` (`table_id`, `table_name`) VALUES (7, 'user'); INSERT INTO `tables` (`table_id`, `table_name`) VALUES (8, 'history'); INSERT INTO `tables` (`table_id`, `table_name`) VALUES (9, 'groupes'); INSERT INTO `tables` (`table_id`, `table_name`) VALUES (10, 'publisher'); INSERT INTO `tables` (`table_id`, `table_name`) VALUES (11, 'conference'); -- -------------------------------------------------------- -- -- Table structure for table `typedoc` -- DROP TABLE IF EXISTS `typedoc`; CREATE TABLE `typedoc` ( `typedoc_id` int(10) unsigned NOT NULL default '0', `typedoc_libelle` varchar(255) default NULL, `typedoc_name` varchar(255) NOT NULL default '', `order` int(4) NOT NULL default '0', PRIMARY KEY (`typedoc_id`) ) TYPE=MyISAM; -- -- Dumping data for table `typedoc` -- INSERT INTO `typedoc` (`typedoc_id`, `typedoc_libelle`, `typedoc_name`, `order`) VALUES (4, 'article', 'articles', 1); INSERT INTO `typedoc` (`typedoc_id`, `typedoc_libelle`, `typedoc_name`, `order`) VALUES (6, 'these', 'thèses/hdr', 2); INSERT INTO `typedoc` (`typedoc_id`, `typedoc_libelle`, `typedoc_name`, `order`) VALUES (3, 'conference_proceeding', 'communications avec actes', 3); INSERT INTO `typedoc` (`typedoc_id`, `typedoc_libelle`, `typedoc_name`, `order`) VALUES (7, 'proceedings_book', 'actes d''une conférence', 10); INSERT INTO `typedoc` (`typedoc_id`, `typedoc_libelle`, `typedoc_name`, `order`) VALUES (8, 'conference_abstract', 'communications sans actes', 4); INSERT INTO `typedoc` (`typedoc_id`, `typedoc_libelle`, `typedoc_name`, `order`) VALUES (1, 'book', 'livres et ouvrages', 5); -- -------------------------------------------------------- -- -- Table structure for table `typejournal` -- DROP TABLE IF EXISTS `typejournal`; CREATE TABLE `typejournal` ( `typejournal_id` int(8) NOT NULL default '0', `typejournal_libelle` varchar(255) NOT NULL default '', PRIMARY KEY (`typejournal_id`) ) TYPE=MyISAM; -- -- Dumping data for table `typejournal` -- INSERT INTO `typejournal` (`typejournal_id`, `typejournal_libelle`) VALUES (2, 'journal international à comité de lecture, non référencé dans le Web of Science'); INSERT INTO `typejournal` (`typejournal_id`, `typejournal_libelle`) VALUES (3, 'journal national ou sans comité de lecture'); INSERT INTO `typejournal` (`typejournal_id`, `typejournal_libelle`) VALUES (10, 'autre'); INSERT INTO `typejournal` (`typejournal_id`, `typejournal_libelle`) VALUES (1, 'journal référencé dans le Web of Science'); -- -------------------------------------------------------- -- -- Table structure for table `user` -- DROP TABLE IF EXISTS `user`; CREATE TABLE `user` ( `u_id` int(10) unsigned NOT NULL auto_increment, `u_name` varchar(255) default NULL, `u_first` varchar(255) default NULL, `u_mail` varchar(255) default NULL, `u_login` varchar(32) NOT NULL default '', `u_password` varchar(32) default NULL, `u_groupid` int(10) unsigned NOT NULL default '0', `u_status` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`u_id`) ) TYPE=MyISAM; -- -- Dumping data for table `user` -- -- INSERT INTO `user` (`u_id`, `u_name`, `u_first`, `u_mail`, `u_login`, `u_password`, `u_groupid`, `u_status`) VALUES (0, 'root', '', 'root@phpubli.org', 'root', 'eda87bffb97f791c3d0e78a5a54be278', 0, 2); -- INSERT INTO `user` (`u_id`, `u_name`, `u_first`, `u_mail`, `u_login`, `u_password`, `u_groupid`, `u_status`) VALUES (1, 'admin1', '', 'admin1@phpubli.org', 'admin1', '9027350bf05be72120ae27c02b7b9491', 1, 1); -- INSERT INTO `user` (`u_id`, `u_name`, `u_first`, `u_mail`, `u_login`, `u_password`, `u_groupid`, `u_status`) VALUES (2, 'user1', '', 'user1@phpubli.org', 'user1', '95542d9f989eacf9d9a26ea221b9fedc', 1, 0); phpubli-1.0/CHANGELOG0000664000175000017500000000056311260607037013561 0ustar benoitbenoit2009-09-30: version 1.0 Added automatic installation procedure via web interface with scripts in install/ directory. Moved definition of macros to param_labo.php 2009-03-05: version 0.91 Code cleanup to conform with W3C validation tools. Added missing file intranet/export_notice_hal.php. Added $LABO_HALID in include.php. 2009-03-04: version 0.90 First public release phpubli-1.0/phpubli_load.sql0000664000175000017500000040110211260607037015524 0ustar benoitbenoit-- -- Database: `phpubli` -- USE `phpubli`; -- -------------------------------------------------------- -- -- Table structure for table `audience` -- DROP TABLE IF EXISTS `audience`; CREATE TABLE `audience` ( `id` int(4) NOT NULL default '0', `libelle` varchar(255) NOT NULL default '', PRIMARY KEY (`id`) ) TYPE=MyISAM; -- -- Dumping data for table `audience` -- INSERT INTO `audience` (`id`, `libelle`) VALUES (1, 'non spécifiée'); INSERT INTO `audience` (`id`, `libelle`) VALUES (2, 'internationale'); INSERT INTO `audience` (`id`, `libelle`) VALUES (3, 'nationale'); -- -------------------------------------------------------- -- -- Table structure for table `conference` -- DROP TABLE IF EXISTS `conference`; CREATE TABLE `conference` ( `conference_id` int(10) unsigned NOT NULL auto_increment, `conference_title` varchar(255) NOT NULL default '', `conference_date_start` date NOT NULL default '0000-00-00', `conference_date_end` date NOT NULL default '0000-00-00', `conference_city` varchar(255) NOT NULL default '', `conference_country_code` char(2) NOT NULL default '0', `conference_audience` int(4) NOT NULL default '2', `log` int(10) NOT NULL default '0', `date` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`conference_id`) ) TYPE=MyISAM AUTO_INCREMENT=73 ; -- -- Dumping data for table `conference` -- INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (1, 'Seventh European Turbulence Conference', '1998-06-30', '1998-07-03', 'Saint-Jean-Cap-Ferrat', 'FR', 2, 0, '2008-02-08 15:27:24'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (2, 'Eigth European Turbulence Conference', '2000-06-27', '2000-06-30', 'Barcelona', 'ES', 2, 0, '2008-02-08 15:29:31'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (3, 'Ninth European Turbulence Conference', '2002-07-02', '2002-07-05', 'Southampton', 'GB', 2, 0, '2008-02-08 15:31:04'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (4, 'Tenth European Turbulence Conference', '2004-06-29', '2004-07-02', 'Trondheim', 'NO', 2, 0, '2008-02-08 15:32:16'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (5, '6th International Conference on Multiphase Flow', '2007-07-09', '2007-07-13', 'Leipzig', 'DE', 2, 0, '2008-02-08 17:45:02'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (7, 'International Symposium on Snow, Avalanches and Impact of the Forest Cover', '2000-05-22', '2000-05-26', 'Innsbruck', 'AT', 2, 0, '2008-02-12 14:50:23'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (8, 'Euromech Fluid Mechanics Conference 6', '2006-06-26', '2006-06-30', 'Stockholm', 'SE', 2, 0, '2008-02-19 16:49:33'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (9, 'Second international conference on \\"Energy transfer in magnetohydrodynamic flows\\"', '1994-09-00', '1994-09-00', 'Aussois', 'FR', 2, 0, '2008-02-20 17:53:10'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (10, 'Third international conference on \\"Transfer phenomena in magneto-hydrodynamic and electro-conducting flows\\"', '1997-09-00', '1997-09-00', 'Aussois', 'FR', 2, 0, '2008-02-20 17:55:13'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (11, 'IUTAM Symposium on Computational Physics and New Perspectives in Turbulence', '2006-09-11', '2006-09-14', 'Nagoya', 'JP', 2, 2, '2008-02-22 15:27:14'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (12, '10es Journées de la matière condensée', '2006-08-28', '2006-09-01', 'Toulouse', 'FR', 2, 0, '2008-03-07 10:17:45'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (13, 'MicroTAS 2007', '2007-10-07', '2007-10-11', 'Paris', 'FR', 2, 0, '2008-03-07 10:41:37'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (14, 'GDR Turbulence', '2008-03-31', '2008-04-02', 'Lyon', 'FR', 3, 0, '2008-04-09 19:42:10'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (15, 'Eleventh European Turbulence Conference', '2007-06-25', '2007-06-28', 'Porto', 'PT', 2, 1, '2008-05-05 11:31:09'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (16, 'Summer School Eurotherm 79 \\"Mixing and Heat Transfer in Chemical Reaction processes\\"', '2006-07-31', '2006-08-05', 'Cargèse', 'FR', 2, 1, '2008-05-05 15:39:00'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (17, 'Microfluidique 2006', '2006-12-12', '2000-12-14', 'Toulouse', 'FR', 3, 0, '2008-05-05 15:42:45'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (18, 'International Congress on Crystal Growth-15', '2007-08-12', '2007-08-17', 'Salt Lake City', 'US', 2, 0, '2008-05-07 16:27:21'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (19, '18ème Congrès français de mécanique', '2007-08-27', '2007-08-31', 'Grenoble', 'FR', 3, 0, '2008-05-07 16:34:53'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (20, 'Euromech Fluid Mechanics Conference 5', '2003-08-24', '2003-08-28', 'Toulouse', 'FR', 2, 0, '2008-05-07 16:47:53'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (21, 'International Congress on Crystal Growth-14', '2004-08-09', '2004-08-13', 'Grenoble', 'FR', 2, 1, '2008-05-07 16:53:53'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (22, '35th Congress on Space Research', '2004-07-18', '2004-07-25', 'Paris', 'FR', 2, 0, '2008-05-07 16:53:27'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (23, '17ème Congrès français de mécanique', '2005-08-29', '2005-09-02', 'Troyes', 'FR', 3, 0, '2008-05-07 17:01:35'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (24, 'Colloque sur les Arcs Electriques', '2005-03-14', '2005-03-15', 'Orléans', 'FR', 3, 0, '2008-05-07 17:02:47'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (25, 'Small-scale turbulence: Theory, Phenomenology and Applications', '2007-08-13', '2007-08-25', 'Cargèse', 'FR', 1, 0, '2008-05-13 09:45:23'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (26, '5th Int. Symposium on Turbulence and Shear Flow Phenomena', '2007-08-27', '2007-08-29', 'Munich', 'DE', 2, 0, '2008-05-13 10:09:37'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (27, 'GDR Phénix', '2008-06-16', '2008-06-17', 'Lyon', 'FR', 3, 0, '2008-09-09 12:03:13'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (28, 'Journées AUM / AFM 2008', '2008-08-27', '2008-08-29', 'Mulhouse', 'FR', 3, 0, '2008-09-12 15:54:22'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (29, 'Euromech Fluid Mechanics Conference 7', '2008-09-14', '2008-09-18', 'Manchester', 'GB', 2, 1, '2008-10-01 15:41:02'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (30, 'Journées de la S.H.F. Mécanique des Fluides Numérique', '1989-00-00', '1989-00-00', 'Paris', 'FR', 3, 1, '2008-09-30 11:53:22'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (31, 'Lecture series on Introduction to the numerical solution of industrial flows, Von Karman Institute', '1986-00-00', '1986-00-00', 'Bruxelles', 'BE', 2, 0, '2008-09-30 11:54:31'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (32, 'Microfluidique 2004', '2004-12-14', '2004-12-16', 'Toulouse', 'FR', 3, 0, '2008-10-01 10:15:35'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (33, 'XXI International Congress of Theoretical and Applied Mechanics', '2004-08-15', '2004-08-21', 'Varsovie', 'PL', 2, 0, '2008-10-01 11:49:58'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (34, 'European Geophysical Society XXVII General Assembly', '2002-04-21', '2002-04-26', 'Nice', 'FR', 2, 0, '2008-10-01 15:49:54'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (35, 'DFD APS Meeting', '1997-11-23', '1997-11-25', 'San Francisco', 'US', 2, 0, '2008-10-01 15:57:03'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (36, 'Euromech European Fluid Mechanics Conference 3', '1997-09-15', '1997-09-18', 'Göttingen', 'DE', 2, 0, '2008-10-01 16:02:45'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (37, 'International Conference on Non Linearity, Bifurcations, Chaos: the door to the future', '1996-09-16', '1996-09-18', 'Lodz-Dobieszkow', 'PL', 2, 0, '2008-10-01 16:09:40'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (38, 'NATO Advanced Study institute: Mixing: Chaos and Turbulence', '1996-07-07', '1996-07-20', 'Cargèse', 'FR', 2, 0, '2008-10-01 16:28:02'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (39, 'Eurotherm 39, Heat Transfer Enhancement by Lagrangian Chaos and Turbulence', '1994-00-00', '1994-00-00', 'Nantes', 'FR', 2, 0, '2008-10-01 16:44:23'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (40, 'Computational Fluid Dynamic Applied to process engineering - Les rencontres scientifiques de l\\''IFP', '1994-00-00', '1994-00-00', 'Solaize', 'FR', 3, 0, '2008-10-01 16:50:06'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (41, '10ème Congrès Français de Mécanique', '1991-09-02', '1991-09-06', 'Paris', 'FR', 3, 0, '2008-10-01 16:55:47'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (42, '7th International Conference on Numerical Methods in laminar and turbulent flows', '1991-07-15', '1991-07-19', 'Stanford, California', 'US', 2, 1, '2008-10-02 16:52:45'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (43, 'European Symposium on Computer Application in the Chemical Industry', '1989-04-23', '1989-04-26', 'Erlangen', 'DE', 2, 0, '2008-10-02 11:10:22'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (44, '1er Congrès National de Génie des Procédés', '1987-09-21', '1987-09-23', 'Nancy', 'FR', 3, 0, '2008-10-02 15:28:36'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (45, 'GAMM Workshop on Analysis of laminar flow over a backward facing step', '1983-00-00', '1983-00-00', 'Bièvres', 'FR', 2, 0, '2008-10-02 16:03:14'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (46, 'Numerical methods in thermal problems', '1981-00-00', '1981-00-00', 'Venice', 'IT', 2, 0, '2008-10-02 16:09:48'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (47, 'ERCOFTAC International Workshop on Chemical reactions in turbulent liquids', '1991-07-00', '1991-07-00', 'Lausanne', 'CH', 2, 0, '2008-10-02 16:54:33'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (48, 'IIIe Encontro nacional de ciencias termicas', '1990-00-00', '1990-00-00', 'Itapema', 'BR', 3, 0, '2008-10-02 17:00:10'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (49, 'Journées Internationales de THermiques', '1989-00-00', '1989-00-00', 'Alger', 'DZ', 2, 0, '2008-10-02 17:02:53'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (50, 'Colloque CNRS Méthodes numériques performantes et phènomènes complexes en Mécanique des Fluides', '1987-00-00', '1987-00-00', 'Nice', 'FR', 3, 1, '2008-10-02 17:07:40'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (51, '6th International Symposium on finite element methods in flow problems', '1986-00-00', '1986-00-00', 'Antibes', 'FR', 2, 0, '2008-10-02 17:08:41'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (52, '6ème congrès français de mécanique', '1983-00-00', '1983-00-00', 'Lyon', 'FR', 3, 0, '2008-10-02 17:11:56'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (53, 'Réseau ‘Microfluidique et Microsystèmes Fluidiques\\''', '2007-05-29', '2007-05-29', 'Paris', 'FR', 3, 0, '2008-10-07 11:16:41'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (54, '6th International Conference on Inverse Problems in Engineering: Theory and Practice', '2008-06-15', '2008-06-19', 'Dourdan (Paris)', 'FR', 2, 0, '2008-10-07 15:01:40'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (55, '8th World Congress on Computational Mechanics (WCCM8)', '2008-06-30', '2008-07-05', 'Venice', 'IT', 2, 0, '2008-10-07 15:15:14'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (56, 'Workshop Micro and Nanofluidics', '2008-06-24', '2008-06-25', 'Lyon', 'FR', 2, 0, '2008-10-09 11:24:54'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (57, '14th AIAA/CEAS Aeroacoustics Conference', '2008-05-05', '2008-05-07', 'Vancouver', 'CA', 2, 0, '2008-12-10 12:32:32'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (58, '7th International ERCOFTAC Symposium on Engineering Turbulence Modelling and Measurements', '2008-06-04', '2008-06-06', 'Limassol', 'CY', 1, 0, '2008-12-11 16:38:13'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (59, '19th International Symposium on Transport Phenomena', '2008-08-17', '2008-08-20', 'Reykjavik', 'IS', 2, 0, '2008-12-11 17:22:29'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (60, 'Acoustics\\''08', '2008-06-30', '2008-07-04', 'Paris', 'FR', 2, 0, '2008-12-12 13:12:45'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (61, 'Ercoftac Symposium on sound source mechanisms in turbulent shear-flow', '2008-07-07', '2008-07-09', 'Poitiers', 'FR', 2, 1, '2008-12-12 13:17:05'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (62, '18th International Symposium on Nonlinear Acoustics (ISNA)', '2008-07-07', '2008-07-10', 'Stockholm', 'SE', 2, 0, '2008-12-19 12:36:47'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (63, '12th ISROMAC', '2008-02-17', '2008-02-22', 'Honolulu', 'US', 2, 0, '2008-12-19 12:45:30'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (64, '37th International Congress and Exposition on Noise Control Engineering (Inter-Noise)', '2008-10-26', '2008-10-29', 'Shangai', 'CN', 2, 0, '2008-12-19 13:03:11'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (65, '61st Annual Meeting of the APS Division of Fluid Dynamics', '2008-11-23', '2008-11-25', 'San Antonio', 'US', 2, 0, '2008-12-19 13:07:45'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (66, 'GDR Micropesanteur Fondamentale et Appliquée', '2008-12-01', '2008-12-03', 'Aussois', 'FR', 3, 0, '2009-01-07 16:09:15'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (67, 'JTET\\''08 - Journées Tunisiennes sur les Ecoulements et les Transferts', '2008-11-07', '2008-11-09', 'Bizerte', 'TN', 3, 0, '2009-01-08 17:52:26'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (68, 'ICAMEM 2008 - Fourth International Conference on Advances in Mechanical Engineering and Mechanics', '2008-12-16', '2008-12-18', 'Sousse', 'TN', 2, 0, '2009-01-08 17:58:33'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (69, 'Ampere meeting: creation of a european structure on magneto-sciences', '2007-07-10', '2007-07-11', 'Paris', 'FR', 2, 0, '2009-01-08 18:12:26'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (70, 'GDR Micropesanteur Fondamentale et Appliquée', '2007-11-26', '2007-11-28', 'Fréjus', 'FR', 3, 0, '2009-01-08 18:16:02'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (71, 'GDR Micropesanteur Fondamentale et Appliquée', '2005-10-17', '2005-10-19', 'Carry le Rouet', 'FR', 3, 0, '2009-01-08 18:19:43'); INSERT INTO `conference` (`conference_id`, `conference_title`, `conference_date_start`, `conference_date_end`, `conference_city`, `conference_country_code`, `conference_audience`, `log`, `date`) VALUES (72, '7th European Coating Symposium', '2007-09-12', '2007-09-14', 'Paris', 'FR', 2, 0, '2009-02-24 17:10:55'); -- -------------------------------------------------------- -- -- Table structure for table `country` -- DROP TABLE IF EXISTS `country`; CREATE TABLE `country` ( `iso` char(2) NOT NULL default '', `name` varchar(80) NOT NULL default '', `printable_name` varchar(80) NOT NULL default '', `iso3` char(3) default NULL, `numcode` smallint(6) default NULL, PRIMARY KEY (`iso`) ) TYPE=MyISAM; -- -- Dumping data for table `country` -- INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AF', 'AFGHANISTAN', 'Afghanistan', 'AFG', 4); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AL', 'ALBANIA', 'Albania', 'ALB', 8); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('DZ', 'ALGERIA', 'Algeria', 'DZA', 12); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AS', 'AMERICAN SAMOA', 'American Samoa', 'ASM', 16); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AD', 'ANDORRA', 'Andorra', 'AND', 20); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AO', 'ANGOLA', 'Angola', 'AGO', 24); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AI', 'ANGUILLA', 'Anguilla', 'AIA', 660); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AQ', 'ANTARCTICA', 'Antarctica', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AG', 'ANTIGUA AND BARBUDA', 'Antigua and Barbuda', 'ATG', 28); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AR', 'ARGENTINA', 'Argentina', 'ARG', 32); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AM', 'ARMENIA', 'Armenia', 'ARM', 51); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AW', 'ARUBA', 'Aruba', 'ABW', 533); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AU', 'AUSTRALIA', 'Australia', 'AUS', 36); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AT', 'AUSTRIA', 'Austria', 'AUT', 40); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AZ', 'AZERBAIJAN', 'Azerbaijan', 'AZE', 31); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BS', 'BAHAMAS', 'Bahamas', 'BHS', 44); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BH', 'BAHRAIN', 'Bahrain', 'BHR', 48); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BD', 'BANGLADESH', 'Bangladesh', 'BGD', 50); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BB', 'BARBADOS', 'Barbados', 'BRB', 52); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BY', 'BELARUS', 'Belarus', 'BLR', 112); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BE', 'BELGIUM', 'Belgium', 'BEL', 56); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BZ', 'BELIZE', 'Belize', 'BLZ', 84); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BJ', 'BENIN', 'Benin', 'BEN', 204); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BM', 'BERMUDA', 'Bermuda', 'BMU', 60); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BT', 'BHUTAN', 'Bhutan', 'BTN', 64); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BO', 'BOLIVIA', 'Bolivia', 'BOL', 68); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BA', 'BOSNIA AND HERZEGOVINA', 'Bosnia and Herzegovina', 'BIH', 70); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BW', 'BOTSWANA', 'Botswana', 'BWA', 72); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BV', 'BOUVET ISLAND', 'Bouvet Island', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BR', 'BRAZIL', 'Brazil', 'BRA', 76); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('IO', 'BRITISH INDIAN OCEAN TERRITORY', 'British Indian Ocean Territory', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BN', 'BRUNEI DARUSSALAM', 'Brunei Darussalam', 'BRN', 96); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BG', 'BULGARIA', 'Bulgaria', 'BGR', 100); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BF', 'BURKINA FASO', 'Burkina Faso', 'BFA', 854); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('BI', 'BURUNDI', 'Burundi', 'BDI', 108); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('KH', 'CAMBODIA', 'Cambodia', 'KHM', 116); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CM', 'CAMEROON', 'Cameroon', 'CMR', 120); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CA', 'CANADA', 'Canada', 'CAN', 124); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CV', 'CAPE VERDE', 'Cape Verde', 'CPV', 132); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('KY', 'CAYMAN ISLANDS', 'Cayman Islands', 'CYM', 136); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CF', 'CENTRAL AFRICAN REPUBLIC', 'Central African Republic', 'CAF', 140); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TD', 'CHAD', 'Chad', 'TCD', 148); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CL', 'CHILE', 'Chile', 'CHL', 152); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CN', 'CHINA', 'China', 'CHN', 156); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CX', 'CHRISTMAS ISLAND', 'Christmas Island', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CC', 'COCOS (KEELING) ISLANDS', 'Cocos (Keeling) Islands', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CO', 'COLOMBIA', 'Colombia', 'COL', 170); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('KM', 'COMOROS', 'Comoros', 'COM', 174); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CG', 'CONGO', 'Congo', 'COG', 178); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CD', 'CONGO, THE DEMOCRATIC REPUBLIC OF THE', 'Congo, the Democratic Republic of the', 'COD', 180); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CK', 'COOK ISLANDS', 'Cook Islands', 'COK', 184); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CR', 'COSTA RICA', 'Costa Rica', 'CRI', 188); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CI', 'COTE D''IVOIRE', 'Cote D''Ivoire', 'CIV', 384); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('HR', 'CROATIA', 'Croatia', 'HRV', 191); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CU', 'CUBA', 'Cuba', 'CUB', 192); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CY', 'CYPRUS', 'Cyprus', 'CYP', 196); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CZ', 'CZECH REPUBLIC', 'Czech Republic', 'CZE', 203); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('DK', 'DENMARK', 'Denmark', 'DNK', 208); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('DJ', 'DJIBOUTI', 'Djibouti', 'DJI', 262); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('DM', 'DOMINICA', 'Dominica', 'DMA', 212); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('DO', 'DOMINICAN REPUBLIC', 'Dominican Republic', 'DOM', 214); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('EC', 'ECUADOR', 'Ecuador', 'ECU', 218); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('EG', 'EGYPT', 'Egypt', 'EGY', 818); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SV', 'EL SALVADOR', 'El Salvador', 'SLV', 222); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GQ', 'EQUATORIAL GUINEA', 'Equatorial Guinea', 'GNQ', 226); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('ER', 'ERITREA', 'Eritrea', 'ERI', 232); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('EE', 'ESTONIA', 'Estonia', 'EST', 233); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('ET', 'ETHIOPIA', 'Ethiopia', 'ETH', 231); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('FK', 'FALKLAND ISLANDS (MALVINAS)', 'Falkland Islands (Malvinas)', 'FLK', 238); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('FO', 'FAROE ISLANDS', 'Faroe Islands', 'FRO', 234); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('FJ', 'FIJI', 'Fiji', 'FJI', 242); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('FI', 'FINLAND', 'Finland', 'FIN', 246); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('FR', 'FRANCE', 'France', 'FRA', 250); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GF', 'FRENCH GUIANA', 'French Guiana', 'GUF', 254); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PF', 'FRENCH POLYNESIA', 'French Polynesia', 'PYF', 258); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TF', 'FRENCH SOUTHERN TERRITORIES', 'French Southern Territories', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GA', 'GABON', 'Gabon', 'GAB', 266); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GM', 'GAMBIA', 'Gambia', 'GMB', 270); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GE', 'GEORGIA', 'Georgia', 'GEO', 268); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('DE', 'GERMANY', 'Germany', 'DEU', 276); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GH', 'GHANA', 'Ghana', 'GHA', 288); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GI', 'GIBRALTAR', 'Gibraltar', 'GIB', 292); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GR', 'GREECE', 'Greece', 'GRC', 300); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GL', 'GREENLAND', 'Greenland', 'GRL', 304); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GD', 'GRENADA', 'Grenada', 'GRD', 308); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GP', 'GUADELOUPE', 'Guadeloupe', 'GLP', 312); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GU', 'GUAM', 'Guam', 'GUM', 316); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GT', 'GUATEMALA', 'Guatemala', 'GTM', 320); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GN', 'GUINEA', 'Guinea', 'GIN', 324); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GW', 'GUINEA-BISSAU', 'Guinea-Bissau', 'GNB', 624); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GY', 'GUYANA', 'Guyana', 'GUY', 328); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('HT', 'HAITI', 'Haiti', 'HTI', 332); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('HM', 'HEARD ISLAND AND MCDONALD ISLANDS', 'Heard Island and Mcdonald Islands', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('VA', 'HOLY SEE (VATICAN CITY STATE)', 'Holy See (Vatican City State)', 'VAT', 336); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('HN', 'HONDURAS', 'Honduras', 'HND', 340); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('HK', 'HONG KONG', 'Hong Kong', 'HKG', 344); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('HU', 'HUNGARY', 'Hungary', 'HUN', 348); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('IS', 'ICELAND', 'Iceland', 'ISL', 352); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('IN', 'INDIA', 'India', 'IND', 356); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('ID', 'INDONESIA', 'Indonesia', 'IDN', 360); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('IR', 'IRAN, ISLAMIC REPUBLIC OF', 'Iran, Islamic Republic of', 'IRN', 364); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('IQ', 'IRAQ', 'Iraq', 'IRQ', 368); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('IE', 'IRELAND', 'Ireland', 'IRL', 372); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('IL', 'ISRAEL', 'Israel', 'ISR', 376); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('IT', 'ITALY', 'Italy', 'ITA', 380); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('JM', 'JAMAICA', 'Jamaica', 'JAM', 388); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('JP', 'JAPAN', 'Japan', 'JPN', 392); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('JO', 'JORDAN', 'Jordan', 'JOR', 400); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('KZ', 'KAZAKHSTAN', 'Kazakhstan', 'KAZ', 398); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('KE', 'KENYA', 'Kenya', 'KEN', 404); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('KI', 'KIRIBATI', 'Kiribati', 'KIR', 296); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('KP', 'KOREA, DEMOCRATIC PEOPLE''S REPUBLIC OF', 'Korea, Democratic People''s Republic of', 'PRK', 408); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('KR', 'KOREA, REPUBLIC OF', 'Korea, Republic of', 'KOR', 410); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('KW', 'KUWAIT', 'Kuwait', 'KWT', 414); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('KG', 'KYRGYZSTAN', 'Kyrgyzstan', 'KGZ', 417); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('LA', 'LAO PEOPLE''S DEMOCRATIC REPUBLIC', 'Lao People''s Democratic Republic', 'LAO', 418); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('LV', 'LATVIA', 'Latvia', 'LVA', 428); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('LB', 'LEBANON', 'Lebanon', 'LBN', 422); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('LS', 'LESOTHO', 'Lesotho', 'LSO', 426); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('LR', 'LIBERIA', 'Liberia', 'LBR', 430); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('LY', 'LIBYAN ARAB JAMAHIRIYA', 'Libyan Arab Jamahiriya', 'LBY', 434); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('LI', 'LIECHTENSTEIN', 'Liechtenstein', 'LIE', 438); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('LT', 'LITHUANIA', 'Lithuania', 'LTU', 440); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('LU', 'LUXEMBOURG', 'Luxembourg', 'LUX', 442); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MO', 'MACAO', 'Macao', 'MAC', 446); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MK', 'MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF', 'Macedonia, the Former Yugoslav Republic of', 'MKD', 807); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MG', 'MADAGASCAR', 'Madagascar', 'MDG', 450); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MW', 'MALAWI', 'Malawi', 'MWI', 454); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MY', 'MALAYSIA', 'Malaysia', 'MYS', 458); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MV', 'MALDIVES', 'Maldives', 'MDV', 462); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('ML', 'MALI', 'Mali', 'MLI', 466); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MT', 'MALTA', 'Malta', 'MLT', 470); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MH', 'MARSHALL ISLANDS', 'Marshall Islands', 'MHL', 584); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MQ', 'MARTINIQUE', 'Martinique', 'MTQ', 474); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MR', 'MAURITANIA', 'Mauritania', 'MRT', 478); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MU', 'MAURITIUS', 'Mauritius', 'MUS', 480); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('YT', 'MAYOTTE', 'Mayotte', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MX', 'MEXICO', 'Mexico', 'MEX', 484); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('FM', 'MICRONESIA, FEDERATED STATES OF', 'Micronesia, Federated States of', 'FSM', 583); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MD', 'MOLDOVA, REPUBLIC OF', 'Moldova, Republic of', 'MDA', 498); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MC', 'MONACO', 'Monaco', 'MCO', 492); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MN', 'MONGOLIA', 'Mongolia', 'MNG', 496); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MS', 'MONTSERRAT', 'Montserrat', 'MSR', 500); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MA', 'MOROCCO', 'Morocco', 'MAR', 504); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MZ', 'MOZAMBIQUE', 'Mozambique', 'MOZ', 508); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MM', 'MYANMAR', 'Myanmar', 'MMR', 104); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('NA', 'NAMIBIA', 'Namibia', 'NAM', 516); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('NR', 'NAURU', 'Nauru', 'NRU', 520); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('NP', 'NEPAL', 'Nepal', 'NPL', 524); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('NL', 'NETHERLANDS', 'Netherlands', 'NLD', 528); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AN', 'NETHERLANDS ANTILLES', 'Netherlands Antilles', 'ANT', 530); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('NC', 'NEW CALEDONIA', 'New Caledonia', 'NCL', 540); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('NZ', 'NEW ZEALAND', 'New Zealand', 'NZL', 554); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('NI', 'NICARAGUA', 'Nicaragua', 'NIC', 558); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('NE', 'NIGER', 'Niger', 'NER', 562); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('NG', 'NIGERIA', 'Nigeria', 'NGA', 566); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('NU', 'NIUE', 'Niue', 'NIU', 570); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('NF', 'NORFOLK ISLAND', 'Norfolk Island', 'NFK', 574); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('MP', 'NORTHERN MARIANA ISLANDS', 'Northern Mariana Islands', 'MNP', 580); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('NO', 'NORWAY', 'Norway', 'NOR', 578); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('OM', 'OMAN', 'Oman', 'OMN', 512); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PK', 'PAKISTAN', 'Pakistan', 'PAK', 586); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PW', 'PALAU', 'Palau', 'PLW', 585); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PS', 'PALESTINIAN TERRITORY, OCCUPIED', 'Palestinian Territory, Occupied', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PA', 'PANAMA', 'Panama', 'PAN', 591); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PG', 'PAPUA NEW GUINEA', 'Papua New Guinea', 'PNG', 598); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PY', 'PARAGUAY', 'Paraguay', 'PRY', 600); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PE', 'PERU', 'Peru', 'PER', 604); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PH', 'PHILIPPINES', 'Philippines', 'PHL', 608); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PN', 'PITCAIRN', 'Pitcairn', 'PCN', 612); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PL', 'POLAND', 'Poland', 'POL', 616); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PT', 'PORTUGAL', 'Portugal', 'PRT', 620); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PR', 'PUERTO RICO', 'Puerto Rico', 'PRI', 630); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('QA', 'QATAR', 'Qatar', 'QAT', 634); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('RE', 'REUNION', 'Reunion', 'REU', 638); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('RO', 'ROMANIA', 'Romania', 'ROM', 642); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('RU', 'RUSSIAN FEDERATION', 'Russian Federation', 'RUS', 643); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('RW', 'RWANDA', 'Rwanda', 'RWA', 646); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SH', 'SAINT HELENA', 'Saint Helena', 'SHN', 654); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('KN', 'SAINT KITTS AND NEVIS', 'Saint Kitts and Nevis', 'KNA', 659); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('LC', 'SAINT LUCIA', 'Saint Lucia', 'LCA', 662); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('PM', 'SAINT PIERRE AND MIQUELON', 'Saint Pierre and Miquelon', 'SPM', 666); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('VC', 'SAINT VINCENT AND THE GRENADINES', 'Saint Vincent and the Grenadines', 'VCT', 670); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('WS', 'SAMOA', 'Samoa', 'WSM', 882); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SM', 'SAN MARINO', 'San Marino', 'SMR', 674); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('ST', 'SAO TOME AND PRINCIPE', 'Sao Tome and Principe', 'STP', 678); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SA', 'SAUDI ARABIA', 'Saudi Arabia', 'SAU', 682); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SN', 'SENEGAL', 'Senegal', 'SEN', 686); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CS', 'SERBIA AND MONTENEGRO', 'Serbia and Montenegro', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SC', 'SEYCHELLES', 'Seychelles', 'SYC', 690); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SL', 'SIERRA LEONE', 'Sierra Leone', 'SLE', 694); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SG', 'SINGAPORE', 'Singapore', 'SGP', 702); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SK', 'SLOVAKIA', 'Slovakia', 'SVK', 703); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SI', 'SLOVENIA', 'Slovenia', 'SVN', 705); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SB', 'SOLOMON ISLANDS', 'Solomon Islands', 'SLB', 90); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SO', 'SOMALIA', 'Somalia', 'SOM', 706); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('ZA', 'SOUTH AFRICA', 'South Africa', 'ZAF', 710); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GS', 'SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS', 'South Georgia and the South Sandwich Islands', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('ES', 'SPAIN', 'Spain', 'ESP', 724); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('LK', 'SRI LANKA', 'Sri Lanka', 'LKA', 144); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SD', 'SUDAN', 'Sudan', 'SDN', 736); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SR', 'SURINAME', 'Suriname', 'SUR', 740); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SJ', 'SVALBARD AND JAN MAYEN', 'Svalbard and Jan Mayen', 'SJM', 744); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SZ', 'SWAZILAND', 'Swaziland', 'SWZ', 748); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SE', 'SWEDEN', 'Sweden', 'SWE', 752); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('CH', 'SWITZERLAND', 'Switzerland', 'CHE', 756); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('SY', 'SYRIAN ARAB REPUBLIC', 'Syrian Arab Republic', 'SYR', 760); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TW', 'TAIWAN, PROVINCE OF CHINA', 'Taiwan, Province of China', 'TWN', 158); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TJ', 'TAJIKISTAN', 'Tajikistan', 'TJK', 762); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TZ', 'TANZANIA, UNITED REPUBLIC OF', 'Tanzania, United Republic of', 'TZA', 834); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TH', 'THAILAND', 'Thailand', 'THA', 764); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TL', 'TIMOR-LESTE', 'Timor-Leste', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TG', 'TOGO', 'Togo', 'TGO', 768); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TK', 'TOKELAU', 'Tokelau', 'TKL', 772); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TO', 'TONGA', 'Tonga', 'TON', 776); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TT', 'TRINIDAD AND TOBAGO', 'Trinidad and Tobago', 'TTO', 780); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TN', 'TUNISIA', 'Tunisia', 'TUN', 788); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TR', 'TURKEY', 'Turkey', 'TUR', 792); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TM', 'TURKMENISTAN', 'Turkmenistan', 'TKM', 795); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TC', 'TURKS AND CAICOS ISLANDS', 'Turks and Caicos Islands', 'TCA', 796); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('TV', 'TUVALU', 'Tuvalu', 'TUV', 798); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('UG', 'UGANDA', 'Uganda', 'UGA', 800); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('UA', 'UKRAINE', 'Ukraine', 'UKR', 804); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('AE', 'UNITED ARAB EMIRATES', 'United Arab Emirates', 'ARE', 784); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('GB', 'UNITED KINGDOM', 'United Kingdom', 'GBR', 826); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('US', 'UNITED STATES', 'United States', 'USA', 840); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('UM', 'UNITED STATES MINOR OUTLYING ISLANDS', 'United States Minor Outlying Islands', NULL, NULL); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('UY', 'URUGUAY', 'Uruguay', 'URY', 858); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('UZ', 'UZBEKISTAN', 'Uzbekistan', 'UZB', 860); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('VU', 'VANUATU', 'Vanuatu', 'VUT', 548); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('VE', 'VENEZUELA', 'Venezuela', 'VEN', 862); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('VN', 'VIET NAM', 'Viet Nam', 'VNM', 704); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('VG', 'VIRGIN ISLANDS, BRITISH', 'Virgin Islands, British', 'VGB', 92); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('VI', 'VIRGIN ISLANDS, U.S.', 'Virgin Islands, U.s.', 'VIR', 850); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('WF', 'WALLIS AND FUTUNA', 'Wallis and Futuna', 'WLF', 876); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('EH', 'WESTERN SAHARA', 'Western Sahara', 'ESH', 732); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('YE', 'YEMEN', 'Yemen', 'YEM', 887); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('ZM', 'ZAMBIA', 'Zambia', 'ZMB', 894); INSERT INTO `country` (`iso`, `name`, `printable_name`, `iso3`, `numcode`) VALUES ('ZW', 'ZIMBABWE', 'Zimbabwe', 'ZWE', 716); -- -------------------------------------------------------- -- -- Table structure for table `document` -- DROP TABLE IF EXISTS `document`; CREATE TABLE `document` ( `doc_id` int(10) unsigned NOT NULL auto_increment, `title` varchar(255) default NULL, `year` int(10) default NULL, `volume` varchar(255) default NULL, `doi` varchar(255) default NULL, `hal` varchar(255) default NULL, `journal_id` int(10) unsigned default NULL, `institution_id` int(10) default NULL, `note` varchar(255) default NULL, `typedoc_id` int(10) default NULL, `soustypedoc_id` int(10) default NULL, `pages_start` varchar(32) default NULL, `pages_end` varchar(32) default NULL, `pages_eid` varchar(32) default NULL, `pages_num` varchar(32) default NULL, `groupe` varchar(32) default NULL, `log` int(10) unsigned NOT NULL default '0', `date` datetime NOT NULL default '0000-00-00 00:00:00', `conference_id` int(10) default NULL, `publisher_id` int(10) default NULL, `proceedings_id` int(10) default NULL, `lang` char(2) NOT NULL default 'EN', PRIMARY KEY (`doc_id`) ) TYPE=MyISAM AUTO_INCREMENT=1 ; -- -- Dumping data for table `document` -- -- -------------------------------------------------------- -- -- Table structure for table `flags` -- DROP TABLE IF EXISTS `flags`; CREATE TABLE `flags` ( `name` varchar(255) default NULL, `value` int(10) unsigned default NULL ) TYPE=MyISAM; -- -- Dumping data for table `flags` -- INSERT INTO `flags` (`name`, `value`) VALUES ('readonly', 0); -- -------------------------------------------------------- -- -- Table structure for table `fonction` -- DROP TABLE IF EXISTS `fonction`; CREATE TABLE `fonction` ( `fonction_id` int(10) unsigned NOT NULL auto_increment, `fonction_libelle` varchar(255) default NULL, PRIMARY KEY (`fonction_id`) ) TYPE=MyISAM AUTO_INCREMENT=4 ; -- -- Dumping data for table `fonction` -- INSERT INTO `fonction` (`fonction_id`, `fonction_libelle`) VALUES (1, 'auteur'); INSERT INTO `fonction` (`fonction_id`, `fonction_libelle`) VALUES (2, 'éditeur'); INSERT INTO `fonction` (`fonction_id`, `fonction_libelle`) VALUES (3, 'directeur'); -- -------------------------------------------------------- -- -- Table structure for table `groupes` -- DROP TABLE IF EXISTS `groupes`; CREATE TABLE `groupes` ( `g_id` int(10) unsigned NOT NULL auto_increment, `g_name` varchar(16) NOT NULL default '', `g_fullname` varchar(255) NOT NULL default '', PRIMARY KEY (`g_id`) ) TYPE=MyISAM AUTO_INCREMENT=6 ; -- -- Dumping data for table `groupes` -- INSERT INTO `groupes` (`g_id`, `g_name`, `g_fullname`) VALUES (1, 'grp1', 'Équipe de recherche 1'); INSERT INTO `groupes` (`g_id`, `g_name`, `g_fullname`) VALUES (2, 'grp2', 'Équipe de recherche 2'); INSERT INTO `groupes` (`g_id`, `g_name`, `g_fullname`) VALUES (3, 'grp3', 'Équipe de recherche 3'); INSERT INTO `groupes` (`g_id`, `g_name`, `g_fullname`) VALUES (4, 'grp4', 'Équipe de recherche 4'); INSERT INTO `groupes` (`g_id`, `g_name`, `g_fullname`) VALUES (5, 'exter', 'Publication hors labo'); -- -------------------------------------------------------- -- -- Table structure for table `history` -- DROP TABLE IF EXISTS `history`; CREATE TABLE `history` ( `id` int(10) unsigned NOT NULL auto_increment, `u_id` int(10) unsigned NOT NULL default '0', `g_id` varchar(32) default NULL, `table_id` int(10) unsigned default NULL, `item_id` int(10) unsigned default NULL, `action` varchar(32) NOT NULL default '', `entry_old` text, `entry_new` text, `date_entry` datetime NOT NULL default '0000-00-00 00:00:00', `date_checked` datetime default NULL, PRIMARY KEY (`id`) ) TYPE=MyISAM AUTO_INCREMENT=1 ; -- -- Dumping data for table `history` -- -- -------------------------------------------------------- -- -- Table structure for table `institution` -- DROP TABLE IF EXISTS `institution`; CREATE TABLE `institution` ( `institution_id` int(10) unsigned NOT NULL auto_increment, `institution_name` varchar(255) NOT NULL default '', `institution_short` varchar(32) NOT NULL default '', `log` int(10) unsigned NOT NULL default '0', `date` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`institution_id`) ) TYPE=MyISAM AUTO_INCREMENT=8 ; -- -- Dumping data for table `institution` -- INSERT INTO `institution` (`institution_id`, `institution_name`, `institution_short`, `log`, `date`) VALUES (1, 'École centrale de Lyon', 'ECL', 0, '2007-09-18 14:23:36'); INSERT INTO `institution` (`institution_id`, `institution_name`, `institution_short`, `log`, `date`) VALUES (2, 'Université Claude-Bernard Lyon 1', 'UCBL', 0, '2007-09-18 14:24:52'); INSERT INTO `institution` (`institution_id`, `institution_name`, `institution_short`, `log`, `date`) VALUES (3, 'Institut national des sciences appliquées de Lyon', 'INSA Lyon', 1, '2007-09-18 14:26:24'); INSERT INTO `institution` (`institution_id`, `institution_name`, `institution_short`, `log`, `date`) VALUES (4, 'Kungliga Tekniska Högskolan Stockholm', 'KTH Stockholm', 1, '2007-10-11 15:22:17'); INSERT INTO `institution` (`institution_id`, `institution_name`, `institution_short`, `log`, `date`) VALUES (5, 'Technocentre Renault Guyancourt', 'Renault', 0, '2007-10-11 15:22:55'); INSERT INTO `institution` (`institution_id`, `institution_name`, `institution_short`, `log`, `date`) VALUES (6, 'Politecnico di Torino', 'Politecnico di Torino', 0, '2007-10-12 08:25:38'); INSERT INTO `institution` (`institution_id`, `institution_name`, `institution_short`, `log`, `date`) VALUES (7, 'Office national d\\''études et de recherches aérospatiales', 'ONERA', 0, '2007-10-12 17:42:02'); -- -------------------------------------------------------- -- -- Table structure for table `journal` -- DROP TABLE IF EXISTS `journal`; CREATE TABLE `journal` ( `journal_id` int(10) unsigned NOT NULL auto_increment, `journal_fullname` varchar(255) default NULL, `journal_name` varchar(255) default NULL, `journal_type` int(11) NOT NULL default '0', `journal_audience` int(4) NOT NULL default '2', `journal_peer_review` int(4) NOT NULL default '1', `log` int(10) unsigned NOT NULL default '0', `date` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`journal_id`) ) TYPE=MyISAM AUTO_INCREMENT=202 ; -- -- Dumping data for table `journal` -- INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (4, 'Houille Blanche-Revue internationale de l\\''eau', 'Houille Blanche-Rev. Int.', 1, 2, 1, 2, '2007-09-12 20:24:57'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (5, 'International Journal for Numerical Methods in Fluids', 'Int. J. Numer. Methods Fluids', 1, 2, 1, 2, '2007-09-12 20:16:38'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (6, 'Annual Review of Fluid Mechanics', 'Annu. Rev. Fluid Mech.', 1, 2, 1, 2, '2007-09-12 18:56:31'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (7, 'Journal de Recherches Hydrauliques', 'Journal de Recherches Hydrauliques', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (8, 'Applied Mechanics Reviews', 'Appl. Mech. Rev.', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (11, 'Proc. Institution Mechanical Engineers', 'Proc. Institution Mechanical Engineers', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (13, 'Journal of Heat Transfer', 'Journal of Heat Transfer', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (14, 'Progress in Aerospace Sciences', 'Prog. Aerosp. Sci.', 1, 2, 1, 2, '2007-09-12 20:56:30'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (15, 'Proceedings of the IEEE', 'Proceedings of the IEEE', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (16, 'Journal of Computational Acoustics', 'J. Comput. Acoust.', 1, 2, 1, 2, '2007-09-12 19:24:36'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (17, 'AIAA Journal', 'AIAA J.', 1, 2, 1, 2, '2007-09-12 18:53:30'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (19, 'Theoretical and Computational Fluid Dynamics', 'Theor. Comput. Fluid Dyn.', 1, 2, 1, 2, '2007-09-12 19:26:36'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (20, 'Journal of Propulsion and Power', 'J. Propul. Power', 1, 2, 1, 2, '2007-09-12 20:41:58'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (21, 'International Journal Thermal Sciences', 'Int. J. Therm. Sci.', 1, 2, 1, 2, '2007-09-12 20:31:11'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (22, 'Chemical Engineering Science', 'Chem. Eng. Sci.', 1, 2, 1, 2, '2007-09-12 19:14:16'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (151, 'Earth Surface Processes and Landforms', 'Earth Surf. Process. Landf.', 1, 2, 1, 2, '2007-09-12 20:03:44'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (24, 'IMA Journal of Applied Mathematics', 'IMA J. Appl. Math.', 1, 2, 1, 1, '2007-09-12 20:25:50'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (25, 'Advances in Chemical Physics', 'Advances in Chemical Physics', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (26, 'Comptes Rendus Acad. Sci., Série IIb', 'Comptes Rendus Acad. Sci., Série IIb', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (27, 'Journal of Fluid Mechanics', 'J. Fluid Mech.', 1, 2, 1, 2, '2007-09-12 20:15:04'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (28, 'Journal of Turbomachinery', 'Journal of Turbomachinery', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (29, 'Journal of Fluids Engineering', 'J. Fluids Eng.', 1, 2, 1, 1, '2008-05-23 09:19:39'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (30, 'Revue de l''I.F.P.', 'Revue de l''I.F.P.', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (31, 'Technica', 'Technica', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (32, 'Revue des Ingénieurs de l''Automobile', 'Revue des Ingénieurs de l''Automobile', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (33, 'Journal d''Acoustique', 'Journal d''Acoustique', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (34, 'Journal de Physique (supplément)', 'Journal de Physique (supplément)', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (35, 'Physics of Fluids', 'Phys. Fluids', 1, 2, 1, 2, '2007-09-12 20:18:18'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (36, 'Journal de Physique, Colloque C3', 'Journal de Physique, Colloque C3', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (37, 'ERCOFTAC Bulletin', 'ERCOFTAC Bulletin', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (38, 'Physico-Chemical Hydrodynamics', 'Physico-Chemical Hydrodynamics', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (39, 'Journal of the Acoustical Society of America', 'J. Acoust. Soc. Am.', 1, 2, 1, 2, '2007-09-12 20:43:15'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (40, 'Chemical Senses', 'Chem. Senses', 1, 2, 1, 2, '2007-09-12 19:16:13'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (41, 'Atmospheric Environment', 'Atmos. Environ.', 1, 2, 1, 2, '2007-09-12 19:01:25'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (42, 'Journal of Hazardous Materials', 'J. Hazard. Mater.', 1, 2, 1, 2, '2007-09-12 20:38:20'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (43, 'European Journal of Mechanics B-Fluids', 'Eur. J. Mech. B-Fluids', 1, 2, 1, 2, '2007-09-12 20:05:43'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (44, 'International Journal of Heat and Mass Transfer', 'Int. J. Heat Mass Transf.', 1, 2, 1, 2, '2007-09-12 20:20:07'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (45, 'JAMA : supplément à l''édition française', 'JAMA : supplément à l''édition française', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (46, 'SPECTRA 2000', 'SPECTRA 2000', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (47, 'Journal de Physique III', 'Journal de Physique III', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (48, 'Journal de Physique IV, Colloque C1', 'Journal de Physique IV, Colloque C1', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (49, 'Combustion Science and Technology', 'Combust. Sci. Technol.', 1, 2, 1, 2, '2007-09-12 19:19:29'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (50, 'Revue Scientifique et Technique de la Défense', 'Revue Scientifique et Technique de la Défense', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (51, 'Entretiens Science et Défense', 'Entretiens Science et Défense', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (52, 'Revue Générale de Thermique', 'Revue Générale de Thermique', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (53, 'Revue Scientifique de la SNECMA', 'Revue Scientifique de la SNECMA', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (54, 'Combustion and Flame', 'Combust. Flame', 1, 2, 1, 2, '2007-09-12 19:18:38'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (55, 'International Journal of Thermophysics', 'Int. J. Thermophys.', 1, 2, 1, 2, '2007-09-12 20:30:11'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (56, 'Applied Scientific Research', 'Applied Scientific Research', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (57, 'Applied Acoustics', 'Appl. Acoust.', 1, 2, 1, 2, '2007-09-12 18:57:50'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (58, 'Waves in Random and Complex Media', 'Waves Random Complex Media', 1, 2, 1, 2, '2007-09-12 21:02:04'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (59, 'Journal of Hydraulic Research', 'J. Hydraul. Res.', 1, 2, 1, 2, '2007-09-12 20:39:43'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (60, 'Experiments in Fluids', 'Exp. Fluids', 1, 2, 1, 2, '2007-09-12 20:10:03'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (61, 'Acustica', 'Acustica', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (62, 'Journal de Physique', 'Journal de Physique', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (63, 'Fluid Dynamics Research', 'Fluid Dyn. Res.', 1, 2, 1, 2, '2007-09-12 20:12:46'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (64, 'Numerical Heat Transfer Part A-Applications', 'Numer. Heat Transf. A-Appl.', 1, 2, 1, 2, '2007-09-12 20:21:40'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (65, 'Smart Materials and Structures', 'Smart Mat. Struct.', 1, 2, 1, 2, '2007-09-12 20:59:05'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (66, 'Acta Acustica', 'Acta Acustica', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (67, 'Journal of Crystal Growth', 'J. Cryst. Growth', 1, 2, 1, 2, '2007-09-12 20:35:06'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (68, 'International Journal of Multiphase Flow', 'Int. J. Multiph. Flow', 1, 2, 1, 2, '2007-09-12 20:28:52'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (69, 'Multiphase Science and Technology', 'Multiphase Science and Technology', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (70, 'Journal of Computational Physics', 'J. Comput. Phys.', 1, 2, 1, 2, '2007-09-12 19:25:05'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (71, 'Journal of Sound and Vibration', 'J. Sound Vib.', 1, 2, 1, 2, '2007-09-12 20:42:34'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (72, 'Applied Optics', 'Appl. Optics', 1, 2, 1, 2, '2007-09-12 18:58:57'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (73, 'Entropie', 'Entropie', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (74, 'Revue Française de Mécanique', 'Revue Française de Mécanique', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (75, 'International Journal of Numerical Methods for Heat and Fluid Flow', 'Int. J. Numer. Methods Heat Fluid Flow', 1, 2, 1, 2, '2007-09-12 20:14:30'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (76, 'Journal of Flow Visualization and Image Processing', 'Journal of Flow Visualization and Image Processing', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (77, 'Microgravity Quarterly', 'Microgravity Quarterly', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (78, 'IMechE Conf. Transactions', 'IMechE Conf. Transactions', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (79, 'Chemical Engineering Communications', 'Chem. Eng. Commun.', 1, 2, 1, 2, '2007-09-12 19:13:26'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (80, 'Isotopes', 'Isotopes', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (82, 'Journal of Thermal Science', 'Journal of Thermal Science', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (83, 'Measurement Science & Technology', 'Meas. Sci. Technol.', 1, 2, 1, 2, '2007-09-12 20:51:13'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (84, 'Lettre d''information du CNUSC', 'Lettre d''information du CNUSC', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (85, 'Experimental Thermal and Fluid Science', 'Exp. Therm. Fluid Sci.', 1, 2, 1, 2, '2007-09-12 20:09:08'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (87, 'Advances Space Research', 'Advances Space Research', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (88, 'Review of Scientific Instruments', 'Rev. Sci. Instrum.', 1, 2, 1, 2, '2007-09-12 20:57:20'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (89, 'International Journal of Heat and Fluid Flow', 'Int. J. Heat Fluid Flow', 1, 2, 1, 2, '2007-09-12 20:13:45'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (90, 'SAE Transactions', 'SAE Transactions', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (91, 'Flow Turbulence and Combustion', 'Flow Turbul. Combust.', 1, 2, 1, 2, '2007-09-12 20:10:47'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (92, 'European Physical Journal-Applied Physics', 'Eur. Phys. J.-Appl. Phys.', 1, 2, 1, 2, '2007-09-12 20:07:28'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (93, 'High Temperatures - High Pressures', 'High Temperatures - High Pressures', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (94, 'Science in China', 'Science in China', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (95, 'International Journal of Bifurcation and Chaos', 'Int. J. Bifurcation Chaos', 1, 2, 1, 2, '2007-09-12 20:27:28'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (96, 'European Physical Journal B', 'Eur. Phys. J. B', 1, 2, 1, 2, '2007-09-12 20:06:50'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (97, 'Journal de Chimie Physique', 'Journal de Chimie Physique', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (98, 'International Journal of Transport Phenomena', 'Int. J. Transport Phen.', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (99, 'Journal of Loss Prevention in the Process Industries', 'J. Loss Prev. Process Ind.', 1, 2, 1, 2, '2007-09-12 20:41:01'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (100, 'Acta Mechanica Sinica', 'Acta Mech. Sin.', 1, 2, 1, 2, '2007-09-12 18:50:57'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (101, 'Limnology and Oceanography', 'Limnol. Oceanogr.', 1, 2, 1, 2, '2007-09-12 20:47:50'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (102, 'Journal of Thermal Analysis and Calorimetry', 'J. Therm. Anal. Calorim.', 1, 2, 1, 2, '2007-09-12 20:45:13'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (103, 'Journal of Fish Biology', 'J. Fish Biol.', 1, 2, 1, 2, '2007-09-12 20:37:05'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (104, 'Annals of the New York Academy of Sciences', 'Ann. NY Acad. Sci.', 1, 2, 1, 2, '2007-09-12 18:55:20'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (105, 'Mécanique et Industries', 'Mécanique et Industries', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (106, 'International Journal of Computational Fluid Dynamics', 'Int. J. Comput. Fluid Dyn.', 1, 2, 1, 2, '2007-09-12 19:23:29'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (107, 'Combustion', 'Combustion', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (108, 'Computational Mechanics', 'Comput. Mech.', 1, 2, 1, 2, '2007-09-12 19:21:46'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (109, 'Revue Officielle de la Société Française d''O.R.L.', 'Revue Officielle de la Société Française d''O.R.L.', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (110, 'Journal of Transport and Communication', 'Journal of Transport and Communication', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (111, 'Proc. IMechE Part A, Journal of Power and Energy', 'Proc. IMechE Part A, Journal of Power and Energy', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (112, 'Atomization and Sprays', 'Atom. Sprays', 1, 2, 1, 2, '2007-09-12 19:02:20'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (113, 'Pour la Science - Dossier Hors-Série', 'Pour la Science - Dossier Hors-Série', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (114, 'Revue Scientifique et Technique (vietnamienne)', 'Revue Scientifique et Technique (vietnamienne)', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (115, 'Vietnam Journal of Mechanics, NCST of Vietnam', 'Vietnam Journal of Mechanics, NCST of Vietnam', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (152, 'Experiments and Measurements in Fluid Mechanics', 'Exp. Measur. Fluid Mech.', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (117, 'Trans. Japan Soc. Mech. Engrs', 'Trans. Japan Soc. Mech. Engrs', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (118, 'ARI (Int. J. Phys. and Eng. Sci.)', 'ARI (Int. J. Phys. and Eng. Sci.)', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (119, 'International Journal of Environment and Pollution', 'Int. J. Environ. Pollut.', 1, 2, 1, 2, '2007-09-12 20:28:10'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (120, 'Comptes Rendus Mécanique', 'C. R. Méc.', 1, 2, 1, 2, '2007-09-12 19:20:41'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (121, 'Journal of Fluids and Structures', 'J. Fluids Struct.', 1, 2, 1, 2, '2007-09-12 20:17:32'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (122, 'Powder Technology', 'Powder Technol.', 1, 2, 1, 2, '2007-09-12 20:54:52'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (123, 'Journal of Turbulence', 'J. Turbul.', 1, 2, 1, 2, '2007-09-12 20:46:32'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (125, 'Quarterly Journal of Mechanics and Applied Mathematics', 'Q. J. Mech. Appl. Math.', 1, 2, 1, 2, '2007-09-12 21:00:21'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (129, 'Proceedings of the Royal Society A-Mathematical Physical and Engineering Sciences', 'Proc. R. Soc. A-Math. Phys. Eng. Sci.', 1, 2, 1, 2, '2007-09-12 20:55:40'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (130, 'International Journal of Aeroacoustics', 'Int. J. Aeroacoustics', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (150, 'Boundary Layer Meteorology', 'Boundary Layer Meteorol.', 0, 2, 1, 1, '2008-06-11 16:33:24'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (132, 'International Journal of Rotating Machinery', 'Int. J. Rot. Machin.', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (133, 'New Journal of Physics', 'New J. Phys.', 1, 2, 1, 2, '2007-09-12 20:52:51'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (134, 'Chinese Journal of Computational Physics', 'Chinese Journal of Computational Physics', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (135, 'Cryogenics', 'Cryogenics', 1, 2, 1, 2, '2007-09-12 20:02:41'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (136, 'AIChE journal', 'AIChE journal', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (137, 'International Journal of Dynamics of Fluids', 'Int. J. Dyn. Fluids', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (138, 'High Temperature Material Processes', 'High Temp. Mat. Process', 1, 2, 1, 1, '2007-09-12 20:23:52'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (139, 'Bulletin de l\\''Union des Physiciens', 'Bulletin de l\\''Union des Physiciens', 3, 2, 1, 1, '2008-02-19 10:37:24'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (140, 'Computer Methods in Biomechanics and Biomedical Engineering', 'Computer Methods in Biomechanics and Biomedical Engineering', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (144, 'Journal of Engineering Mathematics', 'J. Eng. Math.', 1, 2, 1, 2, '2007-09-12 20:36:06'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (145, 'Physical Review E', 'Phys. Rev. E', 1, 2, 1, 1, '2007-09-12 20:53:46'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (146, 'Progress in Computational Fluid Dynamics', 'Prog. Comput. Fluid Dyn.', 1, 2, 1, 2, '2007-09-12 19:26:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (147, 'Journal of Applied Mechanics-Transactions of the ASME', 'J. Appl. Mech.-Trans. ASME', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (148, 'Physica D-Nonlinear Phenomena', 'Physica D', 1, 2, 1, 2, '2007-09-12 20:53:32'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (149, 'Fluid Dynamics and Material Processing', 'Fluid Dyn. Material Proc.', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (163, 'Journal of the Electrochemical Society', 'J. Electrochem. Soc.', 1, 2, 1, 2, '2007-09-12 20:44:17'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (162, 'Heat and Mass Transfer', 'Heat Mass Transf.', 1, 2, 1, 2, '2007-09-12 20:19:25'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (166, 'Progress in Astronautics and Aeronautics', 'Progress Astronautics Aeronautics', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (165, 'Lecture Notes in Physics', 'Lect. Notes Phys.', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (167, 'Notes on Numerical Fluid Mechanics', 'Notes Num. Fluid Mech.', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (168, 'European Space Agency Publications', 'ESA Publications', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (169, 'Numerical Methods in Thermal Problems', 'Num. Methods Thermal Problems', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (170, 'Advances in Fluid Mechanics', 'Advances in Fluid Mechanics', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (171, 'Récents Progrès en Génie des Procédés', 'Récents Progrès en Génie des Procédés', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (172, 'ASME / Heat Transfer Division', 'ASME / Heat Transfer Division', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (173, 'Cold Regions Science and Technology', 'Cold Reg. Sci. Tech.', 1, 2, 1, 2, '2007-09-12 19:17:44'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (174, 'Acta Acustica united with Acustica', 'Acta Acust. United Acust.', 1, 2, 1, 2, '2007-09-12 18:49:17'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (175, 'Journal of Hydraulic Engineering', 'Journal of Hydraulic Engineering', 0, 2, 1, 0, '0000-00-00 00:00:00'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (176, 'Water Science and Technology', 'Water Sci. Technol.', 0, 2, 1, 1, '2008-06-11 16:27:02'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (177, 'Computers & Fluids', 'Comput. Fluids', 1, 2, 1, 2, '2007-09-12 20:02:02'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (178, 'Acoustical Physics', 'Acoust. Phys.', 0, 2, 1, 1, '2008-06-11 16:29:18'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (179, 'Le journal de Mickey', 'J. Mickey', 10, 2, 1, 0, '2007-09-12 18:35:33'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (180, 'Aeronautical Journal', 'Aeronaut. J.', 1, 2, 1, 0, '2007-11-12 14:02:35'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (181, 'Télérama', 'Télérama', 10, 2, 1, 0, '2008-01-14 09:16:05'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (182, 'Natural Hazards and Earth System Sciences', 'Nat. Hazards Earth Syst. Sci.', 1, 2, 1, 0, '2008-02-12 14:35:21'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (183, 'Mechanical Systems and Signal Processing', 'Mechanical Systems and Signal Processing', 1, 2, 1, 0, '2008-04-30 18:51:27'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (184, 'Journal of the Optical Society of America A', 'J. Opt. Soc. Am. A', 1, 2, 1, 1, '2008-04-30 19:17:07'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (185, 'Journal of the Energy Institute', 'Journal of the Energy Institute', 1, 2, 1, 0, '2008-04-30 19:40:39'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (186, 'Nuclear Engineering and Design', 'Nucl. Eng. Des.', 1, 2, 1, 1, '2008-04-30 19:58:14'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (187, 'Physical Review Letters', 'Phys. Rev. Lett.', 1, 2, 1, 2, '2008-05-13 11:24:18'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (188, 'Journal of Physics. D, Applied Physics', 'J. Phys., D. Appl. Phys.', 1, 2, 1, 1, '2008-05-26 17:07:17'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (189, 'New Phytologist', 'New Phytol.', 1, 2, 1, 0, '2008-05-27 14:41:31'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (190, 'Noise Control Engineering Journal', 'Noise Control Eng. J.', 1, 2, 1, 0, '2008-06-12 14:19:39'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (191, 'Aerospace Science and Technology', 'Aerosp. Sci. Technol.', 1, 2, 1, 0, '2008-06-12 16:13:03'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (192, 'Optics Letters', 'Opt. Lett.', 1, 2, 1, 0, '2008-09-10 15:39:22'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (193, 'Physics of Plasmas', 'Phys. Plasmas', 1, 2, 1, 0, '2008-10-31 11:08:16'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (194, 'Acoustique et Techniques', 'Acoust. Tech.', 0, 1, 0, 0, '2008-12-12 17:33:47'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (195, 'Water Ressources Research', 'Water Resour. Res.', 1, 2, 1, 1, '2008-12-18 13:32:50'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (196, 'International Review of Mechanical Engineering', 'IREME', 0, 2, 1, 1, '2009-02-23 17:14:38'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (197, 'Physica Scripta', 'Phys. Scr.', 1, 2, 1, 0, '2009-02-17 11:31:37'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (198, 'Combustion Theory and Modelling', 'Combust. Theory Model.', 1, 2, 1, 1, '2009-02-23 11:58:49'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (199, 'International Review of Aerospace Engineering', 'IREASE', 0, 2, 1, 0, '2009-02-23 17:18:35'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (200, 'International Review on Modelling and Simulations', 'IREMOS', 0, 2, 1, 0, '2009-02-23 17:19:12'); INSERT INTO `journal` (`journal_id`, `journal_fullname`, `journal_name`, `journal_type`, `journal_audience`, `journal_peer_review`, `log`, `date`) VALUES (201, 'European Physical Journal – Special Topics', 'Eur. Phys. J. - Spec. Top.', 1, 2, 1, 0, '2009-02-24 16:48:07'); -- -------------------------------------------------------- -- -- Table structure for table `language` -- DROP TABLE IF EXISTS `language`; CREATE TABLE `language` ( `iso` char(2) NOT NULL default '', `name` varchar(255) NOT NULL default '', PRIMARY KEY (`iso`) ) TYPE=MyISAM; -- -- Dumping data for table `language` -- INSERT INTO `language` (`iso`, `name`) VALUES ('EN', 'Anglais'); INSERT INTO `language` (`iso`, `name`) VALUES ('FR', 'Français'); INSERT INTO `language` (`iso`, `name`) VALUES ('AF', 'Afrikaans'); INSERT INTO `language` (`iso`, `name`) VALUES ('AA', 'Afar'); INSERT INTO `language` (`iso`, `name`) VALUES ('AB', 'Abkhaze'); INSERT INTO `language` (`iso`, `name`) VALUES ('AK', 'Akan'); INSERT INTO `language` (`iso`, `name`) VALUES ('SQ', 'Albanais'); INSERT INTO `language` (`iso`, `name`) VALUES ('DE', 'Allemand'); INSERT INTO `language` (`iso`, `name`) VALUES ('AM', 'Amharique'); INSERT INTO `language` (`iso`, `name`) VALUES ('AR', 'Arabe'); INSERT INTO `language` (`iso`, `name`) VALUES ('AN', 'Aragonais'); INSERT INTO `language` (`iso`, `name`) VALUES ('HY', 'Arménien'); INSERT INTO `language` (`iso`, `name`) VALUES ('AS', 'Assamais'); INSERT INTO `language` (`iso`, `name`) VALUES ('AV', 'Avar'); INSERT INTO `language` (`iso`, `name`) VALUES ('AE', 'Avestique'); INSERT INTO `language` (`iso`, `name`) VALUES ('AY', 'Aymara'); INSERT INTO `language` (`iso`, `name`) VALUES ('AZ', 'Azéri'); INSERT INTO `language` (`iso`, `name`) VALUES ('BA', 'Bachkir'); INSERT INTO `language` (`iso`, `name`) VALUES ('BM', 'Bambara'); INSERT INTO `language` (`iso`, `name`) VALUES ('EU', 'Basque'); INSERT INTO `language` (`iso`, `name`) VALUES ('BN', 'Bengali'); INSERT INTO `language` (`iso`, `name`) VALUES ('BI', 'Bichlamar'); INSERT INTO `language` (`iso`, `name`) VALUES ('BE', 'Biélorusse'); INSERT INTO `language` (`iso`, `name`) VALUES ('BH', 'Bihari'); INSERT INTO `language` (`iso`, `name`) VALUES ('MY', 'Birman'); INSERT INTO `language` (`iso`, `name`) VALUES ('BS', 'Bosniaque'); INSERT INTO `language` (`iso`, `name`) VALUES ('BR', 'Breton'); INSERT INTO `language` (`iso`, `name`) VALUES ('BG', 'Bulgare'); INSERT INTO `language` (`iso`, `name`) VALUES ('CA', 'Catalan'); INSERT INTO `language` (`iso`, `name`) VALUES ('CH', 'Chamorro'); INSERT INTO `language` (`iso`, `name`) VALUES ('NY', 'Chichewa'); INSERT INTO `language` (`iso`, `name`) VALUES ('ZH', 'Chinois'); INSERT INTO `language` (`iso`, `name`) VALUES ('KO', 'Coréen'); INSERT INTO `language` (`iso`, `name`) VALUES ('KW', 'Cornique'); INSERT INTO `language` (`iso`, `name`) VALUES ('CO', 'Corse'); INSERT INTO `language` (`iso`, `name`) VALUES ('CR', 'Cree'); INSERT INTO `language` (`iso`, `name`) VALUES ('HR', 'Croate'); INSERT INTO `language` (`iso`, `name`) VALUES ('DA', 'Danois'); INSERT INTO `language` (`iso`, `name`) VALUES ('DZ', 'Dzongkha'); INSERT INTO `language` (`iso`, `name`) VALUES ('ES', 'Espagnol'); INSERT INTO `language` (`iso`, `name`) VALUES ('EO', 'Espéranto'); INSERT INTO `language` (`iso`, `name`) VALUES ('ET', 'Estonien'); INSERT INTO `language` (`iso`, `name`) VALUES ('EE', 'Éwé'); INSERT INTO `language` (`iso`, `name`) VALUES ('FO', 'Féroïen'); INSERT INTO `language` (`iso`, `name`) VALUES ('FJ', 'Fidjien'); INSERT INTO `language` (`iso`, `name`) VALUES ('FI', 'Finnois'); INSERT INTO `language` (`iso`, `name`) VALUES ('FL', 'Flamand'); INSERT INTO `language` (`iso`, `name`) VALUES ('FY', 'Frison'); INSERT INTO `language` (`iso`, `name`) VALUES ('GD', 'Gaélique'); INSERT INTO `language` (`iso`, `name`) VALUES ('GL', 'Galicien'); INSERT INTO `language` (`iso`, `name`) VALUES ('OM', 'Galla'); INSERT INTO `language` (`iso`, `name`) VALUES ('CY', 'Gallois'); INSERT INTO `language` (`iso`, `name`) VALUES ('LG', 'Ganda'); INSERT INTO `language` (`iso`, `name`) VALUES ('KA', 'Géorgien'); INSERT INTO `language` (`iso`, `name`) VALUES ('GU', 'Goudjrati'); INSERT INTO `language` (`iso`, `name`) VALUES ('EL', 'Grec'); INSERT INTO `language` (`iso`, `name`) VALUES ('KL', 'Groenlandais'); INSERT INTO `language` (`iso`, `name`) VALUES ('GN', 'Guarani'); INSERT INTO `language` (`iso`, `name`) VALUES ('HT', 'Haïtien'); INSERT INTO `language` (`iso`, `name`) VALUES ('HA', 'Haoussa'); INSERT INTO `language` (`iso`, `name`) VALUES ('HE', 'Hébreu'); INSERT INTO `language` (`iso`, `name`) VALUES ('HZ', 'Herero'); INSERT INTO `language` (`iso`, `name`) VALUES ('HI', 'Hindi'); INSERT INTO `language` (`iso`, `name`) VALUES ('HO', 'Hiri Motu'); INSERT INTO `language` (`iso`, `name`) VALUES ('HU', 'Hongrois'); INSERT INTO `language` (`iso`, `name`) VALUES ('IO', 'Ido'); INSERT INTO `language` (`iso`, `name`) VALUES ('IG', 'Igbo'); INSERT INTO `language` (`iso`, `name`) VALUES ('ID', 'Indonésien'); INSERT INTO `language` (`iso`, `name`) VALUES ('IE', 'Interlingue'); INSERT INTO `language` (`iso`, `name`) VALUES ('IU', 'Inuktitut'); INSERT INTO `language` (`iso`, `name`) VALUES ('IK', 'Inupiaq'); INSERT INTO `language` (`iso`, `name`) VALUES ('GA', 'Irlandais'); INSERT INTO `language` (`iso`, `name`) VALUES ('IS', 'Islandais'); INSERT INTO `language` (`iso`, `name`) VALUES ('IT', 'Italien'); INSERT INTO `language` (`iso`, `name`) VALUES ('JA', 'Japonais'); INSERT INTO `language` (`iso`, `name`) VALUES ('JV', 'Javanais'); INSERT INTO `language` (`iso`, `name`) VALUES ('KN', 'Kannada'); INSERT INTO `language` (`iso`, `name`) VALUES ('KR', 'Kanouri'); INSERT INTO `language` (`iso`, `name`) VALUES ('KS', 'Kashmiri'); INSERT INTO `language` (`iso`, `name`) VALUES ('KK', 'Kazakh'); INSERT INTO `language` (`iso`, `name`) VALUES ('KM', 'Khmer'); INSERT INTO `language` (`iso`, `name`) VALUES ('KI', 'Kikuyu'); INSERT INTO `language` (`iso`, `name`) VALUES ('KY', 'Kirghize'); INSERT INTO `language` (`iso`, `name`) VALUES ('KV', 'Kom'); INSERT INTO `language` (`iso`, `name`) VALUES ('KG', 'Kongo'); INSERT INTO `language` (`iso`, `name`) VALUES ('KJ', 'Kuanyama'); INSERT INTO `language` (`iso`, `name`) VALUES ('KU', 'Kurde'); INSERT INTO `language` (`iso`, `name`) VALUES ('LO', 'Lao'); INSERT INTO `language` (`iso`, `name`) VALUES ('LA', 'Latin'); INSERT INTO `language` (`iso`, `name`) VALUES ('LV', 'Letton'); INSERT INTO `language` (`iso`, `name`) VALUES ('LI', 'Limbourgeois'); INSERT INTO `language` (`iso`, `name`) VALUES ('LN', 'Lingala'); INSERT INTO `language` (`iso`, `name`) VALUES ('LT', 'Lituanien'); INSERT INTO `language` (`iso`, `name`) VALUES ('LU', 'Luba-Katanga'); INSERT INTO `language` (`iso`, `name`) VALUES ('LB', 'Luxembourgeois'); INSERT INTO `language` (`iso`, `name`) VALUES ('MK', 'Macédonien'); INSERT INTO `language` (`iso`, `name`) VALUES ('MS', 'Malais'); INSERT INTO `language` (`iso`, `name`) VALUES ('ML', 'Malayalam'); INSERT INTO `language` (`iso`, `name`) VALUES ('DV', 'Maldivien'); INSERT INTO `language` (`iso`, `name`) VALUES ('MG', 'Malgache'); INSERT INTO `language` (`iso`, `name`) VALUES ('MT', 'Maltais'); INSERT INTO `language` (`iso`, `name`) VALUES ('GV', 'Mannois'); INSERT INTO `language` (`iso`, `name`) VALUES ('MI', 'Maori'); INSERT INTO `language` (`iso`, `name`) VALUES ('MR', 'Marathe'); INSERT INTO `language` (`iso`, `name`) VALUES ('MH', 'Marshall'); INSERT INTO `language` (`iso`, `name`) VALUES ('MO', 'Moldave'); INSERT INTO `language` (`iso`, `name`) VALUES ('MN', 'Mongol'); INSERT INTO `language` (`iso`, `name`) VALUES ('NA', 'Nauruan'); INSERT INTO `language` (`iso`, `name`) VALUES ('NV', 'Navaho'); INSERT INTO `language` (`iso`, `name`) VALUES ('ND', 'Ndébélé du Sud'); INSERT INTO `language` (`iso`, `name`) VALUES ('NG', 'Ndonga'); INSERT INTO `language` (`iso`, `name`) VALUES ('NL', 'Néerlandais'); INSERT INTO `language` (`iso`, `name`) VALUES ('NE', 'Népalais'); INSERT INTO `language` (`iso`, `name`) VALUES ('NO', 'Norvégien'); INSERT INTO `language` (`iso`, `name`) VALUES ('NB', 'Norvégien Bokmål'); INSERT INTO `language` (`iso`, `name`) VALUES ('NN', 'Norvégien Nynorsk'); INSERT INTO `language` (`iso`, `name`) VALUES ('OJ', 'Ojibwa'); INSERT INTO `language` (`iso`, `name`) VALUES ('OR', 'Oriya'); INSERT INTO `language` (`iso`, `name`) VALUES ('OS', 'Ossète'); INSERT INTO `language` (`iso`, `name`) VALUES ('UG', 'Ouïgour'); INSERT INTO `language` (`iso`, `name`) VALUES ('UR', 'Ourdou'); INSERT INTO `language` (`iso`, `name`) VALUES ('UZ', 'Ouszbek'); INSERT INTO `language` (`iso`, `name`) VALUES ('PS', 'Pachto'); INSERT INTO `language` (`iso`, `name`) VALUES ('PI', 'Pali'); INSERT INTO `language` (`iso`, `name`) VALUES ('PA', 'Pendjabi'); INSERT INTO `language` (`iso`, `name`) VALUES ('FA', 'Persan'); INSERT INTO `language` (`iso`, `name`) VALUES ('FF', 'Peul'); INSERT INTO `language` (`iso`, `name`) VALUES ('PL', 'Polonais'); INSERT INTO `language` (`iso`, `name`) VALUES ('PT', 'Portugais'); INSERT INTO `language` (`iso`, `name`) VALUES ('QU', 'Quechua'); INSERT INTO `language` (`iso`, `name`) VALUES ('RM', 'Rhéto-Roman'); INSERT INTO `language` (`iso`, `name`) VALUES ('RO', 'Roumain'); INSERT INTO `language` (`iso`, `name`) VALUES ('RN', 'Rundi'); INSERT INTO `language` (`iso`, `name`) VALUES ('RU', 'Russe'); INSERT INTO `language` (`iso`, `name`) VALUES ('RW', 'Rwanda'); INSERT INTO `language` (`iso`, `name`) VALUES ('SE', 'Sami du Nord'); INSERT INTO `language` (`iso`, `name`) VALUES ('SM', 'Samoan'); INSERT INTO `language` (`iso`, `name`) VALUES ('SG', 'Sango'); INSERT INTO `language` (`iso`, `name`) VALUES ('SA', 'Sanskrit'); INSERT INTO `language` (`iso`, `name`) VALUES ('SC', 'Sarde'); INSERT INTO `language` (`iso`, `name`) VALUES ('SR', 'Serbe'); INSERT INTO `language` (`iso`, `name`) VALUES ('SN', 'Shona'); INSERT INTO `language` (`iso`, `name`) VALUES ('SD', 'Sindhi'); INSERT INTO `language` (`iso`, `name`) VALUES ('SI', 'Singhalais'); INSERT INTO `language` (`iso`, `name`) VALUES ('SK', 'Slovaque'); INSERT INTO `language` (`iso`, `name`) VALUES ('SL', 'Slovène'); INSERT INTO `language` (`iso`, `name`) VALUES ('SO', 'Somali'); INSERT INTO `language` (`iso`, `name`) VALUES ('ST', 'Sotho du Sud'); INSERT INTO `language` (`iso`, `name`) VALUES ('SU', 'Soundanais'); INSERT INTO `language` (`iso`, `name`) VALUES ('SV', 'Suédois'); INSERT INTO `language` (`iso`, `name`) VALUES ('SW', 'Swahili'); INSERT INTO `language` (`iso`, `name`) VALUES ('SS', 'Swati'); INSERT INTO `language` (`iso`, `name`) VALUES ('TG', 'Tadjik'); INSERT INTO `language` (`iso`, `name`) VALUES ('TL', 'Tagalog'); INSERT INTO `language` (`iso`, `name`) VALUES ('TY', 'Tahitien'); INSERT INTO `language` (`iso`, `name`) VALUES ('TA', 'Tamoul'); INSERT INTO `language` (`iso`, `name`) VALUES ('TT', 'Tatar'); INSERT INTO `language` (`iso`, `name`) VALUES ('CS', 'Tchèque'); INSERT INTO `language` (`iso`, `name`) VALUES ('CE', 'Tchétchène'); INSERT INTO `language` (`iso`, `name`) VALUES ('CV', 'Tchouvache'); INSERT INTO `language` (`iso`, `name`) VALUES ('TE', 'Télougou'); INSERT INTO `language` (`iso`, `name`) VALUES ('TH', 'Thaï'); INSERT INTO `language` (`iso`, `name`) VALUES ('BO', 'Tibétain'); INSERT INTO `language` (`iso`, `name`) VALUES ('TI', 'Tigrigna'); INSERT INTO `language` (`iso`, `name`) VALUES ('TO', 'Tongan'); INSERT INTO `language` (`iso`, `name`) VALUES ('TS', 'Tsonga'); INSERT INTO `language` (`iso`, `name`) VALUES ('TN', 'Tswana'); INSERT INTO `language` (`iso`, `name`) VALUES ('TR', 'Turc'); INSERT INTO `language` (`iso`, `name`) VALUES ('TK', 'Turkmène'); INSERT INTO `language` (`iso`, `name`) VALUES ('TW', 'Twi'); INSERT INTO `language` (`iso`, `name`) VALUES ('UK', 'Ukrainien'); INSERT INTO `language` (`iso`, `name`) VALUES ('VE', 'Venda'); INSERT INTO `language` (`iso`, `name`) VALUES ('VI', 'Vietnamien'); INSERT INTO `language` (`iso`, `name`) VALUES ('VO', 'Volapük'); INSERT INTO `language` (`iso`, `name`) VALUES ('WA', 'Wallon'); INSERT INTO `language` (`iso`, `name`) VALUES ('WO', 'Wolof'); INSERT INTO `language` (`iso`, `name`) VALUES ('XH', 'Xhosa'); INSERT INTO `language` (`iso`, `name`) VALUES ('II', 'Yi de Sichuan'); INSERT INTO `language` (`iso`, `name`) VALUES ('YI', 'Yiddish'); INSERT INTO `language` (`iso`, `name`) VALUES ('YO', 'Yoruba'); INSERT INTO `language` (`iso`, `name`) VALUES ('ZA', 'Zhuang / Chuang'); INSERT INTO `language` (`iso`, `name`) VALUES ('ZU', 'Zoulou'); -- -------------------------------------------------------- -- -- Table structure for table `participer` -- DROP TABLE IF EXISTS `participer`; CREATE TABLE `participer` ( `id` int(10) unsigned NOT NULL auto_increment, `doc_id` int(10) unsigned NOT NULL default '0', `pers_id` int(10) unsigned NOT NULL default '0', `fonction_id` int(10) unsigned NOT NULL default '0', `rang` int(10) unsigned NOT NULL default '1', `log` int(10) unsigned NOT NULL default '0', `date` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`id`) ) TYPE=MyISAM AUTO_INCREMENT=1 ; -- -- Dumping data for table `participer` -- -- -------------------------------------------------------- -- -- Table structure for table `personne` -- DROP TABLE IF EXISTS `personne`; CREATE TABLE `personne` ( `pers_id` int(10) unsigned NOT NULL auto_increment, `pers_last` varchar(255) default NULL, `pers_first` varchar(255) default NULL, `lab` int(4) NOT NULL default '0', `log` int(10) unsigned NOT NULL default '0', `date` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`pers_id`) ) TYPE=MyISAM AUTO_INCREMENT=1 ; -- -- Dumping data for table `personne` -- -- -------------------------------------------------------- -- -- Table structure for table `priv` -- DROP TABLE IF EXISTS `priv`; CREATE TABLE `priv` ( `priv_id` int(2) NOT NULL default '0', `priv_libelle` varchar(64) NOT NULL default '' ) TYPE=MyISAM; -- -- Dumping data for table `priv` -- INSERT INTO `priv` (`priv_id`, `priv_libelle`) VALUES (0, 'user'); INSERT INTO `priv` (`priv_id`, `priv_libelle`) VALUES (1, 'admin'); INSERT INTO `priv` (`priv_id`, `priv_libelle`) VALUES (2, 'root'); -- -------------------------------------------------------- -- -- Table structure for table `publisher` -- DROP TABLE IF EXISTS `publisher`; CREATE TABLE `publisher` ( `publisher_id` int(10) unsigned NOT NULL auto_increment, `publisher_name` varchar(255) NOT NULL default '', `publisher_address` varchar(255) NOT NULL default '', `log` int(10) unsigned NOT NULL default '0', `date` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`publisher_id`) ) TYPE=MyISAM AUTO_INCREMENT=20 ; -- -- Dumping data for table `publisher` -- INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (1, 'International Center for Numerical Methods in Engineering (CIMNE)', 'Barcelona, Spain', 0, '2008-02-08 15:22:08'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (2, 'Kluwer Academic Publishers', 'Dordrecht, Boston, London', 0, '2008-02-08 15:25:50'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (3, 'International Glaciological Society', '', 0, '2008-02-12 14:44:40'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (4, 'MHD Pamir publications', 'Grenoble', 0, '2008-02-20 17:58:00'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (5, 'Springer', 'Dordrecht, The Netherlands', 2, '2008-02-22 15:25:03'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (6, 'Chemical and Biological Microsystems Society', '307 Laurel Street, San Diego, California 92101-1630 USA', 0, '2008-03-07 17:35:05'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (7, 'Société Hydrotechnique de France', '25 rue des Favorites 75015 Paris', 1, '2008-05-05 16:12:37'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (8, 'Association Française de Mécanique', 'Maison de la Mécanique, 39/41 rue Louis Blanc - 92400 Courbevoie', 0, '2008-05-13 10:27:25'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (9, 'Cambridge University Press', 'Cambridge, United Kingdom', 0, '2008-06-18 18:48:01'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (10, 'Ellipses Edition Marketing S.A.', '32, rue Bargue 75740 Paris cedex 15', 0, '2008-09-09 11:49:01'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (11, 'Multi-Science Publishing Co', '5 Wates Way, Brentwood, Essex CM15 9TB, UK', 0, '2008-09-26 11:51:48'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (13, 'Pineridge Press', '54, Newton Road, Mumbles, Swansea, U.K.', 0, '2008-10-01 16:59:42'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (14, 'VCH Verlagsgesellschaft', 'Postfach 101161, D-6940 Wainheim (Germany)', 0, '2008-10-02 11:08:47'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (15, 'Éditions Lavoisier - Technique et Documentation', '11 Rue Lavoisier, Paris, Paris 75008', 0, '2008-10-02 15:25:35'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (16, 'Friedrich Vieweg und Sohn', '', 0, '2008-10-02 16:00:05'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (17, 'AIAA', '', 0, '2008-12-10 13:33:45'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (18, 'European Acoustics Association', '', 0, '2008-12-15 19:21:12'); INSERT INTO `publisher` (`publisher_id`, `publisher_name`, `publisher_address`, `log`, `date`) VALUES (19, 'International Institute of Noise Control Engineering', 'Purdue University West Lafayette, USA', 0, '2008-12-19 12:55:43'); -- -------------------------------------------------------- -- -- Table structure for table `soustypedoc` -- DROP TABLE IF EXISTS `soustypedoc`; CREATE TABLE `soustypedoc` ( `soustypedoc_id` int(10) unsigned NOT NULL default '0', `soustypedoc_libelle` varchar(255) default NULL, PRIMARY KEY (`soustypedoc_id`) ) TYPE=MyISAM; -- -- Dumping data for table `soustypedoc` -- INSERT INTO `soustypedoc` (`soustypedoc_id`, `soustypedoc_libelle`) VALUES (60, 'thèse de doctorat'); INSERT INTO `soustypedoc` (`soustypedoc_id`, `soustypedoc_libelle`) VALUES (61, 'habilitation à diriger des recherches'); INSERT INTO `soustypedoc` (`soustypedoc_id`, `soustypedoc_libelle`) VALUES (0, 'aucun'); INSERT INTO `soustypedoc` (`soustypedoc_id`, `soustypedoc_libelle`) VALUES (80, 'communication non invitée'); INSERT INTO `soustypedoc` (`soustypedoc_id`, `soustypedoc_libelle`) VALUES (81, 'communication invitée'); INSERT INTO `soustypedoc` (`soustypedoc_id`, `soustypedoc_libelle`) VALUES (30, 'communication non invitée'); INSERT INTO `soustypedoc` (`soustypedoc_id`, `soustypedoc_libelle`) VALUES (31, 'communication invitée'); -- -------------------------------------------------------- -- -- Table structure for table `tables` -- DROP TABLE IF EXISTS `tables`; CREATE TABLE `tables` ( `table_id` int(10) unsigned NOT NULL auto_increment, `table_name` varchar(255) NOT NULL default '', PRIMARY KEY (`table_id`) ) TYPE=MyISAM AUTO_INCREMENT=13 ; -- -- Dumping data for table `tables` -- INSERT INTO `tables` (`table_id`, `table_name`) VALUES (1, 'personne'); INSERT INTO `tables` (`table_id`, `table_name`) VALUES (2, 'journal'); INSERT INTO `tables` (`table_id`, `table_name`) VALUES (3, 'document'); INSERT INTO `tables` (`table_id`, `table_name`) VALUES (4, 'participer'); INSERT INTO `tables` (`table_id`, `table_name`) VALUES (5, 'fonction'); INSERT INTO `tables` (`table_id`, `table_name`) VALUES (6, 'typedoc'); INSERT INTO `tables` (`table_id`, `table_name`) VALUES (7, 'user'); INSERT INTO `tables` (`table_id`, `table_name`) VALUES (8, 'history'); INSERT INTO `tables` (`table_id`, `table_name`) VALUES (9, 'groupes'); INSERT INTO `tables` (`table_id`, `table_name`) VALUES (10, 'publisher'); INSERT INTO `tables` (`table_id`, `table_name`) VALUES (11, 'conference'); -- -------------------------------------------------------- -- -- Table structure for table `typedoc` -- DROP TABLE IF EXISTS `typedoc`; CREATE TABLE `typedoc` ( `typedoc_id` int(10) unsigned NOT NULL default '0', `typedoc_libelle` varchar(255) default NULL, `typedoc_name` varchar(255) NOT NULL default '', `order` int(4) NOT NULL default '0', PRIMARY KEY (`typedoc_id`) ) TYPE=MyISAM; -- -- Dumping data for table `typedoc` -- INSERT INTO `typedoc` (`typedoc_id`, `typedoc_libelle`, `typedoc_name`, `order`) VALUES (4, 'article', 'articles', 1); INSERT INTO `typedoc` (`typedoc_id`, `typedoc_libelle`, `typedoc_name`, `order`) VALUES (6, 'these', 'thèses/hdr', 2); INSERT INTO `typedoc` (`typedoc_id`, `typedoc_libelle`, `typedoc_name`, `order`) VALUES (3, 'conference_proceeding', 'communications avec actes', 3); INSERT INTO `typedoc` (`typedoc_id`, `typedoc_libelle`, `typedoc_name`, `order`) VALUES (7, 'proceedings_book', 'actes d''une conférence', 10); INSERT INTO `typedoc` (`typedoc_id`, `typedoc_libelle`, `typedoc_name`, `order`) VALUES (8, 'conference_abstract', 'communications sans actes', 4); INSERT INTO `typedoc` (`typedoc_id`, `typedoc_libelle`, `typedoc_name`, `order`) VALUES (1, 'book', 'livres et ouvrages', 5); -- -------------------------------------------------------- -- -- Table structure for table `typejournal` -- DROP TABLE IF EXISTS `typejournal`; CREATE TABLE `typejournal` ( `typejournal_id` int(8) NOT NULL default '0', `typejournal_libelle` varchar(255) NOT NULL default '', PRIMARY KEY (`typejournal_id`) ) TYPE=MyISAM; -- -- Dumping data for table `typejournal` -- INSERT INTO `typejournal` (`typejournal_id`, `typejournal_libelle`) VALUES (2, 'journal international à comité de lecture, non référencé dans le Web of Science'); INSERT INTO `typejournal` (`typejournal_id`, `typejournal_libelle`) VALUES (3, 'journal national ou sans comité de lecture'); INSERT INTO `typejournal` (`typejournal_id`, `typejournal_libelle`) VALUES (10, 'autre'); INSERT INTO `typejournal` (`typejournal_id`, `typejournal_libelle`) VALUES (1, 'journal référencé dans le Web of Science'); -- -------------------------------------------------------- -- -- Table structure for table `user` -- DROP TABLE IF EXISTS `user`; CREATE TABLE `user` ( `u_id` int(10) unsigned NOT NULL auto_increment, `u_name` varchar(255) default NULL, `u_first` varchar(255) default NULL, `u_mail` varchar(255) default NULL, `u_login` varchar(32) NOT NULL default '', `u_password` varchar(32) default NULL, `u_groupid` int(10) unsigned NOT NULL default '0', `u_status` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`u_id`) ) TYPE=MyISAM AUTO_INCREMENT=3 ; -- -- Dumping data for table `user` -- INSERT INTO `user` (`u_id`, `u_name`, `u_first`, `u_mail`, `u_login`, `u_password`, `u_groupid`, `u_status`) VALUES (0, 'root', '', 'root@phpubli.org', 'root', 'eda87bffb97f791c3d0e78a5a54be278', 0, 2); INSERT INTO `user` (`u_id`, `u_name`, `u_first`, `u_mail`, `u_login`, `u_password`, `u_groupid`, `u_status`) VALUES (1, 'admin1', '', 'admin1@phpubli.org', 'admin1', '9027350bf05be72120ae27c02b7b9491', 1, 1); INSERT INTO `user` (`u_id`, `u_name`, `u_first`, `u_mail`, `u_login`, `u_password`, `u_groupid`, `u_status`) VALUES (2, 'user1', '', 'user1@phpubli.org', 'user1', '95542d9f989eacf9d9a26ea221b9fedc', 1, 0); phpubli-1.0/phpubli_create.sql0000664000175000017500000000032011260607037016045 0ustar benoitbenoit-- -- Database: `phpubli` -- DROP DATABASE IF EXISTS `phpubli`; CREATE DATABASE IF NOT EXISTS `phpubli`; GRANT ALL PRIVILEGES ON phpubli.* TO 'phpubli_login'@'localhost' IDENTIFIED BY 'phpubli_password'; phpubli-1.0/CREDITS0000664000175000017500000000130211260607037013357 0ustar benoitbenoitREMERCIEMENTS Stéphane PINAUT qui a conçu le tout premier modèle de base de données avec lequel ce projet a démarré. Philippe RIGAUX pour son excellent livre "Pratique de MySQL et PHP" (O'Reilly) sans lequel ce projet n'aurait pas été possible. Anne CADIOU, Fabien GODEFERD pour leurs coups de main informatiques. Philippe CARRIÈRE, Florence RAYNAL, Jean-Pierre BERTOGLIO pour leurs encouragements dans les nombreux moments où ce projet a failli être abandonné. Joëlle KREISS, Philippe EYRAUD, Julien SICOT pour leur aide et leur savoir-faire dans le domaine des catalogues et des bibliothèques. Les innombrables développeurs de logiciels libres sans lesquels aucun projet ne pourrait voir le jour. phpubli-1.0/README0000664000175000017500000000551611260607037013232 0ustar benoitbenoit--------------------------------------------------------------------------------------- PHPUBLI Copyright (C) 2007-2009 CNRS Auteur : Benoît PIER Laboratoire de mécanique des fluides et d'acoustique (CNRS-Université de Lyon) École centrale de Lyon 36 avenue Guy-de-Collongue 69134 Écully cedex, France Ce programme est un logiciel libre distribué sous licence GNU/GPL version 3. Pour plus de détails voir le fichier COPYING. --------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------- PHPUBLI - Serveur php/mysql pour gérer, chercher, mettre en ligne et formater les notices bibliographiques de documents scientifiques (typiquement la production scientifique d'un laboratoire de recherche). La structure très détaillée de la base de données a été pensée pour être flexible et interfaçable avec d'autres systèmes (affichage personnalisé, alimentation d'autres bases de données...), pour éviter toute redondance inutile, minimiser les erreurs de saisie et rester compatible avec des besoins futurs. Un exemple de mise en oeuvre est visible à l'adresse http://www.lmfa.ec-lyon.fr/publi. Cet outil gère les types de documents suivants : articles dans des revues scientifiques, thèses, hdr, communications dans des congrès avec ou sans actes, livres et ouvrages. La recherche de documents par auteur et/ou année de publication et/ou type de document et/ou équipe de recherche est proposée ; des critères beaucoup plus élaborés sont possibles. Cette base de données a pour vocation de référencer les publications mais non de les archiver. Pour chaque notice, les fonctionnalités proposées comprennent aussi : * lien DOI vers l'original du document ; * lien vers l'archive ouverte HAL ; * recherche automatique du document via Google Scholar. Une interface permet l'export d'une sélection de documents dans des formats utilisables par d'autres logiciels : * bibtex pour utilisation avec Latex ; * RIS qui permet d'alimenter d'autres systèmes (Endnote, Refworks#) directement avec les données de la base ; * XML le format le plus généraliste qui permet de reproduire le plus fidèlement possible la structure des données de la base et qui peut être mis en forme de manière très flexible par des fichiers XSLT. L'option XML (générique) exporte un maximum d'informations de la base, alors que l'option XML (compatible HAL) produit un fichier pour import automatique des données vers les serveurs de HAL. Les opérations (ajouts, modifications) sur la base se font dans l'espace intranet après identification par login et mot de passe. Chaque notice peut être validée et protégée en écriture par des utilisateurs privilégiés. --------------------------------------------------------------------------------------- phpubli-1.0/phpubli/0000775000175000017500000000000011260607037014006 5ustar benoitbenoitphpubli-1.0/phpubli/functions_export.php0000664000175000017500000006041211260607037020133 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ // ****************************************************************************** // functions_export.php : export des données à différents formats // bibtex, xml compatible HAL, xml générique, RIS // ****************************************************************************** function export_document_bibtex($docid, $bd) { $lines=""; $query="SELECT * FROM document WHERE doc_id = $docid"; $res=$bd->exec_query($query); $document=$bd->fetch_object($res); $result = $bd->exec_query("SELECT typedoc_libelle FROM typedoc WHERE typedoc_id='$document->typedoc_id' "); $ob=$bd->fetch_object($result); $typedoc_libelle=$ob->typedoc_libelle; if ("$typedoc_libelle"=="book") $lines="@BOOK{"; if ("$typedoc_libelle"=="these") $lines="@PHDTHESIS{"; if ("$typedoc_libelle"=="article") $lines="@ARTICLE{"; if ("$typedoc_libelle"=="conference_proceeding") $lines="@INPROCEEDINGS{"; if ( "$lines"!="") { $lines .="lmfa_pub_$docid,\n"; // author list $authlist=""; $query = "SELECT pers_id FROM participer" . " WHERE doc_id='$document->doc_id'" . " AND fonction_id = '1' " . " ORDER BY rang"; $aresult = $bd->exec_query ($query); $space=""; while ($ob = $bd->fetch_object ($aresult) ) { $query = "SELECT * FROM personne" . " WHERE pers_id='$ob->pers_id'"; $a = $bd->exec_query ($query); $auth=$bd->fetch_object($a); // $author=ascii2tex(stripSlashes($auth->pers_first)) . " {" . ascii2tex(stripSlashes($auth->pers_last)) . "}"; $author=ascii2tex(stripSlashes($auth->pers_last)) . ", " . ascii2tex(stripSlashes($auth->pers_first)); $authlist .= $space; $authlist .= $author; $space = " AND "; } $lines .= "\tauthor={" . $authlist . "},\n" ; $lines .= "\tyear={" . $document->year . "},\n" ; $lines .= "\ttitle={" . ascii2tex(stripSlashes($document->title)) . "},\n" ; if ("$typedoc_libelle"=="article") { $query = "SELECT * FROM journal WHERE journal_id=$document->journal_id"; $jresult = $bd->exec_query ($query); $journal = $bd->fetch_object ($jresult); $lines .= "\tjournal={" . ascii2tex(stripSlashes($journal->journal_name)) . "},\n"; $lines .= "\tvolume={" . $document->volume . "},\n"; $pages_start=$document->pages_start; $pages_end=$document->pages_end; $pages_eid=$document->pages_eid; $pages_num=$document->pages_num; if ( "$pages_eid"!="") { $lines .= "\tpages={" . $pages_eid . "},\n"; } else if ( "$pages_start"!="") { $lines .= "\tpages={" . $pages_start; if ( "$pages_end"!="") $lines .= "--$pages_end"; $lines .= "},\n"; } } if ("$typedoc_libelle"=="these") { $query = "SELECT * FROM institution WHERE institution_id=$document->institution_id"; $iresult = $bd->exec_query ($query); $institution = $bd->fetch_object ($iresult); if ("$document->soustypedoc_id"=="61") $key="HDR"; else $key="PHD"; $lines .= "\tschool={" . ascii2tex(stripSlashes($institution->institution_name)) . "},\n"; $lines .= "\ttype={" . $key . "},\n"; } if ("$typedoc_libelle"=="conference_proceeding") { $pages_start=$document->pages_start; $pages_end=$document->pages_end; $pages_eid=$document->pages_eid; $pages_num=$document->pages_num; if ( "$pages_eid"!="") { $lines .= "\tpages={" . $pages_eid . "},\n"; } else if ( "$pages_start"!="") { $lines .= "\tpages={" . $pages_start; if ( "$pages_end"!="") $lines .= "--$pages_end"; $lines .= "},\n"; } $query = "SELECT * FROM document WHERE doc_id=$document->proceedings_id"; $presult = $bd->exec_query ($query); $proceedings = $bd->fetch_object ($presult); $lines .= "\tbooktitle={" . ascii2tex(stripSlashes($proceedings->title)) . "},\n"; // editor list $authlist=""; $query = "SELECT pers_id FROM participer" . " WHERE doc_id='$proceedings->doc_id'" . " AND fonction_id = '2' " . " ORDER BY rang"; $aresult = $bd->exec_query ($query); $space=""; while ($ob = $bd->fetch_object ($aresult) ) { $query = "SELECT * FROM personne" . " WHERE pers_id='$ob->pers_id'"; $a = $bd->exec_query ($query); $auth=$bd->fetch_object($a); // $author=ascii2tex(stripSlashes($auth->pers_first)) . " {" . ascii2tex(stripSlashes($auth->pers_last)) . "}"; $author=ascii2tex(stripSlashes($auth->pers_last)) . ", " . ascii2tex(stripSlashes($auth->pers_first)); $authlist .= $space; $authlist .= $author; $space = " AND "; } $lines .= "\teditor={" . $authlist . "},\n" ; $query = "SELECT * FROM publisher WHERE publisher_id=$proceedings->publisher_id"; $presult = $bd->exec_query ($query); $publisher = $bd->fetch_object ($presult); $lines .= "\tpublisher={" . ascii2tex(stripSlashes($publisher->publisher_name)) . "},\n"; $lines .= "\taddress={" . ascii2tex(stripSlashes($publisher->publisher_address)) . "},\n"; } if ("$typedoc_libelle"=="book") { $query = "SELECT * FROM publisher WHERE publisher_id=$document->publisher_id"; $presult = $bd->exec_query ($query); $publisher = $bd->fetch_object ($presult); $lines .= "\tpublisher={" . ascii2tex(stripSlashes($publisher->publisher_name)) . "},\n"; $lines .= "\taddress={" . ascii2tex(stripSlashes($publisher->publisher_address)) . "},\n"; } $note=stripSlashes($document->note); if ( "$note"!="") { $lines .= "\tnote={" . ascii2tex(stripSlashes($note)) . "},\n"; } $lines .= "}\n\n"; echo $lines; } } function export_document_xmlhal($docid, $bd) { global $LABO_HALID; $lines.="\t\n"; $query="SELECT * FROM document WHERE doc_id = $docid"; $res=$bd->exec_query($query); $document=$bd->fetch_object($res); $result = $bd->exec_query("SELECT typedoc_libelle FROM typedoc WHERE typedoc_id='$document->typedoc_id' "); $ob=$bd->fetch_object($result); $typedoc_libelle=$ob->typedoc_libelle; // metadonnees - begin $lines .= "\t\n"; $lines .= "\t\t" . $document->lang . "\n"; $lines .= "\t\t" . stripSlashes($document->title) . "\n" ; $lines .= "\t\t\n"; if ("$typedoc_libelle"=="article") { $lines .= "\t\t\n"; $lines .= "\t\t\t" . $document->year . "\n" ; $lines .= "\t\t\t"; $query = "SELECT * FROM journal WHERE journal_id=$document->journal_id"; $jresult = $bd->exec_query ($query); $journal = $bd->fetch_object ($jresult); $lines .= stripSlashes($journal->journal_fullname); $lines .= "\n"; $lines .= "\t\t\t" . $journal->journal_audience . "\n" ; $lines .= "\t\t\t" . $document->volume . "\n"; $lines .= "\t\t\t"; $pages_start=$document->pages_start; $pages_end=$document->pages_end; $pages_eid=$document->pages_eid; $pages_num=$document->pages_num; if ( "$pages_eid"!="") { $lines .= $pages_eid; } else if ( "$pages_start"!="") { $lines .= $pages_start; if ( "$pages_end"!="") $lines .= "-" . $pages_end; } $lines .= "\n"; $doi=$document->doi; if ( "$doi"!="") $lines .= "\t\t\t" . $doi . "\n"; $lines .= "\t\t\n"; } else if ("$typedoc_libelle"=="conference_proceeding") { $lines .= "\t\t\n"; $query = "SELECT * FROM document WHERE doc_id=$document->proceedings_id"; $presult = $bd->exec_query ($query); $proceedings = $bd->fetch_object ($presult); $lines .= "\t\t\t" . stripSlashes($proceedings->title) . "\n"; $query = "SELECT * FROM conference WHERE conference_id=$proceedings->conference_id"; $cresult = $bd->exec_query ($query); $conference = $bd->fetch_object ($cresult); $lines .= "\t\t\t" . stripSlashes($conference->conference_title) . "\n"; $lines .= "\t\t\t" . substr($conference->conference_date_start, 0, 4) . "\n"; $lines .= "\t\t\t" . stripSlashes($conference->conference_city) . "\n"; $lines .= "\t\t\t" . stripSlashes($conference->conference_country_code) . "\n"; $lines .= "\t\t\t" . $conference->conference_audience . "\n" ; $query = "SELECT * FROM publisher WHERE publisher_id=$proceedings->publisher_id"; $presult = $bd->exec_query ($query); $publisher = $bd->fetch_object ($presult); $lines .= "\t\t\t" . stripSlashes($publisher->publisher_name) . "\n"; $lines .= "\t\t\t" . $document->year . "\n" ; $lines .= "\t\t\t"; $pages_start=$document->pages_start; $pages_end=$document->pages_end; $pages_eid=$document->pages_eid; $pages_num=$document->pages_num; if ( "$pages_eid"!="") { $lines .= $pages_eid; } else if ( "$pages_start"!="") { $lines .= $pages_start; if ( "$pages_end"!="") $lines .= "-" . $pages_end; } $lines .= "\n"; $doi=$document->doi; if ( "$doi"!="") $lines .= "\t\t\t" . $doi . "\n"; $lines .= "\t\t\n"; } else if ("$typedoc_libelle"=="conference_abstract") { $lines .= "\t\t\n"; $query = "SELECT * FROM conference WHERE conference_id=$document->conference_id"; $cresult = $bd->exec_query ($query); $conference = $bd->fetch_object ($cresult); $lines .= "\t\t\t" . stripSlashes($conference->conference_title) . "\n"; $lines .= "\t\t\t" . substr($conference->conference_date_start, 0, 4) . "\n"; $lines .= "\t\t\t" . stripSlashes($conference->conference_city) . "\n"; $lines .= "\t\t\t" . stripSlashes($conference->conference_country_code) . "\n"; $lines .= "\t\t\n"; } else if ("$typedoc_libelle"=="these") { $query = "SELECT * FROM institution WHERE institution_id=$document->institution_id"; $iresult = $bd->exec_query ($query); $institution = $bd->fetch_object ($iresult); if ("$document->soustypedoc_id"=="61") $key="HDR"; else $key="THESE"; $lines .= "\t\t<$key>\n"; $lines .= "\t\t\t" . stripSlashes($institution->institution_name) . "\n"; $lines .= "\t\t\n"; } $lines .= "\t\t\n"; $note=stripSlashes($document->note); if ( "$note"!="") $lines .= "\t\t" . stripSlashes($note) . "\n"; $lines.="\t\n"; // metadonnees - done // author list $lines .= "\t\n"; $lines .= "\t\t\n"; $query = "SELECT * FROM participer" . " WHERE doc_id='$document->doc_id'" . " AND fonction_id = '1' " . " ORDER BY rang"; $aresult = $bd->exec_query ($query); while ($ob = $bd->fetch_object ($aresult) ) { $query = "SELECT * FROM personne" . " WHERE pers_id='$ob->pers_id'"; $a = $bd->exec_query ($query); $auth=$bd->fetch_object($a); $lines .= "\t\t\t\n"; $lines .= "\t\t\t\t" . stripSlashes($auth->pers_first) . "\n"; $lines .= "\t\t\t\t" . stripSlashes($auth->pers_last) . "\n"; if ("$auth->lab"=="1") $lines .= "\t\t\t\t$LABO_HALID\n"; $lines .= "\t\t\t\n"; } $lines .= "\t\t\n"; $lines .= "\t\t\n"; $lines .= "\t\t\t\n"; $lines .= "\t\t\n"; $lines .= "\t\n"; $lines.="\t\n\n"; return $lines; } function export_document_xml($docid, $bd) { $lines="\texec_query($query); $document=$bd->fetch_object($res); $result = $bd->exec_query("SELECT typedoc_libelle FROM typedoc WHERE typedoc_id='$document->typedoc_id' "); $ob=$bd->fetch_object($result); $typedoc_libelle=$ob->typedoc_libelle; if ("$typedoc_libelle"=="article") $lines.="type=\"article\">\n"; else if ("$typedoc_libelle"=="book") $lines.="type=\"book\">\n"; else if ("$typedoc_libelle"=="these") $lines.="type=\"thesis\">\n"; else if ("$typedoc_libelle"=="conference_proceeding") $lines.="type=\"inproceedings\">\n"; else if ("$typedoc_libelle"=="conference_abstract") $lines.="type=\"abstract\">\n"; else $lines=""; if ( "$lines"!="") { // author list $query = "SELECT * FROM participer" . " WHERE doc_id='$document->doc_id'" . " AND fonction_id = '1' " . " ORDER BY rang"; $aresult = $bd->exec_query ($query); while ($ob = $bd->fetch_object ($aresult) ) { $query = "SELECT * FROM personne" . " WHERE pers_id='$ob->pers_id'"; $a = $bd->exec_query ($query); $auth=$bd->fetch_object($a); // $author=ascii2tex(stripSlashes($auth->pers_first)) . " {" . ascii2tex(stripSlashes($auth->pers_last)) . "}"; $lines.="\t\tpers_id . "\" rang=\"" . $ob->rang . "\">\n" . "\t\t\t" . stripSlashes($auth->pers_first) . "\n" . "\t\t\t" . stripSlashes($auth->pers_last) . "\n" . "\t\t\n"; } if ("$typedoc_libelle"=="these") { // advisor list $query = "SELECT * FROM participer" . " WHERE doc_id='$document->doc_id'" . " AND fonction_id = '3' " . " ORDER BY rang"; $aresult = $bd->exec_query ($query); while ($ob = $bd->fetch_object ($aresult) ) { $query = "SELECT * FROM personne" . " WHERE pers_id='$ob->pers_id'"; $a = $bd->exec_query ($query); $auth=$bd->fetch_object($a); // $author=ascii2tex(stripSlashes($auth->pers_first)) . " {" . ascii2tex(stripSlashes($auth->pers_last)) . "}"; $lines.="\t\tpers_id . "\" rang=\"" . $ob->rang . "\">\n" . "\t\t\t" . stripSlashes($auth->pers_first) . "\n" . "\t\t\t" . stripSlashes($auth->pers_last) . "\n" . "\t\t\n"; } } $lines .= "\t\t" . $document->year . "\n" ; $lines .= "\t\t" . stripSlashes($document->title) . "\n" ; if ("$typedoc_libelle"=="article") { $query = "SELECT * FROM journal WHERE journal_id=$document->journal_id"; $jresult = $bd->exec_query ($query); $journal = $bd->fetch_object ($jresult); $lines .= "\t\tjournal_id . "\">". stripSlashes($journal->journal_name) . "\n"; $lines .= "\t\t" . $document->volume . "\n"; } if ( ("$typedoc_libelle"=="article") || ("$typedoc_libelle"=="conference_proceeding") ) { $lines .= "\t\t\n"; $pages_start=$document->pages_start; $pages_end=$document->pages_end; $pages_eid=$document->pages_eid; $pages_num=$document->pages_num; if ( "$pages_eid"!="") { $lines .= "\t\t\t" . $pages_eid . "\n"; } else if ( "$pages_start"!="") { $lines .= "\t\t\t" . $pages_start . "\n"; if ( "$pages_end"!="") $lines .= "\t\t\t" . $pages_end . "\n"; } $lines .= "\t\t\n"; } if ("$typedoc_libelle"=="these") { $query = "SELECT * FROM institution WHERE institution_id=$document->institution_id"; $iresult = $bd->exec_query ($query); $institution = $bd->fetch_object ($iresult); if ("$document->soustypedoc_id"=="61") $key="HDR"; else $key="PHD"; $lines .= "\t\t" . stripSlashes($institution->institution_name) . "\n"; $lines .= "\t\t" . $key . "\n"; } if ("$typedoc_libelle"=="conference_proceeding") { $query = "SELECT * FROM document WHERE doc_id=$document->proceedings_id"; $presult = $bd->exec_query ($query); $proceedings = $bd->fetch_object ($presult); $lines .= "\t\tproceedings_id . "\">\n"; $lines .= "\t\t\t" . stripSlashes($proceedings->title) . "\n"; $query = "SELECT * FROM publisher WHERE publisher_id=$proceedings->publisher_id"; $presult = $bd->exec_query ($query); $publisher = $bd->fetch_object ($presult); $lines .= "\t\t\tpublisher_id ."\">\n"; $lines .= "\t\t\t\t" . stripSlashes($publisher->publisher_name) . "\n"; $lines .= "\t\t\t\t" . stripSlashes($publisher->publisher_address) . "\n"; $lines .= "\t\t\t\n"; $lines .= "\t\t\n"; $query = "SELECT * FROM conference WHERE conference_id=$proceedings->conference_id"; $cresult = $bd->exec_query ($query); $conference = $bd->fetch_object ($cresult); $lines .= "\t\tconference_id . "\">\n"; $lines .= "\t\t\t" . stripSlashes($conference->conference_title) . "\n"; $lines .= "\t\t\t" . stripSlashes($conference->conference_city) . "\n"; $query = "SELECT * FROM country WHERE iso='$conference->conference_country_code'"; $ccresult = $bd->exec_query ($query); $country = $bd->fetch_object ($ccresult); $lines .= "\t\t\t" . stripSlashes($country->printable_name) . "\n"; $lines .= "\t\t\n"; } if ("$typedoc_libelle"=="book") { $query = "SELECT * FROM publisher WHERE publisher_id=$document->publisher_id"; $presult = $bd->exec_query ($query); $publisher = $bd->fetch_object ($presult); $lines .= "\t\tpublisher_id ."\">\n"; $lines .= "\t\t\t" . stripSlashes($publisher->publisher_name) . "\n"; $lines .= "\t\t\t" . stripSlashes($publisher->publisher_address) . "\n"; $lines .= "\t\t\n"; } if ("$typedoc_libelle"=="conference_abstract") { $query = "SELECT * FROM conference WHERE conference_id=$document->conference_id"; $cresult = $bd->exec_query ($query); $conference = $bd->fetch_object ($cresult); $lines .= "\t\tconference_id . "\">\n"; $lines .= "\t\t\t" . stripSlashes($conference->conference_title) . "\n"; $lines .= "\t\t\t" . stripSlashes($conference->conference_city) . "\n"; $query = "SELECT * FROM country WHERE iso='$conference->conference_country_code'"; $ccresult = $bd->exec_query ($query); $country = $bd->fetch_object ($ccresult); $lines .= "\t\t\t" . stripSlashes($country->printable_name) . "\n"; $lines .= "\t\t\n"; } $note=stripSlashes($document->note); if ( "$note"!="") { $lines .= "\t\t" . stripSlashes($note) . "\n"; } $lines.="\t\n\n"; echo $lines; } } function export_document_RIS($docid, $bd) { $lines=""; $query="SELECT * FROM document WHERE doc_id = $docid"; $res=$bd->exec_query($query); $document=$bd->fetch_object($res); $result = $bd->exec_query("SELECT typedoc_libelle FROM typedoc WHERE typedoc_id='$document->typedoc_id' "); $ob=$bd->fetch_object($result); $typedoc_libelle=$ob->typedoc_libelle; if ("$typedoc_libelle"=="article") $lines="TY - JOUR\n"; if ("$typedoc_libelle"=="these") $lines="TY - THES\n"; if ("$typedoc_libelle"=="conference_proceeding") $lines="TY - CONF\n"; if ("$typedoc_libelle"=="conference_abstract") $lines="TY - ABST\n"; if ( "$lines"!="") { // id $lines .="ID - lmfa_pub_$docid\n"; // author list $query = "SELECT pers_id FROM participer" . " WHERE doc_id='$document->doc_id'" . " AND fonction_id = '1' " . " ORDER BY rang"; $aresult = $bd->exec_query ($query); while ($ob = $bd->fetch_object ($aresult) ) { $query = "SELECT * FROM personne" . " WHERE pers_id='$ob->pers_id'"; $a = $bd->exec_query ($query); $auth=$bd->fetch_object($a); // $author=ascii2tex(stripSlashes($auth->pers_first)) . " {" . ascii2tex(stripSlashes($auth->pers_last)) . "}"; $lines.="A1 - " . stripSlashes($auth->pers_last) . "," . initials_from_name(stripSlashes($auth->pers_first)) . "\n"; } // advisors list if ("$typedoc_libelle"=="these") { $query = "SELECT pers_id FROM participer" . " WHERE doc_id='$document->doc_id'" . " AND fonction_id = '3' " . " ORDER BY rang"; $aresult = $bd->exec_query ($query); while ($ob = $bd->fetch_object ($aresult) ) { $query = "SELECT * FROM personne" . " WHERE pers_id='$ob->pers_id'"; $a = $bd->exec_query ($query); $auth=$bd->fetch_object($a); $lines.="A2 - " . stripSlashes($auth->pers_last) . "," . initials_from_name(stripSlashes($auth->pers_first)) . "\n"; } } $lines .= "Y1 - " . $document->year . "///\n" ; $lines .= "T1 - " . stripSlashes($document->title) . "\n" ; if ("$typedoc_libelle"=="article") { $query = "SELECT * FROM journal WHERE journal_id=$document->journal_id"; $jresult = $bd->exec_query ($query); $journal = $bd->fetch_object ($jresult); $lines .= "JF - " . stripSlashes($journal->journal_fullname) . "\n"; $lines .= "J1 - " . stripSlashes($journal->journal_name) . "\n"; $lines .= "VL - " . $document->volume . "\n"; } if ( ("$typedoc_libelle"=="article") || ("$typedoc_libelle"=="conference_proceeding") ) { $pages_start=$document->pages_start; $pages_end=$document->pages_end; $pages_eid=$document->pages_eid; $pages_num=$document->pages_num; if ( "$pages_eid"!="") { $lines .= "SP - " . $pages_eid . "\n"; //if ( "$pages_num"!="") $lines .= "EP - " . $pages_num . "\n"; } else if ( "$pages_start"!="") { $lines .= "SP - " . $pages_start . "\n"; if ( "$pages_end"!="") $lines .= "EP - " . $pages_end . "\n"; } } if ("$typedoc_libelle"=="these") { $query = "SELECT * FROM institution WHERE institution_id=$document->institution_id"; $iresult = $bd->exec_query ($query); $institution = $bd->fetch_object ($iresult); if ("$document->soustypedoc_id"=="61") $key="HDR"; else $key="PHD"; $lines .= "PB - " . stripSlashes($institution->institution_name) . "\n"; $lines .= "M1 - " . "$key" . "\n"; } if ("$typedoc_libelle"=="conference_proceeding") { $query = "SELECT * FROM document WHERE doc_id=$document->proceedings_id"; $presult = $bd->exec_query ($query); $proceedings = $bd->fetch_object ($presult); $conf_id=$proceedings->conference_id; $lines .= "T3 - " . stripSlashes($proceedings->title) . "\n"; // editors list $query = "SELECT pers_id FROM participer" . " WHERE doc_id='$document->proceedings_id'" . " AND fonction_id = '2' " . " ORDER BY rang"; $aresult = $bd->exec_query ($query); while ($ob = $bd->fetch_object ($aresult) ) { $query = "SELECT * FROM personne" . " WHERE pers_id='$ob->pers_id'"; $a = $bd->exec_query ($query); $auth=$bd->fetch_object($a); $lines.="A2 - " . stripSlashes($auth->pers_last) . "," . initials_from_name(stripSlashes($auth->pers_first)) . "\n"; } $query = "SELECT * FROM publisher WHERE publisher_id=$proceedings->publisher_id"; $presult = $bd->exec_query ($query); $publisher = $bd->fetch_object ($presult); $lines .= "PB - " . stripSlashes($publisher->publisher_name) . "\n"; $lines .= "CY - " . stripSlashes($publisher->publisher_address) . "\n"; } if (("$typedoc_libelle"=="conference_proceeding") || ("$typedoc_libelle"=="conference_abstract")) { if ("$typedoc_libelle"=="conference_abstract") $conf_id=$document->conference_id; $query = "SELECT * FROM conference WHERE conference_id=$conf_id"; $presult = $bd->exec_query ($query); $conference = $bd->fetch_object ($presult); $lines .= "T2 - " . stripSlashes($conference->conference_title) . ", " . stripSlashes($conference->conference_city); $query = "SELECT * FROM country WHERE iso='$conference->conference_country_code'"; $ccresult = $bd->exec_query ($query); $country = $bd->fetch_object ($ccresult); $lines .= ", " . stripSlashes($country->printable_name); $lines .= ", " . date_range($conference->conference_date_start,$conference->conference_date_end) . "\n"; } $note=stripSlashes($document->note); if ( "$note"!="") { $lines .= "N1 - " . stripSlashes($note) . "\n"; } $lines .= "ER - \n\n"; echo $lines; } } ?> phpubli-1.0/phpubli/install/0000775000175000017500000000000011260607037015454 5ustar benoitbenoitphpubli-1.0/phpubli/install/6_end.php0000664000175000017500000000364711260607037017172 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir=".."; $localdir="install"; $filename="5_end.php"; require_once ("$rootdir/include.php"); require_once ("functions_installer.php"); ?> Installation de PhPubli

Fin de l'installation

La configuration et l'initialisation sont maintenant terminées.

Il est recommandé

  • d'effacer le répertoire install,
  • d'effacer les fichiers connexion_para.default.php et param_labo.default.php,
  • de protéger les fichiers connexion_param.php et param_labo.php en écriture.

Page d'accueil du nouveau PhPubli fraîchement installé

phpubli-1.0/phpubli/install/functions_installer.php0000664000175000017500000000435411260607037022260 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ function lhsmenu_installer($item) { global $rootdir; print("\n"); print("
\n"); print("\n"); print("
\n"); print("\n"); } ?> phpubli-1.0/phpubli/install/4_initial.php0000664000175000017500000002406111260607037020044 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir=".."; $localdir="install"; $filename="4_initial.php"; require_once ("$rootdir/include.php"); require_once ("functions_installer.php"); $ngroups=0; if ( (isset($_GET['step'])) && ($_GET['step']=="create_tables") ) { $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); $sqlfile="../../phpubli_load_web.sql"; $lines = file($sqlfile); $scriptfile = false; /* Get rid of the comments and form one jumbo line */ foreach($lines as $line) { $line = trim($line); if(!ereg('^--', $line)) { $scriptfile.=" ".$line; } } /* Split the jumbo line into smaller lines */ $queries = explode(';', $scriptfile); $n=0; /* Run each line as a query */ foreach($queries as $query) { $query = trim($query); if($query == "") { continue; } //echo "$n: $query
\n"; //$n++; if(!mysql_query($query.';')) { $errmsg = "query ".$query." failed"; return false; } } header("Location: 4_initial.php?step=groups" ); } if (isset($_POST['set_ngroups'])) { $ngroups=$_POST['n_groups']; if ($ngroups<0) { $ngroups=0;} } if ( (isset($_GET['step'])) && ($_GET['step']=="create_groups") ) { //echo "ngroups=$ngroups
"; $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); for ($n=1; $n<=$ngroups+1; $n++) { foreach ($_POST as $key=>$val) { if ("$key"=="gid$n") $gid=$val; if ("$key"=="gname$n") $gname=$val; if ("$key"=="gfullname$n") $gfullname=$val; } //echo "n=$n gid=$gid gname=$gname gfullname=$gfullname
\n"; $query="INSERT INTO `groupes` (`g_id`, `g_name`, `g_fullname`) VALUES ($gid, '$gname', '$gfullname');"; //echo "$query
\n"; if(!mysql_query($query)) { $errmsg = "query ".$query." failed"; return false; } } header("Location: 4_initial.php?step=users" ); } if ( (isset($_GET['step'])) && ($_GET['step']=="create_users") ) { $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); $id=$_POST['root_id']; $first=$_POST['root_first']; $email=$_POST['root_email']; $login=$_POST['root_login']; $pwd=$_POST['root_pwd']; $gid=$_POST['root_gid']; $status=$_POST['root_status']; $query="INSERT INTO `user` (`u_id`, `u_first`, `u_name`, `u_mail`, `u_login`, `u_password`, `u_groupid`, `u_status`) VALUES ($id, '$first', '', '$email', '$login', md5('$pwd'), $gid, $status);"; //echo "$query
\n"; if(!mysql_query($query)) { $errmsg = "query ".$query." failed"; echo "$errmsg
"; return false; } $id=$_POST['admin_id']; $first=$_POST['admin_first']; $email=$_POST['admin_email']; $login=$_POST['admin_login']; $pwd=$_POST['admin_pwd']; $gid=$_POST['admin_gid']; $status=$_POST['admin_status']; $query="INSERT INTO `user` (`u_id`, `u_first`, `u_name`, `u_mail`, `u_login`, `u_password`, `u_groupid`, `u_status`) VALUES ($id, '$first', '', '$email', '$login', md5('$pwd'), $gid, $status);"; //echo "$query
\n"; if(!mysql_query($query)) { $errmsg = "query ".$query." failed"; echo "$errmsg
"; return false; } $id=$_POST['user_id']; $first=$_POST['user_first']; $email=$_POST['user_email']; $login=$_POST['user_login']; $pwd=$_POST['user_pwd']; $gid=$_POST['user_gid']; $status=$_POST['user_status']; $query="INSERT INTO `user` (`u_id`, `u_first`, `u_name`, `u_mail`, `u_login`, `u_password`, `u_groupid`, `u_status`) VALUES ($id, '$first', '', '$email', '$login', md5('$pwd'), $gid, $status);"; //echo "$query
\n"; if(!mysql_query($query)) { $errmsg = "query ".$query." failed"; echo "$errmsg
"; return false; } header("Location: 5_param.php" ); } ?> Installation de PhPubli

Initialisation de la base de données

1. Création et préremplissage des tables.
\n"; echo "2. Création des équipes de recherche.


\n"; if ("$ngroups"=="0") { echo "
\n"; echo "Nombre d'équipes de recherche (il en faut au moins une) : \n"; echo "\n"; echo "\n"; echo "
"; } else { echo "Indiquer un nom abrégé et un nom complet pour chacune des $ngroups équipes de recherche :
\n"; echo "
\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; for ($n=1; $n<=$ngroups; $n++) { echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; } echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
idnamefull_name
$n
$n extpublication hors labo
\n"; echo "\n"; echo "\n"; echo "
\n"; } } if ($_GET['step']=="users") { echo "1. Création et préremplissage des tables.
\n"; echo "2. Création des équipes de recherche.
\n"; echo "3. Création des premiers utilisateurs.


\n"; echo "Pour pouvoir commencer à utiliser la base il faut créer au moins trois utilisateurs :\n"; echo "
  • root : superutilisateur (priv=2) qui n'appartient à aucun groupe de recherche et a (presque) tous les pouvoirs.
  • "; echo "
  • admin1 : un utilisateur ayant certains pouvoirs d'administration (priv=1) pour les publications et les utilisateurs appartenant à son groupe de recherche.
  • \n"; echo "
  • user1 : un utilisateur lambda du premier groupe de recherche.
\n"; echo "Il est vivement recommandé de changer les mots de passe et de renseigner correctement les adresses électroniques (utiles pour envoyer des messages à tous les utilisateurs de la base).

\n"; echo "
\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
idnomemailloginmot de passegroupeprivilège
1rootroot02
2admin1admin111
3user1user110
\n"; echo "\n"; echo "\n"; echo "
"; } } else { echo "1. Commencer par créer les tables et par les préremplir, en cliquant "; echo "ici.

\n"; } /* L'initialisation de la base de données a réussi.

Terminer */ ?>

phpubli-1.0/phpubli/install/index.php0000664000175000017500000000361611260607037017302 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir=".."; $localdir="install"; $filename="index.php"; require_once ("$rootdir/include.php"); require_once ("functions_installer.php"); ?> Installation de PhPubli

Installation de PhPubli

Ceci est la procédure de configuration automatique de PhPubli, un serveur php/mysql pour organiser, rechercher, mettre en ligne et formater les notices bibliographiques de documents scientifiques (typiquement la production scientifique d'un laboratoire de recherche).

La configuration/initialisation de la base de données ne nécessite que quelques étapes.

Commencer

phpubli-1.0/phpubli/install/5_param.php0000664000175000017500000001037211260607037017514 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir=".."; $localdir="install"; $filename="5_param.php"; require_once ("$rootdir/include.php"); require_once ("functions_installer.php"); if(isset($_POST["save_param"])) { $nomlabo=stripslashes($_POST['nomlabo']); $lab=stripslashes($_POST['sigle']); $adr1=stripslashes($_POST['adr1']); $adr2=stripslashes($_POST['adr2']); $adr3=stripslashes($_POST['adr3']); $adr4=stripslashes($_POST['adr4']); $adr5=stripslashes($_POST['adr5']); $halid=$_POST['halid']; $urlwebmaster=$_POST['urlwebmaster']; $file = "../param_labo.default.php"; $handle = fopen($file, "r"); $contents = fread($handle, filesize($file)); fclose($handle); // Replace the settings $contents = preg_replace("/NOM_LABO/", "$nomlabo", $contents); $contents = preg_replace("/SIGLE/", "$lab", $contents); $contents = preg_replace("/ADR1/", "$adr1", $contents); $contents = preg_replace("/ADR2/", "$adr2", $contents); $contents = preg_replace("/ADR3/", "$adr3", $contents); $contents = preg_replace("/ADR4/", "$adr4", $contents); $contents = preg_replace("/ADR5/", "$adr5", $contents); $contents = preg_replace("/LABOHALID/", "$halid", $contents); $contents = preg_replace("/URLWEBMASTER/", "$urlwebmaster", $contents); // Save as param_labo.php $file = "../param_labo.php"; $handle = fopen($file, "w"); fwrite($handle, $contents); fclose($handle); header("Location: 6_end.php" ); } ?> Installation de PhPubli

Paramétrage du site

Pour finaliser l'installation, il faut renseigner les champs ci-dessous :


Nom du laboratoire :
sigle :
adresse1 :
adresse2 :
adresse3 :
adresse4 :
adresse5 :
Identifiant HAL du laboratoire :
URL du webmaster :

Il est toujours possible de modifier ces valeurs plus tard dans le fichier param_labo.php.
phpubli-1.0/phpubli/install/3_configuration.php0000664000175000017500000000322711260607037021262 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir=".."; $localdir="install"; $filename="3_configuration.php"; require_once ("$rootdir/include.php"); require_once ("functions_installer.php"); ?> Installation de PhPubli

Paramétrage de la base de données

La configuration des paramètres de connexion de la base de données a réussi.

Initialiser la base de données

phpubli-1.0/phpubli/install/1_permissions.php0000664000175000017500000000430411260607037020761 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir=".."; $localdir="install"; $filename="index.php"; require_once ("$rootdir/include.php"); require_once ("functions_installer.php"); ?> Installation de PhPubli

Permissions

\n"; echo "
    \n"; $allOK=true; $file="connexion_param.php" ; if (is_writable("../$file")) { echo "
  • "; } else { echo "
  • "; $allOK=false; } echo "$file
  • \n"; $file="param_labo.php" ; if (is_writable("../$file")) { echo "
  • "; } else { echo "
  • "; $allOK=false; } echo "$file
  • \n"; echo "
\n"; if ($allOK) { echo "Ils le sont !
"; echo "Continuer"; } else { echo "Faire \"chmod 666 fichiers_en_rouge.\"
"; echo "Réessayer"; } ?>
phpubli-1.0/phpubli/install/2_create.php0000664000175000017500000000771411260607037017662 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir=".."; $localdir="install"; $filename="index.php"; require_once ("$rootdir/include.php"); require_once ("functions_installer.php"); $dbhost_def="localhost"; $dbname_def="phpubli"; $dbuser_def="phpubli_login"; $dbpwd_def="phpubli_password"; if(isset($_POST["save_values"])) { $dbhost=$_POST['dbhost']; $dbname=$_POST['dbname']; $dbuser=$_POST['dbuser']; $dbpwd=$_POST['dbpwd']; $dbhost_def=$dbhost; $dbname_def=$dbname; $dbuser_def=$dbuser; $dbpwd_def=$dbpwd; // echo "host=$dbhost name=$dbname user=$dbuser pwd=$dbpwd Installation de PhPubli

Création de la base de données


"; ?> Créez une base de données vide (par exemple en exécutant le script phpubli_create.sql par mysql) puis renseignez ci-dessous les informations nécessaires pour faire une connexion.

Serveur (host) :
Base de données :
Utilisateur (user) :
Mot de passe :

phpubli-1.0/phpubli/param_labo.default.php0000664000175000017500000000216011260607037020236 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $LABO="NOM_LABO"; $LAB="SIGLE"; $ADRLABO1="ADR1"; $ADRLABO2="ADR2"; $ADRLABO3="ADR3"; $ADRLABO4="ADR4"; $ADRLABO5="ADR5"; $LABO_HALID="LABOHALID"; $URL_WEBMASTER="URLWEBMASTER"; ?> phpubli-1.0/phpubli/functions_local.php0000664000175000017500000001275711260607037017715 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ function contact() { global $LABO; global $URL_WEBMASTER; global $ADRLABO1; global $ADRLABO2; global $ADRLABO3; global $ADRLABO4; global $ADRLABO5; print("\n"); print("\n"); print("\n"); print("\n"); print("\n"); print("\n"); print("\n"); print("\n"); print("\n"); print("\n"); print("\n"); print("\n"); print("\n"); } function titlebanner() { global $LABO; global $LAB; global $rootdir; global $imagesdir; print("\n"); print("
\n"); print("\"back  $LABO\n"); print("
\n"); print("\n"); } function navigationbar() { print("\n"); // Debut du menu horizontal, tel qu'il est utilise sur toutes les pages web du labo $item="publi"; print("
\n"); print("\n"); print("
\n"); // Fin du menu horizontal, tel qu'il est utilise sur toutes les pages web du labo print("\n"); } function address() { global $LABO; global $ADRLABO1; global $ADRLABO2; global $ADRLABO3; global $ADRLABO4; global $ADRLABO5; print("
\n"); print("$LABO"); if (!empty($ADRLABO1)) { print " – $ADRLABO1";} if (!empty($ADRLABO2)) { print " – $ADRLABO2";} if (!empty($ADRLABO3)) { print " – $ADRLABO3";} if (!empty($ADRLABO4)) { print " – $ADRLABO4";} if (!empty($ADRLABO5)) { print " – $ADRLABO5";} print("
\n"); } function legal() { global $LAB; global $URL_WEBMASTER; $year=date("Y"); // on met l'année en chiffres romains... un petit clin d'oeil à la BBC $romyear=array("2005"=>"MMV", "2006"=>"MMVI", "2007"=>"MMVII", "2008"=>"MMVIII", "2009"=>"MMIX", "2010"=>"MMX", "2011"=>"MMXI","2012"=>"MMXII","2013"=>"MMXIII","2014"=>"MMXIV","2015"=>"MMXV", "2016"=>"MMXVI", ); $date = date ("d/m/Y - H:i:s"); print("
\n"); print(" © $LAB - " . $romyear[$year] . "   [webmaster]     http://$_SERVER[SERVER_NAME]$_SERVER[PHP_SELF] viewed by $_SERVER[REMOTE_ADDR] - $date \n"); print("
\n"); print("
\n"); phpubli_foot(); print("
\n"); } function warning() { // ce message s'affiche en bas des principales pages du site. print "!!!! phase expérimentale, la base de données n'est ni complète ni vraiment au point !!!!
\n"; // print "!!!! phase de mise en place : à part les articles et les thèses, la base de données est encore très incomplète !!!!
\n"; // print "!!!! à part les documents récents, la base de données est encore très incomplète !!!!
\n"; } ?> phpubli-1.0/phpubli/mysql.class.php0000664000175000017500000000423711260607037016776 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ // ****************************************************************************** // mysql.class.php // ****************************************************************************** class MySQL { private $connexion, $name; // construc function MySQL ($login, $password, $base, $server) { $this->name = $base; // connect to server $this->connexion = mysql_pconnect ($server, $login, $password); // connect to database mysql_select_db ($this->name, $this->connexion); } public function exec_query ($query) { $result = mysql_query ($query, $this->connexion); if (!$result) { $mess = "Problème dans l'exécution de la requête : $query. "; $mess .= mysql_error($this->connexion); print (" $mess

\n"); } return $result; } // fetch a line in result of query public function fetch_object ($result) { return mysql_fetch_object ($result); } public function fetch_assoc ($result) { return mysql_fetch_assoc ($result); } public function fetch_row ($result) { return mysql_fetch_row ($result); } // prepare for insertion public function prepare_string($text) { return mysql_real_escape_string($text); } // destruc function __destruct () { mysql_close ($this->connexion); } } ?> phpubli-1.0/phpubli/faq.php0000664000175000017500000003362211260607037015274 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir="."; $localdir="."; $filename="faq.php"; require_once ("$rootdir/include.php"); ?> Foire aux questions

Foire aux questions

Interrogation de la base

Mise à jour de la base

Base du et serveur d'archives ouvertes HAL

Questions techniques



Interrogation de la base

Comment accéder au texte intégral des publications ?

La base de données a pour vocation de recenser toutes les publications du mais non de les archiver. L'icône hal.ico permet d'accéder à la publication dans l'archive ouverte HAL. L'icône google.ico effectue une recherche du document par Google Scholar (un "web search" permet ensuite souvent de trouver le document). Le lien DOI renvoie vers l'original du document, dont l'accès en texte intégral peut être restreint par l'éditeur commercial. Si aucune de ces solutions ne permet de mettre la main sur le document, vous êtes encouragés à suggérer aux auteurs de le déposer dans HAL (la création de notices dans HAL à partir des données de la base se fait automatiquement)

Comment exporter une sélection de références dans un format utilisable par d'autres logiciels ?

Le contenu de la base de données est facilement exportable sous différents formats, utiles par exemple pour créer des références bibliographiques lors de la rédaction d'articles ou de rapports.
Pour créer une liste de références, il faut d'abord les sélectionner parmi celles renvoyées par une ou plusieurs interrogations de la base (cocher les cases et cliquer “add selected items to marked list”, ou cliquer “add all items to marked list”). Le menu de gauche indique alors le nombre total de références sélectionnées : “Sélection: XX documents”. Cliquer dessus pour afficher la liste des références sélectionnées. En bas de la page, des liens permettent alors d'exporter cette liste dans différents formats :
  • bibtex pour utilisation avec Latex ;
  • RIS qui permet d'alimenter d'autres systèmes (Endnote, Refworks…) directement avec les données de la base ;
  • XML le format le plus généraliste qui permet de reproduire le plus fidèlement possible la structure des données de la base et qui peut être mis en forme de manière très flexible par des fichiers XSLT. Le bouton XML (générique) exporte un maximum d'informations de la base, alors que le bouton XML (compatible HAL) produit un fichier pour import automatique des données vers les serveurs de HAL.
Néanmoins, tous ces formats contiennent une information dégradée (plus pauvre et moins structurée) par rapport au contenu de la base de données, l'opération inverse (alimentation automatique de la base de données avec des fichiers bibtex, RIS, endnote…) n'est pas possible.
S'il y a besoin de rajouter des routines pour exporter sous d'autres formats, merci de le faire savoir.

Pourquoi est-ce qu'une recherche par groupe de recherche ne renvoie que très peu de publications ?

Le champ qui indique l'appartenance d'une publication à un ou plusieurs groupes de recherche du n'est renseigné que pour une partie des dernières publications. La mise à jour est en cours. Ceci dit, l'organisation du en groupes de recherche a évolué au cours du temps et ce champ n'a donc de signification que pour les dernières années.

Mise à jour de la base

Comment modifier le contenu de la base ?

Les opérations (ajouts, modifications) sur la base se font dans l'espace >intranet après identification. Pour avoir accès au système, envoyer un nom de login et un mot de passe au >webmaster.

Comment corriger les données d'une publication ?

Dans une liste renvoyée par une interrogation de la base, on peut modifier les données d'un document en cliquant sur son numéro, ce qui renvoie sur > /intranet/document.php. Si le document a déjà été validé par un des administrateurs de la base, il n'est plus modifiable.

Quelles sont les étapes pour entrer un nouvel article ?

La première chose à faire est de >vérifier que la publication ne figure pas déjà dans la base.

Pour saisir un article dans un journal qui n'existe pas encore dans la base, ou pour ajouter un nouvel auteur qui n'y figure pas, il faut d'abord créer le journal ou l'auteur.

Ensuite il faut remplir tous les champs, sélectionner le journal dans le menu déroulant et, dans une seconde étape, rattacher les auteurs à la publication. Il est important d'indiquer le DOI (digital object identifier) qui figure sur tous les articles un tant soit peu récents : c'est ce champ qui permet de toujours facilement retrouver le résumé/texte intégral sur le site de l'éditeur (et ce, même si l'éditeur réorganise son site web ou se fait racheter par un autre et change de nom...).

Comment saisir les pages d'une publication ?

Il y a deux systèmes pour indiquer les pages d'un document : "pages_start–pages_end" pour les journaux dont toutes les pages d'un volume sont numérotées ; "eid (pages_num pages)" quand l'article est identifié par un numéro.

Il faut donc remplir, soit les champs pages_start et pages_end, soit les champs eid et pages_num.

Comment entrer une nouvelle personne ?

Aller sur la page >/intranet/personne.php. donner le prénom et le nom en toutes lettres (plutôt que seulement les initiales du prénom, cela permet d'éviter les doublons ; même si après on choisit de n'afficher que les initiales) avec seulement une majuscule initiale le reste en minuscules.

Comment entrer un nouveau journal ?

Aller sur la page >/intranet/journal.php. Il y a deux champs : le nom abrégé ("journal") et le nom complet ("full name"). Pour le nom abrégé, utiliser l'abbréviation officielle, comme on peut par exemple la trouver dans le Web of Science.

Pourquoi est-ce qu'on ne peut plus corriger certains documents, personnes, journaux ?

Les données validées par un des administrateurs de la base ne sont plus modifiables. S'il y a quand même encore des erreurs, il faut les signaler au >webmaster.

Base du et serveur d'archives ouvertes HAL

Quelle est la différence entre les deux systèmes ?

La base de données du a pour vocation de recenser toutes les publications du mais non de les archiver. En revanche, le serveur HAL est une archive ouverte dont le but premier est la diffusion libre des publications en texte intégral. HAL permet aussi de faire figurer des publications sous forme de notice (c.-à-d. uniquement la référence bibliographique), en attendant de rajouter le texte intégral. Les deux systèmes sont complémentaires : la base du permet de facilement gérer, trier, vérifier, rechercher, formater des listes de publications ; le serveur HAL permet de les archiver en texte intégral, diffuser et faire recenser. Pour éviter les doubles saisies fastidieuses, il y a la possibilité d'exporter automatiquement les données de la base du vers le serveur HAL.

Peut-on automatiquement importer des données du serveur HAL vers la base du LMFA ?

Non, ce n'est pas possible car les données de la base du sont strucurées plus finement que sur HAL.

Peut-on automatiquement exporter des données de la base du LMFA vers le serveur HAL ?

Oui, il est facile de faire figurer dans HAL (sous forme de notice) les publications de la base, sans saisie supplémentaire. Ensuite, il est fortement conseillé de compléter cette notice en rajoutant le texte intégral.

Quelles sont les étapes pour exporter les données vers HAL ?

Il faut disposer d'un compte sur HAL et avoir demandé au CCSD l'autorisation d'importer des données via un fichier XML. Ensuite, il suffit de
  • vérifier que les publications sélectionnées ne figurent pas déjà dans HAL ;
  • exporter la liste de publications au format XML (compatible HAL) ;
  • dans le fichier HAL.xml ainsi créé, modifier LOGIN='toto' PASSWORD='xxxxx' ;
  • importer ce fichier dans HAL ;
  • se connecter sur HAL, vérifier les notices nouvellement créées et les passer en ligne.

Quelle est la méthode la plus rapide pour répertorier complètement une publication dans les deux systèmes ?

Pour éviter toute saisie redondante, il faut dans l'ordre
  1. renseigner la publication dans la base du  ;
  2. exporter ces données automatiquement vers HAL ;
  3. sur HAL, transformer la notice en dépôt intégral.

Comment vérifier qu'une publication ne figure pas déjà dans HAL ?

Bien sûr, il ne faut faire l'export automatique des données de la base vers HAL que pour les publications qui n'y figurent pas déjà. Pour faciliter cette vérification aux utilisateurs (après login dans l'espace intranet), un lien [search.png HAL ?] apparaît en regard de chaque publication dans la liste sélectionnée. Ce lien fait une recherche avancée automatique dans HAL avec les données correspondantes. En principe, si cette recherche ne trouve rien, c'est que la publication n'existe pas encore dans HAL.

Quelqu'un a mis mes publications dans HAL, comment faire pour les modifier ?

Pour chaque dépôt dans HAL, un "contributeur" apparaît en bas de page. Le contributeur possède tous les droits sur le dépôt et peut, par exemple, transférer la propriété du dépôt à un autre utilisateur de HAL ; il suffit de lui envoyer un mail.

Questions techniques

Plein de choses ne marchent pas, à qui les signaler ?

Il y a certainement plein de bugs anciens qui n'ont pas encore été démasqués et des bugs nouveaux qui viennent d'être d'introduits. Pour pouvoir améliorer le système, il faut les >signaler, par mail de préférence, en indiquant bien dans quelles circonstances l'erreur s'est produite. Plus il y a de personnes qui font part des problèmes rencontrés, plus vite les bugs seront corrigés.

C'est un bon début mais il manque plein de fonctionnalités. C'est pour quand ?

La liste des routines en attente d'être implémentées est déjà longue. Toutes les suggestions sont les bienvenues. La rapidité et la priorité avec lesquelles ce projet va s'enrichir dépend de plein de choses et surtout du temps et des compétences informatiques de ceux (de celui...) qui s'y investissent.

J'ai besoin d'un système similaire, où peut-on télécharger le code ?

L'outil PhPubli repose sur des logiciels libres (ensemble GLAMP). Les scripts utilisés ici peuvent donc être installés dans tout environnement informatique qui respecte les libertés fondamentales.
PhPubli est un logiciel libre distribué sous licence GNU GPL v3 et peut être téléchargé ici.

phpubli-1.0/phpubli/intranet/0000775000175000017500000000000011260607037015632 5ustar benoitbenoitphpubli-1.0/phpubli/intranet/functions_publisher.php0000664000175000017500000001514411260607037022435 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ // **************************************************************** // Institution operations function publisher_lines($bd) { global $rootdir; $query = "SELECT * FROM publisher ORDER BY publisher_name"; $result = $bd->exec_query ($query); $lines="nameaddress\n"; $i=0; while ( $publisher = $bd->fetch_object ($result) ) { $i++; $str=""; $str .= ""; $log=$publisher->log; if ( ( "$log"=="2" ) && (check_root_priv($bd)<1) ) $str .= "[" . "$i"; // entry already validated, no longer modifiable else $str .= "[" . anchor("$rootdir/intranet/publisher.php?mode=edit&id=$publisher->publisher_id", $i); $str .= "]"; $str .= ""; $str .= stripSlashes($publisher->publisher_name); $str .= ""; $str .= ""; $str .= stripSlashes($publisher->publisher_address); $str .= ""; $lines .= "" . $str . "\n"; } return "\n" . $lines . "
\n" ; } function publisher_form($mode, $id, $bd) { if ("$id"!="") { $query = "SELECT * from publisher WHERE publisher_id = $id"; $res = $bd->exec_query($query); $publisher = $bd->fetch_object($res); } echo "\n"; if ($mode=="update") { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
publisher_id$publisher->publisher_id "; if ($tab->log=="0") echo "[created on $publisher->date]"; if ($tab->log=="1") echo "[last modified on $publisher->date]"; if ($tab->log=="2") echo "[validated on $publisher->date]"; echo "
publisher_namepublisher_name) . "\" size=\"70\" maxlength=\"255\">
 
publisher_addresspublisher_address) . "\" size=\"70\" maxlength=\"255\">
 
\n"; } function publisher_insert($publisher, $bd) { $name=addSlashes($publisher['publisher_name']); $address=addSlashes($publisher['publisher_address']); $query = "INSERT INTO publisher (publisher_name, publisher_address, log, date) " . " VALUES ( '$name', '$address', '0', now()) " ; // print ("query= $query

\n"); $res = $bd->exec_query($query); $name = $bd->prepare_string($name); $address = $bd->prepare_string($address); $query = "SELECT * " . "FROM publisher " . "WHERE publisher_name LIKE '%$name%' " . "AND publisher_address LIKE '%$address%' "; // print ("query= $query

\n"); $res = $bd->exec_query($query); $publisher = $bd->fetch_object ($res); $returnid=$publisher->publisher_id; log_entry("publisher", $returnid, "insert", "", $publisher, $bd); // echo "returnid=$returnid

\n"; return $returnid; } function publisher_fixed($id, $bd) { $query = "SELECT * from publisher WHERE publisher_id = $id"; $res = $bd->exec_query($query); $publisher = $bd->fetch_object($res); echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
publisher_id$publisher->publisher_id "; if ($publisher->log=="0") echo "[created on $publisher->date]"; if ($publisher->log=="1") echo "[last modified on $publisher->date]"; if ($publisher->log=="2") echo "[validated on $publisher->date]"; echo "
publisher_name" . stripSlashes($publisher->publisher_name) . "
publisher_address" . stripSlashes($publisher->publisher_address) . "
\n"; } function publisher_update($publisher, $bd) { $name=addSlashes($publisher['publisher_name']); $address=addSlashes($publisher['publisher_address']); $publisher_id=$publisher['publisher_id']; $query = "select * from publisher where publisher_id = '$publisher_id'"; $res = $bd->exec_query($query); $publisher_old = $bd->fetch_object ($res); $query = "UPDATE publisher SET " . "publisher_name='$name', publisher_address='$address', " . "log='1', date=now() " . "WHERE publisher_id = '$publisher_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); $query = "select * from publisher where publisher_id = '$publisher_id'"; $res = $bd->exec_query($query); $publisher_new = $bd->fetch_object ($res); log_entry("publisher", $publisher_id, "update", $publisher_old, $publisher_new, $bd); } function publisher_validate($publisher_id, $bd) { $query = "select * from publisher where publisher_id = '$publisher_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); $publisher = $bd->fetch_object ($res); $name=$publisher->publisher_name; $address=$publisher->publisher_address; // print ("Validation de $name, $address.
\n"); $query = "UPDATE publisher SET " . "log='2', date=now() " . "WHERE publisher_id = '$publisher_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); log_entry("publisher", $publisher_id, "validate", $publisher, "", $bd); } function publisher_delete($publisher_id, $bd) { $query = "select * from publisher where publisher_id = '$publisher_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); $publisher_old = $bd->fetch_object ($res); $query = "DELETE FROM publisher " . "WHERE publisher_id = '$publisher_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); log_entry("publisher", $publisher_id, "delete", $publisher_old, "", $bd); } ?> phpubli-1.0/phpubli/intranet/publisher.php0000664000175000017500000001620111260607037020340 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir=".."; $localdir="intranet"; $filename="publisher.php"; require_once ("$rootdir/include.php"); require_once ("include.php"); $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); check_login($bd); $displayid=""; // if not null, redirect to page for editing institytion with publisher_id==displayid if (isSet($_POST['action'])) { if (isSet($_POST['edit'])) $action="edit"; if (isSet($_POST['editpublisher'])) $action="editpublisher"; if (isSet($_POST['validatepublisher'])) $action="validatepublisher"; if (isSet($_POST['updatepublisher'])) $action="updatepublisher"; if (isSet($_POST['insertpublisher'])) $action="insertpublisher"; if (isSet($_POST['deletepublisher'])) $action="deletepublisher"; if (isSet($_POST['deletepublishernow'])) $action="deletepublishernow"; //echo "action=$action

\n"; $publisher_id=$_POST['publisher_id']; //echo "publisher_id=$publisher_id
\n"; if ($action=="edit") { //echo "action=$action
\n"; $displayid=$publisher_id; } if ($action=="validatepublisher") { // echo "action=$action
\n"; publisher_validate($publisher_id, $bd); $displayid=$publisher_id; } if ($action=="updatepublisher") { // echo "action=$action
\n"; publisher_update($_POST, $bd); $displayid=$publisher_id; } if ($action=="insertpublisher") { // echo "action=$action
\n"; $publisher_id=publisher_insert($_POST, $bd); // echo "publisher_id=$publisher_id
\n"; $displayid=$publisher_id; } if ($action=="deletepublishernow") { //echo "action=$action
\n"; // print ("Suppression de la maison d'édition $publisher_id
\n"); publisher_delete($publisher_id, $bd); header("Location: $filename"); exit; } if ($displayid!="") { //echo "header(\"Location: $filename?mode=edit&id=$displayid\");
\n"; header("Location: $filename?mode=edit&id=$displayid"); exit; } } ?> Maisons d'édition

Opérations sur la table des maisons d'édition

\n"; echo "Mise à jour des données d'une maison d'édition
\n"; echo "
\n"; echo "\n"; echo "\n"; echo "
\n"; publisher_form("update", $publisher_id, $bd); echo "
\n"; echo "\n"; echo "\n"; echo "
\n"; } if ($action=="deletepublisher") { //echo "action=$action
\n"; /* ICICICICI $query = "select count(*) from document where publisher_id='$publisher_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); // print "res=$res
\n"; $ob = $bd->fetch_row ($res); if ( $ob[0] > 0 ) { publisher_fixed($publisher_id, $bd); print ("Impossible de supprimer cette publisher : des " . anchor("$rootdir/search.php?search=publisher&id=$publisher_id", "documents") . " en dépendent.

\n"); } else { */ print ("Supprimer effectivement cette maison d'édition ?\n"); echo "

\n"; echo "\n"; echo "\n"; echo "
\n"; publisher_fixed($publisher_id, $bd); echo "
\n"; echo "\n"; echo "
\n"; /* } */ } } if (isSet($_GET['mode'])) { if ( ($_GET['mode']=="edit") and (isSet($_GET['id'])) ) { // entry point to edit an existing publisher given its publisher_id $publisher_id=$_GET['id']; echo "
\n"; publisher_fixed($publisher_id, $bd); echo "
\n"; $query = "SELECT * from publisher WHERE publisher_id = $publisher_id"; $res = $bd->exec_query($query); $publisher = $bd->fetch_object($res); $log=$publisher->log; if ( ( "$log"=="2" ) && (check_root_priv($bd)<1) ) { echo "Données non modifiables

\n"; } else { echo "
\n"; echo "
\n"; echo "\n"; echo "\n"; echo "\n"; echo "
\n"; if (check_admin_priv($bd)) echo "
Si vous êtes sûr(e) que les données sont complètes et correctes, vous pouvez \n"; echo "
"; } } if ($_GET['mode']=="insert") { echo "Saisie d'une nouvelle maison d'édition
\n"; echo "
\n"; echo "\n"; echo "
\n"; publisher_form("insert", "", $bd); echo "
\n"; echo "
\n"; echo "
\n"; } } if ( (!isSet($_GET['mode'])) and (!isSet($_POST['action'])) ) { echo anchor("$filename?mode=insert", "Ajouter une nouvelle maison d'édition") . "
"; echo publisher_lines($bd); } echo anchor("$filename?mode=insert", "Ajouter une nouvelle maison d'édition") . "
"; ?>
phpubli-1.0/phpubli/intranet/functions_conference.php0000664000175000017500000003223711260607037022551 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ // **************************************************************** // Institution operations function conference_lines($bd) { global $rootdir; $query = "SELECT * FROM conference ORDER BY conference_date_start, conference_title"; $result = $bd->exec_query ($query); $lines=""; $lines.="titleaddressdates\n"; $i=0; while ( $conference = $bd->fetch_object ($result) ) { $i++; $str=""; $str .= ""; $log=$conference->log; if ( ( "$log"=="2" ) && (check_root_priv($bd)<1) ) $str .= "[" . "$i"; // entry already validated, no longer modifiable else $str .= "[" . anchor("$rootdir/intranet/conference.php?mode=edit&id=$conference->conference_id", $i); $str .= "]"; $str .= ""; $str .= stripSlashes($conference->conference_title); $str .= ""; $str .= ""; $str .= stripSlashes($conference->conference_city); $str .= ""; $ccode=$conference->conference_country_code; $cquery = "SELECT * FROM country WHERE iso='$ccode'"; $cresult = $bd->exec_query ($cquery); $country = $bd->fetch_object ($cresult); $str .= ""; $str .= $country->printable_name; $str .= ""; $str .= ""; $str .= $conference->conference_date_start . " – " . $conference->conference_date_end; $str .= ""; $lines .= "" . $str . "\n"; } return "\n" . $lines . "
\n" ; } function conference_form($mode, $id, $bd) { $list_countries[0]="-------------------- (select from list) --------------------"; $result = $bd->exec_query("SELECT * FROM country ORDER BY printable_name"); while ( $country=$bd->fetch_object($result)) $list_countries[$country->iso]="$country->iso - $country->printable_name"; $result = $bd->exec_query("SELECT * FROM audience"); while ( $ob=$bd->fetch_object($result)) $list_audience[$ob->id]="$ob->libelle"; $list_days[0]="--"; for ($i=1; $i<10; $i++) $list_days[$i]="0$i"; for ($i=10; $i<32; $i++) $list_days[$i]="$i"; $list_months[0]="--"; for ($i=1; $i<10; $i++) $list_months[$i]="0$i"; for ($i=10; $i<13; $i++) $list_months[$i]="$i"; $list_years[0]="----"; for ($i=date("Y")+1; $i>1949; $i--) $list_years[$i]="$i"; if ("$id"!="") { $query = "SELECT * from conference WHERE conference_id = $id"; $res = $bd->exec_query($query); $conference = $bd->fetch_object($res); } echo "\n"; if ($mode=="update") { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; $date_start=explode('-',$conference->conference_date_start); $start_yyyy=$date_start[0]; $start_mm=$date_start[1]; $start_dd=$date_start[2]; $date_end=explode('-',$conference->conference_date_end); $end_yyyy=$date_end[0]; $end_mm=$date_end[1]; $end_dd=$date_end[2]; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
conference_id$conference->conference_id "; if ($tab->log=="0") echo "[created on $conference->date]"; if ($tab->log=="1") echo "[last modified on $conference->date]"; if ($tab->log=="2") echo "[validated on $conference->date]"; echo "
conference_titleconference_title) . "\" size=\"70\" maxlength=\"255\">
conference_cityconference_city) . "\" size=\"70\" maxlength=\"255\">
conference_country
conference_date_start\n"; echo "\n"; foreach ($list_months as $id=>$name) { echo "\n"; } echo "
conference_date_end\n"; echo "\n"; foreach ($list_months as $id=>$name) { echo "\n"; } echo "
conference_audience
\n"; } function conference_insert($conference, $bd) { $title=addSlashes($conference['conference_title']); $city=addSlashes($conference['conference_city']); $country_code=$conference['conference_country_code']; $audience=$conference['conference_audience']; $date_start=$conference['conference_start_yyyy'] . "-" . $conference['conference_start_mm'] . "-" . $conference['conference_start_dd'] ; // echo "date_start=$date_start"; $date_end=$conference['conference_end_yyyy'] . "-" . $conference['conference_end_mm'] . "-" . $conference['conference_end_dd'] ; // echo "date_end=$date_end"; $query = "INSERT INTO conference (conference_title, conference_city, conference_country_code, conference_audience" . ", conference_date_start, conference_date_end" . ", log, date) " . " VALUES ( '$title', '$city', '$country_code', '$audience'" . ", '" . $conference['conference_start_yyyy'] . "-" . $conference['conference_start_mm'] . "-" . $conference['conference_start_dd'] . "'" . ", '" . $conference['conference_end_yyyy'] . "-" . $conference['conference_end_mm'] . "-" . $conference['conference_end_dd'] . "'" . ", '0', now()) " ; // print ("query= $query

\n"); $res = $bd->exec_query($query); $title = $bd->prepare_string($title); $city = $bd->prepare_string($city); $query = "SELECT * " . "FROM conference " . "WHERE conference_title LIKE '%$title%' " . "AND conference_city LIKE '%$city%' " . "AND conference_country_code LIKE '%$country_code%' "; // print ("query= $query

\n"); $res = $bd->exec_query($query); $conference = $bd->fetch_object ($res); $returnid=$conference->conference_id; log_entry("conference", $returnid, "insert", "", $conference, $bd); // echo "returnid=$returnid

\n"; return $returnid; } function conference_fixed($id, $bd) { $list_countries[0]="-------------------- (select from list) --------------------"; $result = $bd->exec_query("SELECT * FROM country ORDER BY printable_name"); while ( $country=$bd->fetch_object($result)) $list_countries[$country->iso]="$country->iso - $country->printable_name"; $result = $bd->exec_query("SELECT * FROM audience"); while ( $ob=$bd->fetch_object($result)) $list_audience[$ob->id]="$ob->libelle"; $query = "SELECT * from conference WHERE conference_id = $id"; $res = $bd->exec_query($query); $conference = $bd->fetch_object($res); echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
conference_id$conference->conference_id "; if ($conference->log=="0") echo "[created on $conference->date]"; if ($conference->log=="1") echo "[last modified on $conference->date]"; if ($conference->log=="2") echo "[validated on $conference->date]"; echo "
conference_title" . stripSlashes($conference->conference_title) . "
conference_city" . stripSlashes($conference->conference_city) . "
conference_country"; foreach ($list_countries as $id=>$name) { if ("$id" == "$conference->conference_country_code" ) echo "$name"; } echo "
conference_date_start" . $conference->conference_date_start . "
conference_date_end" . $conference->conference_date_end . "
conference_audience"; foreach ($list_audience as $id=>$name) { if ("$id" == "$conference->conference_audience" ) echo "$name"; } echo "
\n"; } function conference_update($conference, $bd) { $title=addSlashes($conference['conference_title']); $city=addSlashes($conference['conference_city']); $country_code=$conference['conference_country_code']; $audience=$conference['conference_audience']; $date_start=$conference['conference_start_yyyy'] . "-" . $conference['conference_start_mm'] . "-" . $conference['conference_start_dd'] ; // echo "date_start=$date_start"; $date_end=$conference['conference_end_yyyy'] . "-" . $conference['conference_end_mm'] . "-" . $conference['conference_end_dd'] ; // echo "date_end=$date_end"; $conference_id=$conference['conference_id']; $query = "select * from conference where conference_id = '$conference_id'"; $res = $bd->exec_query($query); $conference_old = $bd->fetch_object ($res); $query = "UPDATE conference SET " . "conference_title='$title', conference_city='$city'" . ", conference_country_code='$country_code', conference_audience='$audience'" . ", conference_date_start='" . $conference['conference_start_yyyy'] . "-" . $conference['conference_start_mm'] . "-" . $conference['conference_start_dd'] . "'" . ", conference_date_end='" . $conference['conference_end_yyyy'] . "-" . $conference['conference_end_mm'] . "-" . $conference['conference_end_dd'] . "'" . ", log='1', date=now() " . "WHERE conference_id = '$conference_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); $query = "select * from conference where conference_id = '$conference_id'"; $res = $bd->exec_query($query); $conference_new = $bd->fetch_object ($res); log_entry("conference", $conference_id, "update", $conference_old, $conference_new, $bd); } function conference_validate($conference_id, $bd) { $query = "select * from conference where conference_id = '$conference_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); $conference = $bd->fetch_object ($res); $query = "UPDATE conference SET " . "log='2', date=now() " . "WHERE conference_id = '$conference_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); log_entry("conference", $conference_id, "validate", $conference, "", $bd); } function conference_delete($conference_id, $bd) { $query = "select * from conference where conference_id = '$conference_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); $conference_old = $bd->fetch_object ($res); $query = "DELETE FROM conference " . "WHERE conference_id = '$conference_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); log_entry("conference", $conference_id, "delete", $conference_old, "", $bd); } ?> phpubli-1.0/phpubli/intranet/journal.php0000664000175000017500000001663611260607037020031 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir=".."; $localdir="intranet"; $filename="journal.php"; require_once ("$rootdir/include.php"); require_once ("include.php"); $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); check_login($bd); $displayid=""; // if not null, redirect to page for editing journal with journal_id==displayid if (isSet($_POST['action'])) { if (isSet($_POST['edit'])) $action="edit"; if (isSet($_POST['editjournal'])) $action="editjournal"; if (isSet($_POST['validatejournal'])) $action="validatejournal"; if (isSet($_POST['updatejournal'])) $action="updatejournal"; if (isSet($_POST['insertjournal'])) $action="insertjournal"; if (isSet($_POST['deletejournal'])) $action="deletejournal"; if (isSet($_POST['deletejournalnow'])) $action="deletejournalnow"; //echo "action=$action

\n"; $journal_id=$_POST['journal_id']; // echo "journal_id=$journal_id
\n"; if ($action=="edit") { //echo "action=$action
\n"; $displayid=$journal_id; } if ($action=="validatejournal") { // echo "action=$action
\n"; journal_validate($journal_id, $bd); $displayid=$journal_id; } if ($action=="updatejournal") { // echo "action=$action
\n"; journal_update($_POST, $bd); $displayid=$journal_id; } if ($action=="insertjournal") { //echo "action=$action
\n"; $journal_id=journal_insert($_POST, $bd); //echo "journal_id=$journal_id
\n"; $displayid=$journal_id; } if ($displayid!="") { //echo "header(\"Location: $filename?mode=edit&id=$displayid\");
\n"; header("Location: $filename?mode=edit&id=$displayid"); exit; } } ?> Journaux

Opérations sur la table des journaux

\n"; echo "Mise à jour des données d'un journal
\n"; echo "
\n"; echo "\n"; echo "\n"; echo "
\n"; journal_form("update", $journal_id, $bd); echo "
\n"; echo "\n"; echo "\n"; echo "
\n"; } if ($action=="deletejournal") { //echo "action=$action
\n"; $query = "select count(*) from document where journal_id='$journal_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); // print "res=$res
\n"; $ob = $bd->fetch_row ($res); if ( $ob[0] > 0 ) { journal_fixed($journal_id, $bd); print ("Impossible de supprimer ce journal : des " . anchor("$rootdir/search.php?search=journal&id=$journal_id", "documents") . " en dépendent.

\n"); } else { print ("Supprimer effectivement ce journal ?\n"); echo "

\n"; echo "\n"; echo "\n"; echo "
\n"; journal_fixed($journal_id, $bd); echo "
\n"; echo "\n"; echo "
\n"; } } if ($action=="deletejournalnow") { //echo "action=$action
\n"; print ("Suppression du journal $journal_id
\n"); journal_delete($journal_id, $bd); } } if (isSet($_GET['mode'])) { if ( ($_GET['mode']=="edit") and (isSet($_GET['id'])) ) { // entry point to edit an existing journal given its journal_id $journal_id=$_GET['id']; echo "
\n"; journal_fixed($journal_id, $bd); echo "
\n"; $query = "SELECT * from journal WHERE journal_id = $journal_id"; $res = $bd->exec_query($query); $journal = $bd->fetch_object($res); $log=$journal->log; if ( ( "$log"=="2" ) && (check_root_priv($bd)<1) ) { echo "Données non modifiables

\n"; } else { echo "
\n"; echo "
\n"; echo "\n"; echo "\n"; echo "\n"; echo "
\n"; if (check_admin_priv($bd)) echo "
Si vous êtes sûr(e) que les données sont complètes et correctes, vous pouvez \n"; echo "
"; } } if ($_GET['mode']=="insert") { echo "Saisie d'un nouveau journal
\n"; echo "
\n"; echo "\n"; echo "
\n"; journal_form("insert", "", $bd); echo "
\n"; echo "
\n"; echo "
\n"; } /* if ($_GET['mode']=="alter") { echo "START
"; for ($i=1; $i<141; $i++) { $query = "SELECT * from journal WHERE journal_id = $i"; $res = $bd->exec_query($query); $journal = $bd->fetch_object($res); $fullname=addSlashes($journal->journal_fullname); echo "id=$journal->journal_id name=$journal->journal_name fullname=$journal->journal_fullname
"; $query = "REPLACE INTO `journal` (`journal_id`, `journal_name`, `journal_fullname`) VALUES ($journal->journal_id, '$fullname', '$fullname');"; echo $query . "
"; $res = $bd->exec_query($query); } echo "END
"; } */ } if ( (!isSet($_GET['mode'])) and (!isSet($_POST['action'])) ) { echo anchor("$filename?mode=insert", "Ajouter un nouveau journal") . "
"; echo journal_lines($bd); } echo anchor("$filename?mode=insert", "Ajouter un nouveau journal") . "
"; ?>
phpubli-1.0/phpubli/intranet/document.php0000664000175000017500000003556411260607037020176 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir=".."; $localdir="intranet"; $filename="document.php"; require_once ("$rootdir/include.php"); require_once ("include.php"); $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); check_login($bd); $typedoc=""; if ( (isSet($_GET['mode'])) && ($_GET['mode']=="edit") && (isSet($_GET['id'])) ) { $docid=$_GET['id']; $result = $bd->exec_query("SELECT * FROM document WHERE doc_id='$docid' "); $ob=$bd->fetch_object($result); $typedoc_id=$ob->typedoc_id; $result = $bd->exec_query("SELECT * FROM typedoc WHERE typedoc_id='$typedoc_id' "); $ob=$bd->fetch_object($result); $typedoc=$ob->typedoc_libelle; } if ( (isSet($_GET['doc'])) && ($_GET['doc']!="") ) $typedoc=$_GET['doc']; $fonction_range="123"; if ($typedoc=="article") $fonction_range="1"; // only authors if ($typedoc=="conference_proceeding") $fonction_range="1"; // only authors if ($typedoc=="conference_abstract") $fonction_range="1"; // only authors if ($typedoc=="these") $fonction_range="13"; // author or advisor if ($typedoc=="proceedings_book") $fonction_range="2"; // only editors if ($typedoc=="book") $fonction_range="1"; // only authors if ("$typedoc"!="") { $result = $bd->exec_query("SELECT typedoc_id FROM typedoc WHERE typedoc_libelle='$typedoc' "); $ob=$bd->fetch_object($result); $typedoc_id=$ob->typedoc_id; $docflag="?doc=$typedoc"; } else { $typedoc_id=""; $docflag=""; } ?> Documents

Opérations sur la table des documents

\n"; if ($action=="edit") { //echo "action=edit
\n"; //header("Location: $rootdir/$localdir/$filename?mode=edit&id=$doc_id"); $displayid=$doc_id; } if ($action=="validate") { //echo "action=$action
\n"; document_data_validate($doc_id, $bd); document_auth_validate($doc_id, $bd); $displayid=$doc_id; } if ($action=="editdocumentdata") { //echo "action=editdocumentdata
\n"; echo "Mise à jour des données (sauf personnes) d'un document
\n"; echo "
\n"; echo "\n"; echo "\n"; echo "
\n"; document_data_form($typedoc_id, "update", $doc_id, $bd); document_auth_fixed($doc_id, $bd); echo "
\n"; echo "
\n"; echo "\n"; echo "
\n"; } if ($action=="updatedocumentdata") { //echo "action=updatedocumentdata
\n"; document_data_update($_POST, $bd); //echo "
\n"; //document_data_fixed($doc_id, $bd); //document_auth_fixed($doc_id, $bd); //echo "
\n"; //header("Location: $rootdir/$localdir/$filename?mode=edit&id=$doc_id"); $displayid=$doc_id; } if ($action=="insertdocumentdata") { // echo "action=insertdocumentdata
\n"; $doc_id=document_data_insert($_POST, $bd); // echo "doc_id=$doc_id
\n"; echo "
\n"; echo "\n"; echo "\n"; echo "
\n"; document_data_fixed($doc_id, $bd); document_auth_form("insert", $doc_id, $bd, $fonction_range); echo "
\n"; echo "
\n"; echo "\n"; echo "
\n"; } if ($action=="editdocumentauth") { //echo "action=editdocumentauth
\n"; echo "Mise à jour des auteurs, éditeurs... d'un document
\n"; echo "
\n"; echo "\n"; echo "\n"; echo "
\n"; document_data_fixed($doc_id, $bd); document_auth_form("update", $doc_id, $bd, $fonction_range); echo "
\n"; echo "
\n"; echo "\n"; echo "
\n"; } if ($action=="updatedocumentauth") { //echo "action=$action
\n"; document_auth_update("update", $_POST, $bd); //echo "header(\"Location: $rootdir/$localdir/$filename?mode=edit&id=$doc_id\");
"; //header("Location: $rootdir/$localdir/$filename?mode=edit&id=$doc_id"); $displayid=$doc_id; } if ($action=="insertdocumentauth") { //echo "action=$action
\n"; document_auth_update("insert", $_POST, $bd); //echo "header(\"Location: $rootdir/$localdir/$filename?mode=edit&id=$doc_id\");
"; //header("Location: $rootdir/$localdir/$filename?mode=edit&id=$doc_id"); $displayid=$doc_id; } if ($action=="deletedocument") { //echo "action=deletedocument
\n"; $c=0; if ( $typedoc="proceedings_book") { $query = "select count(*) from document where proceedings_id='$doc_id'"; //print ("query=$query

\n"); $res = $bd->exec_query($query); //print "res=$res
\n"; $ob = $bd->fetch_row ($res); $c=$ob[0]; //print "c=$c
\n"; } if ($c>0) { document_data_fixed($doc_id, $bd); document_auth_fixed($doc_id, $bd); print ("Impossible de supprimer ce livre d'actes : des " // . anchor("$rootdir/search.php?search=journal&id=$journal_id", "documents") . " documents en dépendent.

\n"); } else { print ("Supprimer effectivement ce document ?
\n"); echo "

\n"; echo "\n"; echo "\n"; echo "
\n"; document_data_fixed($doc_id, $bd); document_auth_fixed($doc_id, $bd); echo "
\n"; echo "\n"; echo "
\n"; } } if ($action=="deletedocumentnow") { //echo "action=deletedocumentnow
\n"; print ("Suppression du document $doc_id
\n"); document_auth_delete($doc_id, $bd); document_data_delete($doc_id, $bd); } } if ( (isSet($_GET['mode'])) || ($displayid!="") ) { if ( ( ($_GET['mode']=="edit") and (isSet($_GET['id'])) ) || ($displayid!="") ) { // entry point to edit an existing document given its doc_id if ($displayid!="") $doc_id=$displayid; else $doc_id=$_GET['id']; echo "
\n"; document_data_fixed($doc_id, $bd); document_auth_fixed($doc_id, $bd); echo "
\n"; $query = "SELECT * from document WHERE doc_id = $doc_id"; $res = $bd->exec_query($query); $document = $bd->fetch_object($res); $log=$document->log; if ( ( "$log"=="2" ) && (check_root_priv($bd)<1) ) { echo "Données non modifiables

\n"; } else { echo "
\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
\n"; if ( "$document->hal"=="") { echo "
"; echo "L'identifiant HAL n'est pas renseigné.
"; $hal_search_url=hal_search($bd, $doc_id); echo "Effectuer une " . anchor_ext($hal_search_url, "recherche") . " dans l'archive ouverte HAL, pour vérifier que le document n'y figure pas déjà.
\n"; echo "Créer un " . anchor("./export_notice_hal.php?docid=$doc_id", "fichier XML") ." pour " . anchor_ext("http://import.ccsd.cnrs.fr/importXML.php", "transférer automatiquement") ." les données ci-dessus vers HAL.

\n"; } if (check_admin_priv($bd)>0) { echo "
Si vous êtes sûr(e) que les données sont complètes et correctes, vous pouvez \n"; } } echo "
"; } if ($_GET['mode']=="insert") { if ("$typedoc" == "article") echo "Saisie d'un nouvel article
\n"; else if ("$typedoc" == "these") echo "Saisie d'une nouvelle thèse
\n"; else if ("$typedoc" == "proceedings_book") echo "Saisie d'un nouveau livre d'actes d'une conférence
\n"; else if ("$typedoc" == "conference_proceeding") echo "Saisie d'une nouvelle communication dans une conférence avec actes publiés
\n"; else if ("$typedoc" == "conference_abstract") echo "Saisie d'une nouvelle communication dans une conférence sans actes
\n"; else if ("$typedoc" == "book") echo "Saisie d'un nouveau livre
\n"; else echo "Saisie d'un nouveau document. Attention, selon le type de document choisi, seuls certains des champs ci-dessous sont pertinents.
\n"; echo "
\n"; echo "\n"; echo "
\n"; document_data_form($typedoc_id, "insert", "", $bd); echo "
\n"; echo "
\n"; echo "
\n"; } /* if ($_GET['mode']=="alter") { echo "START
"; // $query = "SELECT * from document WHERE typedoc_id=4 AND year=2006 "; $query = "SELECT * from document WHERE typedoc_id=4"; $res = $bd->exec_query($query); $i=0; echo "\n"; while ( ($document = $bd->fetch_object($res)) ) { $i++; $title=addSlashes($document->title); $year=addSlashes($document->year); $volume=addSlashes($document->volume); $doi=addSlashes($document->doi); $journal_id=addSlashes($document->journal_id); $doc_id=$document->doc_id; $page_start=$document->page_start; $page_end=$document->page_end; // $pages=addSlashes($document->pages); $pages=trim($document->pages); if ("$pages"!="") { // $pagearray=explode("--", $pages); $pagearray=explode("-", $pages); if ("$pagearray[0]"!="") { $page_start=trim($pagearray[0]); $page_end=trim($pagearray[1]); $query = "update document set pages='', page_start='$page_start', page_end='$page_end' where doc_id='$doc_id'"; echo $query . "
"; $bd->exec_query($query); } } $line=""; // $line .= " title=$title year=$year volume=$volume doi=$doi journal_id=$journal_id"; $line .= " "; echo "$line \n"; / * $query = "INSERT INTO `document` (`doc_id`, `title`, `journal_id`, `year`, `volume`, `pages`, `doi`) VALUES ('$doc_id', '$title', '$journal_id', '$year', '$volume', '$pages', '$doi');"; echo $query . "
"; $bd->exec_query($query); * / } echo "
$i doc_id=$doc_idpages=$pages page_start=$page_start page_end=$page_end
\n"; echo "END
"; } */ } if ( (!isSet($_GET['mode'])) and (!isSet($_POST['action'])) ) { echo anchor("document.php?doc=article&mode=insert", "Ajouter un nouvel article") . "
"; echo anchor("document.php?doc=these&mode=insert", "Ajouter une nouvelle thèse") . "
"; echo anchor("document.php?doc=conference_proceeding&mode=insert", "Ajouter une nouvelle communication dans une conférence avec actes publiés") . "
"; echo anchor("document.php?doc=conference_abstract&mode=insert", "Ajouter une nouvelle communication dans une conférence sans actes") . "
"; echo anchor("document.php?doc=proceedings_book&mode=insert", "Ajouter un nouveau livre d'actes d'une conférence") . "
"; echo anchor("document.php?doc=book&mode=insert", "Ajouter un nouveau livre") . "
"; echo document_lines($bd, $typedoc_id); } echo anchor("document.php?doc=article&mode=insert", "Ajouter un nouvel article") . "
"; echo anchor("document.php?doc=these&mode=insert", "Ajouter une nouvelle thèse") . "
"; echo anchor("document.php?doc=conference_proceeding&mode=insert", "Ajouter une nouvelle communication dans une conférence avec actes publiés") . "
"; echo anchor("document.php?doc=conference_abstract&mode=insert", "Ajouter une nouvelle communication dans une conférence sans actes") . "
"; echo anchor("document.php?doc=proceedings_book&mode=insert", "Ajouter un nouveau livre d'actes d'une conférence") . "
"; echo anchor("document.php?doc=book&mode=insert", "Ajouter un nouveau livre") . "
"; ?>
phpubli-1.0/phpubli/intranet/admin/0000775000175000017500000000000011260607037016722 5ustar benoitbenoitphpubli-1.0/phpubli/intranet/admin/mail.php0000664000175000017500000000514711260607037020364 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir="../.."; $localdir="intranet/admin"; $filename="mail.php"; require_once ("$rootdir/include.php"); require_once ("$rootdir/intranet/include.php"); include ("functions.php"); $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); check_admin_login($bd); ?> Administration de la base

Administration de la base

exec_query ($query); $maillist=""; $sep=""; while ($admin = $bd->fetch_object ($mresult) ) { $mail=$admin->u_mail; if ( "$mail" != "" ) { $maillist .= $sep . $mail; $sep=","; } } echo "Envoyer un mail à tous les administrateurs de la base
\n"; $query = "SELECT * FROM user WHERE u_status<2 order by u_name"; $mresult = $bd->exec_query ($query); $maillist=""; $sep=""; while ($admin = $bd->fetch_object ($mresult) ) { $mail=$admin->u_mail; if ( "$mail" != "" ) { $maillist .= $sep . $mail; $sep=","; } } echo "Envoyer un mail à tous les utilisateurs de la base
\n"; ?>
phpubli-1.0/phpubli/intranet/admin/history_journal.php0000664000175000017500000001715211260607037022674 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir="../.."; $localdir="intranet/admin"; $filename="history_journal.php"; require_once ("$rootdir/include.php"); require_once ("$rootdir/intranet/include.php"); include ("functions.php"); $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); check_admin_login($bd); $result = $bd->exec_query("SELECT * FROM groupes"); while ( $ob=$bd->fetch_object($result)) $list_groupes[$ob->g_id]="$ob->g_fullname"; $groupe_id=current_group($bd); $groupe_name=$list_groupes[$groupe_id]; ?> Historique des modifications — Table des journaux

Historique des modifications — Table des journaux

Toutes les modifications\n"; $query = "SELECT * from history where table_id='2' ORDER BY date_entry DESC, id DESC"; } else if (check_admin_priv($bd)) { print "

Toutes les modifications par des membres du groupe “$groupe_name”

\n"; $query = "SELECT * from history where table_id='2' AND g_id='$groupe_id' ORDER BY date_entry DESC, id DESC"; } } if ($_GET['action']=="listnonvalidated") { if (check_root_priv($bd)) { print "

Toutes les modifications non validées

\n"; $query = "SELECT DISTINCT history.* FROM history,journal WHERE history.table_id='2' AND history.item_id=journal.journal_id AND journal.log<2 ORDER BY history.date_entry DESC, history.id DESC"; } else if (check_admin_priv($bd)) { print "

Entrées non validées modifiées par des membres du groupe “$groupe_name”

\n"; $query = "SELECT DISTINCT history.* FROM history,journal WHERE history.table_id='2' AND history.item_id=journal.journal_id AND history.g_id='$groupe_id' AND journal.log<2 ORDER BY history.date_entry DESC, history.id DESC"; } } //print ("query= $query

\n"); $result=$bd->exec_query($query); print "\n"; $lines = ""; $lines .= ""; $lines .= ""; $lines .= ""; $lines .= ""; $lines .= ""; $lines .= "\n"; $lines .= "\n"; while ( $logentry=$bd->fetch_object($result)) { $str=""; $str .= ""; $str .= ""; $str .= ""; $uid=$logentry->u_id; $query="SELECT * FROM user WHERE u_id='$uid'"; // print ("query= $query

\n"); $u=$bd->exec_query($query); $uu=$bd->fetch_object($u); $user="$uu->u_first" . " " . "$uu->u_name"; $str .= "

"; $str .= ""; $lines .= "" . $str . "\n"; } print "
date and timeiduseraction
 
"; $str .= "$logentry->id"; $str .= ""; $str .= "$logentry->date_entry"; $str .= ""; if ($_GET['action']=="listall") $str .= "$logentry->item_id"; if ($_GET['action']=="listnonvalidated") $str .= anchor("$filename?action=item&id=$logentry->item_id", $logentry->item_id) ; $str .= ""; $str .= "$user"; $str .= ""; if ("$logentry->action"=="insert") { $str .= "insert: " . journal_entry($logentry->entry_new); } if ("$logentry->action"=="update") { $str .= "update: " . journal_entry($logentry->entry_new) . " was: " . journal_entry($logentry->entry_old) ; } if ("$logentry->action"=="delete") { $str .= "delete: " . journal_entry($logentry->entry_old); } if ("$logentry->action"=="validate") { $str .= "validate: " . journal_entry($logentry->entry_old); } $str .= "
\n" . $lines . "
\n" ; } if ( ($_GET['action']=="item") && ( isset($_GET['id']) ) ) { $item_id=$_GET['id']; print "

Modifications de l'entrée $item_id dans la table des journaux

\n"; $query = "SELECT * from history where table_id='2' AND item_id='$item_id' ORDER BY date_entry DESC"; //print ("query= $query

\n"); $result=$bd->exec_query($query); print "\n"; $lines = ""; $lines .= ""; $lines .= ""; $lines .= ""; $lines .= "\n"; $lines .= "\n"; while ( $logentry=$bd->fetch_object($result)) { $str=""; $str .= ""; $uid=$logentry->u_id; $query="SELECT * FROM user WHERE u_id='$uid'"; // print ("query= $query

\n"); $u=$bd->exec_query($query); $uu=$bd->fetch_object($u); $user="$uu->u_first" . " " . "$uu->u_name"; $str .= "

"; $str .= ""; $lines .= "" . $str . "\n"; } print "
date and timeuseraction
 
"; $str .= "$logentry->date_entry"; $str .= ""; $str .= "$user"; $str .= ""; if ("$logentry->action"=="insert") { $str .= "insert: " . journal_entry($logentry->entry_new); } if ("$logentry->action"=="update") { $str .= "update: " . journal_entry($logentry->entry_new) . " was: " . journal_entry($logentry->entry_old) ; } if ("$logentry->action"=="delete") { $str .= "delete: " . journal_entry($logentry->entry_old); } if ("$logentry->action"=="validate") { $str .= "validate: " . journal_entry($logentry->entry_old); } $str .= "
\n" . $lines . "
\n" ; $query = "SELECT * FROM journal WHERE journal_id='$item_id'"; $res = $bd->exec_query ($query); $journal = $bd->fetch_object ($res); $log=$journal->log; if ($log<2) print anchor("$rootdir/intranet/journal.php?mode=edit&id=$item_id", "Corriger et/ou valider définitivement l'entrée $item_id"); } } ?>


Toutes les modifications non validées\n
\n"; echo "Toutes les modifications\n
\n"; } else if (check_admin_priv($bd)) { echo "Entrées non validées modifiées par des membres du groupe “$groupe_name”\n
\n"; echo "Toutes les modifications par des membres du groupe “$groupe_name”\n
\n"; } ?>

phpubli-1.0/phpubli/intranet/admin/index.php0000664000175000017500000000442711260607037020551 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir="../.."; $localdir="intranet/admin"; $filename="index.php"; require_once ("$rootdir/include.php"); require_once ("$rootdir/intranet/include.php"); include ("functions.php"); $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); check_admin_login($bd); ?> Administration de la base phpubli-1.0/phpubli/intranet/admin/history_document.php0000664000175000017500000002010111260607037023024 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir="../.."; $localdir="intranet/admin"; $filename="history_document.php"; require_once ("$rootdir/include.php"); require_once ("$rootdir/intranet/include.php"); include ("functions.php"); $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); check_admin_login($bd); $result = $bd->exec_query("SELECT * FROM groupes"); while ( $ob=$bd->fetch_object($result)) $list_groupes[$ob->g_id]="$ob->g_fullname"; $groupe_id=current_group($bd); $groupe_name=$list_groupes[$groupe_id]; ?> Historique des modifications — Table des documents

Historique des modifications — Table des documents

Toutes les modifications\n"; $query = "SELECT * from history where table_id='3' ORDER BY date_entry DESC, id DESC"; } else if (check_admin_priv($bd)) { print "

Toutes les modifications par des membres du groupe “$groupe_name”

\n"; $query = "SELECT * from history where table_id='3' AND g_id='$groupe_id' ORDER BY date_entry DESC, id DESC"; } } if ($_GET['action']=="listnonvalidated") { if (check_root_priv($bd)) { print "

Toutes les modifications non validées

\n"; $query = "SELECT DISTINCT history.* FROM history,document WHERE history.table_id='3' AND history.item_id=document.doc_id AND document.log<2 ORDER BY history.date_entry DESC, history.id DESC"; } else if (check_admin_priv($bd)) { print "

Entrées non validées modifiées par des membres du groupe “$groupe_name”

\n"; $query = "SELECT DISTINCT history.* FROM history,document WHERE history.table_id='3' AND history.item_id=document.doc_id AND history.g_id='$groupe_id' AND document.log<2 ORDER BY history.date_entry DESC, history.id DESC"; } } // print ("query= $query

\n"); $result=$bd->exec_query($query); print "\n"; $lines = ""; $lines .= ""; $lines .= ""; $lines .= ""; $lines .= ""; $lines .= ""; $lines .= "\n"; $lines .= "\n"; while ( $logentry=$bd->fetch_object($result)) { $str=""; $str .= ""; $str .= ""; $str .= ""; $uid=$logentry->u_id; $query="SELECT * FROM user WHERE u_id='$uid'"; // print ("query= $query

\n"); $u=$bd->exec_query($query); $uu=$bd->fetch_object($u); $user="$uu->u_first" . " " . "$uu->u_name"; $str .= "

"; $str .= ""; $lines .= "" . $str . "\n"; } print "
date and timeiduseraction
 
"; $str .= "$logentry->id"; $str .= ""; $str .= "$logentry->date_entry"; $str .= ""; if ($_GET['action']=="listall") $str .= "$logentry->item_id"; if ($_GET['action']=="listnonvalidated") $str .= anchor("$filename?action=item&id=$logentry->item_id", $logentry->item_id) ; $str .= ""; $str .= "$user"; $str .= ""; if ("$logentry->action"=="insert") { $str .= "insert: " . document_entry($logentry->entry_new, $bd); } if ("$logentry->action"=="update") { $str .= "" . "
update:" . document_entry($logentry->entry_new, $bd) . "
was:" . document_entry($logentry->entry_old, $bd) . "
"; } if ("$logentry->action"=="delete") { $str .= "delete: " . document_entry($logentry->entry_old, $bd); } if ("$logentry->action"=="validate") { $str .= "validate"; } $str .= "
\n" . $lines . "
\n" ; } if ( ($_GET['action']=="item") && ( isset($_GET['id']) ) ) { $item_id=$_GET['id']; print "

Modifications de l'entrée " . anchor("$rootdir/search.php?search=doc&id=$item_id", "$item_id") . " dans la table des documents

\n"; $query = "SELECT * from history where table_id='3' AND item_id='$item_id' ORDER BY date_entry DESC"; //print ("query= $query

\n"); $result=$bd->exec_query($query); print "\n"; $lines = ""; $lines .= ""; $lines .= ""; $lines .= ""; $lines .= "\n"; $lines .= "\n"; while ( $logentry=$bd->fetch_object($result)) { $str=""; $str .= ""; $uid=$logentry->u_id; $query="SELECT * FROM user WHERE u_id='$uid'"; // print ("query= $query

\n"); $u=$bd->exec_query($query); $uu=$bd->fetch_object($u); $user="$uu->u_first" . " " . "$uu->u_name"; $str .= "

"; $str .= ""; $lines .= "" . $str . "\n"; } print "
date and timeuseraction
 
"; $str .= "$logentry->date_entry"; $str .= ""; $str .= "$user"; $str .= ""; if ("$logentry->action"=="insert") { $str .= "
insert: " . document_entry($logentry->entry_new, $bd) . "
"; } if ("$logentry->action"=="update") { $str .= "" . "
update:" . document_entry($logentry->entry_new, $bd) . "
was:" . document_entry($logentry->entry_old, $bd) . "
"; } if ("$logentry->action"=="delete") { $str .= "
delete: " . document_entry($logentry->entry_old, $bd) . "
"; } if ("$logentry->action"=="validate") { $str .= "
validate" . "
"; } $str .= "
\n" . $lines . "
\n" ; $query = "SELECT * FROM document WHERE doc_id='$item_id'"; $res = $bd->exec_query ($query); $document = $bd->fetch_object ($res); $log=$document->log; if ($log<2) print anchor("$rootdir/intranet/document.php?mode=edit&id=$item_id", "Corriger et/ou valider définitivement l'entrée $item_id"); } } ?>


Liste des derniers documents modifiés\n

\n"; if (check_root_priv($bd)) { echo "Toutes les modifications non validées\n
\n"; echo "Toutes les modifications\n
\n"; } else if (check_admin_priv($bd)) { echo "Entrées non validées modifiées par des membres du groupe “$groupe_name”\n
\n"; echo "Toutes les modifications par des membres du groupe “$groupe_name”\n
\n"; } ?>

phpubli-1.0/phpubli/intranet/admin/history_pers.php0000664000175000017500000001710411260607037022170 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir="../.."; $localdir="intranet/admin"; $filename="history_pers.php"; require_once ("$rootdir/include.php"); require_once ("$rootdir/intranet/include.php"); include ("functions.php"); $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); check_admin_login($bd); $result = $bd->exec_query("SELECT * FROM groupes"); while ( $ob=$bd->fetch_object($result)) $list_groupes[$ob->g_id]="$ob->g_fullname"; $groupe_id=current_group($bd); $groupe_name=$list_groupes[$groupe_id]; ?> Historique des modifications — Table des personnes

Historique des modifications — Table des personnes

Toutes les modifications\n"; $query = "SELECT * from history where table_id='1' ORDER BY date_entry DESC, id DESC"; } else if (check_admin_priv($bd)) { print "

Toutes les modifications par des membres du groupe “$groupe_name”

\n"; $query = "SELECT * from history where table_id='1' AND g_id='$groupe_id' ORDER BY date_entry DESC, id DESC"; } } if ($_GET['action']=="listnonvalidated") { if (check_root_priv($bd)) { print "

Toutes les modifications non validées

\n"; $query = "SELECT DISTINCT history.* FROM history,personne WHERE history.table_id='1' AND history.item_id=personne.pers_id AND personne.log<2 ORDER BY history.date_entry DESC, history.id DESC"; } else if (check_admin_priv($bd)) { print "

Entrées non validées modifiées par des membres du groupe “$groupe_name”

\n"; $query = "SELECT DISTINCT history.* FROM history,personne WHERE history.table_id='1' AND history.item_id=personne.pers_id AND history.g_id='$groupe_id' AND personne.log<2 ORDER BY history.date_entry DESC, history.id DESC"; } } // print ("query= $query

\n"); $result=$bd->exec_query($query); print "\n"; $lines = ""; $lines .= ""; $lines .= ""; $lines .= ""; $lines .= ""; $lines .= ""; $lines .= "\n"; $lines .= "\n"; while ( $logentry=$bd->fetch_object($result)) { $str=""; $str .= ""; $str .= ""; $str .= ""; $uid=$logentry->u_id; $query="SELECT * FROM user WHERE u_id='$uid'"; // print ("query= $query

\n"); $u=$bd->exec_query($query); $uu=$bd->fetch_object($u); $user="$uu->u_first" . " " . "$uu->u_name"; $str .= "

"; $str .= ""; $lines .= "" . $str . "\n"; } print "
date and timeiduseraction
 
"; $str .= "$logentry->id"; $str .= ""; $str .= "$logentry->date_entry"; $str .= ""; if ($_GET['action']=="listall") $str .= "$logentry->item_id"; if ($_GET['action']=="listnonvalidated") $str .= anchor("$filename?action=item&id=$logentry->item_id", $logentry->item_id) ; $str .= ""; $str .= "$user"; $str .= ""; if ("$logentry->action"=="insert") { $str .= "insert: " . personne_entry($logentry->entry_new); } if ("$logentry->action"=="update") { $str .= "update: " . personne_entry($logentry->entry_new) . " was: " . personne_entry($logentry->entry_old) ; } if ("$logentry->action"=="delete") { $str .= "delete: " . personne_entry($logentry->entry_old); } if ("$logentry->action"=="validate") { $str .= "validate: " . personne_entry($logentry->entry_old); } $str .= "
\n" . $lines . "
\n" ; } if ( ($_GET['action']=="item") && ( isset($_GET['id']) ) ) { $item_id=$_GET['id']; print "

Modifications de l'entrée $item_id dans la table des personnes

\n"; $query = "SELECT * from history where table_id='1' AND item_id='$item_id' ORDER BY date_entry DESC"; //print ("query= $query

\n"); $result=$bd->exec_query($query); print "\n"; $lines = ""; $lines .= ""; $lines .= ""; $lines .= ""; $lines .= "\n"; $lines .= "\n"; while ( $logentry=$bd->fetch_object($result)) { $str=""; $str .= ""; $uid=$logentry->u_id; $query="SELECT * FROM user WHERE u_id='$uid'"; // print ("query= $query

\n"); $u=$bd->exec_query($query); $uu=$bd->fetch_object($u); $user="$uu->u_first" . " " . "$uu->u_name"; $str .= "

"; $str .= ""; $lines .= "" . $str . "\n"; } print "
date and timeuseraction
 
"; $str .= "$logentry->date_entry"; $str .= ""; $str .= "$user"; $str .= ""; if ("$logentry->action"=="insert") { $str .= "insert: " . personne_entry($logentry->entry_new); } if ("$logentry->action"=="update") { $str .= "update: " . personne_entry($logentry->entry_new) . " was: " . personne_entry($logentry->entry_old) ; } if ("$logentry->action"=="delete") { $str .= "delete: " . personne_entry($logentry->entry_old); } if ("$logentry->action"=="validate") { $str .= "validate: " . personne_entry($logentry->entry_old); } $str .= "
\n" . $lines . "
\n" ; $query = "SELECT * FROM personne WHERE pers_id='$item_id'"; $res = $bd->exec_query ($query); $personne = $bd->fetch_object ($res); $log=$personne->log; if ($log<2) print anchor("$rootdir/intranet/personne.php?mode=edit&id=$item_id", "Corriger et/ou valider définitivement l'entrée $item_id"); } } ?>


Toutes les modifications non validées\n
\n"; echo "Toutes les modifications\n
\n"; } else if (check_admin_priv($bd)) { echo "Entrées non validées modifiées par des membres du groupe “$groupe_name”\n
\n"; echo "Toutes les modifications par des membres du groupe “$groupe_name”\n
\n"; } ?>

phpubli-1.0/phpubli/intranet/admin/functions.php0000664000175000017500000001703711260607037021453 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ function leftmenu_admin($item) { global $rootdir; global $bd; print("\n"); print("
\n"); print("
    \n"); print("
  • Publications
  • \n"); print("
  •  
  • \n"); print("
  • Intranet
  • \n"); print("
  •  
  • \n"); print("
  • admin
  • \n"); print("
  •  
  • \n"); print("
  • documents
  • \n"); /* print("
  • participer
  • \n"); */ print("
  • personnes
  • \n"); print("
  • journaux
  • \n"); print("
  • mail
  • \n"); $currentuser=current_user($bd); if (!empty($currentuser)) { $status=check_login($bd); print("
  •  
  • \n"); print("
  •  user: $currentuser 
  •  \n"); if ($status==2) { print("
  • superadmin
  • \n"); } } print("
\n"); print("
\n"); print("\n"); } function personne_entry($entry) { //print "entry:$entry
"; $pattern="/\"\ (\w+)=/"; $replacement="\"XXXYYYXXX\$1="; $alt_entry=preg_replace($pattern, $replacement, $entry); //print "alt_entry:$alt_entry
"; $pers_last=""; $pers_first=""; $pers_id=""; foreach (explode("XXXYYYXXX", $alt_entry) as $key=>$val) { $pattern="/^(\w+)=\"/"; $replacement="\$1====="; $val=preg_replace($pattern, $replacement, $val); $pattern="/\"\s*$/"; $replacement=""; $val=preg_replace($pattern, $replacement, $val); //print "key=$key val=[$val]
"; $field=explode("=====", $val); if ($field[0]=="pers_last") $pers_last=$field[1]; if ($field[0]=="pers_first") $pers_first=$field[1]; if ($field[0]=="pers_id") $pers_id=$field[1]; } // return $pers_first . " " . $pers_last . "(" . $pers_id . ")" ; return $pers_first . " " . $pers_last ; } function journal_entry($entry) { // print "entry:$entry
"; $pattern="/\"\ (\w+)=/"; $replacement="\"XXXYYYXXX\$1="; $alt_entry=preg_replace($pattern, $replacement, $entry); // print "alt_entry:$alt_entry
"; $journal_name=""; $journal_fullname=""; $journal_id=""; foreach (explode("XXXYYYXXX", $alt_entry) as $key=>$val) { $pattern="/^(\w+)=\"/"; $replacement="\$1====="; $val=preg_replace($pattern, $replacement, $val); $pattern="/\"\s*$/"; $replacement=""; $val=preg_replace($pattern, $replacement, $val); // print "key=$key val=[$val]
"; $field=explode("=====", $val); if ($field[0]=="journal_id") $journal_id=$field[1]; if ($field[0]=="journal_name") $journal_name=$field[1]; if ($field[0]=="journal_fullname") $journal_fullname=$field[1]; } return $journal_fullname . " (" . $journal_name . ")" ; } function document_entry($entry, $bd) { // print "entry:$entry
"; $pattern="/\"\ (\w+)=/"; $replacement="\"XXXYYYXXX\$1="; $alt_entry=preg_replace($pattern, $replacement, $entry); // print "alt_entry:$alt_entry
"; $entry=""; foreach (explode("XXXYYYXXX", $alt_entry) as $key=>$val) { $pattern="/^(\w+)=\"/"; $replacement="\$1====="; $val=preg_replace($pattern, $replacement, $val); $pattern="/\"\s*$/"; $replacement=""; $val=preg_replace($pattern, $replacement, $val); // print "key=$key val=[$val]
"; $field=explode("=====", $val); if ($field[0]=="doc_id") $doc_id=$field[1]; if ($field[0]=="title") $title=stripSlashes($field[1]); if ($field[0]=="year") $year=$field[1]; if ($field[0]=="volume") $volume=$field[1]; if ($field[0]=="doi") $doi=$field[1]; if ($field[0]=="hal") $hal=$field[1]; if ($field[0]=="journal_id") $journal_id=$field[1]; if ($field[0]=="pages_start") $pages_start=$field[1]; if ($field[0]=="pages_end") $pages_end=$field[1]; if ($field[0]=="pages_eid") $pages_eid=$field[1]; if ($field[0]=="pages_num") $pages_num=$field[1]; if ($field[0]=="note") $note=$field[1]; if ($field[0]=="groupe") $groupe=$field[1]; if ($field[0]=="lang") $lang=$field[1]; } $entry .= " $title"; if ("$journal_id"!="") { $query = "SELECT * FROM journal WHERE journal_id=$journal_id"; $jresult = $bd->exec_query ($query); $journal = $bd->fetch_object ($jresult); $entry .= " $journal->journal_name"; } $entry .= " " . $volume . ""; if ( "$pages_eid"!="") { $entry .= ", $pages_eid"; if ( "$pages_num"!="") $entry .= " ($pages_num pages)"; } else if ( "$pages_start"!="") { $entry .= ", $pages_start"; if ( "$pages_end"!="") $entry .= "–$pages_end"; } $entry .= " (" . $year . ")."; $entry .= " [groupe: " . $groupe . "]"; if ( "$doi"!="") $entry .= " " . anchor_ext("http://dx.doi.org/$doi", "doi:$doi"); if ( "$hal"!="") $entry .= " " . anchor_ext_icon("http://hal.archives-ouvertes.fr/$hal", "hal.ico"); return $entry; } function participer_entry($entry) { //print "entry:$entry
"; $pattern="/\"\ (\w+)=/"; $replacement="\"XXXYYYXXX\$1="; $alt_entry=preg_replace($pattern, $replacement, $entry); //print "alt_entry:$alt_entry
"; foreach (explode("XXXYYYXXX", $alt_entry) as $key=>$val) { $pattern="/^(\w+)=\"/"; $replacement="\$1====="; $val=preg_replace($pattern, $replacement, $val); $pattern="/\"\s*$/"; $replacement=""; $val=preg_replace($pattern, $replacement, $val); //print "key=$key val=[$val]
"; $field=explode("=====", $val); if ($field[0]=="doc_id") $doc_id=$field[1]; if ($field[0]=="pers_id") $pers_id=$field[1]; if ($field[0]=="fonction_id") $fonction_id=$field[1]; if ($field[0]=="rang") $rang=$field[1]; } return "doc=$doc_id pers=$pers_id rang=$rang"; } ?> phpubli-1.0/phpubli/intranet/admin/history_login.php0000664000175000017500000000507111260607037022327 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir="../.."; $localdir="intranet/admin"; $filename="history_login.php"; require_once ("$rootdir/include.php"); require_once ("$rootdir/intranet/include.php"); include ("functions.php"); $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); $status=0; $status=check_admin_login($bd); ?> Historique des login/logout

Historique des login/logout

\n"); $result=$bd->exec_query($query); $lines=""; print "\n"; while ( $logentry=$bd->fetch_object($result)) { $str=""; $str .= ""; $str .= ""; $lines .= "" . $str . "\n"; } print "
"; $str .= "$logentry->date_entry"; $str .= ""; $uid=$logentry->u_id; $query="SELECT * FROM user WHERE u_id='$uid'"; // print ("query= $query

\n"); $u=$bd->exec_query($query); $uu=$bd->fetch_object($u); $user="$uu->u_first" . " " . "$uu->u_name"; $str .= "$logentry->action: $user ($logentry->u_id)"; $str .= "

\n" . $lines . "
\n" ; ?>
phpubli-1.0/phpubli/intranet/index.php0000664000175000017500000001132711260607037017456 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir=".."; $localdir="intranet"; $filename="index.php"; require_once ("$rootdir/include.php"); include ("include.php"); $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); // check if there is a user logged in $currentuser=current_user($bd); ?> Opérations sur la base des publications

Opérations sur la base des publications

login).
\n"; } else { echo "Vous êtes identifié(e) comme $currentuser.
\n"; } print "

Modifications récentes

\n"; print "Liste des derniers documents modifiés
\n"; print "

Saisir de nouvelles données

\n"; print "Ajouter un article
\n"; print "Ajouter une thèse/hdr
\n"; print "Ajouter une communication (invitée ou non) dans une conférence avec actes publiés
\n"; print "Ajouter une communication (invitée ou non) dans une conférence sans actes
\n"; print "Ajouter un livre
\n"; print "
\n"; print "Ajouter une personne
\n"; print "Ajouter un journal
\n"; print "Ajouter une institution
\n"; print "Ajouter un éditeur commercial
\n"; print "Ajouter une conférence
\n"; print "Ajouter un livre d'actes d'une conférence
\n"; print "

Modifier des données existantes

\n"; print "Liste des articles
\n"; print "Liste des thèses/hdr
\n"; print "Liste des communications dans une conférence avec actes publiés
\n"; print "Liste des communications dans une conférence sans actes
\n"; print "
\n"; print "Liste des personnes
\n"; print "Liste des journaux
\n"; print "Liste des institutions
\n"; print "Liste des éditeurs commerciaux
\n"; print "Liste des conférences
\n"; print "Liste des livres d'actes d'une conférence
\n"; ?>
phpubli-1.0/phpubli/intranet/login.php0000664000175000017500000001034711260607037017460 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir=".."; $localdir="intranet"; $filename="login.php"; require_once ("$rootdir/include.php"); require_once ("include.php"); $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); $redirectpage=$filename; if ( (isset($_POST['action'])) && ($_POST['action']=="login") ) { //print ("login
"); if (isset($_POST['connect'])) { //print ("connect
"); // if ( isset($_POST['login']) & !empty($_POST['login']) & isset($_POST['plogin']) & !empty($_POST['plogin']) ) if ( isset($_POST['login']) && isset($_POST['plogin']) ) { $login=$_POST['login']; $password=$_POST['plogin']; $query = "SELECT * FROM user WHERE `u_login` = '$login' AND `u_password` =md5('$password')"; //print( "$query
\n"); $result=$bd->exec_query($query); if (mysql_num_rows($result)==1) // login success { $ob=$bd->fetch_object($result); $_SESSION['id']=$ob->u_id; $_SESSION['login']=$ob->u_login; $_SESSION['status']=$ob->u_status; $_SESSION['group']=$ob->u_groupid; $_SESSION['site']="phpubli"; $redirectpage="index.php"; $query="insert into history (u_id, action, date_entry) values (" . "'" . $ob->u_id . "', 'login', now() )"; $result=$bd->exec_query($query); if ( (maintenance($bd)>0) && ($ob->u_status!=2) ) { if(isset($_SESSION['id'])) unset ($_SESSION['id']); if(isset($_SESSION['login'])) unset ($_SESSION['login']); if(isset($_SESSION['status'])) unset ($_SESSION['status']); if(isset($_SESSION['group'])) unset ($_SESSION['group']); if(isset($_SESSION['site'])) unset ($_SESSION['site']); $redirectpage="login.php?mode=maintenance"; } } else { $redirectpage="login.php?mode=failed"; } } } if (isset($_POST['cancel'])) { //print ("cancel
"); $redirectpage="index.php"; } // redirect header("Location: $redirectpage" ); // exit(); } ?> Publications du LMFA
Login failed, try again.
\n"; if ("$mode"=="maintenance") echo "Database currently readonly, try again later.
\n"; } print("

Connexion

\n"); print("
\n"); print("
\n"); print("\n"); print("\n"); print("\n"); print("\n"); print("\n"); print("\n"); print("\n"); print("\n"); print("\n"); print("\n"); print("\n"); print("\n"); print("\n"); print("
Login:
Password:
\n"); print("\n"); print("\n"); print("
\n"); print("
\n"); print("
\n"); ?>
phpubli-1.0/phpubli/intranet/export_notice_hal.php0000664000175000017500000000263611260607037022060 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir=".."; $localdir="intranet"; $filename="export_notice_hal.php"; require_once ("$rootdir/include.php"); $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); $exportfilename="HAL.xml"; $docid=$_GET['docid']; header("Content-Disposition: inline; filename=$exportfilename"); header("Content-Type: text/plain; charset=iso-8859-1"); echo "\n"; echo "\n"; echo export_document_xmlhal($docid, $bd); echo "\n"; ?> phpubli-1.0/phpubli/intranet/institution.php0000664000175000017500000001633511260607037020744 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir=".."; $localdir="intranet"; $filename="institution.php"; require_once ("$rootdir/include.php"); require_once ("include.php"); $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); check_login($bd); $displayid=""; // if not null, redirect to page for editing institytion with institution_id==displayid if (isSet($_POST['action'])) { if (isSet($_POST['edit'])) $action="edit"; if (isSet($_POST['editinstitution'])) $action="editinstitution"; if (isSet($_POST['validateinstitution'])) $action="validateinstitution"; if (isSet($_POST['updateinstitution'])) $action="updateinstitution"; if (isSet($_POST['insertinstitution'])) $action="insertinstitution"; if (isSet($_POST['deleteinstitution'])) $action="deleteinstitution"; if (isSet($_POST['deleteinstitutionnow'])) $action="deleteinstitutionnow"; //echo "action=$action

\n"; $institution_id=$_POST['institution_id']; // echo "institution_id=$institution_id
\n"; if ($action=="edit") { //echo "action=$action
\n"; $displayid=$institution_id; } if ($action=="validateinstitution") { // echo "action=$action
\n"; institution_validate($institution_id, $bd); $displayid=$institution_id; } if ($action=="updateinstitution") { // echo "action=$action
\n"; institution_update($_POST, $bd); $displayid=$institution_id; } if ($action=="insertinstitution") { //echo "action=$action
\n"; $institution_id=institution_insert($_POST, $bd); //echo "institution_id=$institution_id
\n"; $displayid=$institution_id; } if ($action=="deleteinstitutionnow") { //echo "action=$action
\n"; // print ("Suppression de l'institution $institution_id
\n"); institution_delete($institution_id, $bd); header("Location: $filename"); exit; } if ($displayid!="") { //echo "header(\"Location: $filename?mode=edit&id=$displayid\");
\n"; header("Location: $filename?mode=edit&id=$displayid"); exit; } } ?> Institutions

Opérations sur la table des institutions

\n"; echo "Mise à jour des données d'une institution
\n"; echo "
\n"; echo "\n"; echo "\n"; echo "
\n"; institution_form("update", $institution_id, $bd); echo "
\n"; echo "\n"; echo "\n"; echo "
\n"; } if ($action=="deleteinstitution") { //echo "action=$action
\n"; $query = "select count(*) from document where institution_id='$institution_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); // print "res=$res
\n"; $ob = $bd->fetch_row ($res); if ( $ob[0] > 0 ) { institution_fixed($institution_id, $bd); print ("Impossible de supprimer cette institution : des " . anchor("$rootdir/search.php?search=institution&id=$institution_id", "documents") . " en dépendent.

\n"); } else { print ("Supprimer effectivement cette institution ?\n"); echo "

\n"; echo "\n"; echo "\n"; echo "
\n"; institution_fixed($institution_id, $bd); echo "
\n"; echo "\n"; echo "
\n"; } } } if (isSet($_GET['mode'])) { if ( ($_GET['mode']=="edit") and (isSet($_GET['id'])) ) { // entry point to edit an existing institution given its institution_id $institution_id=$_GET['id']; echo "
\n"; institution_fixed($institution_id, $bd); echo "
\n"; $query = "SELECT * from institution WHERE institution_id = $institution_id"; $res = $bd->exec_query($query); $institution = $bd->fetch_object($res); $log=$institution->log; if ( ( "$log"=="2" ) && (check_root_priv($bd)<1) ) { echo "Données non modifiables

\n"; } else { echo "
\n"; echo "
\n"; echo "\n"; echo "\n"; echo "\n"; echo "
\n"; if (check_admin_priv($bd)) echo "
Si vous êtes sûr(e) que les données sont complètes et correctes, vous pouvez \n"; echo "
"; } } if ($_GET['mode']=="insert") { echo "Saisie d'une nouvelle institution
\n"; echo "
\n"; echo "\n"; echo "
\n"; institution_form("insert", "", $bd); echo "
\n"; echo "
\n"; echo "
\n"; } } if ( (!isSet($_GET['mode'])) and (!isSet($_POST['action'])) ) { echo anchor("$filename?mode=insert", "Ajouter une nouvelle institution") . "
"; echo institution_lines($bd); } echo anchor("$filename?mode=insert", "Ajouter une nouvelle institution") . "
"; ?>
phpubli-1.0/phpubli/intranet/functions_personne.php0000664000175000017500000001600411260607037022265 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ // **************************************************************** // Personne operations function personne_lines($bd) { global $rootdir; $query = "SELECT * FROM personne ORDER BY pers_last"; $result = $bd->exec_query ($query); $lines=""; $i=0; while ( $personne = $bd->fetch_object ($result) ) { $i++; $str=""; $str .= ""; $log=$personne->log; if ( ( "$log"=="2" ) && (check_root_priv($bd)<1) ) $str .= "[" . "$i"; // entry already validated, no longer modifiable else $str .= "[" . anchor("$rootdir/intranet/personne.php?mode=edit&id=$personne->pers_id", $i); if (check_admin_priv($bd)) $str .= "|" . anchor("$rootdir/intranet/admin/history_pers.php?action=item&id=$personne->pers_id","log"); $str .= "]"; $str .= ""; $str .= stripSlashes($personne->pers_first); $str .= ""; $str .= ""; //$str .= stripSlashes($personne->pers_last); $str .= anchor("$rootdir/search.php?search=personne&id=$personne->pers_id", stripSlashes($personne->pers_last)); $str .= ""; $lines .= "" . $str . "\n"; } return "\n" . $lines . "
\n" ; } function personne_form($mode, $id, $bd) { global $LABO; if ("$id"!="") { $query = "SELECT * from personne WHERE pers_id = $id"; $res = $bd->exec_query($query); $personne = $bd->fetch_object($res); } echo "\n"; if ($mode=="update") { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } echo ""; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
pers_id$personne->pers_id "; if ($personne->log=="0") echo "[created on $personne->date]"; if ($personne->log=="1") echo "[last modified on $personne->date]"; if ($personne->log=="2") echo "[validated on $personne->date]"; echo "
Utiliser des majuscules seulement pour les initiales du prénom (pers_first) et du nom (pers_last), des minuscules pour tout le reste. Mettre le prénom en entier.
pers_firstpers_first) ."\" size=\"50\" maxlength=\"255\">
pers_lastpers_last) ."\" size=\"50\" maxlength=\"255\">
lablab=="1") echo "checked"; echo ">personne affiliée (même temporairement) au " . $LABO . "
\n"; } function personne_fixed($id, $bd) { global $LABO; $query = "SELECT * from personne WHERE pers_id = $id"; $res = $bd->exec_query($query); $personne = $bd->fetch_object($res); echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; if ($personne->lab=="1") echo "\n"; else echo "\n"; echo "\n"; echo "
pers_id$personne->pers_id "; if ($personne->log=="0") echo "[created on $personne->date]"; if ($personne->log=="1") echo "[last modified on $personne->date]"; if ($personne->log=="2") echo "[validated on $personne->date]"; echo "
pers_first" . stripslashes($personne->pers_first) . "
pers_last" . stripslashes($personne->pers_last) . "
labpersonne affiliée (même temporairement) au " . $LABO . "personne non affiliée au " . $LABO . "
\n"; } function personne_update($personne, $bd) { $first=addSlashes($personne['pers_first']); $last=addSlashes($personne['pers_last']); $pers_id=$personne['pers_id']; $lab="0"; if (isset($personne['lab'])) $lab="1"; $query = "select * from personne where pers_id = '$pers_id'"; $res = $bd->exec_query($query); $personne_old = $bd->fetch_object ($res); $query = "UPDATE personne SET " . "pers_first='$first', pers_last='$last', lab='$lab', " . "log='1', date=now() " . "WHERE pers_id = '$pers_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); $query = "select * from personne where pers_id = '$pers_id'"; $res = $bd->exec_query($query); $personne_new = $bd->fetch_object ($res); log_entry("personne", $pers_id, "update", $personne_old, $personne_new, $bd); } function personne_validate($pers_id, $bd) { $query = "select * from personne where pers_id = '$pers_id'"; $res = $bd->exec_query($query); $personne = $bd->fetch_object ($res); $first=$personne->pers_first; $last=$personne->pers_last; //print ("Validation de $first $last.
\n"); $query = "UPDATE personne SET " . "log='2', date=now() " . "WHERE pers_id = '$pers_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); log_entry("personne", $pers_id, "validate", $personne, "", $bd); } function personne_insert($personne, $bd) { $first=addSlashes($personne['pers_first']); $last=addSlashes($personne['pers_last']); $lab="0"; if (isset($personne['lab'])) $lab="1"; $query = "INSERT INTO personne (pers_first, pers_last, lab, log, date) " . " VALUES ( '$first', '$last', '$lab', '0', now()) " ; // print ("query= $query

\n"); $res = $bd->exec_query($query); $query = "SELECT * " . "FROM personne " . "WHERE pers_first LIKE '%$first' " . "AND pers_last LIKE '%$last%' "; // print ("query= $query

\n"); $res = $bd->exec_query($query); $personne = $bd->fetch_object ($res); $returnid=$personne->pers_id; log_entry("personne", $returnid, "insert", "", $personne, $bd); return $returnid; } function personne_delete($pers_id, $bd) { $query = "select * from personne where pers_id = '$pers_id'"; $res = $bd->exec_query($query); $personne_old = $bd->fetch_object ($res); $query = "DELETE FROM personne " . "WHERE pers_id = '$pers_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); log_entry("personne", $pers_id, "delete", $personne_old, "", $bd); } ?> phpubli-1.0/phpubli/intranet/functions_document.php0000664000175000017500000020361511260607037022260 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ // **************************************************************** // Document operations function document_edit($mode, $doc_id, $bd) { $query = "SELECT * from document WHERE doc_id = $doc_id"; $res = $bd->exec_query($query); $document = $bd->fetch_object($res); echo "DOCUMENT_EDIT
\n"; // get lists $list_journal[0]="-------------------- (select from list) --------------------"; $result = $bd->exec_query("SELECT * FROM journal ORDER BY journal_fullname"); while ( $ob=$bd->fetch_object($result)) // $list_journal[$ob->journal_id]="$ob->journal_id - $ob->journal_name"; $list_journal[$ob->journal_id]=stripSlashes($ob->journal_fullname); $result = $bd->exec_query("SELECT * FROM typedoc"); while ( $ob=$bd->fetch_object($result)) $list_typedoc[$ob->typedoc_id]="$ob->typedoc_id - $ob->typedoc_name"; $result = $bd->exec_query("SELECT * FROM groupes"); while ( $ob=$bd->fetch_object($result)) $list_groupes[$ob->g_id]="$ob->g_fullname"; //if ($mode=="update") echo "mise à jour/suppression d'un article

\n"; //if ($mode=="insert") echo "ajout d'un article

\n"; echo "

\n"; echo "
\n"; echo "\n"; if ($mode=="update") echo "doc_id\">\n"; echo "typedoc_id\">\n"; echo "\n"; if ($mode=="editdocument") { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
doc_id$document->doc_id "; if ($document->log=="0") echo "[created on $document->date]"; if ($document->log=="1") echo "[last modified on $document->date]"; echo "
typedoc_id
titletitle) . "\" size=\"70\" maxlength=\"255\">
yearyear . "\" size=\"4\" maxlength=\"4\">
volumevolume) . "\" size=\"4\" maxlength=\"255\">
Pour saisir les pages :
utiliser \"pages_startpages_end\" pour les journaux dont toutes les pages d'un volume sont numérotées ;
utiliser \"eid (pages_num pages)\" quand l'article est identifié par un numéro.
pages_startpages_start . "\" size=\"12\" maxlength=\"255\">
pages_endpages_end . "\" size=\"12\" maxlength=\"255\">
eidpages_eid . "\" size=\"12\" maxlength=\"255\">
pages_numpages_num . "\" size=\"12\" maxlength=\"255\">
doidoi) . "\" size=\"70\" maxlength=\"255\">
journal
notenote) . "\" size=\"70\" maxlength=\"255\">
groupe\n"; foreach ($list_groupes as $id=>$name) { echo "groupe)) ) { echo "checked"; } echo ">$name
\n"; } echo "
\n"; // specific instructions for dealing with authors echo "auteur(s) :

\n"; echo "\n"; if ($mode=="update") { // author list $query = "SELECT * FROM participer" . " WHERE doc_id='$tab->doc_id'" . " AND fonction_id = '1' " . " ORDER BY rang"; // echo "query=$query
"; $aresult = $bd->exec_query ($query); while ($ob = $bd->fetch_object ($aresult) ) { $pers_id=$ob->pers_id; $rang=$ob->rang; $query = "SELECT * FROM personne WHERE pers_id='$ob->pers_id'"; //echo "query=$query
"; $auth = $bd->exec_query ($query); $author=$bd->fetch_object($auth); $name="$author->pers_first $author->pers_last"; //echo "rang=$rang name=$name
"; echo "\n"; } } echo "
$rang$name
\n"; // end authors if ($mode=="insert") { echo "\n"; echo "\n"; } if ($mode=="update") { echo "\n"; echo "\n"; $status=check_status($bd); // echo "status=$status "; // if ($status>0) // echo "\n"; echo "\n"; } echo "\n"; echo "

\n"; echo "
\n"; } function document_form($mode, $tab, $bd) { // get lists $list_journal[0]="-------------------- (select from list) --------------------"; $result = $bd->exec_query("SELECT * FROM journal ORDER BY journal_fullname"); while ( $ob=$bd->fetch_object($result)) // $list_journal[$ob->journal_id]="$ob->journal_id - $ob->journal_name"; $list_journal[$ob->journal_id]=stripSlashes($ob->journal_fullname); $result = $bd->exec_query("SELECT * FROM typedoc"); while ( $ob=$bd->fetch_object($result)) $list_typedoc[$ob->typedoc_id]="$ob->typedoc_id - $ob->typedoc_name"; $result = $bd->exec_query("SELECT * FROM groupes"); while ( $ob=$bd->fetch_object($result)) $list_groupes[$ob->g_id]="$ob->g_fullname"; if ($mode=="update") echo "mise à jour/suppression d'un article

\n"; if ($mode=="insert") echo "ajout d'un article

\n"; echo "

\n"; echo "
\n"; echo "\n"; if ($mode=="update") echo "doc_id\">\n"; echo "typedoc_id\">\n"; echo "\n"; if ($mode=="update") { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
doc_id$tab->doc_id "; if ($tab->log=="0") echo "[created on $tab->date]"; if ($tab->log=="1") echo "[last modified on $tab->date]"; echo "
typedoc_id
titletitle) . "\" size=\"70\" maxlength=\"255\">
yearyear . "\" size=\"4\" maxlength=\"4\">
volumevolume) . "\" size=\"4\" maxlength=\"255\">
Pour saisir les pages :
utiliser \"pages_startpages_end\" pour les journaux dont toutes les pages d'un volume sont numérotées ;
utiliser \"eid (pages_num pages)\" quand l'article est identifié par un numéro.
pages_startpages_start . "\" size=\"12\" maxlength=\"255\">
pages_endpages_end . "\" size=\"12\" maxlength=\"255\">
eidpages_eid . "\" size=\"12\" maxlength=\"255\">
pages_numpages_num . "\" size=\"12\" maxlength=\"255\">
doidoi) . "\" size=\"70\" maxlength=\"255\">
journal
notenote) . "\" size=\"70\" maxlength=\"255\">
groupe\n"; foreach ($list_groupes as $id=>$name) { echo "groupe)) ) { echo "checked"; } echo ">$name
\n"; } echo "
\n"; // specific instructions for dealing with authors echo "auteur(s) :

\n"; echo "\n"; if ($mode=="update") { // author list $query = "SELECT * FROM participer" . " WHERE doc_id='$tab->doc_id'" . " AND fonction_id = '1' " . " ORDER BY rang"; // echo "query=$query
"; $aresult = $bd->exec_query ($query); while ($ob = $bd->fetch_object ($aresult) ) { $pers_id=$ob->pers_id; $rang=$ob->rang; $query = "SELECT * FROM personne WHERE pers_id='$ob->pers_id'"; //echo "query=$query
"; $auth = $bd->exec_query ($query); $author=$bd->fetch_object($auth); $name="$author->pers_first $author->pers_last"; //echo "rang=$rang name=$name
"; echo "\n"; } } echo "
$rang$name
\n"; // end authors if ($mode=="insert") { echo "\n"; echo "\n"; } if ($mode=="update") { echo "\n"; echo "\n"; $status=check_status($bd); // echo "status=$status "; // if ($status>0) // echo "\n"; echo "\n"; } echo "\n"; echo "

\n"; echo "
\n"; } function document_data_fixed($doc_id, $bd) { $query = "SELECT * from document WHERE doc_id = $doc_id"; $res = $bd->exec_query($query); $document = $bd->fetch_object($res); $result = $bd->exec_query("SELECT typedoc_libelle FROM typedoc WHERE typedoc_id='$document->typedoc_id' "); $ob=$bd->fetch_object($result); $typedoc_libelle=$ob->typedoc_libelle; // get lists $list_journal[0]="-------------------- (select from list) --------------------"; $result = $bd->exec_query("SELECT * FROM journal ORDER BY journal_fullname"); while ( $ob=$bd->fetch_object($result)) // $list_journal[$ob->journal_id]="$ob->journal_id - $ob->journal_name"; $list_journal[$ob->journal_id]=stripSlashes($ob->journal_fullname); $list_institution[0]="-------------------- (select from list) --------------------"; $result = $bd->exec_query("SELECT * FROM institution"); while ( $ob=$bd->fetch_object($result)) $list_institution[$ob->institution_id]=stripSlashes($ob->institution_name); $list_proceedings[0]="-------------------- (select from list) --------------------"; $result = $bd->exec_query("SELECT * FROM document where typedoc_id='7' ORDER BY year desc"); while ( $proceedings=$bd->fetch_object($result)) $list_proceedings[$proceedings->doc_id]="$proceedings->year - $proceedings->title"; $list_conference[0]="-------------------- (select from list) --------------------"; $result = $bd->exec_query("SELECT * FROM conference ORDER BY conference_date_start, conference_title"); while ( $conference=$bd->fetch_object($result)) { $cdate_start=explode('-',$conference->conference_date_start); $cyear=$cdate_start[0]; $list_conference[$conference->conference_id]="$cyear - " . stripSlashes($conference->conference_title) . " - " . stripSlashes($conference->conference_city); } $list_publisher[0]="-------------------- (select from list) --------------------"; $result = $bd->exec_query("SELECT * FROM publisher ORDER BY publisher_name"); while ( $publisher=$bd->fetch_object($result)) $list_publisher[$publisher->publisher_id]="$publisher->publisher_name"; $result = $bd->exec_query("SELECT * FROM typedoc"); while ( $ob=$bd->fetch_object($result)) $list_typedoc[$ob->typedoc_id]="$ob->typedoc_id - $ob->typedoc_name"; $result = $bd->exec_query("SELECT * FROM soustypedoc WHERE soustypedoc_id LIKE '$document->typedoc_id%'"); while ( $ob=$bd->fetch_object($result)) $list_soustypedoc[$ob->soustypedoc_id]="$ob->soustypedoc_id - $ob->soustypedoc_libelle"; $result = $bd->exec_query("SELECT * FROM groupes"); while ( $ob=$bd->fetch_object($result)) $list_groupes[$ob->g_id]="$ob->g_fullname"; // $list_groupes[$ob->g_id]="$ob->g_name"; $result = $bd->exec_query("SELECT * FROM language"); while ( $ob=$bd->fetch_object($result)) $list_lang[$ob->iso]="$ob->iso - $ob->name"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; if ( ("$typedoc_libelle"=="") || ("$typedoc_libelle"=="proceedings_book") ) { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } if ( ("$typedoc_libelle"=="") || ("$typedoc_libelle"=="book") || ("$typedoc_libelle"=="proceedings_book") ) { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } echo "\n"; echo "\n"; echo "\n"; echo "\n"; if ( ("$typedoc_libelle"=="") || ("$typedoc_libelle"=="conference_proceeding") ) { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } if ( ("$typedoc_libelle"=="") || ("$typedoc_libelle"=="conference_abstract") ) { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } if ( ( "$typedoc_libelle"!="conference_proceeding") && ( "$typedoc_libelle"!="conference_abstract") ) { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } if ("$typedoc_libelle"=="article") { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } if ("$typedoc_libelle"=="article") { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } if ( ("$typedoc_libelle"=="article") || ("$typedoc_libelle"=="conference_proceeding") ) { echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; } if ("$typedoc_libelle"=="these") { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } echo "\n"; echo "\n"; echo "\n"; echo ""; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo ""; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo ""; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
doc_id$document->doc_id "; if ($document->log=="0") echo "[created on $document->date]"; if ($document->log=="1") echo "[last modified on $document->date]"; if ($document->log=="2") echo "[validated on $document->date]"; echo "
typedoc_id"; foreach ($list_typedoc as $id=>$name) { if ($id==$document->typedoc_id) echo "$name"; } echo "
soustypedoc_id"; if ("$list_soustypedoc" != "") foreach ($list_soustypedoc as $id=>$name) { if ($id==$document->soustypedoc_id) echo "$name"; } echo "
conference"; foreach ($list_conference as $id=>$name) { if ($id==$document->conference_id) echo "$name"; } echo "
éditeur commercial"; foreach ($list_publisher as $id=>$name) { if ($id==$document->publisher_id) echo "$name"; } echo "
title" . stripSlashes($document->title) . "
livre de proceedingsIn: "; foreach ($list_proceedings as $id=>$name) { if ($id==$document->proceedings_id) echo "$name"; } echo "
conférence"; foreach ($list_conference as $id=>$name) { if ($id==$document->conference_id) echo "$name"; } echo "
year" . $document->year . "
journal"; foreach ($list_journal as $id=>$name) { if ($id==$document->journal_id) echo "$name"; } echo "
volume" . stripSlashes($document->volume) . "
pages_start" . $document->pages_start . "
pages_end" . $document->pages_end . "
eid" . $document->pages_eid . "
pages_num" . $document->pages_num . "
institution"; foreach ($list_institution as $id=>$name) { if ($id==$document->institution_id) echo "$name"; } echo "
doi"; $doi=stripSlashes($document->doi); if ( "$doi"!="") echo anchor_ext("http://dx.doi.org/$doi", "$doi"); // echo "" . stripSlashes($document->doi) . "
hal"; $hal=stripSlashes($document->hal); if ( "$hal"!="") echo anchor_icon("http://hal.archives-ouvertes.fr/$hal", "$hal", "hal.ico"); // echo "" . stripSlashes($document->hal) . "
note" . stripSlashes($document->note) . "
groupe"; // echo "$document->groupe"; $groupe=""; foreach ($list_groupes as $id=>$name) { if ( in_array($id, explode(" ", $document->groupe)) ) { $groupe .= "$id-$list_groupes[$id] "; } } echo "$groupe"; echo "
langue"; foreach ($list_lang as $id=>$name) { if ($id==$document->lang) echo "$name"; } echo "
\n"; } function document_data_form($typedoc_id, $mode, $doc_id, $bd) { // mode is either "insert" or "update" global $rootdir; global $localdir; $typedocid=$typedoc_id; echo "typedocid=$typedocid"; if ("$doc_id"!="") { $query = "SELECT * from document WHERE doc_id = $doc_id"; $res = $bd->exec_query($query); $document = $bd->fetch_object($res); $typedocid=$document->typedoc_id; // override the value given as argument } if ("$typedocid"!="") // get typdoc name to only display fields that are relevant { $result = $bd->exec_query("SELECT typedoc_libelle FROM typedoc WHERE typedoc_id='$typedoc_id' "); $ob=$bd->fetch_object($result); $typedoc_libelle=$ob->typedoc_libelle; } // get lists $result = $bd->exec_query("SELECT * FROM soustypedoc WHERE soustypedoc_id LIKE '$typedocid%'"); while ( $ob=$bd->fetch_object($result)) $list_soustypedoc[$ob->soustypedoc_id]="$ob->soustypedoc_id - $ob->soustypedoc_libelle"; $list_journal[0]="-------------------- (select from list) --------------------"; $result = $bd->exec_query("SELECT * FROM journal ORDER BY journal_fullname"); while ( $ob=$bd->fetch_object($result)) // $list_journal[$ob->journal_id]="$ob->journal_id - $ob->journal_name"; $list_journal[$ob->journal_id]=stripSlashes($ob->journal_fullname); $list_institution[0]="-------------------- (select from list) --------------------"; $result = $bd->exec_query("SELECT * FROM institution"); while ( $ob=$bd->fetch_object($result)) $list_institution[$ob->institution_id]=stripSlashes($ob->institution_name); $list_proceedings[0]="-------------------- (select from list) --------------------"; $result = $bd->exec_query("SELECT * FROM document where typedoc_id='7' ORDER BY year desc"); while ( $proceedings=$bd->fetch_object($result)) $list_proceedings[$proceedings->doc_id]="$proceedings->year - $proceedings->title"; $list_conference[0]="-------------------- (select from list) --------------------"; $result = $bd->exec_query("SELECT * FROM conference ORDER BY conference_date_start, conference_title"); while ( $conference=$bd->fetch_object($result)) { $cdate_start=explode('-',$conference->conference_date_start); $cyear=$cdate_start[0]; //$list_conference[$conference->conference_id]="$cyear - $conference->conference_title"; //$list_conference[$conference->conference_id]="$cyear - " . stripSlashes($conference->conference_title); $list_conference[$conference->conference_id]="$cyear - " . stripSlashes($conference->conference_title) . " - " . stripSlashes($conference->conference_city); } $list_publisher[0]="-------------------- (select from list) --------------------"; $result = $bd->exec_query("SELECT * FROM publisher ORDER BY publisher_name"); while ( $publisher=$bd->fetch_object($result)) $list_publisher[$publisher->publisher_id]="$publisher->publisher_name"; $result = $bd->exec_query("SELECT * FROM typedoc"); while ( $ob=$bd->fetch_object($result)) $list_typedoc[$ob->typedoc_id]="$ob->typedoc_id - $ob->typedoc_name"; $result = $bd->exec_query("SELECT * FROM groupes"); while ( $ob=$bd->fetch_object($result)) $list_groupes[$ob->g_id]="$ob->g_fullname"; $result = $bd->exec_query("SELECT * FROM language"); while ( $ob=$bd->fetch_object($result)) $list_lang[$ob->iso]="$ob->iso - $ob->name"; echo "\n"; if ($mode=="update") { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } if ("$typedocid" != "") // no choice, transmit by hidden field { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } else { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } echo "\n"; echo "\n"; echo "\n"; echo "\n"; if ( ("$typedoc_libelle"=="") || ("$typedoc_libelle"=="proceedings_book") || ("$typedoc_libelle"=="conference_abstract") ) { echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; } if ( ("$typedoc_libelle"=="") || ("$typedoc_libelle"=="book") || ("$typedoc_libelle"=="proceedings_book") ) { echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; } echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; if ( ("$typedoc_libelle"=="") || ("$typedoc_libelle"=="conference_proceeding") ) { echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; } if ( ("$typedoc_libelle"!="conference_proceeding") && ("$typedoc_libelle"!="conference_abstract") ) { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } if ( ("$typedoc_libelle"=="") || ("$typedoc_libelle"=="article") ) { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } if ( ("$typedoc_libelle"=="") || ("$typedoc_libelle"=="article") ) { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } if ( ("$typedoc_libelle"=="") || ("$typedoc_libelle"=="article") || ("$typedoc_libelle"=="conference_proceeding") ) { echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; } if ( ("$typedoc_libelle"=="") || ("$typedoc_libelle"=="these") ) { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
doc_id$document->doc_id "; if ($document->log=="0") echo "[created on $document->date]"; if ($document->log=="1") echo "[last modified on $document->date]"; if ($document->log=="2") echo "[validated on $document->date]"; echo "
typedoc_id"; foreach ($list_typedoc as $id=>$name) { if ($id==$typedocid) echo "$name"; } echo "\n"; echo "
typedoc_id
soustypedoc_id
conference
\n"; echo "Si la conférence ne figure pas encore dans la liste, il faut d'abord la saisir."; echo "
éditeur commercial
\n"; echo "Si la maison d'édition ne figure pas encore dans la liste, il faut d'abord la saisir."; echo "
Pour les titres (mêmes en anglais) n'utiliser de majuscule initiale que pour le premier mot et les noms propres.
document titletitle) . "\" size=\"70\" maxlength=\"255\">
livre de proceedingsIn:
\n"; echo "Si le livre des proceedings ne figure pas encore dans la liste, il faut d'abord le saisir."; echo "
yearyear . "\" size=\"4\" maxlength=\"4\">
journal
volumevolume) . "\" size=\"4\" maxlength=\"255\">
Pour saisir les pages :
utiliser \"pages_startpages_end\" pour les documents dans un volume dont toutes les pages sont numérotées ;
utiliser \"eid (pages_num pages)\" quand le document est identifié par un numéro.
pages_startpages_start . "\" size=\"12\" maxlength=\"255\">
pages_endpages_end . "\" size=\"12\" maxlength=\"255\">
eidpages_eid . "\" size=\"12\" maxlength=\"255\">
pages_numpages_num . "\" size=\"12\" maxlength=\"255\">
institution
doidoi) . "\" size=\"70\" maxlength=\"255\">
Indiquer l'identifiant du dépôt dans HAL, comme hal-01234567 ou tel-01234567
halhttp://hal.archives-ouvertes.fr/hal) . "\" size=\"50\" maxlength=\"255\">
notenote) . "\" size=\"70\" maxlength=\"255\">
groupe\n"; foreach ($list_groupes as $id=>$name) { echo "groupe)) ) { echo "checked"; } echo ">$name
\n"; } echo "
langue
\n"; } function document_data_update($document, $bd) { $typedoc_id=$document['typedoc_id']; $soustypedoc_id=$document['soustypedoc_id']; $title=addSlashes($document['title']); $year=$document['year']; $institution_id=$document['institution_id']; $volume=addSlashes($document['volume']); $pages_start=$document['pages_start']; $pages_end=$document['pages_end']; $pages_eid=$document['pages_eid']; $pages_num=$document['pages_num']; $doi=addSlashes($document['doi']); $hal=addSlashes($document['hal']); $journal_id=$document['journal_id']; $conference_id=$document['conference_id']; $proceedings_id=$document['proceedings_id']; $publisher_id=$document['publisher_id']; $note=addSlashes($document['note']); $lang=$document['lang']; if ( "$typedoc_id"=="3" ) // conference proceedings, use year from proceedings book. This is redundant but useful for sorting... { $query="select * from document where doc_id='$proceedings_id'"; $res = $bd->exec_query($query); $proc= $bd->fetch_object ($res); $year=$proc->year; } if ( "$typedoc_id"=="8" ) // conference abstract, use year from conference. This is redundant but useful for sorting... { $query="select * from conference where conference_id='$conference_id'"; $res = $bd->exec_query($query); $conf= $bd->fetch_object ($res); $date_start=explode('-', $conf->conference_date_start); $year=$date_start[0]; } foreach ($document as $key=>$val) { if ("$val"=="groupeid") { $gid=preg_replace("/^groupe/", "", $key); $groupe .= "$gid "; } } // print "groupe=$groupe
"; $doc_id=$document['doc_id']; $query = "select * from document where doc_id = '$doc_id'"; $res = $bd->exec_query($query); $document_old = $bd->fetch_object ($res); $query = "UPDATE document SET " . "typedoc_id='$typedoc_id', " . "soustypedoc_id='$soustypedoc_id', " . "title='$title', year='$year', institution_id='$institution_id', volume='$volume', " . "pages_start='$pages_start', pages_end='$pages_end', pages_eid='$pages_eid', pages_num='$pages_num', " . "doi='$doi', hal='$hal', " . "journal_id='$journal_id', " . "conference_id='$conference_id', " . "proceedings_id='$proceedings_id', " . "publisher_id='$publisher_id', " . "note='$note', groupe='$groupe', lang='$lang', " . "log='1', date=now() " . "WHERE doc_id = '$doc_id'"; //print ("query= $query

\n"); $res = $bd->exec_query($query); $query = "select * from document where doc_id = '$doc_id'"; $res = $bd->exec_query($query); $document_new = $bd->fetch_object ($res); log_entry("document", $doc_id, "update", $document_old, $document_new, $bd); } function document_data_insert($document, $bd) { $typedoc_id=$document['typedoc_id']; $soustypedoc_id=$document['soustypedoc_id']; $title=addSlashes($document['title']); $year=$document['year']; $institution_id=$document['institution_id']; $volume=addSlashes($document['volume']); $pages_start=$document['pages_start']; $pages_end=$document['pages_end']; $pages_eid=$document['pages_eid']; $pages_num=$document['pages_num']; $doi=addSlashes($document['doi']); $hal=addSlashes($document['hal']); $journal_id=$document['journal_id']; $conference_id=$document['conference_id']; $proceedings_id=$document['proceedings_id']; $publisher_id=$document['publisher_id']; $note=addSlashes($document['note']); $lang=$document['lang']; if ( "$typedoc_id"=="3" ) // conference proceedings, use year from proceedings book. This is redundant but useful for sorting... { $query="select * from document where doc_id='$proceedings_id'"; $res = $bd->exec_query($query); $proc= $bd->fetch_object ($res); $year=$proc->year; } if ( "$typedoc_id"=="8" ) // conference abstract, use year from conference. This is redundant but useful for sorting... { $query="select * from conference where conference_id='$conference_id'"; $res = $bd->exec_query($query); $conf= $bd->fetch_object ($res); $date_start=explode('-', $conf->conference_date_start); $year=$date_start[0]; } foreach ($document as $key=>$val) { if ("$val"=="groupeid") { $gid=preg_replace("/^groupe/", "", $key); $groupe .= "$gid "; } } // print "groupe=$groupe
"; $query = "INSERT INTO document ( " . "typedoc_id, soustypedoc_id, institution_id, title" . ", year, volume, pages_start, pages_end, pages_eid, pages_num, doi, hal" . ", journal_id, conference_id, publisher_id, proceedings_id" . ", note, groupe, lang" . ", log, date " . ") VALUES ( " . " '$typedoc_id', '$soustypedoc_id', '$institution_id', '$title'" . ", '$year', '$volume', '$pages_start', '$pages_end', '$pages_eid', '$pages_num', '$doi', '$hal'" . ", '$journal_id', '$conference_id', '$publisher_id', '$proceedings_id'" . ", '$note', '$groupe', '$lang'" . ", '0', now()) " ; // print ("query= $query

\n"); $res = $bd->exec_query($query); $query = "SELECT * " . "FROM document " . "WHERE title='$title' " . "AND year='$year' " . "AND volume='$volume' " . "AND pages_start='$pages_start' " . "AND pages_end='$pages_end' " . "AND pages_eid='$pages_eid' " . "AND pages_num='$pages_num' " . "AND doi='$doi' " . "AND hal='$hal' " . "AND journal_id='$journal_id' " . "AND conference_id='$conference_id' " . "AND publisher_id='$publisher_id' " . "AND lang='$lang' "; // print ("query= $query

\n"); $res = $bd->exec_query($query); $document_new= $bd->fetch_object ($res); $doc_id=$document_new->doc_id; // echo "doc_id=$doc_id

\n"; log_entry("document", $doc_id, "insert", "", $document_new, $bd); return $doc_id; } function document_auth_fixed($doc_id, $bd) { $lfquery = "SELECT * FROM fonction"; $lfresult = $bd->exec_query($lfquery); while ( $fonction=$bd->fetch_object($lfresult)) $list_fonctions[$fonction->fonction_id]="$fonction->fonction_libelle"; echo "auteur(s), directeur(s), éditeur(s)... :

\n"; echo "\n"; // author list $query = "SELECT * FROM participer" . " WHERE doc_id='$doc_id'" . " ORDER BY rang"; // echo "query=$query
"; $aresult = $bd->exec_query ($query); while ($ob = $bd->fetch_object ($aresult) ) { echo ""; $rang=$ob->rang; echo ""; $pers_id=$ob->pers_id; $query = "SELECT * FROM personne WHERE pers_id='$ob->pers_id'"; //echo "query=$query
"; $auth = $bd->exec_query ($query); $author=$bd->fetch_object($auth); $name=stripSlashes($author->pers_first) . " " . stripSlashes($author->pers_last); echo ""; $fonction_id=$ob->fonction_id; $query = "SELECT * FROM fonction WHERE fonction_id='$ob->fonction_id'"; $fonc = $bd->exec_query ($query); $fonction=$bd->fetch_object($fonc); $libelle="$fonction->fonction_libelle"; echo ""; //echo "rang=$rang name=$name fonction=$libelle
"; /* echo ""; */ echo "\n"; } echo "
$rang$name($libelle)"; if ($ob->log=="0") echo "[added on $ob->date]"; if ($ob->log=="1") echo "[last modified on $ob->date]"; if ($ob->log=="2") echo "[validated on $ob->date]"; echo "
\n"; } function document_auth_form($mode, $doc_id, $bd, $fonc) { echo "auteur(s), directeur(s), éditeur(s)... :

\n"; echo "\n"; // produce a list with all known authors $list_authors[0]="--------------------"; // $list_authors[-1]="(sélectionner un auteur)"; $laquery = "SELECT * FROM personne ORDER BY pers_last, pers_first"; //echo "query=$laquery

\n"; $laresult = $bd->exec_query ($laquery); while ($author=$bd->fetch_object($laresult)) { //$name="$author->pers_last, $author->pers_first"; $name=stripSlashes($author->pers_last) . ", " . stripSlashes($author->pers_first); $list_authors[$author->pers_id]=$name; } $lfquery = "SELECT * FROM fonction"; $lfresult = $bd->exec_query($lfquery); while ( $fonction=$bd->fetch_object($lfresult)) { if ( ("$fonc"=="") || ( strpbrk("$fonc", "$fonction->fonction_id")) ) $list_fonctions[$fonction->fonction_id]="$fonction->fonction_libelle"; } $rang=0; $query = "SELECT * FROM participer WHERE doc_id='$doc_id' ORDER BY rang"; // echo "query=$query

\n"; $aresult = $bd->exec_query ($query); while ($ob = $bd->fetch_object ($aresult) ) { $pers_id=$ob->pers_id; $fonction_id=$ob->fonction_id; // $rang=$ob->rang; $rang++; echo "

\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; } for ($i=0; $i<3; $i++) { $rang++; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; } echo "
" . $rang . "
" . $rang . "
\n"; echo "S'il faut ajouter des personnes supplémentaires, enregistrer déjà celles-ci, puis cliquer sur \"modifier les personnes\".

"; } function document_auth_update($mode, $document, $bd) { $doc_id=$document['doc_id']; for ($rang=1; $rang<1000; $rang++) { //echo "rang=$rang "; foreach ($_POST as $key=>$val) { if ( "$key"=="auth$rang") { // get fonction for auth$rang foreach ($_POST as $fkey=>$fval) { if ( "$fkey"=="fonc$rang") $fonc=$fval; } //echo "auth$rang exists in post, val=$val fonc=$fonc.
"; $query="select * from participer where `doc_id`=$doc_id and `rang`=$rang"; $aresult = $bd->exec_query ($query); if (mysql_num_rows($aresult)>0) // an author already of exists at this rank { $ob=$bd->fetch_object($aresult); $id=$ob->id; //echo " participer_id=$id "; if ($val>0) { // update author $query = "select * from participer where id='$id'"; $res = $bd->exec_query($query); $old_entry = $bd->fetch_object ($res); $query = "update participer set pers_id='$val', fonction_id='$fonc', log='1', date=now() where id = '$id'"; // print("$query
"); $bd->exec_query($query); $query = "select * from participer where id='$id'"; $res = $bd->exec_query($query); $new_entry = $bd->fetch_object ($res); log_entry("participer", $id, "update", $old_entry, $new_entry, $bd); } else // delete entry { $query = "select * from participer where id='$id'"; $res = $bd->exec_query($query); $old_entry = $bd->fetch_object ($res); $query = "delete from participer where id = '$id'"; // print("$query
"); $bd->exec_query($query); log_entry("participer", $id, "delete", $old_entry, "", $bd); } } else // no author exists at this rank if ($val>0) { $query="insert into participer (doc_id, pers_id, fonction_id, rang, log, date) values ('$doc_id', '$val', '$fonc', '$rang', '0', now() )"; // print("$query
"); $bd->exec_query($query); $query = "select * from participer where doc_id='$doc_id' and pers_id='$val' and fonction_id='$fonc' and rang='$rang'"; $res = $bd->exec_query($query); $new_entry = $bd->fetch_object ($res); $newid=$new_entry->id; log_entry("participer", $newid, "insert", "", $new_entry, $bd); } } } //echo "
\n"; } // make sure the authors' ranks are unique and consecutive $query = "SELECT * FROM participer WHERE doc_id='$doc_id' ORDER BY rang"; $aresult = $bd->exec_query ($query); $rang=0; while ($ob = $bd->fetch_object ($aresult) ) { $id=$ob->id; $rang++; $query = "update participer set rang='$rang' where id = '$id'"; // print("$query
"); $bd->exec_query($query); } if ("$mode"=="update") { $query = "UPDATE document SET " . "log='1', date=now() " . "WHERE doc_id = '$doc_id'"; //print ("query= $query

\n"); $res = $bd->exec_query($query); } } function document_auth_delete($doc_id, $bd) { $query = "SELECT * FROM participer" . " WHERE doc_id='$doc_id'"; // echo "query=$query
"; $aresult = $bd->exec_query ($query); while ($ob = $bd->fetch_object ($aresult) ) { $id=$ob->id; $query = "delete from participer where id ='$id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); log_entry("participer", $id, "delete", $ob, "", $bd); } } function document_auth_validate($doc_id, $bd) { $query = "SELECT * FROM participer" . " WHERE doc_id='$doc_id'"; // echo "query=$query
"; $aresult = $bd->exec_query ($query); while ($ob = $bd->fetch_object ($aresult) ) { $id=$ob->id; $query="UPDATE participer SET " . "log='2', date=now() " . "WHERE id = '$id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); log_entry("participer", $id, "validate", "", "", $bd); } } function document_data_validate($doc_id, $bd) { $query="UPDATE document SET " . "log='2', date=now() " . "WHERE doc_id = '$doc_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); log_entry("document", $doc_id, "validate", "", "", $bd); } function document_data_delete($doc_id, $bd) { $query = "select * from document where doc_id='$doc_id'"; $res = $bd->exec_query($query); $doc_old=$bd->fetch_object ($res); $query = "DELETE FROM document " . "WHERE doc_id = '$doc_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); log_entry("document", $doc_id, "delete", $doc_old, "", $bd); } function document_fixed($doc_id, $bd) { $query = "SELECT * from document WHERE doc_id = $doc_id"; $res = $bd->exec_query($query); $document = $bd->fetch_object($res); // get lists $list_journal[0]="-------------------- (select from list) --------------------"; $result = $bd->exec_query("SELECT * FROM journal ORDER BY journal_fullname"); while ( $ob=$bd->fetch_object($result)) // $list_journal[$ob->journal_id]="$ob->journal_id - $ob->journal_name"; $list_journal[$ob->journal_id]=stripSlashes($ob->journal_fullname); $result = $bd->exec_query("SELECT * FROM typedoc"); while ( $ob=$bd->fetch_object($result)) $list_typedoc[$ob->typedoc_id]="$ob->typedoc_id - $ob->typedoc_name"; $result = $bd->exec_query("SELECT * FROM groupes"); while ( $ob=$bd->fetch_object($result)) $list_groupes[$ob->g_id]="$ob->g_fullname"; // $list_groupes[$ob->g_id]="$ob->g_name"; echo "

\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo ""; echo "\n"; echo "
doc_id$document->doc_id "; if ($document->log=="0") echo "[created on $document->date]"; if ($document->log=="1") echo "[last modified on $document->date]"; if ($document->log=="2") echo "[validated on $document->date]"; echo "
typedoc_id"; foreach ($list_typedoc as $id=>$name) { if ($id==$document->typedoc_id) echo "$name"; } echo "
title" . stripSlashes($document->title) . "
year" . $document->year . "
volume" . stripSlashes($document->volume) . "
pages_start" . $document->pages_start . "
pages_end" . $document->pages_end . "
eid" . $document->pages_eid . "
pages_num" . $document->pages_num . "
doi" . stripSlashes($document->doi) . "
journal"; foreach ($list_journal as $id=>$name) { if ($id==$document->journal_id) echo "$name"; } echo "
note" . stripSlashes($document->note) . "
groupe"; // echo "$document->groupe"; $groupe=""; foreach ($list_groupes as $id=>$name) { if ( in_array($id, explode(" ", $document->groupe)) ) { $groupe .= "$id-$list_groupes[$id] "; } } echo "$groupe"; echo "
\n"; // specific instructions for dealing with authors echo "auteur(s) :

\n"; echo "\n"; // author list $query = "SELECT * FROM participer" . " WHERE doc_id='$document->doc_id'" . " AND fonction_id = '1' " . " ORDER BY rang"; // echo "query=$query
"; $aresult = $bd->exec_query ($query); while ($ob = $bd->fetch_object ($aresult) ) { $pers_id=$ob->pers_id; $rang=$ob->rang; $query = "SELECT * FROM personne WHERE pers_id='$ob->pers_id'"; //echo "query=$query
"; $auth = $bd->exec_query ($query); $author=$bd->fetch_object($auth); $name="$author->pers_first $author->pers_last"; //echo "rang=$rang name=$name
"; echo "\n"; } echo "
$rang$name
\n"; // end authors echo "

\n"; } function document_update_old($action, $document, $bd) { // get lists $list_journal[0]="--------------------"; $result = $bd->exec_query("SELECT * FROM journal ORDER BY journal_fullname"); while ( $ob=$bd->fetch_object($result)) // $list_journal[$ob->journal_id]="$ob->journal_id - $ob->journal_name"; $list_journal[$ob->journal_id]="$ob->journal_fullname"; $result = $bd->exec_query("SELECT * FROM typedoc"); while ( $ob=$bd->fetch_object($result)) $list_typedoc[$ob->typedoc_id]="$ob->typedoc_id - $ob->typedoc_name"; // echo "action=$action

\n"; $returnid=-2; $typedoc_id=$document['typedoc_id']; $title=addSlashes($document['title']); $year=$document['year']; $volume=addSlashes($document['volume']); $pages_start=$document['pages_start']; $pages_end=$document['pages_end']; $pages_eid=$document['pages_eid']; $pages_num=$document['pages_num']; $doi=addSlashes($document['doi']); $journal_id=$document['journal_id']; $note=addSlashes($document['note']); foreach ($document as $key=>$val) { if ("$val"=="groupeid") { $gid=preg_replace("/^groupe/", "", $key); $groupe .= "$gid "; } } // print "groupe=$groupe
"; if ($action=="updatedocument") { $doc_id=$document['doc_id']; $query = "select * from document where doc_id = '$doc_id'"; $res = $bd->exec_query($query); $document_old = $bd->fetch_object ($res); $query = "UPDATE document SET " . "typedoc_id='$typedoc_id', " . "title='$title', year='$year', volume='$volume', " . "pages_start='$pages_start', pages_end='$pages_end', pages_eid='$pages_eid', pages_num='$pages_num', " . "doi='$doi', journal_id='$journal_id', note='$note', groupe='$groupe', " . "log='1', date=now() " . "WHERE doc_id = '$doc_id'"; //print ("query= $query

\n"); $res = $bd->exec_query($query); $query = "select * from document where doc_id = '$doc_id'"; $res = $bd->exec_query($query); $document_new = $bd->fetch_object ($res); log_entry("document", $doc_id, "update", $document_old, $document_new, $bd); $returnid=$doc_id; } else if ($action=="deletedocument") { $doc_id=$document['doc_id']; print ("Supprimer effectivement ce document ?\n"); $query = "select * from document where doc_id='$doc_id'"; $res = $bd->exec_query($query); $doc = $bd->fetch_object ($res); $f = new form ("POST", "article.php"); $f->field_hidden("action", "article_form"); $f->begin_table(); $f->field_hidden("doc_id", "$doc->doc_id"); $f->field_fixed("doc_id", "$doc->doc_id"); $typedoc=$list_typedoc[$doc->typedoc_id]; $f->field_fixed("typedoc_id", "$typedoc"); // $f->field_fixed("typedoc_id", "$list_typedoc['$typedoc_id']"); $f->field_fixed("title", $doc->title); $f->field_fixed("year", $doc->year); $f->field_fixed("volume", $doc->volume); $f->field_fixed("pages_start", $doc->pages_start); $f->field_fixed("pages_end", $doc->pages_end); $f->field_fixed("eid", $doc->pages_eid); $f->field_fixed("pages_num", $doc->pages_num); $f->field_fixed("doi", $doc->doi); // $f->field_fixed("journal", $list_journal['$doc->journal_id']); $journal=$list_journal[$doc->journal_id]; $f->field_fixed("journal", "$journal"); $f->field_fixed("groupe", $doc->groupe); $f->field_fixed("note", $doc->note); $f->end_table(); // authors list $f->add_text("auteur(s) :

"); $f->begin_table(); // author list $query = "SELECT * FROM participer" . " WHERE doc_id='$doc->doc_id'" . " AND fonction_id = '1' " . " ORDER BY rang"; // echo "query=$query
"; $aresult = $bd->exec_query ($query); while ($ob = $bd->fetch_object ($aresult) ) { $pers_id=$ob->pers_id; $rang=$ob->rang; $query = "SELECT * FROM personne WHERE pers_id='$ob->pers_id'"; //echo "query=$query
"; $auth = $bd->exec_query ($query); $author=$bd->fetch_object($auth); $name="$author->pers_first $author->pers_last"; //echo "rang=$rang name=$name
"; $f->field_fixed("$rang", "$name"); } $f->end_table(); // end authors $f->field_submit("deletedocumentnow", "supprimer maintenant"); echo $f->output_html(); } else if ($action=="deletedocumentnow") { $doc_id=$document['doc_id']; // delete authors first $query = "SELECT * FROM participer" . " WHERE doc_id='$doc_id'"; // echo "query=$query
"; $aresult = $bd->exec_query ($query); while ($ob = $bd->fetch_object ($aresult) ) { $id=$ob->id; $query = "delete from participer where id ='$id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); log_entry("participer", $id, "delete", $ob, "", $bd); } // end authors $query = "select * from document where doc_id='$doc_id'"; $res = $bd->exec_query($query); $doc_old=$bd->fetch_object ($res); $query = "DELETE FROM document " . "WHERE doc_id = '$doc_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); log_entry("document", $doc_id, "delete", $doc_old, "", $bd); } else if ($action=="validatedocumentnow") { $doc_id=$document['doc_id']; print ("Validation du document $doc_id.
\n"); $query="UPDATE document SET " . "log='2', date=now() " . "WHERE doc_id = '$doc_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); log_entry("document", $doc_id, "validate", "", "", $bd); $returnid=$doc_id; // ICI VALIDATE AUTHORS } else // insertdocument or insertdocumentnow { $query = "INSERT INTO document (title, year, volume, pages_start, pages_end, pages_eid, pages_num, doi, journal_id, note, groupe, log, date ) " . " VALUES ( '$title', '$year', '$volume', '$pages_start', '$pages_end', '$pages_eid', '$pages_num', '$doi', '$journal_id', '$note', '$groupe', '0', now()) " ; // print ("query= $query

\n"); $res = $bd->exec_query($query); $title = $bd->prepare_string($title); $year = $bd->prepare_string($year); $journal_id = $bd->prepare_string($journal_id); $query = "SELECT * " . "FROM document " . "WHERE title LIKE '%$title' " . "AND year LIKE '%$year%' " . "AND journal_id LIKE '%$journal_id%' "; // print ("query= $query

\n"); $res = $bd->exec_query($query); $document_new= $bd->fetch_object ($res); $returnid=$document_new->doc_id; // echo "returnid=$returnid

\n"; log_entry("document", $returnid, "insert", "", $document_new, $bd); $doc_id=$returnid; // specific instructions for dealing with authors if ("$action"=="insertdocumentnow") { for ($rang=1; $rang<1000; $rang++) { //echo "rang=$rang "; foreach ($document as $key=>$val) { if ( "$key"=="auth$rang") { //echo "auth$rang exists in post, val=$val "; if ($val>0) { $query="insert into participer (doc_id, pers_id, fonction_id, rang, log, date) values ('$doc_id', '$val', '1', '$rang', '0', now())"; //print("$query
"); $bd->exec_query($query); $query = "select * from participer where doc_id='$doc_id' and pers_id='$val' and fonction_id='1' and rang='$rang'"; $res = $bd->exec_query($query); $new_entry = $bd->fetch_object ($res); $newid=$new_entry->id; log_entry("participer", $newid, "insert", "", $new_entry, $bd); } } } //echo "
\n"; } } } return $returnid; } function document_auth($action, $tab, $bd) { // possible actions // changeauth: modify, add, delete authors // updateauthnow: do it // **************888 // get lists $result = $bd->exec_query("SELECT * FROM journal ORDER BY journal_fullname"); while ( $ob=$bd->fetch_object($result)) $list_journal[$ob->journal_id]=stripSlashes($ob->journal_fullname); $result = $bd->exec_query("SELECT * FROM typedoc"); while ( $ob=$bd->fetch_object($result)) $list_typedoc[$ob->typedoc_id]="$ob->typedoc_id - $ob->typedoc_name"; $result = $bd->exec_query("SELECT * FROM groupes"); while ( $ob=$bd->fetch_object($result)) $list_groupes[$ob->g_id]="$ob->g_fullname"; echo "

\n"; echo "
\n"; echo "\n"; echo "\n"; if ("$action"!="addauthinsert") $doc_id=$tab['doc_id']; else $doc_id=""; if ("$doc_id"!="") { echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; } $typedoc_id=$tab['typedoc_id']; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; $title=$tab['title']; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; $year=$tab['year']; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; $volume=$tab['volume']; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; $pages_start=$tab['pages_start']; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; $pages_end=$tab['pages_end']; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; $pages_eid=$tab['pages_eid']; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; $pages_num=$tab['pages_num']; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; $journal_id=$tab['journal_id']; echo "\n"; echo "\n"; echo ""; echo "\n"; echo "\n"; $doi=$tab['doi']; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; $note=$tab['note']; echo "\n"; echo "\n"; echo "\n"; echo "\n"; $groupe=""; foreach ($tab as $key=>$val) { if ("$val"=="groupeid") { $gid=preg_replace("/^groupe/", "", $key); $groupe .= "$gid "; echo "\n"; } } echo "\n"; echo "\n"; echo ""; echo "
doc_id$doc_id "; echo "
typedoc_id"; foreach ($list_typedoc as $id=>$name) { if ($id==$typedoc_id) echo " $name"; } echo "
title" . stripSlashes($title) . "
year" . $year . "
volume" . stripSlashes($volume) . "
pages_start" . $pages_start . "
pages_end" . $pages_end . "
eid" . $pages_eid . "
pages_num" . $pages_num . "
journal"; foreach ($list_journal as $id=>$name) { if ($id==$journal_id) echo "$name"; } echo "
doi" . stripSlashes($doi) . "
note" . stripSlashes($note) . "
groupe" . $groupe . "\n"; echo "\n"; echo "
\n"; // specific instructions for dealing with authors if ("$action"=="updateauthnow") { for ($rang=1; $rang<1000; $rang++) { //echo "rang=$rang "; foreach ($_POST as $key=>$val) { if ( "$key"=="auth$rang") { echo "auth$rang exists in post, val=$val
"; $query="select * from participer where `doc_id`=$doc_id and `rang`=$rang"; $aresult = $bd->exec_query ($query); if (mysql_num_rows($aresult)>0) // an author already of exists at this rank { $ob=$bd->fetch_object($aresult); $id=$ob->id; //echo " participer_id=$id "; if ($val>0) { if ($ob->pers_id!=$val) // update author { $query = "select * from participer where id='$id'"; $res = $bd->exec_query($query); $old_entry = $bd->fetch_object ($res); $query = "update participer set pers_id='$val', log='1', date=now() where id = '$id'"; // print("$query
"); $bd->exec_query($query); $query = "select * from participer where id='$id'"; $res = $bd->exec_query($query); $new_entry = $bd->fetch_object ($res); log_entry("participer", $id, "update", $old_entry, $new_entry, $bd); } else { print("no update needed
"); $query = "update participer set pers_id='$val', log='1', date=now() where id = '$id'"; // print("$query
"); $bd->exec_query($query); } } else // delete entry { $query = "select * from participer where id='$id'"; $res = $bd->exec_query($query); $old_entry = $bd->fetch_object ($res); $query = "delete from participer where id = '$id'"; // print("$query
"); $bd->exec_query($query); log_entry("participer", $id, "delete", $old_entry, "", $bd); } } else // no author exists at this rank if ($val>0) { $query="insert into participer (doc_id, pers_id, fonction_id, rang, log, date) values ('$doc_id', '$val', '1', '$rang', '0', now() )"; // print("$query
"); $bd->exec_query($query); $query = "select * from participer where doc_id='$doc_id' and pers_id='$val' and fonction_id='1' and rang='$rang'"; $res = $bd->exec_query($query); $new_entry = $bd->fetch_object ($res); $newid=$new_entry->id; log_entry("participer", $newid, "insert", "", $new_entry, $bd); } } } //echo "
\n"; } // make sure the authors' ranks are unique and consecutive $query = "SELECT * FROM participer WHERE doc_id='$doc_id' ORDER BY rang"; $aresult = $bd->exec_query ($query); $rang=0; while ($ob = $bd->fetch_object ($aresult) ) { $id=$ob->id; $rang++; $query = "update participer set rang='$rang' where id = '$id'"; // print("$query
"); $bd->exec_query($query); } } echo "auteur(s) :

\n"; echo "\n"; // produce a list with all known authors $list_authors[0]="--------------------"; // $list_authors[-1]="(sélectionner un auteur)"; $laquery = "SELECT * FROM personne ORDER BY pers_last, pers_first"; //echo "query=$laquery

\n"; $laresult = $bd->exec_query ($laquery); while ($author=$bd->fetch_object($laresult)) { $name="$author->pers_last, $author->pers_first"; $list_authors[$author->pers_id]=$name; } $rang=0; if ("$doc_id"!="") { $query = "SELECT * FROM participer WHERE doc_id='$doc_id' ORDER BY rang"; // echo "query=$query

\n"; $aresult = $bd->exec_query ($query); while ($ob = $bd->fetch_object ($aresult) ) { $pers_id=$ob->pers_id; // $rang=$ob->rang; $rang++; if ( ("$action"=="changeauth") || ("$action"=="updateauthnow") ) { echo "

\n"; echo "\n"; //$f->field_list("$rang", "auth$rang", $pers_id, 1, $list_authors); echo "\n"; echo "\n"; } } } if ( ("$action"=="changeauth") || ("$action"=="addauthinsert") || ("$action"=="updateauthnow") ) { $rang=$rang+1; echo "\n"; echo "\n"; echo "\n"; echo "\n"; $rang=$rang+1; echo "\n"; echo "\n"; echo "\n"; echo "\n"; $rang=$rang+1; echo "\n"; echo "\n"; echo "\n"; echo "\n"; } // end authors echo "
" . $rang . "
" . $rang . "
" . $rang . "
" . $rang . "
\n"; if ("$action"=="addauthinsert") { echo "\n"; } if ( ("$action"=="changeauth") || ("$action"=="updateauthnow") ) { echo "\n"; } echo "\n"; echo "

\n"; echo "
\n"; return -2; } ?> phpubli-1.0/phpubli/intranet/superadmin/0000775000175000017500000000000011260607037020001 5ustar benoitbenoitphpubli-1.0/phpubli/intranet/superadmin/personne_minuscules.php0000664000175000017500000000575011260607037024621 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir="../.."; $localdir="intranet/superadmin"; $filename="personne_minuscules.php"; require_once ("$rootdir/include.php"); require_once ("$rootdir/intranet/include.php"); $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); check_root_login($bd); ?> Personnes

Passer les noms de personnes en minuscules

Transformer maintenant
"; $query = "SELECT * from personne ORDER BY pers_last"; $result = $bd->exec_query ($query); while ( $personne = $bd->fetch_object($result) ) { $id=$personne->pers_id; $last = $personne->pers_last; $alast=explode(" ", $last); $mlast=""; for ($i=0; $i"; $query = "UPDATE personne SET " . " pers_last='$mlast' " . " WHERE pers_id = '$id' "; echo $query . "
"; $res = $bd->exec_query($query); } echo "END
"; } // display all entries echo personne_lines($bd); ?>
phpubli-1.0/phpubli/intranet/superadmin/functions_users.php0000664000175000017500000002032111260607037023741 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ function user_lines($bd) { global $rootdir; $list_group[0]="aucun"; $result = $bd->exec_query("SELECT * FROM groupes"); while ( $ob=$bd->fetch_object($result)) $list_group[$ob->g_id]="$ob->g_name"; $result = $bd->exec_query("SELECT * FROM priv"); while ( $ob=$bd->fetch_object($result)) $list_priv[$ob->priv_id]="$ob->priv_libelle"; $lines="" . "". "prénom". "nom". "login". "email". "group". "priv". "\n"; $i=0; $query="select * from user order by u_name"; $result = $bd->exec_query($query); while ( $user=$bd->fetch_object($result)) { $i++; $str=""; $bfo=""; $bfc=""; if ( $user->u_status == 1 ) { $bfo=""; $bfc=""; } if ( $user->u_status == 2 ) { $bfo=""; $bfc=""; } // $str .= "" . $i . ""; $str .= "" . $bfo . anchor("users.php?mode=edit&id=$user->u_id", $i) . $bfc . ""; $str .= "" . $bfo . $user->u_first . $bfc . ""; $str .= "" . $bfo . $user->u_name . $bfc . ""; $str .= "" . $bfo . $user->u_login . $bfc . ""; $str .= "" . $bfo . $user->u_mail . $bfc . ""; $str .= "" . $bfo . $list_group[$user->u_groupid] . $bfc . ""; $str .= "" . $bfo . $list_priv[$user->u_status] . $bfc . ""; $lines .= "" . $str . "\n"; } return "\n" . $lines . "
\n" ; } function user_fixed($id, $bd) { $query = "SELECT * from user WHERE u_id = $id"; $res = $bd->exec_query($query); $user = $bd->fetch_object($res); // get lists $result = $bd->exec_query("SELECT * FROM priv"); while ( $ob=$bd->fetch_object($result)) $list_priv[$ob->priv_id]="$ob->priv_id - $ob->priv_libelle"; $result = $bd->exec_query("SELECT * FROM groupes"); while ( $ob=$bd->fetch_object($result)) $list_group[$ob->g_id]="$ob->g_id - $ob->g_name"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; /* echo "\n"; echo "\n"; echo "\n"; echo "\n"; */ echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
prénom" . stripSlashes($user->u_first) ."
nom" . stripSlashes($user->u_name) ."
email" . stripSlashes($user->u_mail) ."
login" . stripSlashes($user->u_login) ."
md5(password)" . stripSlashes($user->u_password) ."
groupe" . $list_group[$user->u_groupid] . "
statut" . $list_priv[$user->u_status] . "
\n"; } function user_form($mode, $id, $bd) { if ("$id"!="") { $query = "SELECT * from user WHERE u_id = $id"; $res = $bd->exec_query($query); $user = $bd->fetch_object($res); } // get lists $result = $bd->exec_query("SELECT * FROM priv"); while ( $ob=$bd->fetch_object($result)) $list_priv[$ob->priv_id]="$ob->priv_id - $ob->priv_libelle"; $result = $bd->exec_query("SELECT * FROM groupes"); while ( $ob=$bd->fetch_object($result)) $list_group[$ob->g_id]="$ob->g_id - $ob->g_name"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
prénomu_first) ."\" size=\"50\" maxlength=\"255\">
nomu_name) ."\" size=\"50\" maxlength=\"255\">
emailu_mail) ."\" size=\"50\" maxlength=\"255\">
loginu_login) ."\" size=\"50\" maxlength=\"255\">
groupe
statut
\n"; } function user_update($user, $bd) { $u_id=$user['u_id']; $first=addSlashes($user['u_first']); $name=addSlashes($user['u_name']); $mail=addSlashes($user['u_mail']); $login=addSlashes($user['u_login']); $groupid=$user['u_groupid']; $status=$user['u_status']; $query = "UPDATE user SET" . " u_first='$first', u_name='$name', u_mail='$mail', u_login='$login', u_groupid='$groupid', u_status='$status'" . " where u_id='$u_id';"; //print ("query= $query

\n"); $res = $bd->exec_query($query); return $u_id; } function password_form($id, $bd) { $query = "SELECT * from user WHERE u_id = $id"; $res = $bd->exec_query($query); $user = $bd->fetch_object($res); echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
prénom" . stripSlashes($user->u_first) ."
nom" . stripSlashes($user->u_name) ."
password
\n"; } function password_update($user, $bd) { $u_id=$user['u_id']; $password=addSlashes($user['u_password']); $query = "UPDATE user SET" . " u_password=md5('$password')" . " where u_id='$u_id';"; // print ("query= $query

\n"); $res = $bd->exec_query($query); return $u_id; } function user_insert($user, $bd) { $first=addSlashes($user['u_first']); $name=addSlashes($user['u_name']); $mail=addSlashes($user['u_mail']); $login=addSlashes($user['u_login']); $password=$user['u_password']; $groupid=$user['u_groupid']; $status=$user['u_status']; $query = "INSERT INTO user (u_first, u_name, u_mail, u_login, u_password, u_groupid, u_status) " . " VALUES ( '$first', '$name', '$mail', '$login', md5('$password'), '$groupid', '$status') " ; // print ("query= $query

\n"); $res = $bd->exec_query($query); $query = "SELECT * " . "FROM user " . "WHERE u_first = '$first' " . "AND u_name = '$name' "; // print ("query= $query

\n"); $res = $bd->exec_query($query); $usr = $bd->fetch_object ($res); $returnid=$usr->u_id; return $returnid; } function user_delete($u_id, $bd) { $query = "DELETE FROM user " . "WHERE u_id = '$u_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); } phpubli-1.0/phpubli/intranet/superadmin/readonly.php0000664000175000017500000000517311260607037022335 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir="../.."; $localdir="intranet/superadmin"; $filename="readonly.php"; require_once ("$rootdir/include.php"); require_once ("$rootdir/intranet/include.php"); $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); $status=0; $status=check_root_login($bd); ?> Mode maintenance

Mode maintenance

Passer en mode readonly
Passer en mode read/write
\n"); $bd->exec_query($query); } if ($_GET['action']=="readwrite") { $query = "UPDATE flags SET value='0' WHERE name='readonly' "; //print ("query= $query

\n"); $bd->exec_query($query); } } ?> \n La base est maintenant en mode "); $query = "SELECT * from flags where name='readonly'"; // print ("query= $query

\n"); $res=$bd->exec_query($query); $flag=$bd->fetch_object($res); if ("$flag->value"=="0") print("read/write
\n"); if ("$flag->value"=="1") print("read only
\n"); ?>

phpubli-1.0/phpubli/intranet/superadmin/index.php0000664000175000017500000000423511260607037021625 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir="../.."; $localdir="intranet/superadmin"; $filename="index.php"; require_once ("$rootdir/include.php"); require_once ("$rootdir/intranet/include.php"); $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); $status=0; $status=check_root_login($bd); ?> Super-Administration de la base phpubli-1.0/phpubli/intranet/superadmin/charentities.php0000664000175000017500000000523511260607037023201 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir="../.."; $localdir="intranet/superadmin"; $filename="charentities.php"; require_once ("$rootdir/include.php"); require_once ("$rootdir/intranet/include.php"); $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); check_root_login($bd); ?> Caractères spéciaux

Enlever les caractères spéciaux en ascii

Remplacer "fi" (char #64257) par "fi"
Remplacer "fl" (char #64258) par "fl"
Transformer maintenant
"; //$query = "SELECT * from document WHERE doc_id='4444'"; $query = "SELECT * from document"; $result = $bd->exec_query ($query); while ( $document = $bd->fetch_object($result) ) { $doc_id=$document->doc_id; $title=stripSlashes($document->title); $ttitle=$title; $title=str_replace("fi", "fi", $ttitle); $ttitle=$title; $title=str_replace("fl", "fl", $ttitle); $newtitle=addSlashes($title); $query = "UPDATE document SET " . " title ='$newtitle' " . " WHERE doc_id = '$doc_id' "; echo $query . "
"; $res = $bd->exec_query($query); } echo "END
"; } ?>
phpubli-1.0/phpubli/intranet/superadmin/users.php0000664000175000017500000001514511260607037021661 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir="../.."; $localdir="intranet/superadmin"; $filename="users.php"; require_once ("$rootdir/include.php"); require_once ("$rootdir/intranet/include.php"); require_once ("functions_users.php"); $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); check_root_login($bd); $displayid=""; // if not null, redirect to page for editing user with u_id==displayid if (isSet($_POST['action'])) { if (isSet($_POST['edit'])) $action="edit"; if (isSet($_POST['edituser'])) $action="edituser"; if (isSet($_POST['updateuser'])) $action="updateuser"; if (isSet($_POST['editpassword'])) $action="editpassword"; if (isSet($_POST['updatepassword'])) $action="updatepassword"; if (isSet($_POST['insertuser'])) $action="insertuser"; if (isSet($_POST['deleteuser'])) $action="deleteuser"; if (isSet($_POST['deleteusernow'])) $action="deleteusernow"; //echo "action=$action

\n"; $u_id=$_POST['u_id']; // echo "u_id=$u_id
\n"; if ($action=="edit") { //echo "action=$action
\n"; $displayid=$u_id; } if ($action=="updateuser") { // echo "action=$action
\n"; user_update($_POST, $bd); $displayid=$u_id; } if ($action=="insertuser") { //echo "action=$action
\n"; $u_id=user_insert($_POST, $bd); //echo "u_id=$u_id
\n"; $displayid=$u_id; } if ($action=="updatepassword") { // echo "action=$action
\n"; password_update($_POST, $bd); $displayid=$u_id; } if ($displayid!="") { //echo "header(\"Location: $filename?mode=edit&id=$displayid\");
\n"; header("Location: $filename?mode=edit&id=$displayid"); exit; } } ?> Utilisateurs de la base

Utilisateurs de la base

\n"; echo "Mise à jour des données d'un utilisateur
\n"; echo "
\n"; echo "\n"; echo "\n"; echo "
\n"; user_form("update", $u_id, $bd); echo "
\n"; echo "\n"; echo "\n"; echo "
\n"; } if ($action=="editpassword") { //echo "action=$action
\n"; echo "Nouveau mot de passe
\n"; echo "
\n"; echo "\n"; echo "\n"; echo "
\n"; password_form($u_id, $bd); echo "
\n"; echo "\n"; echo "
\n"; } if ($action=="deleteuser") { //echo "action=$action
\n"; print ("Supprimer effectivement cet utilisateur ?\n"); echo "
\n"; echo "\n"; echo "\n"; echo "
\n"; user_fixed($u_id, $bd); echo "
\n"; echo "\n"; echo "
\n"; } if ($action=="deleteusernow") { //echo "action=$action
\n"; print ("Suppression de l'utilisateur $u_id
\n"); user_delete($u_id, $bd); } } if (isSet($_GET['mode'])) { if ($_GET['mode']=="insert") { echo "Saisie d'un nouvel utilisateur
\n"; echo "
\n"; echo "\n"; echo "
\n"; user_form("insert", "", $bd); echo "
\n"; echo "
\n"; echo "
\n"; } if ( ($_GET['mode']=="edit") and (isSet($_GET['id'])) ) { // entry point to edit an existing user given its u_id $u_id=$_GET['id']; echo "
\n"; user_fixed($u_id, $bd); echo "
\n"; $query = "SELECT * from user WHERE u_id = $u_id"; $res = $bd->exec_query($query); $user = $bd->fetch_object($res); echo "
\n"; echo "
\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
\n"; echo "
"; } } if ( (!isSet($_GET['mode'])) and (!isSet($_POST['action'])) ) { echo anchor("$filename?mode=insert", "Ajouter un nouvel utilisateur") . "
"; echo user_lines($bd); } echo anchor("$filename?mode=insert", "Ajouter un nouvel utilisateur") . "
"; ?>
phpubli-1.0/phpubli/intranet/functions.php0000664000175000017500000006520711260607037020365 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ function maintenance($bd) { $maintenancelevel=0; $query="select * from flags where name='readonly'"; // print "$query
\n"; $result=$bd->exec_query($query); $flag = $bd->fetch_object ($result); $maintenancelevel=$flag->value; // print "maintenancelevel=$maintenancelevel
\n"; return $maintenancelevel; } function leftmenu_intranet($item) { global $rootdir; global $bd; print("\n"); print("
\n"); print("\n"); print("
\n"); print("\n"); } // **************************************************************** // log operations function log_entry($table_name, $item_id, $action, $item_old, $item_new, $bd) { $u_id=$_SESSION['id']; $g_id=$_SESSION['group']; // print ("u_id=$u_id g_id=$g_id
\n"); $query="select * from `tables` where table_name='$table_name'"; $res=$bd->exec_query($query); $table=$bd->fetch_object($res); $table_id=$table->table_id; $entry_o=""; if ("$item_old" != "") foreach ($item_old as $key=>$val) { $entry_o .= "$key=\"$val\" "; } $entry_n=""; foreach ($item_new as $key=>$val) { $entry_n .= "$key=\"$val\" "; } $entry_old=addSlashes($entry_o); $entry_new=addSlashes($entry_n); // print ("u_id=$u_id g_id=$g_id table_id=$table_id item_id=$item_id
\n"); // print ("old: $entry_old

\n"); // print ("new: $entry_new

\n"); $query="insert into history" . " (u_id, table_id, item_id, g_id, action, date_entry, entry_old, entry_new)" . " values" . " ('$u_id', '$table_id', '$item_id', '$g_id', '$action', now(), '$entry_old', '$entry_new')"; // print ("query= $query
\n"); $res=$bd->exec_query($query); } function log_delete($table_name, $item_id, $item, $bd) { $login=$_SESSION['user']; // print ("login=$login
\n"); $query="select * from user where u_login='$login'"; // print ("query= $query
\n"); $res=$bd->exec_query($query); $user=$bd->fetch_object($res); $u_id=$user->u_id; $g_id=$user->u_groupid; // print ("u_id=$u_id g_id=$g_id
\n"); $query="select * from `tables` where table_name='$table_name'"; $res=$bd->exec_query($query); $table=$bd->fetch_object($res); $table_id=$table->table_id; $note=""; foreach ($item as $key=>$val) { $note .= "$key=\"$val\" "; } // print ("u_id=$u_id g_id=$g_id table_id=$table_id item_id=$item_id
\n"); // print ("$note

\n"); $query="insert into history" . " (u_id, table_id, item_id, g_id, action, date_applied, note)" . " values" . " ('$u_id', '$table_id', '$item_id', '$g_id', 'delete', utc_timestamp(), 'was: $note')"; // print ("query= $query
\n"); $res=$bd->exec_query($query); } function log_update($table_name, $item_id, $item, $bd) { $login=$_SESSION['user']; // print ("login=$login
\n"); $query="select * from user where u_login='$login'"; // print ("query= $query
\n"); $res=$bd->exec_query($query); $user=$bd->fetch_object($res); $u_id=$user->u_id; $g_id=$user->u_groupid; // print ("u_id=$u_id g_id=$g_id
\n"); $query="select * from `tables` where table_name='$table_name'"; $res=$bd->exec_query($query); $table=$bd->fetch_object($res); $table_id=$table->table_id; $note=""; foreach ($item as $key=>$val) { $note .= "$key=\"$val\" "; } // print ("u_id=$u_id g_id=$g_id table_id=$table_id item_id=$item_id
\n"); // print ("$note

\n"); $query="insert into history" . " (u_id, table_id, item_id, g_id, action, date_applied, note)" . " values" . " ('$u_id', '$table_id', '$item_id', '$g_id', 'update', utc_timestamp(), 'was: $note')"; // print ("query= $query
\n"); $res=$bd->exec_query($query); } function log_insert($table_name, $item_id, $bd) { $login=$_SESSION['user']; // print ("login=$login
\n"); $query="select * from user where u_login='$login'"; // print ("query= $query
\n"); $res=$bd->exec_query($query); $user=$bd->fetch_object($res); $u_id=$user->u_id; $g_id=$user->u_groupid; // print ("u_id=$u_id g_id=$g_id
\n"); $query="select * from `tables` where table_name='$table_name'"; $res=$bd->exec_query($query); $table=$bd->fetch_object($res); $table_id=$table->table_id; $note=""; // print ("u_id=$u_id g_id=$g_id table_id=$table_id item_id=$item_id
\n"); // print ("$note

\n"); $query="insert into history" . " (u_id, table_id, item_id, g_id, action, date_applied)" . " values" . " ('$u_id', '$table_id', '$item_id', '$g_id', 'insert', utc_timestamp())"; // print ("query= $query
\n"); $res=$bd->exec_query($query); } /* // **************************************************************** // Journal operations function journal_lines($bd) { global $rootdir; $query = "SELECT * FROM journal ORDER BY journal_fullname"; // $query = "SELECT * FROM journal"; $result = $bd->exec_query ($query); $lines=""; $i=0; while ( $journal = $bd->fetch_object ($result) ) { $i++; $str=""; // $str .= "$i "; $str .= ""; $log=$journal->log; if ( ( "$log"=="2" ) && (check_root_priv($bd)<1) ) $str .= "[" . "$i"; // entry already validated, no longer modifiable else $str .= "[" . anchor("$rootdir/intranet/journal.php?mode=edit&id=$journal->journal_id", $i); if (check_admin_priv($bd)) $str .= "|" . anchor("$rootdir/intranet/admin/history_journal.php?action=item&id=$journal->journal_id","log"); $str .= "]"; $str .= ""; $str .= stripSlashes($journal->journal_fullname); //$str .= " ($journal->journal_name)"; $str .= " (" . anchor("$rootdir/search.php?search=journal&id=$journal->journal_id", "" . stripSlashes($journal->journal_name) . "") . ")"; $str .= " [type=$journal->journal_type]"; $str .= ""; $lines .= "" . $str . "\n"; } return "\n" . $lines . "
\n" ; } function journal_form($mode, $id, $bd) { if ("$id"!="") { $query = "SELECT * from journal WHERE journal_id = $id"; $res = $bd->exec_query($query); $journal = $bd->fetch_object($res); } // get lists $list_journaltypes[0]="-------------------- (select from list) --------------------"; $result = $bd->exec_query("SELECT * FROM typejournal order by typejournal_id"); while ( $ob=$bd->fetch_object($result)) $list_journaltypes[$ob->typejournal_id]="$ob->typejournal_id - $ob->typejournal_libelle"; echo "\n"; if ($mode=="update") { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
journal_id$journal->journal_id "; if ($tab->log=="0") echo "[created on $journal->date]"; if ($tab->log=="1") echo "[last modified on $journal->date]"; if ($tab->log=="2") echo "[validated on $journal->date]"; echo "
journal_namejournal_name) . "\" size=\"70\" maxlength=\"255\">
Utiliser l'abbréviation officielle du journal.
 
journal_fullnamejournal_fullname) . "\" size=\"70\" maxlength=\"255\">
Nom complet en toutes lettres.
 
journal_type
\n"; } function journal_fixed($id, $bd) { $query = "SELECT * from journal WHERE journal_id = $id"; $res = $bd->exec_query($query); $journal = $bd->fetch_object($res); // get lists $list_journaltypes[0]="-------------------- (select from list) --------------------"; $result = $bd->exec_query("SELECT * FROM typejournal order by typejournal_id"); while ( $ob=$bd->fetch_object($result)) $list_journaltypes[$ob->typejournal_id]="$ob->typejournal_id - $ob->typejournal_libelle"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
journal_id$journal->journal_id "; if ($journal->log=="0") echo "[created on $journal->date]"; if ($journal->log=="1") echo "[last modified on $journal->date]"; if ($journal->log=="2") echo "[validated on $journal->date]"; echo "
journal_name" . stripSlashes($journal->journal_name) . "
journal_fullname" . stripSlashes($journal->journal_fullname) . "
journal_type"; foreach ($list_journaltypes as $id=>$name) { if ($id==$journal->journal_type) echo "$name"; } echo "
\n"; } function journal_update($journal, $bd) { $name=addSlashes($journal['journal_name']); $fullname=addSlashes($journal['journal_fullname']); $type=$journal['journal_type']; $journal_id=$journal['journal_id']; $query = "select * from journal where journal_id = '$journal_id'"; $res = $bd->exec_query($query); $journal_old = $bd->fetch_object ($res); $query = "UPDATE journal SET " . "journal_name='$name', journal_fullname='$fullname', " . "journal_type='$type', " . "log='1', date=now() " . "WHERE journal_id = '$journal_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); $query = "select * from journal where journal_id = '$journal_id'"; $res = $bd->exec_query($query); $journal_new = $bd->fetch_object ($res); log_entry("journal", $journal_id, "update", $journal_old, $journal_new, $bd); } function journal_validate($journal_id, $bd) { $query = "select * from journal where journal_id = '$journal_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); $journal = $bd->fetch_object ($res); $name=$journal->journal_name; $fullname=$journal->journal_fullname; // print ("Validation de $fullname ($name).
\n"); $query = "UPDATE journal SET " . "log='2', date=now() " . "WHERE journal_id = '$journal_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); log_entry("journal", $journal_id, "validate", $journal, "", $bd); } function journal_insert($journal, $bd) { $name=addSlashes($journal['journal_name']); $fullname=addSlashes($journal['journal_fullname']); $type=$journal['journal_type']; $query = "INSERT INTO journal (journal_name, journal_fullname, journal_type, log, date) " . " VALUES ( '$name', '$fullname', '$type', '0', now()) " ; // print ("query= $query

\n"); $res = $bd->exec_query($query); $name = $bd->prepare_string($name); $fullname = $bd->prepare_string($fullname); $query = "SELECT * " . "FROM journal " . "WHERE journal_name LIKE '%$name' " . "AND journal_fullname LIKE '%$fullname%' "; // print ("query= $query

\n"); $res = $bd->exec_query($query); $journal = $bd->fetch_object ($res); $returnid=$journal->journal_id; log_entry("journal", $returnid, "insert", "", $journal, $bd); // echo "returnid=$returnid

\n"; return $returnid; } function journal_delete($journal_id, $bd) { $query = "select * from journal where journal_id = '$journal_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); $journal_old = $bd->fetch_object ($res); $query = "DELETE FROM journal " . "WHERE journal_id = '$journal_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); log_entry("journal", $journal_id, "delete", $journal_old, "", $bd); } */ // **************************************************************** // Personne operations /* function personne_lines($bd) { global $rootdir; $query = "SELECT * FROM personne ORDER BY pers_last"; $result = $bd->exec_query ($query); $lines=""; $i=0; while ( $personne = $bd->fetch_object ($result) ) { $i++; $str=""; $str .= ""; $log=$personne->log; if ( ( "$log"=="2" ) && (check_root_priv($bd)<1) ) $str .= "[" . "$i"; // entry already validated, no longer modifiable else $str .= "[" . anchor("$rootdir/intranet/personne.php?mode=edit&id=$personne->pers_id", $i); if (check_admin_priv($bd)) $str .= "|" . anchor("$rootdir/intranet/admin/history_pers.php?action=item&id=$personne->pers_id","log"); $str .= "]"; $str .= ""; $str .= stripSlashes($personne->pers_first); $str .= ""; $str .= ""; //$str .= stripSlashes($personne->pers_last); $str .= anchor("$rootdir/search.php?search=personne&id=$personne->pers_id", stripSlashes($personne->pers_last)); $str .= ""; $lines .= "" . $str . "\n"; } return "\n" . $lines . "
\n" ; } function personne_form($mode, $id, $bd) { if ("$id"!="") { $query = "SELECT * from personne WHERE pers_id = $id"; $res = $bd->exec_query($query); $personne = $bd->fetch_object($res); } echo "\n"; if ($mode=="update") { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } echo ""; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
pers_id$personne->pers_id "; if ($personne->log=="0") echo "[created on $personne->date]"; if ($personne->log=="1") echo "[last modified on $personne->date]"; if ($personne->log=="2") echo "[validated on $personne->date]"; echo "
Utiliser des majuscules seulement pour les initiales du prénom (pers_first) et du nom (pers_last), des minuscules pour tout le reste. Mettre le prénom en entier.
pers_firstpers_first) ."\" size=\"50\" maxlength=\"255\">
pers_lastpers_last) ."\" size=\"50\" maxlength=\"255\">
\n"; } function personne_fixed($id, $bd) { $query = "SELECT * from personne WHERE pers_id = $id"; $res = $bd->exec_query($query); $personne = $bd->fetch_object($res); echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
pers_id$personne->pers_id "; if ($personne->log=="0") echo "[created on $personne->date]"; if ($personne->log=="1") echo "[last modified on $personne->date]"; if ($personne->log=="2") echo "[validated on $personne->date]"; echo "
pers_first" . stripslashes($personne->pers_first) . "
pers_last" . stripslashes($personne->pers_last) . "
\n"; } function personne_update($personne, $bd) { $first=addSlashes($personne['pers_first']); $last=addSlashes($personne['pers_last']); $pers_id=$personne['pers_id']; $query = "select * from personne where pers_id = '$pers_id'"; $res = $bd->exec_query($query); $personne_old = $bd->fetch_object ($res); $query = "UPDATE personne SET " . "pers_first='$first', pers_last='$last', " . "log='1', date=now() " . "WHERE pers_id = '$pers_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); $query = "select * from personne where pers_id = '$pers_id'"; $res = $bd->exec_query($query); $personne_new = $bd->fetch_object ($res); log_entry("personne", $pers_id, "update", $personne_old, $personne_new, $bd); } function personne_validate($pers_id, $bd) { $query = "select * from personne where pers_id = '$pers_id'"; $res = $bd->exec_query($query); $personne = $bd->fetch_object ($res); $first=$personne->pers_first; $last=$personne->pers_last; //print ("Validation de $first $last.
\n"); $query = "UPDATE personne SET " . "log='2', date=now() " . "WHERE pers_id = '$pers_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); log_entry("personne", $pers_id, "validate", $personne, "", $bd); } function personne_insert($personne, $bd) { $first=addSlashes($personne['pers_first']); $last=addSlashes($personne['pers_last']); $query = "INSERT INTO personne (pers_first, pers_last, log, date) " . " VALUES ( '$first', '$last', '0', now()) " ; // print ("query= $query

\n"); $res = $bd->exec_query($query); $query = "SELECT * " . "FROM personne " . "WHERE pers_first LIKE '%$first' " . "AND pers_last LIKE '%$last%' "; // print ("query= $query

\n"); $res = $bd->exec_query($query); $personne = $bd->fetch_object ($res); $returnid=$personne->pers_id; log_entry("personne", $returnid, "insert", "", $personne, $bd); return $returnid; } function personne_delete($pers_id, $bd) { $query = "select * from personne where pers_id = '$pers_id'"; $res = $bd->exec_query($query); $personne_old = $bd->fetch_object ($res); $query = "DELETE FROM personne " . "WHERE pers_id = '$pers_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); log_entry("personne", $pers_id, "delete", $personne_old, "", $bd); } */ // **************************************************************** // Institution operations function institution_lines($bd) { global $rootdir; $query = "SELECT * FROM institution ORDER BY institution_name"; $result = $bd->exec_query ($query); $lines=""; $i=0; while ( $institution = $bd->fetch_object ($result) ) { $i++; $str=""; // $str .= "$i "; $str .= ""; $log=$institution->log; if ( ( "$log"=="2" ) && (check_root_priv($bd)<1) ) $str .= "[" . "$i"; // entry already validated, no longer modifiable else $str .= "[" . anchor("$rootdir/intranet/institution.php?mode=edit&id=$institution->institution_id", $i); //if (check_admin_priv($bd)) //$str .= "|" . anchor("$rootdir/intranet/admin/history_institution.php?action=item&id=$institution->institution_id","log"); $str .= "]"; $str .= ""; $str .= stripSlashes($institution->institution_name); $str .= " ($institution->institution_short)"; // $journalname=anchor("$rootdir/search.php?search=journal&id=$journal->journal_id", "" . stripSlashes($journal->journal_name) . ""); //$str .= " ($journalname)"; $str .= ""; $lines .= "" . $str . "\n"; } return "\n" . $lines . "
\n" ; } function institution_form($mode, $id, $bd) { if ("$id"!="") { $query = "SELECT * from institution WHERE institution_id = $id"; $res = $bd->exec_query($query); $institution = $bd->fetch_object($res); } echo "\n"; if ($mode=="update") { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
institution_id$institution->institution_id "; if ($tab->log=="0") echo "[created on $institution->date]"; if ($tab->log=="1") echo "[last modified on $institution->date]"; if ($tab->log=="2") echo "[validated on $institution->date]"; echo "
institution_nameinstitution_name) . "\" size=\"70\" maxlength=\"255\">
Nom complet en toutes lettres.
 
institution_shortinstitution_short) . "\" size=\"70\" maxlength=\"255\">
Abbréviation ou sigle.
 
\n"; } function institution_insert($institution, $bd) { $name=addSlashes($institution['institution_name']); $short=addSlashes($institution['institution_short']); $query = "INSERT INTO institution (institution_name, institution_short, log, date) " . " VALUES ( '$name', '$short', '0', now()) " ; // print ("query= $query

\n"); $res = $bd->exec_query($query); $name = $bd->prepare_string($name); $short = $bd->prepare_string($short); $query = "SELECT * " . "FROM institution " . "WHERE institution_name LIKE '%$name' " . "AND institution_short LIKE '%$short%' "; // print ("query= $query

\n"); $res = $bd->exec_query($query); $institution = $bd->fetch_object ($res); $returnid=$institution->institution_id; log_entry("institution", $returnid, "insert", "", $institution, $bd); // echo "returnid=$returnid

\n"; return $returnid; } function institution_fixed($id, $bd) { $query = "SELECT * from institution WHERE institution_id = $id"; $res = $bd->exec_query($query); $institution = $bd->fetch_object($res); echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
institution_id$institution->institution_id "; if ($institution->log=="0") echo "[created on $institution->date]"; if ($institution->log=="1") echo "[last modified on $institution->date]"; if ($institution->log=="2") echo "[validated on $institution->date]"; echo "
institution_name" . stripSlashes($institution->institution_name) . "
institution_short" . stripSlashes($institution->institution_short) . "
\n"; } function institution_update($institution, $bd) { $name=addSlashes($institution['institution_name']); $short=addSlashes($institution['institution_short']); $institution_id=$institution['institution_id']; $query = "select * from institution where institution_id = '$institution_id'"; $res = $bd->exec_query($query); $institution_old = $bd->fetch_object ($res); $query = "UPDATE institution SET " . "institution_name='$name', institution_short='$short', " . "log='1', date=now() " . "WHERE institution_id = '$institution_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); $query = "select * from institution where institution_id = '$institution_id'"; $res = $bd->exec_query($query); $institution_new = $bd->fetch_object ($res); log_entry("institution", $institution_id, "update", $institution_old, $institution_new, $bd); } function institution_validate($institution_id, $bd) { $query = "select * from institution where institution_id = '$institution_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); $institution = $bd->fetch_object ($res); $name=$institution->institution_name; $short=$institution->institution_short; // print ("Validation de $name ($short).
\n"); $query = "UPDATE institution SET " . "log='2', date=now() " . "WHERE institution_id = '$institution_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); log_entry("institution", $institution_id, "validate", $institution, "", $bd); } function institution_delete($institution_id, $bd) { $query = "select * from institution where institution_id = '$institution_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); $institution_old = $bd->fetch_object ($res); $query = "DELETE FROM institution " . "WHERE institution_id = '$institution_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); log_entry("institution", $institution_id, "delete", $institution_old, "", $bd); } ?> phpubli-1.0/phpubli/intranet/conference.php0000664000175000017500000001624011260607037020455 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir=".."; $localdir="intranet"; $filename="conference.php"; require_once ("$rootdir/include.php"); require_once ("include.php"); $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); check_login($bd); $displayid=""; // if not null, redirect to page for editing institytion with conference_id==displayid if (isSet($_POST['action'])) { if (isSet($_POST['edit'])) $action="edit"; if (isSet($_POST['editconference'])) $action="editconference"; if (isSet($_POST['validateconference'])) $action="validateconference"; if (isSet($_POST['updateconference'])) $action="updateconference"; if (isSet($_POST['insertconference'])) $action="insertconference"; if (isSet($_POST['deleteconference'])) $action="deleteconference"; if (isSet($_POST['deleteconferencenow'])) $action="deleteconferencenow"; // echo "action=$action

\n"; $conference_id=$_POST['conference_id']; // echo "conference_id=$conference_id
\n"; if ($action=="edit") { //echo "action=$action
\n"; $displayid=$conference_id; } if ($action=="validateconference") { // echo "action=$action
\n"; conference_validate($conference_id, $bd); $displayid=$conference_id; } if ($action=="updateconference") { // echo "action=$action
\n"; conference_update($_POST, $bd); $displayid=$conference_id; } if ($action=="insertconference") { // echo "action=$action
\n"; $conference_id=conference_insert($_POST, $bd); // echo "conference_id=$conference_id
\n"; $displayid=$conference_id; } if ($action=="deleteconferencenow") { //echo "action=$action
\n"; // print ("Suppression de la maison d'édition $conference_id
\n"); conference_delete($conference_id, $bd); header("Location: $filename"); exit; } if ($displayid!="") { //echo "header(\"Location: $filename?mode=edit&id=$displayid\");
\n"; header("Location: $filename?mode=edit&id=$displayid"); exit; } } ?> Conférences

Opérations sur la table des conférences

\n"; echo "Mise à jour des données d'une conférence
\n"; echo "
\n"; echo "\n"; echo "\n"; echo "
\n"; conference_form("update", $conference_id, $bd); echo "
\n"; echo "\n"; echo "\n"; echo "
\n"; } if ($action=="deleteconference") { //echo "action=$action
\n"; /* ICICICICI $query = "select count(*) from document where conference_id='$conference_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); // print "res=$res
\n"; $ob = $bd->fetch_row ($res); if ( $ob[0] > 0 ) { conference_fixed($conference_id, $bd); print ("Impossible de supprimer cette conference : des " . anchor("$rootdir/search.php?search=conference&id=$conference_id", "documents") . " en dépendent.

\n"); } else { */ print ("Supprimer effectivement cette conférence ?\n"); echo "

\n"; echo "\n"; echo "\n"; echo "
\n"; conference_fixed($conference_id, $bd); echo "
\n"; echo "\n"; echo "
\n"; /* } */ } } if (isSet($_GET['mode'])) { if ( ($_GET['mode']=="edit") and (isSet($_GET['id'])) ) { // entry point to edit an existing conference given its conference_id $conference_id=$_GET['id']; echo "
\n"; conference_fixed($conference_id, $bd); echo "
\n"; $query = "SELECT * from conference WHERE conference_id = $conference_id"; $res = $bd->exec_query($query); $conference = $bd->fetch_object($res); $log=$conference->log; if ( ( "$log"=="2" ) && (check_root_priv($bd)<1) ) { echo "Données non modifiables

\n"; } else { echo "
\n"; echo "
\n"; echo "\n"; echo "\n"; echo "\n"; echo "
\n"; if (check_admin_priv($bd)) echo "
Si vous êtes sûr(e) que les données sont complètes et correctes, vous pouvez \n"; echo "
"; } } if ($_GET['mode']=="insert") { echo "Saisie d'une nouvelle conférence
\n"; echo "
\n"; echo "\n"; echo "
\n"; conference_form("insert", "", $bd); echo "
\n"; echo "
\n"; echo "
\n"; } } if ( (!isSet($_GET['mode'])) and (!isSet($_POST['action'])) ) { echo anchor("$filename?mode=insert", "Ajouter une nouvelle conférence") . "
"; echo conference_lines($bd); } echo anchor("$filename?mode=insert", "Ajouter une nouvelle conférence") . "
"; ?>
phpubli-1.0/phpubli/intranet/include.php0000664000175000017500000000254511260607037017774 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ require_once("$includedir/intranet/functions.php"); require_once("$includedir/intranet/functions_document.php"); require_once("$includedir/intranet/functions_personne.php"); require_once("$includedir/intranet/functions_journal.php"); require_once("$includedir/intranet/functions_conference.php"); require_once("$includedir/intranet/functions_proceedings.php"); require_once("$includedir/intranet/functions_publisher.php"); ?> phpubli-1.0/phpubli/intranet/last_document.php0000664000175000017500000000505611260607037021212 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir=".."; $localdir="intranet"; $filename="last_document.php"; require_once ("$rootdir/include.php"); require_once ("include.php"); $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); check_login($bd); $result = $bd->exec_query("SELECT * FROM groupes"); while ( $ob=$bd->fetch_object($result)) $list_groupes[$ob->g_id]="$ob->g_fullname"; $groupe_id=current_group($bd); $groupe_name=$list_groupes[$groupe_id]; if (isSet($_GET['limit'])) $limit=$_GET['limit']; else $limit=20; ?> Liste des derniers documents modifiés

Liste des derniers documents modifiés

exec_query($query); $lines="\n"; $i=0; $fl=0; while ( ($doc = $bd->fetch_object($res)) ) { $lines .= document_singleline($i, $doc, $bd, $fl); } $lines .= " \n"; echo "" . $lines . "
\n"; ?>
phpubli-1.0/phpubli/intranet/personne.php0000664000175000017500000001543711260607037020206 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir=".."; $localdir="intranet"; $filename="personne.php"; require_once ("$rootdir/include.php"); require_once ("include.php"); $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); check_login($bd); $displayid=""; // if not null, redirect to page for editing person with pers_id==displayid if (isSet($_POST['action'])) { if (isSet($_POST['edit'])) $action="edit"; if (isSet($_POST['editpersonne'])) $action="editpersonne"; if (isSet($_POST['validatepersonne'])) $action="validatepersonne"; if (isSet($_POST['updatepersonne'])) $action="updatepersonne"; if (isSet($_POST['insertpersonne'])) $action="insertpersonne"; if (isSet($_POST['deletepersonne'])) $action="deletepersonne"; if (isSet($_POST['deletepersonnenow'])) $action="deletepersonnenow"; //echo "action=$action

\n"; $pers_id=$_POST['pers_id']; // echo "pers_id=$pers_id
\n"; if ($action=="edit") { //echo "action=$action
\n"; $displayid=$pers_id; } if ($action=="validatepersonne") { // echo "action=$action
\n"; personne_validate($pers_id, $bd); $displayid=$pers_id; } if ($action=="updatepersonne") { // echo "action=$action
\n"; personne_update($_POST, $bd); $displayid=$pers_id; } if ($action=="insertpersonne") { //echo "action=$action
\n"; $pers_id=personne_insert($_POST, $bd); //echo "pers_id=$pers_id
\n"; $displayid=$pers_id; } if ($displayid!="") { //echo "header(\"Location: $filename?mode=edit&id=$displayid\");
\n"; header("Location: $filename?mode=edit&id=$displayid"); exit; } } ?> Personnes

Opérations sur la table des personnes

\n"; echo "Mise à jour des données d'une personne
\n"; echo "
\n"; echo "\n"; echo "\n"; echo "
\n"; personne_form("update", $pers_id, $bd); echo "
\n"; echo "\n"; echo "\n"; echo "
\n"; } if ($action=="deletepersonne") { //echo "action=$action
\n"; $query = "select count(*) from participer where pers_id='$pers_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); // print "res=$res
\n"; $ob = $bd->fetch_row ($res); if ( $ob[0] > 0 ) { personne_fixed($pers_id, $bd); print ("Impossible de supprimer cette personne : des " . anchor("$rootdir/search.php?search=personne&id=$pers_id", "documents") . " en dépendent.

\n"); } else { print ("Supprimer effectivement cette personne ?\n"); echo "

\n"; echo "\n"; echo "\n"; echo "
\n"; personne_fixed($pers_id, $bd); echo "
\n"; echo "\n"; echo "
\n"; } } if ($action=="deletepersonnenow") { //echo "action=$action
\n"; print ("Suppression de la personne $pers_id
\n"); personne_delete($pers_id, $bd); } } if (isSet($_GET['mode'])) { if ( ($_GET['mode']=="edit") and (isSet($_GET['id'])) ) { // entry point to edit an existing person given its pers_id $pers_id=$_GET['id']; echo "
\n"; personne_fixed($pers_id, $bd); echo "
\n"; $query = "SELECT * from personne WHERE pers_id = $pers_id"; $res = $bd->exec_query($query); $personne = $bd->fetch_object($res); $log=$personne->log; if ( ( "$log"=="2" ) && (check_root_priv($bd)<1) ) { echo "Données non modifiables

\n"; } else { echo "
\n"; echo "
\n"; echo "\n"; echo "\n"; echo "\n"; echo "
\n"; if (check_admin_priv($bd)) echo "
Si vous êtes sûr(e) que les données sont complètes et correctes, vous pouvez \n"; echo "
"; } } if ($_GET['mode']=="insert") { echo "Saisie d'une nouvelle personne
\n"; echo "
\n"; echo "\n"; echo "
\n"; personne_form("insert", "", $bd); echo "
\n"; echo "
\n"; echo "
\n"; } } if ( (!isSet($_GET['mode'])) and (!isSet($_POST['action'])) ) { echo anchor("$filename?mode=insert", "Ajouter une nouvelle personne") . "
"; echo personne_lines($bd); } echo anchor("$filename?mode=insert", "Ajouter une nouvelle personne") . "
"; ?>
phpubli-1.0/phpubli/intranet/functions_journal.php0000664000175000017500000002502211260607037022106 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ // **************************************************************** // Journal operations function journal_lines($bd) { global $rootdir; $resa = $bd->exec_query("SELECT * FROM audience"); while ( $ob=$bd->fetch_object($resa)) $list_audience[$ob->id]="$ob->libelle"; $list_wos[0]="non référencé dans le Web of Science"; $list_wos[1]="référencé dans le Web of Science"; $list_peerreview[0]="sans comité de lecture"; $list_peerreview[1]="avec comité de lecture"; $query = "SELECT * FROM journal ORDER BY journal_fullname"; // $query = "SELECT * FROM journal"; $result = $bd->exec_query ($query); $lines=""; $i=0; while ( $journal = $bd->fetch_object ($result) ) { $i++; $str=""; // $str .= "$i "; $str .= ""; $log=$journal->log; if ( ( "$log"=="2" ) && (check_root_priv($bd)<1) ) $str .= "[" . "$i"; // entry already validated, no longer modifiable else $str .= "[" . anchor("$rootdir/intranet/journal.php?mode=edit&id=$journal->journal_id", $i); if (check_admin_priv($bd)) $str .= "|" . anchor("$rootdir/intranet/admin/history_journal.php?action=item&id=$journal->journal_id","log"); $str .= "]"; $str .= ""; $str .= stripSlashes($journal->journal_fullname); //$str .= " ($journal->journal_name)"; $str .= " (" . anchor("$rootdir/search.php?search=journal&id=$journal->journal_id", "" . stripSlashes($journal->journal_name) . "") . ")"; $str .= " [" . $list_peerreview[$journal->journal_peer_review] . ", " . $list_wos[$journal->journal_type] . ", audience " . $list_audience[$journal->journal_audience] . "]"; $str .= ""; $lines .= "" . $str . "\n"; } return "\n" . $lines . "
\n" ; } function journal_form($mode, $id, $bd) { if ("$id"!="") { $query = "SELECT * from journal WHERE journal_id = $id"; $res = $bd->exec_query($query); $journal = $bd->fetch_object($res); } // get lists $list_journaltypes[0]="-------------------- (select from list) --------------------"; $result = $bd->exec_query("SELECT * FROM typejournal order by typejournal_id"); while ( $ob=$bd->fetch_object($result)) $list_journaltypes[$ob->typejournal_id]="$ob->typejournal_id - $ob->typejournal_libelle"; $result = $bd->exec_query("SELECT * FROM audience"); while ( $ob=$bd->fetch_object($result)) $list_audience[$ob->id]="$ob->libelle"; $list_wos[0]="non référencé dans le Web of Science"; $list_wos[1]="référencé dans le Web of Science"; $list_peerreview[0]="sans comité de lecture"; $list_peerreview[1]="avec comité de lecture"; echo "\n"; if ($mode=="update") { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
journal_id$journal->journal_id "; if ($tab->log=="0") echo "[created on $journal->date]"; if ($tab->log=="1") echo "[last modified on $journal->date]"; if ($tab->log=="2") echo "[validated on $journal->date]"; echo "
journal_namejournal_name) . "\" size=\"70\" maxlength=\"255\">
Utiliser l'abbréviation officielle du journal.
 
journal_fullnamejournal_fullname) . "\" size=\"70\" maxlength=\"255\">
Nom complet en toutes lettres.
 
journal_peer_review
journal_audience
journal_type
\n"; } function journal_fixed($id, $bd) { $query = "SELECT * from journal WHERE journal_id = $id"; $res = $bd->exec_query($query); $journal = $bd->fetch_object($res); // get lists $list_journaltypes[0]="-------------------- (select from list) --------------------"; $result = $bd->exec_query("SELECT * FROM typejournal order by typejournal_id"); while ( $ob=$bd->fetch_object($result)) $list_journaltypes[$ob->typejournal_id]="$ob->typejournal_id - $ob->typejournal_libelle"; $result = $bd->exec_query("SELECT * FROM audience"); while ( $ob=$bd->fetch_object($result)) $list_audience[$ob->id]="$ob->libelle"; $list_wos[0]="non référencé dans le Web of Science"; $list_wos[1]="référencé dans le Web of Science"; $list_peerreview[0]="sans comité de lecture"; $list_peerreview[1]="avec comité de lecture"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
journal_id$journal->journal_id "; if ($journal->log=="0") echo "[created on $journal->date]"; if ($journal->log=="1") echo "[last modified on $journal->date]"; if ($journal->log=="2") echo "[validated on $journal->date]"; echo "
journal_name" . stripSlashes($journal->journal_name) . "
journal_fullname" . stripSlashes($journal->journal_fullname) . "
journal_type"; foreach ($list_wos as $id=>$name) { if ($id==$journal->journal_type) echo "$name"; } echo "
journal_peer_review"; foreach ($list_peerreview as $id=>$name) { if ($id==$journal->journal_peer_review) echo "$name"; } echo "
journal_audience"; foreach ($list_audience as $id=>$name) { if ($id==$journal->journal_audience) echo "$name"; } echo "
\n"; } function journal_update($journal, $bd) { $name=addSlashes($journal['journal_name']); $fullname=addSlashes($journal['journal_fullname']); $type=$journal['journal_type']; $peer_review=$journal['journal_peer_review']; $audience=$journal['journal_audience']; $journal_id=$journal['journal_id']; $query = "select * from journal where journal_id = '$journal_id'"; $res = $bd->exec_query($query); $journal_old = $bd->fetch_object ($res); $query = "UPDATE journal SET " . "journal_name='$name', journal_fullname='$fullname', " . "journal_type='$type', " . "journal_peer_review='$peer_review', " . "journal_audience='$audience', " . "log='1', date=now() " . "WHERE journal_id = '$journal_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); $query = "select * from journal where journal_id = '$journal_id'"; $res = $bd->exec_query($query); $journal_new = $bd->fetch_object ($res); log_entry("journal", $journal_id, "update", $journal_old, $journal_new, $bd); } function journal_validate($journal_id, $bd) { $query = "select * from journal where journal_id = '$journal_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); $journal = $bd->fetch_object ($res); $name=$journal->journal_name; $fullname=$journal->journal_fullname; // print ("Validation de $fullname ($name).
\n"); $query = "UPDATE journal SET " . "log='2', date=now() " . "WHERE journal_id = '$journal_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); log_entry("journal", $journal_id, "validate", $journal, "", $bd); } function journal_insert($journal, $bd) { $name=addSlashes($journal['journal_name']); $fullname=addSlashes($journal['journal_fullname']); $type=$journal['journal_type']; $audience=$journal['journal_audience']; $peer_review=$journal['journal_peer_review']; $query = "INSERT INTO journal (journal_name, journal_fullname, journal_type, journal_audience, journal_peer_review, log, date) " . " VALUES ( '$name', '$fullname', '$type', '$audience', '$peer_review', '0', now()) " ; // print ("query= $query

\n"); $res = $bd->exec_query($query); $name = $bd->prepare_string($name); $fullname = $bd->prepare_string($fullname); $query = "SELECT * " . "FROM journal " . "WHERE journal_name LIKE '%$name' " . "AND journal_fullname LIKE '%$fullname%' "; // print ("query= $query

\n"); $res = $bd->exec_query($query); $journal = $bd->fetch_object ($res); $returnid=$journal->journal_id; log_entry("journal", $returnid, "insert", "", $journal, $bd); // echo "returnid=$returnid

\n"; return $returnid; } function journal_delete($journal_id, $bd) { $query = "select * from journal where journal_id = '$journal_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); $journal_old = $bd->fetch_object ($res); $query = "DELETE FROM journal " . "WHERE journal_id = '$journal_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); log_entry("journal", $journal_id, "delete", $journal_old, "", $bd); } ?> phpubli-1.0/phpubli/intranet/logout.php0000664000175000017500000000323111260607037017653 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir=".."; $localdir="intranet"; $filename="logout.php"; require_once ("$rootdir/include.php"); require_once ("include.php"); $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); if(isset($_SESSION['id'])) { $query="insert into history (u_id, action, date_entry) values (" . "'" . $_SESSION['id'] . "', 'logout', now() )"; $result=$bd->exec_query($query); unset ($_SESSION['id']); } if(isset($_SESSION['login'])) unset ($_SESSION['login']); if(isset($_SESSION['status'])) unset ($_SESSION['status']); if(isset($_SESSION['group'])) unset ($_SESSION['group']); if(isset($_SESSION['site'])) unset ($_SESSION['site']); echo " \n" ?> phpubli-1.0/phpubli/intranet/functions_proceedings.php0000664000175000017500000002235011260607037022737 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ // **************************************************************** // Institution operations function proceedings_lines($bd) { global $rootdir; $query = "SELECT * FROM proceedings ORDER BY proc_year, proc_title"; $result = $bd->exec_query ($query); $lines=""; $lines.="titleyear\n"; $i=0; while ( $proceedings = $bd->fetch_object ($result) ) { $i++; $str=""; $str .= ""; $log=$proceedings->log; if ( ( "$log"=="2" ) && (check_root_priv($bd)<1) ) $str .= "[" . "$i"; // entry already validated, no longer modifiable else $str .= "[" . anchor("$rootdir/intranet/proceedings.php?mode=edit&id=$proceedings->proceedings_id", $i); $str .= "]"; $str .= ""; $str .= stripSlashes($proceedings->proc_title); $str .= ""; $str .= ""; $str .= $proceedings->proc_year; $str .= ""; $lines .= "" . $str . "\n"; } return "\n" . $lines . "
\n" ; } function proceedings_data_form($mode, $id, $bd) { $list_conferences[0]="-------------------- (select from list) --------------------"; $result = $bd->exec_query("SELECT * FROM conference ORDER BY conference_title"); while ( $conference=$bd->fetch_object($result)) $list_conferences[$conference->conference_id]="$conference->conference_title"; $list_publishers[0]="-------------------- (select from list) --------------------"; $result = $bd->exec_query("SELECT * FROM publisher ORDER BY publisher_name"); while ( $publisher=$bd->fetch_object($result)) $list_publishers[$publisher->publisher_id]="$publisher->publisher_name"; if ("$id"!="") { $query = "SELECT * from proceedings WHERE proceedings_id = $id"; $res = $bd->exec_query($query); $proceedings = $bd->fetch_object($res); } echo "\n"; if ($mode=="update") { echo "\n"; echo "\n"; echo "\n"; echo "\n"; } echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
id$proceedings->proc_id "; if ($tab->log=="0") echo "[created on $proc->date]"; if ($tab->log=="1") echo "[last modified on $proc->date]"; if ($tab->log=="2") echo "[validated on $proc->date]"; echo "
conference
proceedings titleproc_title) . "\" size=\"70\" maxlength=\"255\">
yearproc_year . "\" size=\"4\" maxlength=\"4\">
publisher
\n"; } function proceedings_data_insert($proceedings, $bd) { $title=addSlashes($proceedings['proc_title']); $year=$proceedings['proc_year']; $conf_id=$proceedings['proc_conf_id']; $pub_id=$proceedings['proc_pub_id']; $query = "INSERT INTO proceedings (proc_title, proc_year, proc_conf_id, proc_pub_id, log, date) " . " VALUES ( '$title', '$year', '$conf_id', '$pub_id', '0', now()) " ; // print ("query= $query

\n"); $res = $bd->exec_query($query); $title = $bd->prepare_string($title); $query = "SELECT * " . "FROM proceedings " . "WHERE proc_title LIKE '%$title%' " . "AND proc_year = '$year' " . "AND proc_conf_id = '$conf_id' " . "AND proc_pub_id = '$pub_id' "; // print ("query= $query

\n"); $res = $bd->exec_query($query); $proceedings = $bd->fetch_object ($res); $returnid=$proceedings->proc_id; log_entry("proceedings", $returnid, "insert", "", $proceedings, $bd); echo "returnid=$returnid

\n"; return $returnid; } /* function proceedings_fixed($id, $bd) { $list_countries[0]="-------------------- (select from list) --------------------"; $result = $bd->exec_query("SELECT * FROM country ORDER BY printable_name"); while ( $country=$bd->fetch_object($result)) $list_countries[$country->iso]="$country->iso - $country->printable_name"; $query = "SELECT * from proceedings WHERE proceedings_id = $id"; $res = $bd->exec_query($query); $proceedings = $bd->fetch_object($res); echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
proceedings_id$proceedings->proceedings_id "; if ($proceedings->log=="0") echo "[created on $proceedings->date]"; if ($proceedings->log=="1") echo "[last modified on $proceedings->date]"; if ($proceedings->log=="2") echo "[validated on $proceedings->date]"; echo "
proceedings_title" . stripSlashes($proceedings->proceedings_title) . "
proceedings_city" . stripSlashes($proceedings->proceedings_city) . "
proceedings_country"; foreach ($list_countries as $id=>$name) { if ("$id" == "$proceedings->proceedings_country_code" ) echo "$name"; } echo "
proceedings_date_start" . $proceedings->proceedings_date_start . "
proceedings_date_end" . $proceedings->proceedings_date_end . "
\n"; } function proceedings_update($proceedings, $bd) { $title=addSlashes($proceedings['proceedings_title']); $city=addSlashes($proceedings['proceedings_city']); $country_code=$proceedings['proceedings_country_code']; $date_start=$proceedings['proceedings_start_yyyy'] . "-" . $proceedings['proceedings_start_mm'] . "-" . $proceedings['proceedings_start_dd'] ; echo "date_start=$date_start"; $proceedings_id=$proceedings['proceedings_id']; $query = "select * from proceedings where proceedings_id = '$proceedings_id'"; $res = $bd->exec_query($query); $proceedings_old = $bd->fetch_object ($res); $query = "UPDATE proceedings SET " . "proceedings_title='$title', proceedings_city='$city', proceedings_country_code='$country_code' " . ", proceedings_date_start='" . $proceedings['proceedings_start_yyyy'] . "-" . $proceedings['proceedings_start_mm'] . "-" . $proceedings['proceedings_start_dd'] . "'" . ", proceedings_date_end='" . $proceedings['proceedings_end_yyyy'] . "-" . $proceedings['proceedings_end_mm'] . "-" . $proceedings['proceedings_end_dd'] . "'" . ", log='1', date=now() " . "WHERE proceedings_id = '$proceedings_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); $query = "select * from proceedings where proceedings_id = '$proceedings_id'"; $res = $bd->exec_query($query); $proceedings_new = $bd->fetch_object ($res); log_entry("proceedings", $proceedings_id, "update", $proceedings_old, $proceedings_new, $bd); } function proceedings_validate($proceedings_id, $bd) { $query = "select * from proceedings where proceedings_id = '$proceedings_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); $proceedings = $bd->fetch_object ($res); $query = "UPDATE proceedings SET " . "log='2', date=now() " . "WHERE proceedings_id = '$proceedings_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); log_entry("proceedings", $proceedings_id, "validate", $proceedings, "", $bd); } function proceedings_delete($proceedings_id, $bd) { $query = "select * from proceedings where proceedings_id = '$proceedings_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); $proceedings_old = $bd->fetch_object ($res); $query = "DELETE FROM proceedings " . "WHERE proceedings_id = '$proceedings_id'"; // print ("query= $query

\n"); $res = $bd->exec_query($query); log_entry("proceedings", $proceedings_id, "delete", $proceedings_old, "", $bd); } */ ?> phpubli-1.0/phpubli/connexion_param.php0000664000175000017500000000210311260607037017673 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ define('UNAME', "phpubli_login"); define('UPASSWORD', "phpubli_password"); define('SERVER', "localhost"); define('BASE', "phpubli"); ?> phpubli-1.0/phpubli/lmfa_publi.css0000664000175000017500000001221411260607037016632 0ustar benoitbenoit/************************************************************* CSS file from http://www.lmfa.ec-lyon.fr/publi/lmfa_publi.css *************************************************************/ body { font-size: 100%; font-family: Verdana, Helvetica, Arial, sans-serif; margin: 0; padding: 0; background-color: #fff; color: #003366; } a img { border: none; } /******************************* * title banner *******************************/ #banner { padding: 0.5em; font-size: 140%; font-weight: bold; text-align: left; } #banner img { border: none; vertical-align: middle; } /******************************* * main navigation bar *******************************/ #navbarlmfa { position: absolute; width: 100%; border-bottom: solid 1px #0072ff; border-top: solid 1px #0072ff; background-color: #eee; text-align: right; } #navbarlmfa ul { margin-top: 1px; padding-right: 1em; list-style-type: none; } #navbarlmfa li { display: inline; padding: 0; margin: 0; text-align: right; } #navbarlmfa a { float: right; display: block; padding: 0.2em 0.5em 0.0em 0.5em; margin: 0; border-bottom: none; text-decoration: none; } #navbarlmfa a:link, #navbarlmfa a:visited { text-decoration: none; float: right; color: #0072ff; border-bottom: solid 3px #eee; } #navbarlmfa a:hover, #navbarlmfa a:link.active, #navbarlmfa a:visited.active { color: TEXTMEDIUM; border-bottom: solid 3px #0072ff; background-color: #ddd; } #navbarlmfa a:link.active, #navbarlmfa a:visited.active { font-weight: bold; } #navbarlmfa a.restr { color: red; background-color: #eee; } #navbarlmfa a.restr:hover { border-bottom: solid 3px red; color: #cc0000; background-color: #ddd; } #navbarlmfa a.restractive { color: #cc0000; border-bottom: solid 3px red; background-color: #ddd; } /******************************* * footer styles *******************************/ #footer, #footercopy { font-size: smaller; margin-top: 0.5em; margin-bottom: 0.5em; padding-top: 0.2em; padding-bottom: 0.2em; text-align: center; } #footer { border-top: 1px #0072ff solid; border-bottom: 1px #0072ff solid; background-color: #eee; clear: both; } /******************************* * left menu style *******************************/ #lhsmenu { width: 18%; float: left; margin-top: 3.3em; margin-bottom: 0.5em; font-size: 90%; border-top: 1px #0072ff solid; border-right: 1px #0072ff solid; border-bottom: 1px #0072ff solid; text-align: left; background-color: #eee; } /* list */ #lhsmenu ul { padding: 0; list-style-type: none; color: #0072ff; } #lhsmenu ul ul { font-size: 90%; margin-left: 1em; } /* links */ #lhsmenu a:link, #lhsmenu a:visited { display: block; text-decoration: none; color: #0072ff; border-bottom: solid 3px #eee; padding: 0.2em 1em 0.2em 1em; } #lhsmenu a:hover, #lhsmenu a:link.active, #lhsmenu a:visited.active { color: #0072ff; border-bottom: solid 3px #0072ff; background-color: #ddd; } #lhsmenu a:link.active, #lhsmenu a:visited.active { font-weight: bold; } /* Special definitions for header, h1 */ #lhsmenu h1 { margin-top: 0; margin-bottom: 15px; text-align: right; font-size: 110%; color: #fff; background-color: #0072ff; padding-top: 8px; padding-bottom: 9px; padding-right: 15px; } #lhsmenu h1 a:link, #lhsmenu h1 a:visited { color: #fff; border-bottom: 0; } #lhsmenu h1 a:hover { color: #003366; background-color: #0072ff; } /******************************* * main area *******************************/ #mainarea { width: 79%; float: right; margin-top: 3em; margin-bottom: 0.5em; padding-right: 1em; font-size: 100%; background-color: #fff; color: #003366; } #mainarea a:link { text-decoration: underline; color: #0072ff; } #mainarea a:visited { text-decoration: none; border-bottom: 1px dotted; color: #006699; } #mainarea a:hover { color: #fff; background-color: #0072ff; } #mainarea p { margin-left: 0; margin-right: 0; /* font-size: 85%; */ margin-top: 8px; margin-bottom: 8px; /* text-indent: 2em; */ text-align: justify; } #mainarea h1, #mainarea h2, #mainarea h3, #mainarea h4, #mainarea h5 { margin-top: 0; padding-left: 0; padding-right: 0; } #mainarea h1 { color: #fff; background-color: #0072ff; padding-top: 6px; padding-bottom: 6px; font-size: 200%; text-align: center; width: 100%; } #mainarea h2, #mainarea h3, #mainarea h4, #mainarea h5 { color: #0072ff; background-color: #fff; } #mainarea h2 { font-size: 175%; margin-top: 0.6em; margin-bottom: 0.2em; } #mainarea h3 { font-size: 150%; margin-top: 0.3em; margin-bottom: 0.15em; } #mainarea h4 { font-size: 120%; margin-top: 0.2em; margin-bottom: 0.1em; } #mainarea h5 { font-size: 100%; margin-top: 0.1em; margin-bottom: 0.05em; } #mainarea blockquote { margin-top: 0.2em; margin-bottom: 0.2em; margin-left: 5em; margin-right: 5em; } #mainarea code { font-family: monospace; } a img { border: none; } /* * quote of the day */ #quote { margin-top: 0.0em; margin-bottom: 0.5em; padding-top: 0.2em; padding-bottom: 0.2em; padding-right: 1em; text-align: right; font-size: 90%; font-style: italic; border-top: 1px #0072ff solid; border-bottom: 1px #0072ff solid; background-color: #eee; } phpubli-1.0/phpubli/search.php0000664000175000017500000003052211260607037015766 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir="."; $localdir="."; $filename="search.php"; require_once ("$rootdir/include.php"); ?> Publications du <?php echo $LABO; ?>

Recherche dans la base de données

"", "test_author"=>"0", "year"=>"", "test_year"=>"0", "journal_id"=>"0", "test_tri"=>"0", "test_ordre"=>"0", "groupe"=>""); // $message = ControleSaisie($_POST); if (isSet($_GET['search'])) { $search=$_GET['search']; $argid=$_GET['id']; //echo "argid=$argid
"; $idlist=explode("OR", $argid); //echo "idlist_e=$idlist[0] $idlist[1]
"; $n=count($idlist); //echo "count=$n
"; if (isSet($_GET['groupe'])) $groupid=$_GET['groupe']; else $groupid="-1"; if ("$search"=="doc") { $query = "SELECT * FROM document WHERE"; for ($i=0; $i<$n; $i++) { if ($i==0) $query .= " doc_id = $idlist[$i]"; else $query .= " OR doc_id = $idlist[$i]"; } $query .= " ORDER BY document.year DESC "; } if ("$search"=="personne") { $query = "SELECT DISTINCT document.*" . " FROM document, participer, personne" . " WHERE document.doc_id = participer.doc_id" . " AND participer.pers_id = personne.pers_id "; // . " AND participer.fonction_id=1"; if ($groupid>=0) $query .= " AND document.groupe LIKE '%$groupid%'"; $query .= " AND ("; for ($i=0; $i<$n; $i++) { if ($i==0) $query .= " participer.pers_id = $idlist[$i]"; else $query .= " OR participer.pers_id = $idlist[$i]"; } $query .= " )"; $query .= " ORDER BY document.year DESC "; } if ("$search"=="journal") { $query = "SELECT DISTINCT document.*" . " FROM document, participer, personne" . " WHERE document.doc_id = participer.doc_id" . " AND participer.pers_id = personne.pers_id " . " AND participer.fonction_id=1"; if ($groupid>=0) $query .= " AND document.groupe LIKE '%$groupid%'"; $query .= " AND ("; for ($i=0; $i<$n; $i++) { if ($i==0) $query .= " document.journal_id = $idlist[$i]"; else $query .= " OR document.journal_id = $idlist[$i]"; } $query .= " )"; $query .= " ORDER BY document.year DESC "; } if ("$search"=="year") { $query = "SELECT DISTINCT document.*" . " FROM document, participer, personne" . " WHERE document.doc_id = participer.doc_id" . " AND participer.pers_id = personne.pers_id " . " AND participer.fonction_id=1" . " AND participer.rang=1"; if ($groupid>=0) $query .= " AND document.groupe LIKE '%$groupid%'"; $query .= " AND ("; for ($i=0; $i<$n; $i++) { if ($i==0) $query .= " document.year = $idlist[$i]"; else $query .= " OR document.year = $idlist[$i]"; } $query .= " )"; $query .= " ORDER BY document.year DESC, personne.pers_last ASC, personne.pers_first ASC "; } if ("$search"=="conf") { $query = "SELECT DISTINCT doc1.*" . " FROM document doc1, document doc2, participer, personne" . " WHERE doc1.doc_id = participer.doc_id" . " AND participer.pers_id = personne.pers_id " . " AND participer.fonction_id=1" . " AND participer.rang=1"; if ($groupid>=0) $query .= " AND doc1.groupe LIKE '%$groupid%'"; $query .= " AND ("; for ($i=0; $i<$n; $i++) { if ($i==0) { $query .= " ( "; $query .= " doc1.conference_id = $idlist[$i]"; $query .= " OR ( doc2.conference_id = $idlist[$i] AND doc1.proceedings_id=doc2.doc_id ) "; $query .= " ) "; } else { $query .= " OR ( "; $query .= " doc1.conference_id = $idlist[$i]"; $query .= " OR ( doc2.conference_id = $idlist[$i] AND doc1.proceedings_id=doc2.doc_id ) "; $query .= " ) "; } } $query .= " )"; $query .= " ORDER BY doc1.year DESC, personne.pers_last ASC, personne.pers_first ASC "; } if ("$search"=="proc") { $query = "SELECT DISTINCT document.*" . " FROM document, participer, personne" . " WHERE document.doc_id = participer.doc_id" . " AND participer.pers_id = personne.pers_id " . " AND participer.fonction_id=1" . " AND participer.rang=1"; if ($groupid>=0) $query .= " AND document.groupe LIKE '%$groupid%'"; $query .= " AND ("; for ($i=0; $i<$n; $i++) { if ($i==0) $query .= " document.proceedings_id = $idlist[$i]"; else $query .= " OR document.proceedings_id = $idlist[$i]"; } $query .= " )"; $query .= " ORDER BY document.year DESC, personne.pers_last ASC, personne.pers_first ASC "; } if ("$search"=="last") { $query = "SELECT * from document"; $query .= " WHERE typedoc_id != '7'"; $query .= " ORDER BY date DESC "; $query .= " LIMIT 20"; } //echo "query=$query
"; } if (isSet($_POST['action'])) { $action=$_POST['action']; // echo "action=$action

\n"; $query = setup_searchquery($_POST, $bd); // echo "query = $query

\n"; // search_form($_POST, $bd); } $result = $bd->exec_query("SELECT * FROM typedoc"); while ( $ob=$bd->fetch_object($result)) { $list_typedocname[$ob->typedoc_id]="$ob->typedoc_name"; $list_typedoclibelle[$ob->typedoc_id]="$ob->typedoc_libelle"; } if ( "$query" != "") { if (isSet($_POST['action'])) { echo "
Nouvelle requête

\n"; } $res = $bd->exec_query($query); $lines=""; $i=0; $lines_articles=" \n" . $list_typedocname["4"] . "\n"; $n_articles=0; $n_articles_tot=0; $flag_ext_a=0; $lines_theses=" \n" . $list_typedocname["6"] . "\n"; $n_theses=0; $n_theses_tot=0; $flag_ext_t=0; $lines_confproc=" \n" . $list_typedocname["3"] . "\n"; $n_confproc=0; $n_confproc_tot=0; $flag_ext_p=0; $lines_confabs=" \n" . $list_typedocname["8"] . "\n"; $n_confabs=0; $n_confabs_tot=0; $flag_ext_c=0; $lines_invited=" \nconférences invitées\n"; $n_invited=0; $n_invited_tot=0; $flag_ext_i=0; $lines_books=" \n" . $list_typedocname["1"] . "\n"; $n_books=0; $n_books_tot=0; $flag_ext_b=0; $lines_all="\n"; $n_all=0; $n_all_tot=0; $flag_ext_all=0; while ( ($doc = $bd->fetch_object($res)) ) { // $i++; // $lines .= document_singleline($i, $doc, $bd, $flag_ext); $lines_all .= document_singleline($n_all, $doc, $bd, $flag_ext_all); $n_all_tot++; if ( ( "$doc->typedoc_id" == "3" ) && ( "$doc->soustypedoc_id" != "31" ) ) { $lines_confproc .= document_singleline($n_confproc, $doc, $bd, $flag_ext_p); $n_confproc_tot++; } if ( ( "$doc->typedoc_id" == "8" ) && ( "$doc->soustypedoc_id" != "81" ) ) { $lines_confabs .= document_singleline($n_confabs, $doc, $bd, $flag_ext_c); $n_confabs_tot++; } if ( "$doc->typedoc_id" == "4" ) { $lines_articles .= document_singleline($n_articles, $doc, $bd, $flag_ext_a); $n_articles_tot++; } if ( "$doc->typedoc_id" == "6" ) { $lines_theses .= document_singleline($n_theses, $doc, $bd, $flag_ext_t); $n_theses_tot++; } if ( "$doc->typedoc_id" == "1" ) { $lines_books .= document_singleline($n_books, $doc, $bd, $flag_ext_t); $n_books_tot++; } if ( ( "$doc->soustypedoc_id" == "31" ) || ( "$doc->soustypedoc_id" == "81" ) ) { $lines_invited .= document_singleline($n_invited, $doc, $bd, $flag_ext_i); $n_invited_tot++; } } if ("$search"=="last") { $lines .= "\n"; if ( $n_all > 0 ) $lines.=$lines_all; } else { $lines = ""; if ( $n_articles_tot > 0 ) $lines.="|" . $list_typedocname["4"] . "|"; if ( $n_theses_tot > 0 ) $lines.="|" . $list_typedocname["6"] . "|"; if ( $n_invited_tot > 0 ) $lines.="|conférences invitées|"; if ( $n_confproc_tot > 0 ) $lines.="|" . $list_typedocname["3"] . "|"; if ( $n_confabs_tot > 0 ) $lines.="|" . $list_typedocname["8"] . "|"; if ( $n_books_tot > 0 ) $lines.="|" . $list_typedocname["1"] . "|"; $lines .= "\n"; if ( $n_articles_tot > 0 ) $lines.=$lines_articles; if ( $n_theses_tot > 0 ) $lines.=$lines_theses; if ( $n_invited_tot > 0 ) $lines.=$lines_invited; if ( $n_confproc_tot > 0 ) $lines.=$lines_confproc; if ( $n_confabs_tot > 0 ) $lines.=$lines_confabs; if ( $n_books_tot > 0 ) $lines.=$lines_books; } $lines .= " \n"; if ( ($flag_ext_a>0) || ($flag_ext_i>0) || ($flag_ext_p>0) || ($flag_ext_c>0) || ($flag_ext_t>0) || ($flag_ext_b>0) ) { $lines .= "\n*:Publication hors $LABO\n"; } // DOI icon $lines .= "\n" . anchor_ext_icon("http://www.doi.org/", "doi.ico") . ":Lien " . anchor("http://www.doi.org/", "DOI") . " vers le document original" . " \n"; // HAL icon $lines .= "\n" . anchor_ext_icon("http://hal.archives-ouvertes.fr/", "hal.ico") . ":Accéder au document dans l'archive ouverte " . anchor("http://hal.archives-ouvertes.fr/", "HAL (Hyperarticles en ligne)") . " \n"; // google icon $lines .= "\n" . anchor_ext_icon("http://scholar.google.fr/", "google.ico") . ":Recherche du document avec " . anchor("http://scholar.google.fr/", "Google Scholar") . " \n"; echo "

\n"; echo "" . $lines . "
\n"; // echo "\n"; echo "\n"; echo "\n"; // echo "\n"; echo "
\n"; } if (isSet($_POST['action'])) { echo "

Nouvelle requête 

\n"; search_form($_POST, $bd); } else { search_form($NULL_SEARCH, $bd); } warning(); ?>
phpubli-1.0/phpubli/param_labo.php0000664000175000017500000000233711260607037016621 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $LABO="[NOM DU LABORATOIRE]"; $LAB="[SIGLE DU LABO]"; $ADRLABO1="( CNRS - UNIVERSITE - ..... )"; $ADRLABO2="ADRESSE"; $ADRLABO3="RUE"; $ADRLABO4="12345 XXXX, FRANCE "; $ADRLABO5=""; $LABO_HALID="[IDENTIFIANT HAL DU LABO]"; $URL_WEBMASTER="http://www.monlabo.org/people/phpubli.webmaster"; ?> phpubli-1.0/phpubli/html.php0000664000175000017500000000420411260607037015463 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ // ****************************************************************************** // html.php : ensemble de routines pour faciliter la production du code html // ****************************************************************************** function anchor($url, $text) { return "$text"; } function anchor_icon($url, $text, $icon) { global $rootdir; global $imagesdir; return "$text \"$icon\""; } function anchor_icon_and_text($url, $icon, $text) { global $rootdir; global $imagesdir; return "\"$icon\"$text"; } // link that opens in new window function anchor_win($url, $text) { global $rootdir; return "$text"; } // link to external pages function anchor_ext($url, $text) { global $rootdir; global $imagesdir; return "$text \"iconout.png\""; } function anchor_ext_icon($url, $icon) { global $rootdir; global $imagesdir; return "\"$icon\""; } ?> phpubli-1.0/phpubli/images/0000775000175000017500000000000011260607037015253 5ustar benoitbenoitphpubli-1.0/phpubli/images/doi.ico0000664000175000017500000000217611260607037016530 0ustar benoitbenoit h(  ˜V6¿l9 ÿY/ÿY/ÿY/ÿY/ÿY/ÿY/ÿY/ÿY/ÿY/ÿY/ÿY/ÿY/ÿV.ÿ@"ÿÉ‚`¿½nGÿ´`6ÿ´`6ÿ´`6ÿ´`6ÿ´`6ÿ´`6ÿ´`6ÿ´`6ÿ´`6ÿ´`6ÿ´`6ÿ´`6ÿ®]4ÿs="ÿ̈e¿ÃtMÿ½e9ÿ½e9ÿ½e9ÿ½e9ÿÀlBÿÅxQÿÁnEÿ½e9ÿÁnEÿ½e9ÿ½e9ÿ½e9ÿ·b7ÿy@$ÿ̈e¿ÃtMÿ½e9ÿ½e9ÿ½e9ÿÛ«“ÿîØÍÿöëæÿíÖÊÿé̾ÿîØÍÿîØÍÿíÖÊÿÓš}ÿ·b7ÿy@$ÿ̈e¿ÃtMÿ½e9ÿ½e9ÿÕŸƒÿþüüÿÿÿÿÿß´ŸÿÉ‚^ÿݯ™ÿþüüÿÿÿÿÿá¹¥ÿÃsKÿ·b7ÿy@$ÿ̈e¿ÃtMÿ½e9ÿ½e9ÿçǸÿÿÿÿÿøðìÿÈ[ÿ½e9ÿÉ‚^ÿûõòÿÿÿÿÿÖŸƒÿ½e9ÿ·b7ÿy@$ÿ̈e¿ÃtMÿ½e9ÿ½e9ÿîØÍÿÿÿÿÿöëæÿÅxQÿ½e9ÿÉ‚^ÿûõòÿÿÿÿÿÖŸƒÿ½e9ÿ·b7ÿy@$ÿ̈e¿ÃtMÿ½e9ÿ½e9ÿäÀ®ÿÿÿÿÿøðìÿÇ}Xÿ½e9ÿÉ‚^ÿûõòÿÿÿÿÿÖŸƒÿ½e9ÿ·b7ÿy@$ÿ̈e¿ÃtMÿ½e9ÿ½e9ÿÎŽnÿóäÝÿÿÿÿÿß´ŸÿÅxQÿݯ™ÿÿÿÿÿÿÿÿÿÖŸƒÿ½e9ÿ·b7ÿy@$ÿ̈e¿ÃtMÿ½e9ÿ½e9ÿ½e9ÿÍ‹jÿäÀ®ÿòâÚÿèÊ»ÿëÑÄÿýúùÿÿÿÿÿÖŸƒÿ½e9ÿ·b7ÿy@$ÿ̈e¿ÃtMÿ½e9ÿ½e9ÿ½e9ÿ½e9ÿ½e9ÿÁnEÿÀlBÿÉ‚^ÿûõòÿÿÿÿÿÖŸƒÿ½e9ÿ·b7ÿy@$ÿ̈e¿ÃtMÿ½e9ÿ½e9ÿ½e9ÿ½e9ÿ½e9ÿ½e9ÿ½e9ÿÍ‹jÿüøöÿÿÿÿÿÖŸƒÿ½e9ÿ·b7ÿy@$ÿ̈e¿ÃtMÿ½e9ÿ½e9ÿ½e9ÿ½e9ÿ½e9ÿ¿i?ÿס†ÿèÊ»ÿÿÿÿÿÿÿÿÿÖŸƒÿ½e9ÿ·b7ÿy@$ÿ̈e¿ÃtMÿ½e9ÿ½e9ÿ½e9ÿ½e9ÿ½e9ÿ½e9ÿÉ‚^ÿÉ‚^ÿÍ‹jÿÍ‹jÿÁnEÿ½e9ÿ·b7ÿy@$ÿÔœ~¿ÏoÿÊ‚_ÿÊ‚_ÿÊ‚_ÿÊ‚_ÿÊ‚_ÿÊ‚_ÿÊ‚_ÿÊ‚_ÿÊ‚_ÿÊ‚_ÿÊ‚_ÿÊ‚_ÿÈ~Yÿ—T2ÿ⺨Ầ¿Ý²œ¿Ý²œ¿Ý²œ¿Ý²œ¿Ý²œ¿Ý²œ¿Ý²œ¿Ý²œ¿Ý²œ¿Ý²œ¿Ý²œ¿Ý²œ¿Ü®˜¿É‚`¿€phpubli-1.0/phpubli/images/google.ico0000664000175000017500000000217611260607037017231 0ustar benoitbenoit h(  ìôûÿ|ÅëÿO¶ïÿE±ñÿM¶ïÿ“ÎöÿöûùÿÞáÑÿIxÿ4zÿ?|ÿ@|ÿ<{ÿAzÿþüûÿ_·ßÿ §ìÿ±ðÿ²ñÿ³ôÿªñÿ|Äîÿÿÿþÿ·Ê©ÿ1vÿ;ƒÿ?‚ÿ>}ÿ>zÿCyÿÞìòÿ¢Øÿ¹÷ÿ ¹ñÿµòÿ²ðÿ³ôÿ/«çÿóùÿÿþûöÿJ…ÿ9†ÿA…ÿ<†ÿ@€ÿ={ÿôûøÿ7¦Ìÿ´ïÿÅþÿ Ãûÿ ¾öÿªêÿJ°ÛÿþþþÿÿüþÿU‘%ÿ4‰ÿ;ÿ=†ÿCÿ>}ÿÿýÿÿÐéóÿ8°Îÿ °ßÿµãÿ®âÿ*©ÖÿÙìñÿüþÿÿàè×ÿ?† ÿ9ÿ<Œÿ=‰ÿ>…ÿ>ÿл¦ÿýîëÿÿÿþÿÕðúÿ°Ýèÿ–ÏÞÿêó÷ÿÿÿÿÿûüúÿm¦Iÿ*ÿ8“ÿ;ÿ9‹ÿ<ˆÿ<…ÿŽI"ÿ^8ÿ²~VÿÀnÿîÚÏÿþÿýÿýÿþÿëòëÿk¨Fÿ-ÿ<–ÿ;“ÿ;“ÿ=ÿ=Šÿ=„ÿ¢Y'ÿ¤UÿžJÿ˜HÿñèßÿþþþÿäìáÿQš&ÿ-”ÿ9—ÿ;—ÿ8”ÿ;’ÿ=ÿ=‹ÿ8‰ÿ¨VÿœOÿ¦oBÿ¾¢„ÿüþÿÿûÿÿÿÉÚ¿ÿwÿ5›ÿ7™ÿ7šÿ<”ÿ<”ÿ8ÿ=‹ÿ>‡ÿŸ^'ÿÖ¾¬ÿþýÿÿùòïÿÞ¿ ÿíâÚÿþÿýÿ™¸…ÿ,‚ÿ;šÿ:˜ÿ7–ÿ9–ÿ:‘ÿ?“ÿB‡ÿíáÛÿÿÿþÿöñèÿµl(ÿ»Tÿ¹]ÿäϹÿÿÿþÿ›±™ÿ pÿ7•ÿ=–ÿ;“ÿ6‰ ÿ-e:ÿ+ŠÿýÿÿÿýÿÿÿÒ©‚ÿ¹SÿÊdÿ½XÿÈYÿþÿýÿÿøÿÿ()ÇÿÂÿ&±ÿ ¶ÿÌÿáÿÕÿÿýþÿÿüÿÿ¾|;ÿÆ]ÿÈfÿÄZÿÎŽWÿûÿÿÿÿÿÿÿPSÝÿôÿÿÿýÿóÿåÿÚÿÿÿÿÿûûûÿ¶l$ÿÈcÿÏfÿÁYÿÒ¯ƒÿÿþÿÿÿüþÿFFàÿùÿüÿùÿðÿëÿßÿÿûüÿÿÿþÿ¸ƒPÿ¹WÿÌcÿ¼bÿòæÜÿüþÿÿÕÔöÿ çÿýÿþÿýÿöÿìÿàÿÿüûÿâÛÌÿ¦_ ÿ¡LÿѬ†ÿüÿýÿïñùÿ:?ÃÿÕÿúÿýÿýÿöÿîÿ€€phpubli-1.0/phpubli/images/search.png0000664000175000017500000000107511260607037017231 0ustar benoitbenoit‰PNG  IHDRóÿasRGB®ÎégAMA± üa cHRMz&€„ú€èu0ê`:˜pœºQ<»IDAT8Oc`À„„„Ä°‰ãûÿÿ?û‰',^¼øïÒ¥Kÿ/Z´èÿÅ‹€Ä‰2¬¥¥åæùóçß5<áýû÷¿íéé¹IЀ 64ž={öPãv Þ Ä; ì­Û¶m»¾fÍš¼†ŸjÈbs Vbc(¿H7ÄÄÄàwEJJÊ~l65ë±Sppðc¼.ÈËË; RTÌ Ä<@Ì Ä ±ïß¿³tÁܹs«?^Ôd Ä>@ÄÎ@¬º}û¶ÉS§L*!ééé * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $PHPUBLI_VERSION="v1.0"; function phpubli_copy() { global $PHPUBLI_VERSION; global $localdir; global $filename; print("\n"); print("\n"); print("\n"); print("\n"); print("\n"); // print("\n"); print("\n"); } function phpubli_foot() { print("Site réalisé avec PhPubli\n"); } ?> phpubli-1.0/phpubli/index.php0000664000175000017500000000471711260607037015637 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir="."; $localdir="."; $filename="index.php"; require_once ("$rootdir/include.php"); $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); ?> Publications du <?php echo $LABO; ?>

Production scientifique du

Recherche d'articles, de thèses, de congrès… dans la base de données

Recherche par année : 1999; $year--) { print("$year, "); } ?>  …

Publications du dans l'archive ouverte .

Derniers documents ajoutés/modifiés dans la base :
exec_query($query); $lines="\n"; $i=0; $fl=0; while ( ($doc = $bd->fetch_object($res)) ) { $lines .= document_singleline($i, $doc, $bd, $fl); } $lines .= " \n"; echo "" . $lines . "
\n"; ?>

phpubli-1.0/phpubli/connexion_param.default.php0000664000175000017500000000211611260607037021322 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ define('UNAME', "phpubli_UNAME"); define('UPASSWORD', "phpubli_UPASSWORD"); define('SERVER', "phpubli_SERVER"); define('BASE', "phpubli_BASE"); ?> phpubli-1.0/phpubli/php.php0000664000175000017500000000677111260607037015321 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ // ****************************************************************************** // php.php : ici on met pêle-mêle des routines php qui peuvent être utiles // ****************************************************************************** function xml2html($xmlfile, $xsltfile) { $xml = new DomDocument; // from /ext/dom $xml->load($xmlfile); $xsl = new DomDocument; $xsl->load($xsltfile); /* Configure the transformer */ $proc = new xsltprocessor; $proc->importStyleSheet($xsl); // attach the xsl rules echo $proc->transformToXML($xml); // actual transformation } function xml2html_withxslparam($xmlfile, $xsltfile, $pname, $pvalue) { $xml = new DomDocument; // from /ext/dom $xml->load($xmlfile); $xsl = new DomDocument; $xsl->load($xsltfile); /* Configure the transformer */ $proc = new xsltprocessor; $proc->importStyleSheet($xsl); // attach the xsl rules $proc->setParameter("xsl", $pname, $pvalue); // set parameter value echo $proc->transformToXML($xml); // actual transformation } function my_strtoupper($text) { return strtr(strtoupper($text), "äâàáåãéèëêòóôõöøìíîïùúûüýñçþÿæð","ÄÂÀÁÅÃÉÈËÊÒÓÔÕÖØÌÍÎÏÙÚÛÜÝÑÇÞÝÆÐ"); } function ascii2tex($text) { $ascii =array( "é", "É", "è", "É", "ê", "Ê", "ë", "Ë", "à", "À", "â", "Â", "Å", "ù", "Ù", "û", "Û", "î", "Î", "ï", "Ï", "ô", "Ô", "ö", "Ö", "ç", "Ç" ); $tex =array( "\'e", "\'E", "\`e", "\`E", "\^e", "\^E", "\\\"e","\\\"E", "\`a", "\`A", "\^a", "\^A", "\{AA}", "\`u", "\`U", "\^u", "\^U", "\^{\i}","\^I", "\\\"{\i}","\\\"I", "\^o", "\^O", "\\\"o","\\\"O", "\c{c}","\c{C}"); return str_replace($ascii, $tex, $text); } function remove_accents($text) { return strtr($text, "ÉÈÊËéèêëÀÂÅàâÙÛùûÎÏîïÔôÇç", "EEEEeeeeAAAaaUUuuIIiiOoCc"); } function initials_from_name($name) { $sname = split('[ .]', $name); $initials=""; foreach($sname as $key => $value) { $pname=$sname[$key]; if ( strpbrk($pname, '-')) { $ppname = split('-', $pname); $initials .= $ppname[0][0] . ".-" . $ppname[1][0] . ". "; } else { if ($pname[0]) $initials .= $pname[0] . ". " ; } } return $initials; } function date_range($datestart, $dateend) { $date=split('-',$datestart); $ystart=$date[0]; $mstart=$date[1]; $dstart=$date[2]; $date=split('-',$dateend); $yend=$date[0]; $mend=$date[1]; $dend=$date[2]; $range=""; if ($ystart<$yend) { $range="$dstart/$mstart/$ystart-$dend/$mend/$yend"; } else if ($mstart<$mend) { $range="$dstart/$mstart-$dend/$mend/$yend"; } else if ($dstart<$dend) { $range="$dstart-$dend/$mend/$yend"; } else $range="$dend/$mend/$yend"; return $range; } ?> phpubli-1.0/phpubli/functions.php0000664000175000017500000007530011260607037016534 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ // **************************************************************** // search operations function search_form($tab, $bd) { // get lists $list_journal["0"]=" -- tous -- "; $result = $bd->exec_query("SELECT * FROM journal ORDER BY journal_fullname"); while ( $ob=$bd->fetch_object($result)) $list_journal[$ob->journal_id]="$ob->journal_fullname"; $list_typedoc["0"]=" -- tous -- "; $result = $bd->exec_query("SELECT * FROM typedoc ORDER BY typedoc.order"); while ( $ob=$bd->fetch_object($result)) if ("$ob->typedoc_id"!="7") $list_typedoc[$ob->typedoc_id]="$ob->typedoc_name"; // quelques hacks pour les cas spéciaux $list_typedoc["X1"]="communications invitées"; $list_groupe["0"]=" -- tous -- "; $result = $bd->exec_query("SELECT * FROM groupes"); while ( $ob=$bd->fetch_object($result)) $list_groupe[$ob->g_id]="$ob->g_fullname"; $test_string = array ("contient", "est", "commence par", "finit par"); $test_year = array ("=", "<", ">"); // $test_tri = array ("par année", "par premier auteur"); // $test_ordre = array ("descendant", "ascendant"); echo "
\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
auteur"; echo "
année"; echo "
type de document
groupe
\n"; echo "
\n"; } function setup_searchquery($tab, $bd) { $author = $bd->prepare_string($tab['author']); $year = $bd->prepare_string($tab['year']); $typedoc_id = $bd->prepare_string($tab['typedoc_id']); $groupe = $bd->prepare_string($tab['groupe']); // author query $authquery=""; if ($tab['author']!="") { if ($tab['test_author']=="0") // contient $authquery = " personne.pers_last LIKE '%$author%'"; if ($tab['test_author']=="1") // est identique $authquery = " personne.pers_last LIKE '$author'"; if ($tab['test_author']=="2") // commence par $authquery = " personne.pers_last LIKE '$author%'"; if ($tab['test_author']=="3") // finit par $authquery = " personne.pers_last LIKE '%$author'"; } // year query $yearquery=""; if ($tab['year']!="") { if ($tab['test_year']=="0") $yearquery = " document.year='$year'"; if ($tab['test_year']=="1") $yearquery = " document.year<'$year'"; if ($tab['test_year']=="2") $yearquery = " document.year>'$year'"; } // specify doc type $typedocquery=""; if ($tab['typedoc_id']!="0") { if ($tab['typedoc_id']=="X1") $typedocquery .= " ( document.soustypedoc_id='31' OR document.soustypedoc_id='81' ) "; else if ($tab['typedoc_id']=="3") $typedocquery .= " document.typedoc_id='3' AND document.soustypedoc_id!='31' "; else if ($tab['typedoc_id']=="8") $typedocquery .= " document.typedoc_id='8' AND document.soustypedoc_id!='81' "; else $typedocquery .= " document.typedoc_id='$typedoc_id' "; } // specify doc groupe $groupequery=""; if ($tab['groupe']!="0") { $groupequery .= " document.groupe LIKE '%$groupe%'"; } // ordering information if ($tab['test_ordre']=="0") $order="DESC"; else $order="ASC"; if ($tab['test_tri']=="0") $orderby=" ORDER BY document.year $order, personne.pers_last ASC, personne.pers_first ASC"; else $orderby=" ORDER BY personne.pers_last $order, personne.pers_first, $order document.year DESC"; $query = "SELECT DISTINCT document.*" . " FROM document, personne, participer" . " WHERE document.doc_id = participer.doc_id" . " AND personne.pers_id = participer.pers_id"; if ( $tab['author']=="") { $query .= " AND participer.fonction_id=1" . " AND participer.rang=1"; if ($tab['year']!="") $query .= " AND " . $yearquery; if ($tab['typedoc_id']!="0") $query .= " AND " . $typedocquery; if ($tab['groupe']!="0") $query .= " AND " . $groupequery; $query .= " ORDER BY year DESC, personne.pers_last, personne.pers_first"; } else { $query .= " AND " . $authquery; if ($tab['typedoc_id']!="0") $query .= " AND " . $typedocquery; if ($tab['groupe']!="0") $query .= " AND " . $groupequery; if ($tab['year']!="") $query .= " AND " . $yearquery; $query .= " ORDER BY personne.pers_last, personne.pers_first, document.year DESC"; } return $query; } // **************************************************************** // Display operations function document_lines($bd, $tid) { if ("$tid"!="") $query = "SELECT * FROM document WHERE typedoc_id='$tid'"; else $query = "SELECT * FROM document"; $query .= " ORDER BY year"; //echo "query=$query
\n"; $result = $bd->exec_query ($query); $lines=""; $i=0; $flag_ext=0; while ( $document = $bd->fetch_object ($result) ) { //$i++; $lines .= document_singleline($i, $document, $bd, $flag_ext); } if ($flag_ext>0) { $lines .= "\n*:Publication hors LMFA\n"; } return "\n" . $lines . "
\n" ; } function document_singleline(&$i, $document, $bd, &$flag) { $result = $bd->exec_query("SELECT * FROM groupes WHERE g_name='exter' "); $ob=$bd->fetch_object($result); $extgid=$ob->g_id; $result = $bd->exec_query("SELECT typedoc_libelle FROM typedoc WHERE typedoc_id='$document->typedoc_id' "); $ob=$bd->fetch_object($result); $typedoc_libelle=$ob->typedoc_libelle; $i++; global $rootdir; $lines=""; $str=""; $style=""; $groupe=$document->groupe; if (strpbrk($groupe,$extgid)) { $flag=1; $ref="*"; $i--; $style=" style=\"color:gray\""; } else $ref="$i"; $str .= "" . "doc_id . "\" >" . "doc_id . "\" >" . ""; $str .= ""; $log=$document->log; if (check_status($bd)>-1) { if ("$typedoc_libelle"=="article") $str .= anchor("$rootdir/intranet/document.php?mode=edit&id=$document->doc_id", $ref) . "." ; if ("$typedoc_libelle"=="these") $str .= anchor("$rootdir/intranet/document.php?mode=edit&id=$document->doc_id", $ref) . "." ; if ("$typedoc_libelle"=="proceedings_book") $str .= anchor("$rootdir/intranet/document.php?mode=edit&id=$document->doc_id", $ref) . "." ; if ("$typedoc_libelle"=="conference_proceeding") $str .= anchor("$rootdir/intranet/document.php?mode=edit&id=$document->doc_id", $ref) . "." ; if ("$typedoc_libelle"=="conference_abstract") $str .= anchor("$rootdir/intranet/document.php?mode=edit&id=$document->doc_id", $ref) . "." ; if ("$typedoc_libelle"=="book") $str .= anchor("$rootdir/intranet/document.php?mode=edit&id=$document->doc_id", $ref) . "." ; } else $str .= "$ref" . "." ; $str .= ""; $str .= ""; // author list $query = "SELECT pers_id FROM participer" . " WHERE doc_id='$document->doc_id'" . " AND fonction_id = '1' " . " ORDER BY rang"; $aresult = $bd->exec_query ($query); $space=""; while ($ob = $bd->fetch_object ($aresult) ) { $query = "SELECT * FROM personne" . " WHERE pers_id='$ob->pers_id'"; $a = $bd->exec_query ($query); $auth=$bd->fetch_object($a); $author=stripSlashes($auth->pers_first) . " " . my_strtoUpper(stripSlashes($auth->pers_last)); $name=anchor("$rootdir/search.php?search=personne&id=$ob->pers_id", $author); $str .= $space; $str .= $name; $space = ", "; } if ("$typedoc_libelle"=="these") { // advisor list $query = "SELECT pers_id FROM participer" . " WHERE doc_id='$document->doc_id'" . " AND fonction_id = '3' " . " ORDER BY rang"; $aresult = $bd->exec_query ($query); $space=""; if (mysql_num_rows($aresult)>0) { $str .= " (dir.: "; while ($ob = $bd->fetch_object ($aresult) ) { $query = "SELECT * FROM personne" . " WHERE pers_id='$ob->pers_id'"; $a = $bd->exec_query ($query); $auth=$bd->fetch_object($a); $author="$auth->pers_first" . " " . my_strtoUpper($auth->pers_last); $name=anchor("$rootdir/search.php?search=personne&id=$ob->pers_id", $author); $str .= $space; $str .= $name; $space = ", "; } $str .= ")"; } } if ("$typedoc_libelle"=="proceedings_book") { $query = "SELECT pers_id FROM participer" . " WHERE doc_id='$document->doc_id'" . " AND fonction_id = '2' " . " ORDER BY rang"; $aresult = $bd->exec_query ($query); $space=""; if (mysql_num_rows($aresult)>0) { while ($ob = $bd->fetch_object ($aresult) ) { $query = "SELECT * FROM personne" . " WHERE pers_id='$ob->pers_id'"; $a = $bd->exec_query ($query); $auth=$bd->fetch_object($a); $author="$auth->pers_first" . " " . my_strtoUpper($auth->pers_last); $name=anchor("$rootdir/search.php?search=personne&id=$ob->pers_id", $author) . " (ed.)"; $str .= $space; $str .= $name; $space = ", "; } } } $str .= " ($document->year)."; $str .= ""; $lines .= "" . $str . "\n"; $str=""; $str .= ""; $str .= stripSlashes($document->title); $str .= ""; $lines .= "" . $str . "\n"; if ("$typedoc_libelle"=="article") { $str=""; $str .= ""; $query = "SELECT * FROM journal WHERE journal_id=$document->journal_id"; $jresult = $bd->exec_query ($query); $journal = $bd->fetch_object ($jresult); // $str .= "$journal->journal_name "; $journalname=anchor("$rootdir/search.php?search=journal&id=$document->journal_id", "" . stripSlashes($journal->journal_name) . ""); $str .= $journalname . " "; $str .= "" . stripSlashes($document->volume) . ""; $pages_start=$document->pages_start; $pages_end=$document->pages_end; $pages_eid=$document->pages_eid; $pages_num=$document->pages_num; if ( ( "$pages_eid"!="") || ( "$pages_num"!="") ) { if ( "$pages_eid"!="") $str .= ", $pages_eid"; if ( "$pages_num"!="") $str .= " ($pages_num pages)"; } else if ( "$pages_start"!="") { $str .= ", $pages_start"; if ( ( "$pages_end"!="") && ( "$pages_end"!="$pages_start") ) $str .= "–$pages_end"; } $str .= "."; // doi $doi=stripSlashes($document->doi); if ( "$doi"!="") { $str .= " " . anchor_icon("http://dx.doi.org/$doi", "doi:$doi", "doi.ico"); } // HAL $hal=stripSlashes($document->hal); if ( "$hal"!="") { $str .= " " . anchor_ext_icon("http://hal.archives-ouvertes.fr/$hal", "hal.ico"); } $googlescholar=google_search($bd, $document->doc_id); $str .= " " . anchor_ext_icon("$googlescholar", "google.ico"); // $halsearch=hal_search($bd, $document->doc_id); // $str .= " " . anchor_ext_icon("$halsearch", "hal.ico"); $str .= ""; $lines .= "" . $str . "\n"; } if ("$typedoc_libelle"=="these") { $str = ""; $query = "SELECT * FROM institution WHERE institution_id=$document->institution_id"; $iresult = $bd->exec_query ($query); $institution = $bd->fetch_object ($iresult); if ("$document->soustypedoc_id"=="61") $key="Habilitation"; else $key="Thèse"; $str .= "$key $institution->institution_name"; // doi $doi=stripSlashes($document->doi); if ( "$doi"!="") { $str .= " " . anchor_icon("http://dx.doi.org/$doi", "doi:$doi", "doi.ico"); } // HAL $hal=stripSlashes($document->hal); if ( "$hal"!="") { $str .= " " . anchor_ext_icon("http://hal.archives-ouvertes.fr/$hal", "hal.ico"); } $str .= ""; $lines .= "" . $str . "\n"; } if ("$typedoc_libelle"=="book") { $str = ""; $query = "SELECT * FROM publisher WHERE publisher_id=$document->publisher_id"; $presult = $bd->exec_query ($query); $publisher = $bd->fetch_object ($presult); $str .= $publisher->publisher_name . ", " . $publisher->publisher_address . "." ; $str .= ""; $lines .= "" . $str . "\n"; } if ("$typedoc_libelle"=="proceedings_book") { $str = ""; $query = "SELECT * FROM conference WHERE conference_id=$document->conference_id"; $cresult = $bd->exec_query ($query); $conference = $bd->fetch_object ($cresult); $str .= "Proceedings of " . stripSlashes($conference->conference_title) . ""; $str .= ", held in ". stripSlashes($conference->conference_city); $query = "SELECT * FROM country WHERE iso='$conference->conference_country_code'"; $cresult = $bd->exec_query ($query); $country = $bd->fetch_object ($cresult); $str .= ", " . $country->printable_name; $str .= ""; $lines .= "" . $str . "\n"; $str = ""; $query = "SELECT * FROM publisher WHERE publisher_id=$document->publisher_id"; $presult = $bd->exec_query ($query); $publisher = $bd->fetch_object ($presult); $str .= $publisher->publisher_name . ", " . $publisher->publisher_address . "." ; $str .= ""; $lines .= "" . $str . "\n"; } if ( ("$typedoc_libelle"=="conference_abstract") || ("$typedoc_libelle"=="conference_proceeding") ) { $str = ""; if ("$typedoc_libelle"=="conference_abstract") $confid=$document->conference_id; if ("$typedoc_libelle"=="conference_proceeding") { $query = "SELECT * FROM document WHERE doc_id=$document->proceedings_id"; $presult = $bd->exec_query ($query); $proceedings = $bd->fetch_object ($presult); $confid=$proceedings->conference_id; } $query = "SELECT * FROM conference WHERE conference_id=$confid"; $cresult = $bd->exec_query ($query); $conference = $bd->fetch_object ($cresult); // $str .= "" . stripSlashes($conference->conference_title) . ""; $str .= anchor("$rootdir/search.php?search=conf&id=$confid", "" . stripSlashes($conference->conference_title) . ""); $str .= ", " . stripSlashes($conference->conference_city); $query = "SELECT * FROM country WHERE iso='$conference->conference_country_code'"; $cresult = $bd->exec_query ($query); $country = $bd->fetch_object ($cresult); $str .= ", " . $country->printable_name; $str .= "."; $str .= ""; $lines .= "" . $str . "\n"; } if ("$typedoc_libelle"=="conference_proceeding") { $str = ""; $query = "SELECT * FROM document WHERE doc_id=$document->proceedings_id"; $presult = $bd->exec_query ($query); $proceedings = $bd->fetch_object ($presult); $str .= "In: "; $query = "SELECT pers_id FROM participer" . " WHERE doc_id='$document->proceedings_id'" . " AND fonction_id = '2' " . " ORDER BY rang"; $aresult = $bd->exec_query ($query); if (mysql_num_rows($aresult)>0) { while ($ob = $bd->fetch_object ($aresult) ) { $query = "SELECT * FROM personne" . " WHERE pers_id='$ob->pers_id'"; $a = $bd->exec_query ($query); $auth=$bd->fetch_object($a); $author="$auth->pers_first" . " " . my_strtoUpper($auth->pers_last); $name=anchor("$rootdir/search.php?search=personne&id=$ob->pers_id", $author) . " (Ed.), "; $str .= $name; } } // $str .= "" . stripSlashes($proceedings->title) . ""; $str .= anchor("$rootdir/search.php?search=proc&id=$document->proceedings_id", "" . stripSlashes($proceedings->title) . ""); $query = "SELECT publisher.* FROM publisher, document WHERE publisher.publisher_id=document.publisher_id AND document.doc_id=$document->proceedings_id"; $presult = $bd->exec_query ($query); $publisher = $bd->fetch_object ($presult); $str .= ", " . $publisher->publisher_name . ", " . $publisher->publisher_address; $pages_start=$document->pages_start; $pages_end=$document->pages_end; $pages_eid=$document->pages_eid; $pages_num=$document->pages_num; if ( "$pages_eid"!="") { $str .= ", $pages_eid"; if ( "$pages_num"!="") $str .= " ($pages_num pages)"; } else if ( "$pages_start"!="") { $str .= ", $pages_start"; if ( ( "$pages_end"!="") && ( "$pages_end"!="$pages_start") ) $str .= "–$pages_end"; } $str .= "."; // doi $doi=stripSlashes($document->doi); if ( "$doi"!="") { $str .= " " . anchor_icon("http://dx.doi.org/$doi", "doi:$doi", "doi.ico"); } // HAL $hal=stripSlashes($document->hal); if ( "$hal"!="") { $str .= " " . anchor_ext_icon("http://hal.archives-ouvertes.fr/$hal", "hal.ico"); } $googlescholar=google_search($bd, $document->doc_id); $str .= " " . anchor_ext_icon("$googlescholar", "google.ico"); $str .= ""; $lines .= "" . $str . "\n"; } $note=stripSlashes($document->note); if ( "$note"!="") { $str="" . $note . ""; $lines .= "" . $str . "\n"; } return $lines; } function document_singleselection($docid, $bd) { $query="SELECT * FROM document WHERE doc_id = $docid"; $res=$bd->exec_query($query); $document=$bd->fetch_object($res); $result = $bd->exec_query("SELECT typedoc_libelle FROM typedoc WHERE typedoc_id='$document->typedoc_id' "); $ob=$bd->fetch_object($result); $typedoc_libelle=$ob->typedoc_libelle; $i++; global $rootdir; $lines=""; $str=""; $open=""; $close=""; $ref="$i"; $str .= "doc_id . "\" checked >"; $str .= "" ; // author list $query = "SELECT pers_id FROM participer" . " WHERE doc_id='$document->doc_id'" . " AND fonction_id = '1' " . " ORDER BY rang"; $aresult = $bd->exec_query ($query); $space=""; while ($ob = $bd->fetch_object ($aresult) ) { $query = "SELECT * FROM personne" . " WHERE pers_id='$ob->pers_id'"; $a = $bd->exec_query ($query); $auth=$bd->fetch_object($a); $author=stripSlashes($auth->pers_first) . " " . my_strtoUpper(stripSlashes($auth->pers_last)); $name=anchor("$rootdir/search.php?search=personne&id=$ob->pers_id", $author); $str .= $space; $str .= $name; $space = ", "; } if ("$typedoc_libelle"=="these") { // advisor list $query = "SELECT pers_id FROM participer" . " WHERE doc_id='$document->doc_id'" . " AND fonction_id = '3' " . " ORDER BY rang"; $aresult = $bd->exec_query ($query); $space=""; if (mysql_num_rows($aresult)>0) { $str .= " (dir.: "; while ($ob = $bd->fetch_object ($aresult) ) { $query = "SELECT * FROM personne" . " WHERE pers_id='$ob->pers_id'"; $a = $bd->exec_query ($query); $auth=$bd->fetch_object($a); $author="$auth->pers_first" . " " . my_strtoUpper($auth->pers_last); $name=anchor("$rootdir/search.php?search=personne&id=$ob->pers_id", $author); $str .= $space; $str .= $name; $space = ", "; } $str .= ")"; } } if ("$typedoc_libelle"=="proceedings_book") { $query = "SELECT pers_id FROM participer" . " WHERE doc_id='$document->doc_id'" . " AND fonction_id = '2' " . " ORDER BY rang"; $aresult = $bd->exec_query ($query); $space=""; if (mysql_num_rows($aresult)>0) { while ($ob = $bd->fetch_object ($aresult) ) { $query = "SELECT * FROM personne" . " WHERE pers_id='$ob->pers_id'"; $a = $bd->exec_query ($query); $auth=$bd->fetch_object($a); $author="$auth->pers_first" . " " . my_strtoUpper($auth->pers_last); $name=anchor("$rootdir/search.php?search=personne&id=$ob->pers_id", $author) . " (ed.)"; $str .= $space; $str .= $name; $space = ", "; } } } $str .= " ($document->year)."; $str .= ""; // if (check_status($bd)>-1) { $halsearch=hal_search($bd, $docid); $str .= " [" . anchor_icon("$halsearch", "? HAL", "search.png") . "]" ; } $str .= ""; $lines .= "" . $str . "\n"; $str=""; $str .= "" ; $str .= stripSlashes($document->title); $str .= ""; $lines .= "" . $str . "\n"; if ("$typedoc_libelle"=="article") { $str=""; $str .= "" ; $query = "SELECT * FROM journal WHERE journal_id=$document->journal_id"; $jresult = $bd->exec_query ($query); $journal = $bd->fetch_object ($jresult); // $str .= "$journal->journal_name "; $journalname=anchor("$rootdir/search.php?search=journal&id=$document->journal_id", "$journal->journal_name"); $str .= $journalname . " "; $str .= "" . stripSlashes($document->volume) . ""; $pages_start=$document->pages_start; $pages_end=$document->pages_end; $pages_eid=$document->pages_eid; $pages_num=$document->pages_num; if ( "$pages_eid"!="") { $str .= ", $pages_eid"; if ( "$pages_num"!="") $str .= " ($pages_num pages)"; } else if ( "$pages_start"!="") { $str .= ", $pages_start"; if ( "$pages_end"!="") $str .= "–$pages_end"; } $str .= "."; // doi $doi=stripSlashes($document->doi); if ( "$doi"!="") { $str .= " " . anchor_icon("http://dx.doi.org/$doi", "doi:$doi", "doi.ico"); } // HAL $hal=stripSlashes($document->hal); if ( "$hal"!="") { $str .= " " . anchor_ext_icon("http://hal.archives-ouvertes.fr/$hal", "hal.ico"); } $str .= ""; $lines .= "" . $str . "\n"; } if ("$typedoc_libelle"=="these") { $str = "" ; $query = "SELECT * FROM institution WHERE institution_id=$document->institution_id"; $iresult = $bd->exec_query ($query); $institution = $bd->fetch_object ($iresult); if ("$document->soustypedoc_id"=="61") $key="Habilitation"; else $key="Thèse"; $str .= "$key $institution->institution_name"; $str .= ""; $lines .= "" . $str . "\n"; } if ("$typedoc_libelle"=="proceedings_book") { $str = "" . $open ; $query = "SELECT * FROM conference WHERE conference_id=$document->conference_id"; $cresult = $bd->exec_query ($query); $conference = $bd->fetch_object ($cresult); $str .= "Proceedings of " . stripSlashes($conference->conference_title) . ""; $str .= ", held in ". stripSlashes($conference->conference_city); $query = "SELECT * FROM country WHERE iso='$conference->conference_country_code'"; $cresult = $bd->exec_query ($query); $country = $bd->fetch_object ($cresult); $str .= ", " . $country->printable_name; $str .= $close . ""; $lines .= "" . $str . "\n"; $str = "" . $open ; $query = "SELECT * FROM publisher WHERE publisher_id=$document->publisher_id"; $presult = $bd->exec_query ($query); $publisher = $bd->fetch_object ($presult); $str .= $publisher->publisher_name . ", " . $publisher->publisher_address . "." ; $str .= $close . ""; $lines .= "" . $str . "\n"; } if ( ("$typedoc_libelle"=="conference_abstract") || ("$typedoc_libelle"=="conference_proceeding") ) { $str = "" . $open ; if ("$typedoc_libelle"=="conference_abstract") $confid=$document->conference_id; if ("$typedoc_libelle"=="conference_proceeding") { $query = "SELECT * FROM document WHERE doc_id=$document->proceedings_id"; $presult = $bd->exec_query ($query); $proceedings = $bd->fetch_object ($presult); $confid=$proceedings->conference_id; } $query = "SELECT * FROM conference WHERE conference_id=$confid"; $cresult = $bd->exec_query ($query); $conference = $bd->fetch_object ($cresult); //$str .= "" . stripSlashes($conference->conference_title) . ""; $str .= anchor("$rootdir/search.php?search=conf&id=$confid", "" . stripSlashes($conference->conference_title) . ""); $str .= ", " . stripSlashes($conference->conference_city); $query = "SELECT * FROM country WHERE iso='$conference->conference_country_code'"; $cresult = $bd->exec_query ($query); $country = $bd->fetch_object ($cresult); $str .= ", " . $country->printable_name; $str .= "."; $str .= $close . ""; $lines .= "" . $str . "\n"; } if ("$typedoc_libelle"=="conference_proceeding") { $str = "" . $open ; $query = "SELECT * FROM document WHERE doc_id=$document->proceedings_id"; $presult = $bd->exec_query ($query); $proceedings = $bd->fetch_object ($presult); $str .= "In: "; $query = "SELECT pers_id FROM participer" . " WHERE doc_id='$document->proceedings_id'" . " AND fonction_id = '2' " . " ORDER BY rang"; $aresult = $bd->exec_query ($query); if (mysql_num_rows($aresult)>0) { while ($ob = $bd->fetch_object ($aresult) ) { $query = "SELECT * FROM personne" . " WHERE pers_id='$ob->pers_id'"; $a = $bd->exec_query ($query); $auth=$bd->fetch_object($a); $author="$auth->pers_first" . " " . my_strtoUpper($auth->pers_last); $name=anchor("$rootdir/search.php?search=personne&id=$ob->pers_id", $author) . " (Ed.), "; $str .= $name; } } //$str .= "" . stripSlashes($proceedings->title) . ""; $str .= anchor("$rootdir/search.php?search=proc&id=$document->proceedings_id", "" . stripSlashes($proceedings->title) . ""); $query = "SELECT publisher.* FROM publisher, document WHERE publisher.publisher_id=document.publisher_id AND document.doc_id=$document->proceedings_id"; $presult = $bd->exec_query ($query); $publisher = $bd->fetch_object ($presult); $str .= ", " . $publisher->publisher_name . ", " . $publisher->publisher_address; $pages_start=$document->pages_start; $pages_end=$document->pages_end; $pages_eid=$document->pages_eid; $pages_num=$document->pages_num; if ( "$pages_eid"!="") { $str .= ", $pages_eid"; if ( "$pages_num"!="") $str .= " ($pages_num pages)"; } else if ( "$pages_start"!="") { $str .= ", $pages_start"; if ( ( "$pages_end"!="") && ( "$pages_end"!="$pages_start") ) $str .= "–$pages_end"; } $str .= "."; // doi $doi=stripSlashes($document->doi); if ( "$doi"!="") { $str .= " " . anchor_ext("http://dx.doi.org/$doi", "doi:$doi"); // $str .= " " . anchor_icon("http://dx.doi.org/$doi", "doi:$doi", "icon_pdf.gif"); } // HAL $hal=stripSlashes($document->hal); if ( "$hal"!="") { $str .= " " . anchor_ext_icon("http://hal.archives-ouvertes.fr/$hal", "hal.ico"); } $str .= $close . ""; $lines .= "" . $str . "\n"; } $note=stripSlashes($document->note); if ( "$note"!="") { $str="" . $note . ""; $lines .= "" . $str . "\n"; } return $lines; } function google_search($bd, $doc_id) { $query="select * from document where doc_id='$doc_id'"; $result=$bd->exec_query($query); $document=$bd->fetch_object($result); $searchurl = "?hl=fr&lr="; //$searchurl .= "&q=intitle%3A%22" . urlencode(remove_accents(stripslashes($document->title))) . "%22" ; // $searchurl .= "&q=intitle%3A%22" . urlencode(stripslashes($document->title)) . "%22" ; $searchurl .= "&q=intitle%3A%22" . urlencode(utf8_encode(stripslashes($document->title))) . "%22" ; //$searchauthors="&as_authors="; //$sa=""; // author list $query = "SELECT pers_id FROM participer" . " WHERE doc_id='$doc_id'" . " AND fonction_id = '1' " . " ORDER BY rang"; $aresult = $bd->exec_query ($query); while ($ob = $bd->fetch_object ($aresult) ) { $query = "SELECT * FROM personne" . " WHERE pers_id='$ob->pers_id'"; $a = $bd->exec_query ($query); $auth=$bd->fetch_object($a); // $author=ascii2tex(stripSlashes($auth->pers_first)) . " {" . ascii2tex(stripSlashes($auth->pers_last)) . "}"; $searchurl .= "+AND+author%3A%22" . urlencode(remove_accents(stripSlashes($auth->pers_last))) . "%22"; //$searchauthors .= "$sa" . urlencode(remove_accents(stripSlashes($auth->pers_last))); //$sa=" "; } //$searchurl .= $searchauthors; $searchurl .= "&as_ylo=" . $document->year; $searchurl .= "&as_yhi=" . $document->year; $searchurl .= "&btnG=Rechercher&lr="; return "http://scholar.google.fr/scholar" . $searchurl; } function hal_search($bd, $doc_id) { $query="select * from document where doc_id='$doc_id'"; $result=$bd->exec_query($query); $document=$bd->fetch_object($result); $searchurl = "?action_todo=search&s_type=advanced&submit=1&search_without_file=YES"; $n=0; $searchurl .= "&p_$n=contained&f_$n=TITLE&l_$n=and&v_$n=" . urlencode(stripSlashes($document->title)); $n++; // author list $query = "SELECT pers_id FROM participer" . " WHERE doc_id='$doc_id'" . " AND fonction_id = '1' " . " ORDER BY rang"; $aresult = $bd->exec_query ($query); while ($ob = $bd->fetch_object ($aresult) ) { $query = "SELECT * FROM personne" . " WHERE pers_id='$ob->pers_id'"; $a = $bd->exec_query ($query); $auth=$bd->fetch_object($a); $searchurl .= "&p_$n=is_exactly&f_$n=NMAUTHOR&l_$n=and&v_$n=" . urlencode(stripSlashes($auth->pers_last)); $n++; } $searchurl .= "&p_$n=is_exactly&f_$n=YEAR&l_$n=and&v_$n=" . $document->year; return "http://hal.archives-ouvertes.fr/index.php" . $searchurl; } ?> phpubli-1.0/phpubli/export.php0000664000175000017500000000631111260607037016041 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir="."; $localdir="."; $filename="export.php"; require_once ("$rootdir/include.php"); $bd = new MySQL(UNAME, UPASSWORD, BASE, SERVER); $exportfilename="publilmfa_list"; if ( isset($_GET['format']) && ($_GET['format']=="bibtex") ) { $exportfilename.=".bib"; header("Content-Disposition: inline; filename=$exportfilename"); header("Content-Type: text/plain; charset=iso-8859-1"); $no_items=count($_SESSION["selection_array"]); if ($no_items>0) { foreach ($_SESSION["selection_array"] as $key => $docid ) { export_document_bibtex($docid, $bd); } } } else if ( isset($_GET['format']) && ($_GET['format']=="xml") ) { $exportfilename.=".xml"; header("Content-Disposition: inline; filename=$exportfilename"); header("Content-Type: text/plain; charset=iso-8859-1"); echo "\n"; // echo "\n"; echo "\n\n"; $no_items=count($_SESSION["selection_array"]); if ($no_items>0) { foreach ($_SESSION["selection_array"] as $key => $docid ) { export_document_xml($docid, $bd); } } echo "\n"; } else if ( isset($_GET['format']) && ($_GET['format']=="xmlhal") ) { $exportfilename="HAL.xml"; header("Content-Disposition: inline; filename=$exportfilename"); header("Content-Type: text/plain; charset=iso-8859-1"); echo "\n"; echo "\n"; echo "\n"; $no_items=count($_SESSION["selection_array"]); if ($no_items>0) { foreach ($_SESSION["selection_array"] as $key => $docid ) { $lines=export_document_xmlhal($docid, $bd); echo $lines; } } echo "\n"; } else if ( isset($_GET['format']) && ($_GET['format']=="RIS") ) { $exportfilename.=".ris"; header("Content-Disposition: inline; filename=$exportfilename"); header("Content-Type: text/plain; charset=iso-8859-1"); $no_items=count($_SESSION["selection_array"]); if ($no_items>0) { foreach ($_SESSION["selection_array"] as $key => $docid ) { export_document_RIS($docid, $bd); } } } else { // echo "unrecognized format"; header("Location: selection.php"); exit; } ?> phpubli-1.0/phpubli/include.php0000664000175000017500000000321411260607037016142 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $includedir="$rootdir"; $imagesdir="$rootdir/images"; // parametres de connexion require_once("$includedir/connexion_param.php"); // functions d'authentification require_once("$includedir/auth.php"); // parametres du site require_once("$includedir/param_labo.php"); // modules et classes require_once("$includedir/mysql.class.php"); // quelques routines de base require_once("$includedir/html.php"); require_once("$includedir/php.php"); // les categories de routines php require_once("$includedir/functions.php"); require_once("$includedir/functions_local.php"); require_once("$includedir/functions_export.php"); require_once("$includedir/functions_layout.php"); require_once("$includedir/functions_phpubli.php"); ?> phpubli-1.0/phpubli/selection.php0000664000175000017500000000651311260607037016511 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ $rootdir="."; $localdir="."; $filename="selection.php"; require_once ("$rootdir/include.php"); if (isset($_POST['clearselection'])) { //$_SESSION=array("selection_array"=>array()); $_SESSION["selection_array"]=array(); header("Location: index.php" ); exit; } if (isset($_POST['addtoselection'])) { foreach ($_POST as $key=>$val) { if ("$val"=="docid_sel") $_SESSION["selection_array"][]=$key; } } if (isset($_POST['addalltoselection'])) { foreach ($_POST as $key=>$val) { if ("$val"=="docid_selall") { $docid=substr($key, 1); $_SESSION["selection_array"][]=$docid; } } } if (isset($_POST['updateselection'])) { $_SESSION["selection_array"]=array(); foreach ($_POST as $key=>$val) { if ("$val"=="docid_sel") $_SESSION["selection_array"][]=$key; } } ?> Publications du LMFA

Documents sélectionnés

0) { echo "

Current selection: $no_items items

\n"; $lines=""; foreach ($_SESSION["selection_array"] as $key => $docid ) { $lines .= document_singleselection($docid, $bd); } echo "
\n"; echo "" . $lines . "
\n"; echo "\n"; echo "\n"; echo "
\n"; echo "
"; echo "Export list as:\n"; echo "bibtex\n"; echo ", "; echo "RIS\n"; echo ", "; echo "XML (générique)\n"; echo ", "; echo "XML (compatible HAL)\n"; echo "
\n"; } warning(); ?>
phpubli-1.0/phpubli/functions_layout.php0000664000175000017500000000600311260607037020123 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ function doctype() { global $PHPUBLI_VERSION; print("\n"); } function metadata() { print("\n"); } function csslink() { global $rootdir; global $imagesdir; print("\n"); print("\n"); } function preamble() { doctype(); phpubli_copy(); contact(); } function head() { titlebanner(); navigationbar(); } function footer() { global $rootdir; print("\n"); address(); legal(); print("\n"); } function lhsmenu($item) { global $rootdir; print("\n"); print("
\n"); print("
    \n"); print("
  • Publications
  • \n"); print("
  •  
  • \n"); print("
  • Chercher
  • \n"); $selecteditems=count($_SESSION["selection_array"]); if ($selecteditems>0) { print("
  •  
  • \n"); print("
  • Sélection: $selecteditems documents
  • \n"); } print("
  •  
  • \n"); print("
  • Listes par année :
  • \n"); for ($year=date("Y"); $year>1999; $year--) { print("
  • $year
  • \n"); } print("
  •  
  • \n"); print("
  • FAQ
  • \n"); print("
  •  
  • \n"); print("
  • Intranet
  • \n"); print("
\n"); print("
\n"); print("\n"); } ?> phpubli-1.0/phpubli/auth.php0000664000175000017500000001112011260607037015453 0ustar benoitbenoit * * This file is part of PHPUBLI-1.0 * * PHPUBLI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . *****************************************************************************/ // **************************************************************** // authentification functions function current_user($bd) { $current_user=""; if ( isset($_SESSION['id']) && (!empty($_SESSION['id'])) && isset($_SESSION['login']) && isset($_SESSION['status']) && isset($_SESSION['group']) && isset($_SESSION['site']) && ($_SESSION['site']=="phpubli") ) { $query="select * from user where `u_id`=" . $_SESSION['id']; // print "$query
"; $result=$bd->exec_query($query); if (mysql_num_rows($result)==1) { $ob=$bd->fetch_object($result); if ( ($_SESSION['login']=="$ob->u_login") && ($_SESSION['status']=="$ob->u_status") && ($_SESSION['group']=="$ob->u_groupid") ) $current_user= $ob->u_first . " " . $ob->u_name; } } return $current_user; } function current_group($bd) { $current_group=""; if ( isset($_SESSION['group']) ) $current_group=$_SESSION['group']; return $current_group; } function check_user($login, $password, $bd) { $response=""; $query="select * from user where `u_login`='$login' and `u_password`=md5('$password')"; // print "$query
\n"; $result=$bd->exec_query($query); if (mysql_num_rows($result)==1) { $ob=$bd->fetch_object($result); $_SESSION['id']=$ob->u_id; $response=$ob->u_login; } return $response; } function check_login($bd) { $currentuser=current_user($bd); global $rootdir; if (empty($currentuser)) { header("Location: $rootdir/intranet/"); } else if ( (maintenance($bd)>0) && ($_SESSION['status']!=2) ) { if(isset($_SESSION['id'])) unset ($_SESSION['id']); if(isset($_SESSION['login'])) unset ($_SESSION['login']); if(isset($_SESSION['status'])) unset ($_SESSION['status']); if(isset($_SESSION['group'])) unset ($_SESSION['group']); if(isset($_SESSION['site'])) unset ($_SESSION['site']); header("Location: $rootdir/intranet/login.php?mode=maintenance"); } else { return $_SESSION['status']; } } function check_status($bd) { $currentuser=current_user($bd); if (empty($currentuser)) { $status=-1; } else { $status=$_SESSION['status']; } return $status; } function check_admin_priv($bd) { $currentuser=current_user($bd); if (empty($currentuser)) { $priv=0; } else { $status=$_SESSION['status']; if ($status>0) $priv=1; else $priv=0; } return $priv; } function check_admin_login($bd) { $currentuser=current_user($bd); global $rootdir; if (empty($currentuser)) { header("Location: $rootdir/intranet/"); } else if ($_SESSION['status']<1) { if(isset($_SESSION['id'])) unset ($_SESSION['id']); if(isset($_SESSION['login'])) unset ($_SESSION['login']); if(isset($_SESSION['status'])) unset ($_SESSION['status']); if(isset($_SESSION['group'])) unset ($_SESSION['group']); if(isset($_SESSION['site'])) unset ($_SESSION['site']); header("Location: $rootdir/intranet/login.php"); } else { return $_SESSION['status']; } } function check_root_priv($bd) { $currentuser=current_user($bd); if (empty($currentuser)) { $priv=0; } else { $status=$_SESSION['status']; if ($status>1) $priv=1; else $priv=0; } return $priv; } function check_root_login($bd) { $currentuser=current_user($bd); global $rootdir; if (empty($currentuser)) { header("Location: $rootdir/intranet/"); } else if ($_SESSION['status']!=2) { if(isset($_SESSION['id'])) unset ($_SESSION['id']); if(isset($_SESSION['login'])) unset ($_SESSION['login']); if(isset($_SESSION['status'])) unset ($_SESSION['status']); if(isset($_SESSION['group'])) unset ($_SESSION['group']); if(isset($_SESSION['site'])) unset ($_SESSION['site']); header("Location: $rootdir/intranet/login.php"); } else { return $_SESSION['status']; } } ?> phpubli-1.0/COPYING0000664000175000017500000010451311260607037013402 0ustar benoitbenoit GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . phpubli-1.0/INSTALL0000664000175000017500000001624611260607037013405 0ustar benoitbenoitInstallation de PHPUBLI --- Serveur php/mysql pour gérer, chercher, mettre en ligne et formater les notices bibliographiques de documents scientifiques -------------------------------------------------------------------------------- Prérequis ========= Un serveur web avec PHP et un serveur MYSQL. Le système a été mis au point avec php-5.2.5, mysql-5.0.5 et httpd-2.2.6, mais devrait fonctionner avec une large gamme de versions puisqu'au aucune fonctionnalité spéciale n'est utilisée. Étapes pour l'installation ========================== L'installation est très simple, il suffit de configurer quelques variables, de créer et d'initialiser la base de données et d'installer les scripts PHP. Cela peut se faire de manière complètement manuelle ou semi-automatique (interface web). =========================== I. INSTALLATION MANUELLE =========================== Créer et initialiser la base de données ======================================= Le fichier "phpubli_create.sql" crée la base de données phpubli (vide), l'exécuter en se connectant au serveur mysql en tant qu'administrateur. Le fichier "phpubli_load.sql" crée toutes les tables nécessaires et charge quelques données initiales. Configurations recommandées avant d'exécuter les fichiers phpubli_{create,load}.sql: * phpubli_create.sql ligne 7: modifier "phpubli_login" et "phpubli_password" * phpubli_load.sql lignes 478-482: adapter les noms des équipes de recherche * phpubli_load.sql lignes 1161-3: par défaut, trois utilisateurs sont créés : - root : superadministrateur (password=phpubli) - admin1 : administrateur de l'équipe de recherche 1 (password=phpubli_admin1) - user1 : un utilisateur de l'équipe de recherche 1 (password=phpubli_user1) Les mots de passe sont enregistrés dans la base par leur valeur md5. Il est *vivement* recommandé de modifier les mots de passe par défaut (et d'ajuster les champs 'u_mail'...). Configurations avant d'installer les scripts PHP ================================================ Il est recommandé de faire ces modifications avant d'installer les scripts sur le serveur. * phpubli/connexion_param.php: renseigner correctement les paramètres de connexion à la base mysql. * phpubli/param_labo.php: renseigner les informations sur le laboratoire qui héberge le site. * phpubli/functions_local.php: fonctions titlebanner() et navigationbar() - remplacer par les éléments tels qu'ils apparaissent sur d'autres pages web du laboratoire (ou laisser vide). fonction warning() - modifier (ou supprimer) le message qui s'affiche sur la plupart des pages. * lmfa_publi.css: définition du style de mise en page. Installer les scripts PHP ========================= Avant d'installer les scripts il est recommandé d'avoir fait les configurations expliquées dans la section précédente. Tous les scripts php sont dans le répertoire phpubli/. C'est ce répertoire qu'il faut copier dans son ensemble vers le serveur qui hébergera le site. Par exemple, si l'url http://www.monlabo.org/index.php correspond au fichier /usr/local/www/public_html/index.php, il suffit de déplacer le répertoire phpubli vers /usr/local/www/public_html/phpubli. Alors, l'url http://www.monlabo.org/phpubli/index.php pointera sur la page d'accueil de la production scientifique. Après l'installation des scripts il est recommandé d'effacer le répertoire install/ et les fichiers connexion_para.default.php et param_labo.default.php. =================================== II. INSTALLATION SEMI-AUTOMATIQUE =================================== Cette procédure utilise une interface web, il faut donc commencer par installer les scripts PHP sur le serveur. Installer les scripts PHP ========================= Tous les scripts php sont dans le répertoire phpubli/. C'est ce répertoire qu'il faut copier dans son ensemble vers le serveur qui hébergera le site. Par exemple, si l'url http://www.monlabo.org/index.php correspond au fichier /usr/local/www/public_html/index.php, il suffit de déplacer le répertoire phpubli vers /usr/local/www/public_html/phpubli. Alors, l'url http://www.monlabo.org/phpubli/index.php pointera sur la page d'accueil de la production scientifique. Initialisation et configuration de la base de données ===================================================== Pointer un browser vers http://www.monlabo.org/phpubli/install/index.php et suivre les étapes de l'installation. [Pour créer la base de données (vide) on peut utiliser le fichier "phpubli_create.sql". Il est recommandé de modifier les valeurs par défaut (phpubli_login, phpubli_password, ...) avant de l'exécuter en se connectant au serveur mysql en tant qu'administrateur.] À la fin, effacer le répertoire install/, les fichiers connexion_para.default.php et param_labo.default.php et protéger en écriture le fichier connexion_param.php, param_labo.php. Derniers règlages à faire éventuellement à la main ================================================== * phpubli/functions_local.php: fonctions titlebanner() et navigationbar() - remplacer par les éléments tels qu'ils apparaissent sur d'autres pages web du laboratoire (ou laisser vide). fonction warning() - modifier (ou supprimer) le message qui s'affiche sur la plupart des pages. * lmfa_publi.css: définition du style de mise en page. Arborescence du site ==================== L'interrogation de la base se fait avec les scripts dans phpubli/ La modification du contenu de la base se fait dans phpubli/intranet/ L'administration de la base se fait dans phpubli/intranet/admin Contenu de phpubli/ include.php définition de constantes et inclusion de tous les fichiers auxiliaires connexion_param.php paramètres de connexion à la base de données auth.php routines pour authentification des utilisateurs connectés param_labo.php défintion de variables contenant des informations sur le labo html.php routines élémentaires produisant du code html php.php routines php bas niveau mysql.class.php définition de la classe mysql functions.php routines php de manipulations/affichage des recherches dans la base functions_export.php export des données dans différents formats (bibtex, xml...) functions_layout.php mise en page du html functions_local.php routines à modifier localement (adresse, mentions...) functions_phpubli.php routines d'identification du logiciel index.php page d'accueil search.php formulaire de recherche dans la base selection.php affichage des documents sélectionnées (pour export) export.php export de la sélection sous différents formats faq.php foire aux questions phpubli/intranet/ espace intranet, réservé aux opérations (modifications, ajouts...) sur le contenu de la base. include.php functions.php functions_document.php functions_personne.php functions_journal.php functions_conference.php functions_proceedings.php functions_publisher.php index.php menu d'accueil - liste des opérations possibles login.php logout.php document.php personne.php journal.php institution.php publisher.php conference.php last_document.php phpubli/intranet/admin espace réservé aux administrateurs de la base index.php functions.php history_document.php history_journal.php history_pers.php history_login.php mail.php phpubli/intranet/superadmin index.php readonly.php charentities.php personne_minuscules.php users.php functions_users.php