Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 1669 → Rev 1670

/branches/v1.2-lithium/services/modules/0.1/images/ListeImages.php
369,7 → 369,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'])));
}
}
464,7 → 464,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'.
481,7 → 481,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) {