Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Rev 54 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 54 Rev 57
Line 1... Line 1...
1
<?php
1
<?php
2
/*vim: set expandtab tabstop=4 shiftwidth=4: */ 
2
/*vim: set expandtab tabstop=4 shiftwidth=4: */ 
3
// +------------------------------------------------------------------------------------------------------+
3
// +------------------------------------------------------------------------------------------------------+
4
// | PHP version 5.0                                                                                     |
4
// | PHP version 5.0.3                                                                                     |
5
// +------------------------------------------------------------------------------------------------------+
5
// +------------------------------------------------------------------------------------------------------+
6
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org)                                         |
6
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org)                                         |
7
// +------------------------------------------------------------------------------------------------------+
7
// +------------------------------------------------------------------------------------------------------+
8
// | This file is part of eFlore-Serveur.                                                                 |
8
// | This file is part of eFlore-Serveur.                                                                 |
9
// |                                                                                                      |
9
// |                                                                                                      |
Line 34... Line 34...
34
//Auteur original :
34
//Auteur original :
35
*@author        Frédéric LEGENS <flegens@free.fr>
35
*@author        Frédéric LEGENS <flegens@free.fr>
36
//Autres auteurs :
36
//Autres auteurs :
37
*@author        Aucun
37
*@author        Aucun
38
*@copyright     Tela-Botanica 2000-2004
38
*@copyright     Tela-Botanica 2000-2004
39
*@version       $Revision: 1.4 $ $Date: 2004-12-23 15:22:15 $
39
*@version       $Revision: 1.5 $ $Date: 2004-12-23 15:44:57 $
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
41
*/
41
*/
Line 42... Line 42...
42
 
42
 
43
// +------------------------------------------------------------------------------------------------------+
43
// +------------------------------------------------------------------------------------------------------+
Line 51... Line 51...
51
// |                                            CORPS du PROGRAMME                                        |
51
// |                                            CORPS du PROGRAMME                                        |
52
// +------------------------------------------------------------------------------------------------------+
52
// +------------------------------------------------------------------------------------------------------+
Line 53... Line 53...
53
 
53
 
54
 
54
 
55
header('Content-type: text/xml');
55
header('Content-type: text/xml');
56
if(!empty($_REQUEST['listemacroelements'])) {
56
if (!empty($_REQUEST['listemacroelements'])) {
57
    $nom = EFSE_CHEMIN_GENERATEUR_RACINE.EFSE_CHEMIN_DEF_MACRO.$_REQUEST['listemacroelements'];
57
    $nom = EFSE_CHEMIN_GENERATEUR_RACINE.EFSE_CHEMIN_DEF_MACRO.$_REQUEST['listemacroelements'];
58
    $file = fopen($nom, 'r');
58
    $file = fopen($nom, 'r');
59
    $taille = fileSize($nom);
59
    $taille = fileSize($nom);
60
    $lecture = fread($file,$taille); 
60
    $lecture = fread($file,$taille); 
61
    fclose($file);
61
    fclose($file);
Line 62... Line 62...
62
    echo $lecture;
62
    echo $lecture;
63
}
63
}
64
 
64
 
65
if(!empty($_REQUEST['groupesmacroelements'])) {
65
if (!empty($_REQUEST['groupesmacroelements'])) {
66
    $nom = EFSE_CHEMIN_GENERATEUR_RACINE.EFSE_CHEMIN_DEF_MACRO_GROUPE.$_REQUEST['groupesmacroelements'];
66
    $nom = EFSE_CHEMIN_GENERATEUR_RACINE.EFSE_CHEMIN_DEF_MACRO_GROUPE.$_REQUEST['groupesmacroelements'];
67
    $file = fopen($nom, 'r');
67
    $file = fopen($nom, 'r');
68
    $taille = fileSize($nom);
68
    $taille = fileSize($nom);
69
    $lecture = fread($file,$taille); 
69
    $lecture = fread($file, $taille); 
Line 70... Line -...
70
    fclose($file);
-
 
71
    echo $lecture;
70
    fclose($file);
72
}
71
    echo $lecture;
73
 
72
}
Line 74... Line 73...
74
 
73
 
75
// +------------------------------------------------------------------------------------------------------+
74
// +------------------------------------------------------------------------------------------------------+
76
// |                                           LISTE de FONCTIONS                                         |
75
// |                                           LISTE de FONCTIONS                                         |
-
 
76
// +------------------------------------------------------------------------------------------------------+
-
 
77
 
-
 
78
 
77
// +------------------------------------------------------------------------------------------------------+
79
/* +--Fin du code ----------------------------------------------------------------------------------------+
78
 
80
*
79
 
81
* $Log: not supported by cvs2svn $
80
/* +--Fin du code ----------------------------------------------------------------------------------------+
82
* Revision 1.4  2004/12/23 15:22:15  jpm
81
*
83
* Modification du fichier de config appelé.