Line 17... |
Line 17... |
17 |
// | |
|
17 |
// | |
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
22 |
// CVS : $Id: eflore.php,v 1.3 2004-06-22 12:27:20 linda Exp $
|
22 |
// CVS : $Id: eflore.php,v 1.4 2004-08-17 11:15:07 linda Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Application de consultation des données d'eFlore.
|
24 |
* Application de consultation des données d'eFlore.
|
25 |
*
|
25 |
*
|
26 |
* Moteur de recherche aboutissant à une page contenant la fiche d'un nom.
|
26 |
* Moteur de recherche aboutissant à une page contenant la fiche d'un nom.
|
27 |
* Plusieurs onglets sont alors disponiblent, chacun affichant des infos spécifiques
|
27 |
* Plusieurs onglets sont alors disponiblent, chacun affichant des infos spécifiques
|
Line 34... |
Line 34... |
34 |
//Auteur original :
|
34 |
//Auteur original :
|
35 |
*@author Linda ANGAMA <linda_angama@yahoo.fr>
|
35 |
*@author Linda ANGAMA <linda_angama@yahoo.fr>
|
36 |
//Autres auteurs :
|
36 |
//Autres auteurs :
|
37 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
37 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
38 |
*@copyright Tela-Botanica 2000-2004
|
38 |
*@copyright Tela-Botanica 2000-2004
|
39 |
*@version $Revision: 1.3 $ $Date: 2004-06-22 12:27:20 $
|
39 |
*@version $Revision: 1.4 $ $Date: 2004-08-17 11:15:07 $
|
40 |
// +------------------------------------------------------------------------------------------------------+
|
40 |
// +------------------------------------------------------------------------------------------------------+
|
41 |
*/
|
41 |
*/
|
Line 42... |
Line 42... |
42 |
|
42 |
|
43 |
// +------------------------------------------------------------------------------------------------------+
|
43 |
// +------------------------------------------------------------------------------------------------------+
|
44 |
// | ENTÊTE du PROGRAMME |
|
44 |
// | ENTÊTE du PROGRAMME |
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
46 |
/*Mettre ici les inclusions de fichiers*/
|
46 |
/*Mettre ici les inclusions de fichiers*/
|
47 |
/** <br> Inclusion du fichier config de l'application eflore. */
|
47 |
/** <br> Inclusion du fichier config de l'application eflore. */
|
Line -... |
Line 48... |
- |
|
48 |
require_once GEN_CHEMIN_CLIENT.'eflore/configuration/eflore_config.inc.php';
|
- |
|
49 |
|
- |
|
50 |
require_once GEN_CHEMIN_CLIENT.'eflore/langues/eflore_langue_'.EFLORE_LANGUE.'.inc.php';
|
48 |
require_once GEN_CHEMIN_CLIENT.'eflore/configuration/eflore_config.inc.php';
|
51 |
require_once GEN_CHEMIN_CLIENT.'eflore/bibliotheque/fonctions/eflore.fonct.php';
|
49 |
|
52 |
|
Line 50... |
Line 53... |
50 |
/** <br> Inclusion de la classe PEAR d'abstraction de base de donnée. */
|
53 |
/** <br> Inclusion de la classe PEAR d'abstraction de base de donnée. */
|
51 |
require_once 'DB.php';
|
54 |
require_once 'DB.php';
|
Line 73... |
Line 76... |
73 |
{
|
76 |
{
|
74 |
$sortie = "";
|
77 |
$sortie = "";
|
75 |
}
|
78 |
}
|
76 |
elseif($_GET['onglet']=='photo')
|
79 |
elseif($_GET['onglet']=='photo')
|
77 |
{
|
80 |
{
|
- |
|
81 |
if(!isset($_GET['soum']))
|
- |
|
82 |
{
|
- |
|
83 |
if (isset($_GET['modif'])){
|
- |
|
84 |
include_once GEN_CHEMIN_CLIENT.'eflore/eflore_modif.inc.php';
|
- |
|
85 |
$sortie=$res;
|
- |
|
86 |
}
|
- |
|
87 |
else{
|
78 |
include_once GEN_CHEMIN_CLIENT.'eflore/eflore_photo.inc.php';
|
88 |
include_once GEN_CHEMIN_CLIENT.'eflore/eflore_photo.inc.php';
|
- |
|
89 |
$sortie=$res;
|
- |
|
90 |
}
|
- |
|
91 |
}
|
- |
|
92 |
else
|
- |
|
93 |
{
|
- |
|
94 |
include_once GEN_CHEMIN_CLIENT.'eflore/eflore_soum.inc.php';
|
- |
|
95 |
$sortie=$res;
|
- |
|
96 |
}
|
- |
|
97 |
|
79 |
$GLOBALS['db_eflore']->disconnect();
|
98 |
$GLOBALS['db_eflore']->disconnect();
|
80 |
$sortie=$res;
|
99 |
$sortie=$res;
|
81 |
}
|
100 |
}
|
Line 82... |
Line 101... |
82 |
|
101 |
|