Subversion Repositories Applications.bazar

Rev

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

Rev 96 Rev 97
Line 579... Line 579...
579
	$type_annonce_select['toutes']=BAZ_TOUS_TYPES_FICHES;
579
	$type_annonce_select['toutes']=BAZ_TOUS_TYPES_FICHES;
580
	while ($ligne = $resultat->fetchRow(DB_FETCHMODE_ASSOC)) {
580
	while ($ligne = $resultat->fetchRow(DB_FETCHMODE_ASSOC)) {
581
		$type_annonce_select[$ligne['bn_id_nature']] = constant($ligne['bn_label_nature']);
581
		$type_annonce_select[$ligne['bn_id_nature']] = constant($ligne['bn_label_nature']);
582
		$tableau_typeannonces[] = $ligne['bn_id_nature'] ;
582
		$tableau_typeannonces[] = $ligne['bn_id_nature'] ;
583
	}
583
	}
584
	
-
 
585
	if ($GLOBALS['_BAZAR_']['typeannonce']=='toutes') {
584
	if ($GLOBALS['_BAZAR_']['typeannonce']=='toutes') {
586
		$res= '<h2>'.BAZ_TOUTES_LES_ANNONCES.'</h2><br />'."\n";
585
		$res= '<h2>'.BAZ_TOUTES_LES_ANNONCES.'</h2><br />'."\n";
Line 587... Line 586...
587
		
586
		
588
		$option=array('style'=>'border:1px solid #000;width: 140px;font:12px Myriad, Arial, sans-serif;');
587
		$option=array('style'=>'border:1px solid #000;width: 140px;font:12px Myriad, Arial, sans-serif;');
Line 680... Line 679...
680
			else $typedefiches = $GLOBALS['_BAZAR_']['id_nature'] ; 
679
			else $typedefiches = $GLOBALS['_BAZAR_']['id_nature'] ; 
681
		} else {
680
		} else {
682
			$typedefiches = $_REQUEST['nature'] ;
681
			$typedefiches = $_REQUEST['nature'] ;
683
			if ($typedefiches == 'toutes') $typedefiches = $tableau_typeannonces ;
682
			if ($typedefiches == 'toutes') $typedefiches = $tableau_typeannonces ;
684
		}
683
		}
685
		
-
 
-
 
684
		if ($typeannonce!='toutes') $typedefiches=$typeannonce;
686
		if (isset($_POST['valides'])) {$valides=$_POST['valides'];}
685
		if (isset($_POST['valides'])) {$valides=$_POST['valides'];}
687
		else {$valides=1;}
686
		else {$valides=1;}
688
		//generation de la liste de flux a afficher
687
		//generation de la liste de flux a afficher
Line 689... Line 688...
689
		
688