Subversion Repositories Applications.bazar

Rev

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

Rev 55 Rev 56
Line 120... Line 120...
120
		     or(niveau_droit('0',$GLOBALS['AUTH']->getAuthData(BAZ_CHAMPS_ID))=='superadministrateur'))
120
		     or(niveau_droit('0',$GLOBALS['AUTH']->getAuthData(BAZ_CHAMPS_ID))=='superadministrateur'))
121
		{
121
		{
122
		        $est_admin=1;
122
		        $est_admin=1;
123
		}
123
		}
124
	}
124
	}
-
 
125
	//affiche le titre sous forme d'image'
125
	if ($GLOBALS['_BAZAR_']['image_titre']!='') {
126
	if ($GLOBALS['_BAZAR_']['image_titre']!='') {
126
		$res .= '<img src="client/bazar/images/'.$GLOBALS['_BAZAR_']['image_titre'].'" alt="'.$GLOBALS['_BAZAR_']['typeannonce'].'" />'.'<br />'."\n";
127
		$res .= '<img id="BAZ_img_titre" src="client/bazar/images/'.$GLOBALS['_BAZAR_']['image_titre'].'" alt="'.$GLOBALS['_BAZAR_']['typeannonce'].'" />'.'<br />'."\n";
-
 
128
	}
-
 
129
	//affiche le texte sinon
127
	} else {
130
	else {
128
		$res .= '<h1>'.$GLOBALS['_BAZAR_']['typeannonce'].'</h1>'."\n";
131
		$res .= '<h1 class="BAZ_titre">'.$GLOBALS['_BAZAR_']['typeannonce'].'</h1>'."\n";
129
	}
132
	}
130
	$res .= '<div class="BAZ_cadre_fiche">'."\n";
133
	$res .= '<div class="BAZ_cadre_fiche">'."\n";
131
	$res .= '<div class="BAZ_cadre_fiche_haut">'."\n";
134
	$res .= '<div class="BAZ_cadre_fiche_haut">'."\n";
132
	$res .= '&nbsp;</div>'."\n";
135
	$res .= '&nbsp;</div>'."\n";
133
	$res .= '<div class="BAZ_cadre_fiche_corps">'."\n";
136
	$res .= '<div class="BAZ_cadre_fiche_corps">'."\n";