19,7 → 19,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.51 2008-02-08 08:44:59 alexandre_tb Exp $ |
// CVS : $Id: bazar.php,v 1.52 2008-10-29 15:52:14 alexandre_tb Exp $ |
/** |
* |
*@package bazar |
28,7 → 28,7 |
*@author Florian Schmitt <florian@ecole-et-nature.org> |
//Autres auteurs : |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.51 $ $Date: 2008-02-08 08:44:59 $ |
*@version $Revision: 1.52 $ $Date: 2008-10-29 15:52:14 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
101,7 → 101,7 |
$requete = 'select bf_ce_nature from bazar_fiche where bf_id_fiche='.$GLOBALS['_BAZAR_']['id_fiche'] ; |
$resultat = $GLOBALS['_BAZAR_']['db']->query ($requete) ; |
if (DB::isError($resultat)) { |
echo $resultat->getMessage().'<br />'.$resultat->getInfoDebug(); |
echo $resultat->getMessage().'<br />'.$resultat->getDebugInfo(); |
} |
$ligne = $resultat->fetchRow(DB_FETCHMODE_OBJECT) ; |
$GLOBALS['_BAZAR_']['id_typeannonce'] = $ligne->bf_ce_nature ; |
237,6 → 237,7 |
case BAZ_ACTION_PAS_PUBLIER : publier_fiche(0) ;$res .= fiches_a_valider(); break; |
case BAZ_S_INSCRIRE : $res .= baz_s_inscrire(); break; |
case BAZ_VOIR_FLUX_RSS : header('Content-type: text/xml; charset=UTF-8');include("bazarRSS.php");exit(0);break; |
case BAZ_ACTION_POST_VALIDATION : $res .= baz_post_validation();break; |
} |
|
} |
272,6 → 273,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.51 2008-02-08 08:44:59 alexandre_tb |
* Mise en pla ce de la constante BAZ_VARIABLE_ACTION |
* |
* Revision 1.50 2007-12-04 09:07:21 alexandre_tb |
* Fusion avec la livraison AHA : 4 déc 2007 |
* |