Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 1668 → Rev 1669

/trunk/services/modules/0.1/images/ListeImages.php
370,7 → 370,7
$db);
$req['where'][] = '(' . implode(' AND ', $tags) . ')';
} else {
$req['where'][] = sprintf("CONCAT(IFNULL(vdi.mots_cles_texte,\'\'),IFNULL(vdi.i_mots_cles_texte,\'\')) REGEXP %s",
$req['where'][] = sprintf("CONCAT(IFNULL(vdi.mots_cles_texte,''),IFNULL(vdi.i_mots_cles_texte,'')) REGEXP %s",
$db->proteger(implode('|', $p['masque.tag_cel']['OR'])));
}
}
465,7 → 465,7
}
 
static function getIdImages($p, $req, $db) {
return $db->recupererTous(sprintf(
$req = sprintf(
'SELECT SQL_CALC_FOUND_ROWS id_image' .
//', dis.moyenne, dis.nb_points, dis.nb_votes' . // debug
' FROM v_del_image vdi'.
482,7 → 482,8
 
$req['orderby'],
 
$p['navigation.depart'], $p['navigation.limite'], __FILE__ . ':' . __LINE__));
$p['navigation.depart'], $p['navigation.limite'], __FILE__ . ':' . __LINE__);
return $db->recupererTous($req);
}
 
static function chargerImages($db, $idImg) {