";
$r.="";
$requete="select * from notices_custom_lists where notices_custom_champ=17 order by notices_custom_list_lib";
$resultat=pmb_mysql_query($requete);
while (($res=pmb_mysql_fetch_object($resultat))) {
$r.="";
}
$r.="";
return $r;
}
function search_other_function_clause() {
global $thematique;
$r="";
if ($thematique) {
$r .= "select distinct notices_custom_origine from notices_custom_values where notices_custom_integer=".$thematique." and notices_custom_champ=17";
print "";
}
return $r;
}
function search_other_function_has_values() {
global $thematique;
if ($thematique) return true; else return false;
}
function search_other_function_get_values(){
global $thematique;
return $thematique;
}
function search_other_function_rec_history($n) {
global $thematique;
$_SESSION["thematique".$n]=$thematique;
}
function search_other_function_get_history($n) {
global $thematique;
$thematique=$_SESSION["thematique".$n];
}
function search_other_function_human_query($n) {
global $thematique;
global $msg;
$r="";
$thematique=$_SESSION["thematique".$n];
if ($thematique) {
$r="thématique : ";
$requete="select notices_custom_list_lib from notices_custom_lists where notices_custom_champ=17 and notices_custom_list_value='".$thematique."' limit 1";
$res=pmb_mysql_query($requete);
$r.=@pmb_mysql_result($res,0,0);
}
return $r;
}
?>