Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

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

Rev 2 Rev 6
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.1 2004-06-17 13:11:29 linda Exp $
22
// CVS : $Id: eflore.php,v 1.2 2004-06-17 15:20:39 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.1 $ $Date: 2004-06-17 13:11:29 $
39
*@version       $Revision: 1.2 $ $Date: 2004-06-17 15:20:39 $
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*/                             
-
 
47
/** <br> Inclusion du fichier config de l'application eflore. */
-
 
48
require_once GEN_CHEMIN_CLIENT.'eflore/configuration/eflore_config.inc.php';
46
                                    /*Mettre ici les inclusions de fichiers*/                             
49
 
47
/** <br> Inclusion de la classe PEAR d'abstraction de base de donnée. */
50
/** <br> Inclusion de la classe PEAR d'abstraction de base de donnée. */
Line 48... Line 51...
48
require_once 'DB.php';
51
require_once 'DB.php';
49
 
52
 
Line 55... Line 58...
55
// +------------------------------------------------------------------------------------------------------+
58
// +------------------------------------------------------------------------------------------------------+
56
                                       /*Mettre ici le code du programme*/                                 
59
                                       /*Mettre ici le code du programme*/                                 
Line 57... Line 60...
57
 
60
 
58
function afficherContenuTete()
61
function afficherContenuTete()
59
{
62
{
60
    $sortie  = '<p><a href="#">Nomenclature</a><a href="photo.php">Illustration</a></p>';
63
    $sortie  = '<p><a href="#">Nomenclature </a><a href="papyrus.php?site=3&menu=39&onglet=photo">Illustration</a></p>';
61
    return $sortie;
64
    return $sortie;
Line 62... Line 65...
62
}
65
}
63
 
66
 
-
 
67
function afficherContenuCorps()
-
 
68
{
-
 
69
    $onglet  = $_GET['onglet'];
64
function afficherContenuCorps()
70
    if (!isset($onglet))
-
 
71
    {
-
 
72
    $sortie  = "";
-
 
73
    }
-
 
74
    elseif($onglet=='photo')
-
 
75
    {
-
 
76
        include_once GEN_CHEMIN_CLIENT.'eflore/eflore_photo.inc.php';
-
 
77
        $sortie=$res;
65
{
78
    }
66
    $sortie  = "";
79
    
Line 67... Line 80...
67
    return $sortie;
80
    return $sortie;
68
}
81
}