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.fonct.rss.php,v 1.85 2007-06-25 12:15:06 alexandre_tb Exp $ |
// CVS : $Id: bazar.fonct.rss.php,v 1.86 2007-07-04 10:02:42 alexandre_tb Exp $ |
/** |
* |
*@package bazar |
28,7 → 28,7 |
*@author Florian Schmitt <florian@ecole-et-nature.org> |
//Autres auteurs : |
*@copyright Tela-Botanica 2000-2006 |
*@version $Revision: 1.85 $ |
*@version $Revision: 1.86 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
1036,14 → 1036,13 |
if($resultat->numRows() != 0) { |
$res .= '<h2>'.BAZ_DERNIERES_FICHES.'</h2>'; |
$res .= '<ul class="liste_rss">'; |
while($ligne = $resultat->fetchRow(DB_FETCHMODE_ASSOC)) |
{ |
while($ligne = $resultat->fetchRow(DB_FETCHMODE_ASSOC)) { |
$GLOBALS['_BAZAR_']['url']->addQueryString('action', BAZ_VOIR_FICHE); |
$GLOBALS['_BAZAR_']['url']->addQueryString('id_fiche', $ligne['bf_id_fiche']); |
$res .= '<li class="titre_rss"><a class="lien_rss" href="'. $GLOBALS['_BAZAR_']['url']->getURL() .'" alt="lire la fiche">'. $ligne['bf_titre'].'</a></li>'; |
} |
$res .= '</ul>'; |
} |
$res .= '</ul>'; |
} |
} |
} |
|
1132,7 → 1131,7 |
} |
$res = '<br /><h4>'.BAZ_IL_Y_A.($resultat->numRows()).' '.BAZ_FICHES_CORRESPONDANTES.'</h4><br />'."\n"; |
//$res .= 'requete: '. $requete. '<br />'; |
$res .= '<ul>' ; |
|
$GLOBALS['_BAZAR_']['url']->addQueryString('action', BAZ_VOIR_FICHE); |
|
$donnees = array(); |
1169,6 → 1168,7 |
$res .= ob_get_contents(); |
ob_end_clean() ; |
} else { |
$res .= '<ul>' ; |
$res .= '<div class="bazar_numero">'.$pager->links.'</div>'."\n"; |
foreach ($data as $valeur) { |
$res .='<li class="BAZ_'.$valeur['bn_label_class'].'">'."\n"; |
1204,6 → 1204,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.85 2007-06-25 12:15:06 alexandre_tb |
* merge from narmer |
* |
* Revision 1.84 2007-06-25 09:56:55 alexandre_tb |
* correction de bug |
* |