Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Rev 162 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 162 Rev 168
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 4.3                                                                                      |
4
// | PHP version 4.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-consultation.                                                            |
8
// | This file is part of eFlore-consultation.                                                            |
9
// |                                                                                                      |
9
// |                                                                                                      |
10
// | Foobar is free software; you can redistribute it and/or modify                                       |
10
// | Foobar is free software; you can redistribute it and/or modify                                       |
11
// | it under the terms of the GNU General Public License as published by                                 |
11
// | it under the terms of the GNU General Public License as published by                                 |
12
// | the Free Software Foundation; either version 2 of the License, or                                    |
12
// | the Free Software Foundation; either version 2 of the License, or                                    |
13
// | (at your option) any later version.                                                                  |
13
// | (at your option) any later version.                                                                  |
14
// |                                                                                                      |
14
// |                                                                                                      |
15
// | Foobar is distributed in the hope that it will be useful,                                            |
15
// | Foobar is distributed in the hope that it will be useful,                                            |
16
// | but WITHOUT ANY WARRANTY; without even the implied warranty of                                       |
16
// | but WITHOUT ANY WARRANTY; without even the implied warranty of                                       |
17
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                                        |
17
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                                        |
18
// | GNU General Public License for more details.                                                         |
18
// | GNU General Public License for more details.                                                         |
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: eflore_recherche_nomenclature.inc.php,v 1.9 2005-03-15 12:57:16 jpm Exp $
24
// CVS : $Id: eflore_recherche_nomenclature.inc.php,v 1.10 2005-05-19 07:40:06 jpm Exp $
25
/**
25
/**
26
* Affichage du moteur de recherche nomenclatural et de ses résultats.
26
* Affichage du moteur de recherche nomenclatural et de ses résultats.
27
*
27
*
28
* Ce script fournit le code html correspondant aux moteurs de recherche nomenclatural et ses résultats.
28
* Ce script fournit le code html correspondant aux moteurs de recherche nomenclatural et ses résultats.
29
*
29
*
30
*@package eFlore
30
*@package eFlore
31
//Auteur original :
31
//Auteur original :
32
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
32
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
33
//Autres auteurs :
33
//Autres auteurs :
34
*@author        Aucun
34
*@author        Aucun
35
*@copyright     Tela-Botanica 2000-2004
35
*@copyright     Tela-Botanica 2000-2004
36
*@version       $Revision: 1.9 $ $Date: 2005-03-15 12:57:16 $
36
*@version       $Revision: 1.10 $ $Date: 2005-05-19 07:40:06 $
37
// +------------------------------------------------------------------------------------------------------+
37
// +------------------------------------------------------------------------------------------------------+
38
*/
38
*/
39
 
39
 
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
41
// |                                            ENTÊTE du PROGRAMME                                       |
41
// |                                            ENTÊTE du PROGRAMME                                       |
42
// +------------------------------------------------------------------------------------------------------+
42
// +------------------------------------------------------------------------------------------------------+
43
 
43
 
44
function remplacerUrlFicheNom($arguments) {
44
function remplacerUrlFicheNom($arguments) {
45
    $GLOBALS['_EFLORE_']['url']->addQueryString(EFLORE_LG_URL_ACTION, EFLORE_LG_URL_ACTION_FICHE);
45
    $GLOBALS['_EFLORE_']['url']->addQueryString(EFLORE_LG_URL_ACTION, EFLORE_LG_URL_ACTION_FICHE);
46
    $GLOBALS['_EFLORE_']['url']->addQueryString(EFLORE_LG_URL_ONGLET, EFLORE_LG_URL_ONGLET_SYNTHESE);
46
    $GLOBALS['_EFLORE_']['url']->addQueryString(EFLORE_LG_URL_ONGLET, EFLORE_LG_URL_ONGLET_SYNTHESE);
47
    $GLOBALS['_EFLORE_']['url']->addQueryString(EFLORE_LG_URL_NN, $arguments[0]);
47
    $GLOBALS['_EFLORE_']['url']->addQueryString(EFLORE_LG_URL_NN, $arguments[0]);
48
    $GLOBALS['_EFLORE_']['url']->addQueryString(EFLORE_LG_URL_NVP, $arguments[1]);
48
    $GLOBALS['_EFLORE_']['url']->addQueryString(EFLORE_LG_URL_NVP, $arguments[1]);
49
    return $GLOBALS['_EFLORE_']['url']->getURL();
49
    return $GLOBALS['_EFLORE_']['url']->getURL();
50
}
50
}
51
 
51
 
52
// +------------------------------------------------------------------------------------------------------+
52
// +------------------------------------------------------------------------------------------------------+
53
// |                                            CORPS du PROGRAMME                                        |
53
// |                                            CORPS du PROGRAMME                                        |
54
// +------------------------------------------------------------------------------------------------------+
54
// +------------------------------------------------------------------------------------------------------+
55
$sortie .= '<h2>'.EFLORE_LG_RECH_NOM_TITRE.'</h2>';
55
$sortie .= '<h2>'.EFLORE_LG_RECH_NOM_TITRE.'</h2>';
56
 
56
 
57
// --------------------------------------------------------------------------------------------------------
57
// --------------------------------------------------------------------------------------------------------
58
// Création du formulaire
58
// Création du formulaire
59
// Ajout du paramêtre action à l'url courante.
59
// Ajout du paramêtre action à l'url courante.
60
$GLOBALS['_EFLORE_']['url']->addQueryString(EFLORE_LG_URL_ACTION, EFLORE_LG_URL_ACTION_RECH_NOM);
60
$GLOBALS['_EFLORE_']['url']->addQueryString(EFLORE_LG_URL_ACTION, EFLORE_LG_URL_ACTION_RECH_NOM);
61
// Notes : Quickform semble remplacer les & des &amp; à nouveau par des &amp; solution utiliser str_replace()...
61
// Notes : Quickform semble remplacer les & des &amp; à nouveau par des &amp; solution utiliser str_replace()...
62
$eflore_form = new HTML_QuickForm('eflore_form_nomenclature', 'post', str_replace('&amp;', '&', $GLOBALS['_EFLORE_']['url']->getUrl()));
62
$eflore_form = new HTML_QuickForm('eflore_form_nomenclature', 'post', str_replace('&amp;', '&', $GLOBALS['_EFLORE_']['url']->getUrl()));
63
$tab_index = EFLORE_RECH_NOM_FORM_TAB;
63
$tab_index = EFLORE_RECH_NOM_FORM_TAB;
64
$eflore_squelette =& $eflore_form->defaultRenderer();
64
$eflore_squelette =& $eflore_form->defaultRenderer();
65
$eflore_squelette->setFormTemplate("\n".'<form{attributes}>'."\n".'{content}'."\n".'</form>');
65
$eflore_squelette->setFormTemplate("\n".'<form{attributes}>'."\n".'{content}'."\n".'</form>');
66
$eflore_squelette->setElementTemplate( '<li>'."\n".
66
$eflore_squelette->setElementTemplate( '<li>'."\n".
67
                                '{label}'."\n".
67
                                '{label}'."\n".
68
                                '{element}'."\n".
68
                                '{element}'."\n".
69
                                '<!-- BEGIN required --><span class="symbole_obligatoire">'.EFLORE_LG_FORM_SYMBOLE_OBLIGATOIRE.'</span><!-- END required -->'."\n".
69
                                '<!-- BEGIN required --><span class="symbole_obligatoire">'.EFLORE_LG_FORM_SYMBOLE_OBLIGATOIRE.'</span><!-- END required -->'."\n".
70
                                '<!-- BEGIN error --><span class="erreur">{error}</span><!-- END error -->'."\n".
70
                                '<!-- BEGIN error --><span class="erreur">{error}</span><!-- END error -->'."\n".
71
                                '</li>'."\n");
71
                                '</li>'."\n");
72
$eflore_form->accept($eflore_squelette);
72
$eflore_form->accept($eflore_squelette);
73
$eflore_form->removeAttribute('name');
73
$eflore_form->removeAttribute('name');
74
 
74
 
75
$partie_menu_debut = '<fieldset>'."\n".'<legend>'.EFLORE_LG_RECH_NOM_FORM_TITRE.'</legend><ul>'."\n";
75
$partie_menu_debut = '<fieldset>'."\n".'<legend>'.EFLORE_LG_RECH_NOM_FORM_TITRE.'</legend><ul>'."\n";
76
$eflore_form->addElement('html', $partie_menu_debut);
76
$eflore_form->addElement('html', $partie_menu_debut);
77
 
77
 
78
$id = 'eflore_nom';
78
$id = 'eflore_nom';
79
$aso_attributs = array( 'id'=>$id, 'class' => 'champ', 'tabindex' => $tab_index++, 
79
$aso_attributs = array( 'id'=> $id, 'class' => 'champ', 'tabindex' => $tab_index++, 
80
                        'size' => EFLORE_RECH_NOM_FORM_NOM_SIZE, 
80
                        'size' => EFLORE_RECH_NOM_FORM_NOM_SIZE, 
81
                        'maxlength' => EFLORE_RECH_NOM_FORM_NOM_MAXLENGTH,
81
                        'maxlength' => EFLORE_RECH_NOM_FORM_NOM_MAXLENGTH,
82
                        'onclick' => "javascript: this.value='';");
82
                        'onclick' => "javascript: this.value='';");
83
$label = '<label for="'.$id.'">'.EFLORE_LG_RECH_NOM_FORM_NOM.'</label>';
83
$label = '<label for="'.$id.'">'.EFLORE_LG_RECH_NOM_FORM_NOM.'</label>';
84
$eflore_form->addElement('text', $id, $label, $aso_attributs);
84
$eflore_form->addElement('text', $id, $label, $aso_attributs);
85
 
85
 
86
$liste_type_nom_debut = '<li><ul>'."\n";
86
$liste_type_nom_debut = '<li><ul>'."\n";
87
$eflore_form->addElement('html', $liste_type_nom_debut);
87
$eflore_form->addElement('html', $liste_type_nom_debut);
88
 
88
 
89
$id = 'eflore_type_nom_scientifique';
89
$id = 'eflore_type_nom_scientifique';
90
$name = 'eflore_type_nom';
90
$name = 'eflore_type_nom';
91
$valeur = 'nom_scientifique';
91
$valeur = 'nom_scientifique';
92
$aso_attributs = array( 'id'=> $id, 'tabindex' => $tab_index++);
92
$aso_attributs = array( 'id'=> $id, 'tabindex' => $tab_index++);
93
$label = '';
93
$label = '';
94
$eflore_form->addElement('radio', $name, $label, EFLORE_LG_RECH_NOM_FORM_TYPE_NOM_SCI, $valeur, $aso_attributs);
94
$eflore_form->addElement('radio', $name, $label, EFLORE_LG_RECH_NOM_FORM_TYPE_NOM_SCI, $valeur, $aso_attributs);
95
 
95
 
96
$id = 'eflore_type_nom_vernaculaire';
96
$id = 'eflore_type_nom_vernaculaire';
97
$name = 'eflore_type_nom';
97
$name = 'eflore_type_nom';
98
$valeur = 'nom_vernaculaire';
98
$valeur = 'nom_vernaculaire';
99
$aso_attributs = array( 'id'=> $id, 'tabindex' => $tab_index++);
99
$aso_attributs = array( 'id'=> $id, 'tabindex' => $tab_index++);
100
$label = '';
100
$label = '';
101
$eflore_form->addElement('radio', $name, $label, EFLORE_LG_RECH_NOM_FORM_TYPE_NOM_VER, $valeur, $aso_attributs);
101
$eflore_form->addElement('radio', $name, $label, EFLORE_LG_RECH_NOM_FORM_TYPE_NOM_VER, $valeur, $aso_attributs);
102
 
102
 
103
if (isset($_REQUEST[$name])) {
103
if (isset($_REQUEST[$name])) {
104
    switch ($_REQUEST[$name]) {
104
    switch ($_REQUEST[$name]) {
105
        case 'nom_scientifique' :
105
        case 'nom_scientifique' :
106
            $eflore_form->setDefaults(array($name => 'nom_scientifique'));
106
            $eflore_form->setDefaults(array($name => 'nom_scientifique'));
107
            break;
107
            break;
108
        case 'nom_vernaculaire' :
108
        case 'nom_vernaculaire' :
109
            $eflore_form->setDefaults(array($name => 'nom_vernaculaire'));
109
            $eflore_form->setDefaults(array($name => 'nom_vernaculaire'));
110
            break;
110
            break;
111
    }
111
    }
112
} else {
112
} else {
113
    $eflore_form->setDefaults(array($name => 'nom_scientifique'));
113
    $eflore_form->setDefaults(array($name => 'nom_scientifique'));
114
}
114
}
115
 
115
 
116
$liste_type_nom_fin = '</ul></li>'."\n";
116
$liste_type_nom_fin = '</ul></li>'."\n";
117
$eflore_form->addElement('html', $liste_type_nom_fin);
117
$eflore_form->addElement('html', $liste_type_nom_fin);
118
 
118
 
119
$id = 'eflore_valider_nom';
119
$id = 'eflore_valider_nom';
120
$aso_attributs = array('id'=> $id, 'class' => 'champ', 'tabindex' => $tab_index++);
120
$aso_attributs = array('id'=> $id, 'class' => 'champ', 'tabindex' => $tab_index++);
121
$eflore_form->addElement('submit', $id, EFLORE_LG_RECH_NOM_FORM_VALIDER, $aso_attributs);
121
$eflore_form->addElement('submit', $id, EFLORE_LG_RECH_NOM_FORM_VALIDER, $aso_attributs);
122
 
122
 
123
$partie_entete_fin = "\n".'</ul></fieldset>';
123
$partie_entete_fin = "\n".'</ul></fieldset>';
124
$eflore_form->addElement('html', $partie_entete_fin);
124
$eflore_form->addElement('html', $partie_entete_fin);
125
 
125
 
126
// Instanciation avec les valeur par défaut
126
// Instanciation avec les valeur par défaut
127
if (isset($_SESSION['_EFLORE_']['rechercher'])) {
127
if (isset($_SESSION['_EFLORE_']['rechercher'])) {
128
    $eflore_form->setDefaults($_SESSION['_EFLORE_']['rechercher']);
128
    $eflore_form->setDefaults($_SESSION['_EFLORE_']['rechercher']);
129
}
129
}
130
 
130
 
131
// Transformation en XHTML du formulaire
131
// Transformation en XHTML du formulaire
132
$sortie .= $eflore_form->toHTML()."\n";
132
$sortie .= $eflore_form->toHTML()."\n";
133
 
133
 
134
// --------------------------------------------------------------------------------------------------------
134
// --------------------------------------------------------------------------------------------------------
135
// Lancement de la recherche
135
// Lancement de la recherche
136
if (isset($_REQUEST['eflore_nom']) && $_REQUEST['eflore_nom'] != '' && !eregi("^%{1,}$", $_REQUEST['eflore_nom']) ) {
136
if (isset($_REQUEST['eflore_nom']) && $_REQUEST['eflore_nom'] != '' && !eregi("^%{1,}$", $_REQUEST['eflore_nom']) ) {
137
    // Formatage de la chaine à rechercher
137
    // Formatage de la chaine à rechercher
138
    $_REQUEST['eflore_nom'] = '%'.str_replace(' ', '%', $_REQUEST['eflore_nom']).'%';
138
    $_REQUEST['eflore_nom'] = '%'.str_replace(' ', '%', $_REQUEST['eflore_nom']).'%';
139
    if ($_REQUEST['eflore_type_nom'] == 'nom_scientifique') {
139
    if ($_REQUEST['eflore_type_nom'] == 'nom_scientifique') {
140
        // Recherche sur les noms scientifiques
140
        // Recherche sur les noms scientifiques
141
        $contenu = file_get_contents(sprintf(EFLORE_URL_LISTE_NOM_LATIN, rawurlencode($_REQUEST['eflore_nom'])));
141
        $contenu = file_get_contents(sprintf(EFLORE_URL_LISTE_NOM_LATIN, rawurlencode($_REQUEST['eflore_nom'])));
142
        
142
        
143
        //Analyse du squelette
143
        //Analyse du squelette
144
        require_once 'HTML/Template/IT.php';
144
        require_once 'HTML/Template/IT.php';
145
        $squelette = new HTML_Template_IT();
145
        $squelette = new HTML_Template_IT();
146
        $squelette->setTemplate($contenu, FALSE, FALSE);
146
        $squelette->setTemplate($contenu, FALSE, FALSE);
147
        
147
        
148
        // Indique l'url pour obtenir fiche d'un nom
148
        // Indique l'url pour obtenir fiche d'un nom
149
        $squelette->setCurrentBlock('corps');
149
        $squelette->setCurrentBlock('corps');
150
        // Ajout du paramêtre action à l'url courante.
150
        // Ajout du paramêtre action à l'url courante.
151
        $GLOBALS['_EFLORE_']['url']->addQueryString(EFLORE_LG_URL_ACTION, EFLORE_LG_URL_ACTION_FICHE);
151
        $GLOBALS['_EFLORE_']['url']->addQueryString(EFLORE_LG_URL_ACTION, EFLORE_LG_URL_ACTION_FICHE);
152
        $GLOBALS['_EFLORE_']['url']->addQueryString(EFLORE_LG_URL_ONGLET, EFLORE_LG_URL_ONGLET_SYNTHESE);
152
        $GLOBALS['_EFLORE_']['url']->addQueryString(EFLORE_LG_URL_ONGLET, EFLORE_LG_URL_ONGLET_SYNTHESE);
153
        $GLOBALS['_EFLORE_']['url']->addQueryString(EFLORE_LG_URL_NN, '');
153
        $GLOBALS['_EFLORE_']['url']->addQueryString(EFLORE_LG_URL_NN, '');
154
        $squelette->setVariable('UrlFicheNom', $GLOBALS['_EFLORE_']['url']->getURL());
154
        $squelette->setVariable('UrlFicheNom', $GLOBALS['_EFLORE_']['url']->getURL());
155
        $squelette->parseCurrentBlock('corps');
155
        $squelette->parseCurrentBlock('corps');
156
        
156
        
157
        // Récupère le bloc "corps"
157
        // Récupère le bloc "corps"
158
        $sortie .= $squelette->get('corps');
158
        $sortie .= $squelette->get('corps');
159
    } else if ($_REQUEST['eflore_type_nom'] == 'nom_vernaculaire') {
159
    } else if ($_REQUEST['eflore_type_nom'] == 'nom_vernaculaire') {
160
        // Recherche sur les noms vernaculaires
160
        // Recherche sur les noms vernaculaires
161
        $contenu = file_get_contents(sprintf(EFLORE_URL_LISTE_NOM_VERNA, rawurlencode($_REQUEST['eflore_nom'])));
161
        $contenu = file_get_contents(sprintf(EFLORE_URL_LISTE_NOM_VERNA, rawurlencode($_REQUEST['eflore_nom'])));
162
        
162
        
163
        //Analyse du squelette
163
        //Analyse du squelette
164
        require_once 'HTML/Template/ITX.php';
164
        require_once 'HTML/Template/ITX.php';
165
        $squelette = new HTML_Template_ITX();
165
        $squelette = new HTML_Template_ITX();
166
        $squelette->setTemplate($contenu, FALSE, FALSE);
166
        $squelette->setTemplate($contenu, FALSE, FALSE);
167
        
167
        
168
        // Indique l'url pour obtenir fiche d'un nom
168
        // Indique l'url pour obtenir fiche d'un nom
169
        $squelette->setCurrentBlock('corps');
169
        $squelette->setCurrentBlock('corps');
170
        $squelette->setCallbackFunction('UrlFicheNom', 'remplacerUrlFicheNom');
170
        $squelette->setCallbackFunction('UrlFicheNom', 'remplacerUrlFicheNom');
171
        $squelette->performCallback();
171
        $squelette->performCallback();
172
        $squelette->parseCurrentBlock('corps');
172
        $squelette->parseCurrentBlock('corps');
173
        
173
        
174
        // Récupère le bloc "corps"
174
        // Récupère le bloc "corps"
175
        $sortie .= $squelette->get('corps');
175
        $sortie .= $squelette->get('corps');
176
        
176
        
177
    }
177
    }
178
}
178
}
179
 
179
 
180
/* +--Fin du code ----------------------------------------------------------------------------------------+
180
/* +--Fin du code ----------------------------------------------------------------------------------------+
181
*
181
*
182
* $Log: not supported by cvs2svn $
182
* $Log: not supported by cvs2svn $
-
 
183
* Revision 1.9  2005/03/15 12:57:16  jpm
-
 
184
* Modification du code XHTML.
-
 
185
*
183
* Revision 1.8  2005/02/28 15:38:47  jpm
186
* Revision 1.8  2005/02/28 15:38:47  jpm
184
* Correction erreur due à un changement de nom.
187
* Correction erreur due à un changement de nom.
185
*
188
*
186
* Revision 1.7  2005/02/23 12:39:27  jpm
189
* Revision 1.7  2005/02/23 12:39:27  jpm
187
* Correction bogue lié à QuickForm.
190
* Correction bogue lié à QuickForm.
188
*
191
*
189
* Revision 1.6  2005/02/22 19:27:10  jpm
192
* Revision 1.6  2005/02/22 19:27:10  jpm
190
* Changement de nom de variables.
193
* Changement de nom de variables.
191
* Suppression de l'attribut nam de la balise form via une méthode de HTML_Common.
194
* Suppression de l'attribut nam de la balise form via une méthode de HTML_Common.
192
*
195
*
193
* Revision 1.5  2005/02/22 17:43:53  jpm
196
* Revision 1.5  2005/02/22 17:43:53  jpm
194
* Suppression de référence posant problème.
197
* Suppression de référence posant problème.
195
*
198
*
196
* Revision 1.4  2005/02/15 13:00:23  jpm
199
* Revision 1.4  2005/02/15 13:00:23  jpm
197
* Ajout d'un test pour initialiser une variable.
200
* Ajout d'un test pour initialiser une variable.
198
*
201
*
199
* Revision 1.3  2005/01/28 19:47:55  jpm
202
* Revision 1.3  2005/01/28 19:47:55  jpm
200
* Ajout de la recherche pour les taxons.
203
* Ajout de la recherche pour les taxons.
201
*
204
*
202
* Revision 1.2  2005/01/03 19:44:40  jpm
205
* Revision 1.2  2005/01/03 19:44:40  jpm
203
* Ajout de la gestion de l'action "fiche".
206
* Ajout de la gestion de l'action "fiche".
204
*
207
*
205
* Revision 1.1  2004/12/23 20:05:17  jpm
208
* Revision 1.1  2004/12/23 20:05:17  jpm
206
* Début prise en maine eflore-consultation.
209
* Début prise en maine eflore-consultation.
207
*
210
*
208
*
211
*
209
* +-- Fin du code ----------------------------------------------------------------------------------------+
212
* +-- Fin du code ----------------------------------------------------------------------------------------+
210
*/
213
*/
211
?>
214
?>