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.inscription.inc.php,v 1.2 2006-03-29 13:06:07 alexandre_tb Exp $ |
// CVS : $Id: bazar.inscription.inc.php,v 1.3 2006-04-28 16:10:17 florian Exp $ |
/** |
* |
*@package bazar |
28,7 → 28,7 |
*@author Florian Schmitt <florian@ecole-et-nature.org> |
//Autres auteurs : |
*@copyright Tela-Botanica 2000-2005 |
*@version $Revision: 1.2 $ |
*@version $Revision: 1.3 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
35,7 → 35,7 |
// RAPPEL : On se situe dans la fonction afficherContenuCorps() de inscription.php |
|
// requete pour récupérer l'ensemble des type d'annonces |
$requete = 'select bn_id_nature from bazar_nature where bn_id_nature <> 2' ; |
$requete = 'select bn_id_nature from bazar_nature where 1' ; |
$resultat = $GLOBALS['ins_db']->query ($requete); |
|
$SQL = '' ; |
48,7 → 48,6 |
|
$requete = 'INSERT INTO bazar_droits VALUES '.$SQL; |
|
if ($GLOBALS['AUTH']->getAuthData(INS_CHAMPS_EST_STRUCTURE) == 1) $requete.=',('.$id_utilisateur.',2,1)' ; |
$resultat = $GLOBALS['ins_db']->query($requete); |
if (DB::isError($resultat)) { |
echo ($resultat->getMessage().$resultat->getDebugInfo()) ; |
58,6 → 57,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.2 2006/03/29 13:06:07 alexandre_tb |
* Code initial |
* |
* Revision 1.1 2005/09/29 16:14:17 alexandre_tb |
* version initiale |
* |