Subversion Repositories Applications.papyrus

Rev

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

Rev 251 Rev 367
Line 19... Line 19...
19
// |                                                                                                      |
19
// |                                                                                                      |
20
// | You should have received a copy of the GNU General Public License                                    |
20
// | You should have received a copy of the GNU General Public License                                    |
21
// | along with Foobar; if not, write to the Free Software                                                |
21
// | along with Foobar; if not, write to the Free Software                                                |
22
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
22
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
23
// +------------------------------------------------------------------------------------------------------+
23
// +------------------------------------------------------------------------------------------------------+
24
// CVS : $Id: adme_general.fonct.php,v 1.8 2005-01-26 16:18:05 jpm Exp $
24
// CVS : $Id: adme_general.fonct.php,v 1.9 2005-05-12 16:51:37 alex Exp $
25
/**
25
/**
26
* Contient l'affichage par défaut de l'appli quand aucune actin
26
* Contient l'affichage par défaut de l'appli quand aucune actin
27
*
27
*
28
* Ce fichier contient les fonctions d'affichage commune à toute l'application Admin Menu.
28
* Ce fichier contient les fonctions d'affichage commune à toute l'application Admin Menu.
29
* Nous y trouvons, entre autre, la fonction d'affichage par défaut de l'appli.
29
* Nous y trouvons, entre autre, la fonction d'affichage par défaut de l'appli.
Line 33... Line 33...
33
//Auteur original :
33
//Auteur original :
34
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
34
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
35
//Autres auteurs :
35
//Autres auteurs :
36
*@author        Aucun
36
*@author        Aucun
37
*@copyright     Tela-Botanica 2000-2004
37
*@copyright     Tela-Botanica 2000-2004
38
*@version       $Revision: 1.8 $ $Date: 2005-01-26 16:18:05 $
38
*@version       $Revision: 1.9 $ $Date: 2005-05-12 16:51:37 $
39
// +------------------------------------------------------------------------------------------------------+
39
// +------------------------------------------------------------------------------------------------------+
40
*/
40
*/
Line 41... Line 41...
41
 
41
 
42
// +------------------------------------------------------------------------------------------------------+
42
// +------------------------------------------------------------------------------------------------------+
Line 64... Line 64...
64
    $requete =  'SELECT gs_id_site, gs_code_alpha, gs_nom '.
64
    $requete =  'SELECT gs_id_site, gs_code_alpha, gs_nom '.
65
                'FROM gen_site, gen_site_relation '.
65
                'FROM gen_site, gen_site_relation '.
66
                'WHERE gsr_id_site_01 = gsr_id_site_02 '.
66
                'WHERE gsr_id_site_01 = gsr_id_site_02 '.
67
                'AND gsr_id_valeur = 102 '.// 102 = site "principal"
67
                'AND gsr_id_valeur = 102 '.// 102 = site "principal"
68
                'AND gsr_id_site_01 = gs_id_site '.
68
                'AND gsr_id_site_01 = gs_id_site '.
69
                'ORDER BY gsr_ordre ASC';
69
                'ORDER BY gsr_ordre DESC';
Line 70... Line 70...
70
    
70
    
71
    $resultat = $objet_pear_db->query($requete);
71
    $resultat = $objet_pear_db->query($requete);
Line 72... Line 72...
72
    (DB::isError($resultat)) ? die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete)) : '' ;
72
    (DB::isError($resultat)) ? die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete)) : '' ;
Line 155... Line 155...
155
 
155
 
156
 
156
 
157
/* +--Fin du code ----------------------------------------------------------------------------------------+
157
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
158
*
-
 
159
* $Log: not supported by cvs2svn $
-
 
160
* Revision 1.8  2005/01/26 16:18:05  jpm
158
*
161
* Correction bogue 221 : mauvais réglage du titre.
159
* $Log: not supported by cvs2svn $
162
*
160
* Revision 1.7  2004/11/24 11:31:51  jpm
163
* Revision 1.7  2004/11/24 11:31:51  jpm
161
* Ajout d'une contante de langue à la place d'un texte.
164
* Ajout d'une contante de langue à la place d'un texte.
162
*
165
*