20,7 → 20,7 |
// | License along with this library; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: bazar.php,v 1.11 2005-10-21 16:15:04 florian Exp $ |
// CVS : $Id: bazar.php,v 1.12 2005-11-07 17:05:46 florian Exp $ |
/** |
* |
*@package bazar |
29,7 → 29,7 |
*@author Florian Schmitt <florian@ecole-et-nature.org> |
//Autres auteurs : |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.11 $ $Date: 2005-10-21 16:15:04 $ |
*@version $Revision: 1.12 $ $Date: 2005-11-07 17:05:46 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
95,29 → 95,6 |
$res .= '<li><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.BAZ_CONSULTER.'</a>'."\n".'</li>'."\n"; |
$GLOBALS['_BAZAR_']['url']->removeQueryString('nature'); |
|
/*$requete = 'SELECT bn_id_nature, bn_label_nature FROM bazar_nature WHERE bn_ce_id_menu='.$GLOBALS['_GEN_commun']['info_menu']->gm_id_menu.' or bn_ce_id_menu=0'; |
$resultat = $GLOBALS['_BAZAR_']['db']->query($requete) ; |
if (DB::isError($resultat)) { |
die ($resultat->getMessage().$resultat->getDebugInfo()) ; |
} |
while ($ligne = $resultat->fetchRow(DB_FETCHMODE_ASSOC)) { |
$GLOBALS['_BAZAR_']['url']->addQueryString('nature', $ligne['bn_label_nature']); |
$res .='<li><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.$ligne['bn_label_nature'].'</a></li>'."\n"; |
$GLOBALS['_BAZAR_']['url']->removeQueryString('nature'); |
} |
|
$GLOBALS['_BAZAR_']['url']->addQueryString('nature', 'toutes'); |
$res .='<li><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.BAZ_TOUTES_LES_ANNONCES.'</a></li></ul></li>'."\n"; |
$GLOBALS['_BAZAR_']['url']->removeQueryString('nature'); |
$GLOBALS['_BAZAR_']['url']->removeQueryString('action'); |
|
//partie recherche d'annonces |
$GLOBALS['_BAZAR_']['url']->addQueryString('action', BAZ_RECHERCHER_ANNONCE); |
$res .='<li><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.BAZ_RECHERCHER.'</a></li>'."\n"; |
$GLOBALS['_BAZAR_']['url']->removeQueryString('action'); |
|
//pour les identifiés seulement |
if ($GLOBALS['AUTH']->getAuth()) {*/ |
//partie abonnement aux annonces |
$GLOBALS['_BAZAR_']['url']->addQueryString('action', BAZ_S_INSCRIRE); |
$res .= '<li><a href="'.$GLOBALS['_BAZAR_']['url']->getURL().'">'.BAZ_S_ABONNER.'</a></li>'."\n" ; |
135,7 → 112,6 |
$GLOBALS['_BAZAR_']['url']->removeQueryString('action'); |
$res .='</ul></li>'."\n"; |
|
|
//choix des administrateurs |
$est_admin=0; |
if ($GLOBALS['AUTH']->getAuth()) { |
208,6 → 184,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.11 2005/10/21 16:15:04 florian |
* mise a jour appropriation |
* |
* Revision 1.10 2005/10/12 17:20:33 ddelon |
* Reorganisation calendrier + applette |
* |