| 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.2 2004-06-17 15:20:39 linda Exp $
|
22 |
// CVS : $Id: eflore.php,v 1.3 2004-06-22 12:27:20 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.2 $ $Date: 2004-06-17 15:20:39 $
|
39 |
*@version $Revision: 1.3 $ $Date: 2004-06-22 12:27:20 $
|
| 40 |
// +------------------------------------------------------------------------------------------------------+
|
40 |
// +------------------------------------------------------------------------------------------------------+
|
| 41 |
*/
|
41 |
*/
|
| Line 42... |
Line 42... |
| 42 |
|
42 |
|
| 43 |
// +------------------------------------------------------------------------------------------------------+
|
43 |
// +------------------------------------------------------------------------------------------------------+
|
| Line 51... |
Line 51... |
| 51 |
require_once 'DB.php';
|
51 |
require_once 'DB.php';
|
| Line 52... |
Line 52... |
| 52 |
|
52 |
|
| 53 |
/** Inclusion de la bibliothèque PEAR de conception de formulaire.*/
|
53 |
/** Inclusion de la bibliothèque PEAR de conception de formulaire.*/
|
| Line -... |
Line 54... |
| - |
|
54 |
require_once 'HTML/QuickForm.php';
|
| - |
|
55 |
|
| - |
|
56 |
/** Definition de la variable globale db_eflore.*/
|
| 54 |
require_once 'HTML/QuickForm.php';
|
57 |
$GLOBALS['db_eflore']= DB::connect(EFLORE_DSN);
|
| 55 |
|
58 |
|
| 56 |
// +------------------------------------------------------------------------------------------------------+
|
59 |
// +------------------------------------------------------------------------------------------------------+
|
| 57 |
// | CORPS du PROGRAMME |
|
60 |
// | CORPS du PROGRAMME |
|
| Line 64... |
Line 67... |
| 64 |
return $sortie;
|
67 |
return $sortie;
|
| 65 |
}
|
68 |
}
|
| Line 66... |
Line 69... |
| 66 |
|
69 |
|
| 67 |
function afficherContenuCorps()
|
70 |
function afficherContenuCorps()
|
| 68 |
{
|
- |
|
| 69 |
$onglet = $_GET['onglet'];
|
71 |
{
|
| 70 |
if (!isset($onglet))
|
72 |
if (!isset($_GET['onglet']))
|
| 71 |
{
|
73 |
{
|
| 72 |
$sortie = "";
|
74 |
$sortie = "";
|
| 73 |
}
|
75 |
}
|
| 74 |
elseif($onglet=='photo')
|
76 |
elseif($_GET['onglet']=='photo')
|
| 75 |
{
|
77 |
{
|
| - |
|
78 |
include_once GEN_CHEMIN_CLIENT.'eflore/eflore_photo.inc.php';
|
| 76 |
include_once GEN_CHEMIN_CLIENT.'eflore/eflore_photo.inc.php';
|
79 |
$GLOBALS['db_eflore']->disconnect();
|
| 77 |
$sortie=$res;
|
80 |
$sortie=$res;
|
| Line 78... |
Line 81... |
| 78 |
}
|
81 |
}
|
| 79 |
|
82 |
|