/// Basse consommation

bloc_process); $page->blocs[$page->bloc_process]=$bloc; $tools[0]="dossier"; $tools[1]="url"; $tools[2]="redactionnel"; $bloc->set_external_tool($tools); $dossiers_str = $page->data_output["thematique"]["dossiers"][0]; $d_tab = explode(",", $dossiers_str); $dossiers_id = array(); foreach($d_tab as $id) array_push($dossiers_id, intval($id)); $dossiers = array(); foreach($dossiers_id as $d_id){ $dossier = get_dossier(intval($d_id)); array_push($dossiers, $dossier); } $co = get_dossiers_redac_by_type_and_date(implode(",", $dossiers_id), 6); $co_expert = array(); $max = min(10, $co["&rows"]); for($i = 0; $i < $max; $i++){ $co_expert[$i] = get_redac_article($co["id"][$i]); } $ch = get_dossiers_redac_by_type_and_date(implode(",", $dossiers_id), 5); $chroniques = array(); $max = min(10, $ch["&rows"]); for($i = 0; $i < $max; $i++){ $chroniques[$i] = get_redac_article($ch["id"][$i]); } $t = get_dossiers_redac_by_type_and_date(implode(",", $dossiers_id), 26); $tendances = array(); $max = min(10, $t["&rows"]); for($i = 0; $i < $max; $i++){ $tendances[$i] = get_redac_article($t["id"][$i]); } $cf = get_dossiers_redac_by_type_and_date(implode(",", $dossiers_id), 27); $commentfaire = array(); $max = min(10, $cf["&rows"]); for($i = 0; $i < $max; $i++){ $commentfaire[$i] = get_redac_article($cf["id"][$i]); } //print_r($co_expert); ?>

/// Dossiers techniques

/// Conseils d'expert

/// Chroniques

/// Tendances

/// Comment-faire

bloc_process); $page->blocs[$page->bloc_process]=$bloc; $liste_recherche = array( "pompe à chaleur" => "pompe+à+chaleur", "chauffage" => "chauffage", "chauffage bois" => "chauffage+bois", "chaudière bois" => "chaudière+bois", "chauffage électrique" => "électrique", "radiateur" => "radiateur", "chaudière" => "chaudière", "eau chaude" => "eau+chaude", "climatisation" => "climatisation", "climatiseur" => "climatiseur", "plancher chauffant" => "plancher+chauffant", "inverter" => "inverter", "climatiseur réversible" => "climatiseur+réversible", "énergie" => "énergie", "basse consommation" => "basse+consommation", "gaz condentation" => "gaz+condentation", "géothermie" => "géothermie", "aérothermie" => "aérothermie", "isolation" => "isolation", "ventilation" => "ventilation", "VMC" => "VMC" ); $html.='

Recherches fréquentes

    '; foreach($liste_recherche as $key => $elem) { $html.='
  • '.$key.'
  • '; } $html.='
'; echo $html; ?>