'; }elseif ($catid==3){ echo '
'; }elseif ($catid==4){ echo '
'; } ?>
Puy-de-Dôme : 5 activations !
mail Envoyer à un ami
Beta test : Vous pouvez maintenant commenter les articles sans être inscrit :-)


Dernières news de l'édition
'http://".$_SERVER["HTTP_HOST"].$url_modif."' ORDER BY ID DESC LIMIT 0 , 5;",$db); while ($row3=mysqli_fetch_array($req3)) { $result3[0]=$row3; $guid = $result3[0][guid]; $day_news = $result3[0][day_news]; $post_title = $result3[0][post_title]; $month_news = $result3[0][month_news]; if (strlen($post_title)>40){ $post_title = substr($post_title,0,40)."..."; } echo "".$day_news."/".$month_news." ".$post_title."
"; } ?>
1){ echo "Edition nationale
"; $req3 = execution_requete_SQL( "SELECT guid, post_title, DAY(post_date) as day_news, MONTH(post_date) as month_news FROM wp_posts, wp_term_relationships WHERE wp_term_relationships.object_id = wp_posts.ID AND term_taxonomy_id = 1 AND post_status = 'publish' ORDER BY ID DESC LIMIT 0 , 5;",$db); while ($row3=mysqli_fetch_array($req3)) { $result3[0]=$row3; $guid = $result3[0][guid]; $day_news = $result3[0][day_news]; $post_title = $result3[0][post_title]; $month_news = $result3[0][month_news]; if (strlen($post_title)>40){ $post_title = substr($post_title,0,40)."..."; } echo "".$day_news."/".$month_news." ".$post_title."
"; } } ?>

Rechercher un article
Action Iliad
Partager ...

  • Bookmark and Share
"/edition/dossiers"){ if (substr($_SERVER['REQUEST_URI'],strlen($_SERVER['REQUEST_URI'])-4,4)=="html"){ $category_lilo = the_category_lilo(', '); $news_seule=1; } if ((strpos($_SERVER['REQUEST_URI'],'edition')!=0) || (isset($_GET['edition'])) || ($news_seule==1)){ ?>
Sous catégories
    ","",$category_lilo); $category_lilo = substr($category_lilo,strpos($category_lilo,">")+1); $tri = "/edition/".trans($category_lilo); } //traitement des pages avec ?limite $pos_temp = strpos($tri,'?'); if ($pos_temp<>0){ $tri = substr($tri,0,$pos_temp); } /////// switch($tri){ case "/edition/news-nationales" : $ListeChiffre = fopen($_SERVER['DOCUMENT_ROOT']."/wp-content/themes/dimension/categories/news-nationales.lilo","r"); while (!feof($ListeChiffre)){ $contenu_temp = fgets($ListeChiffre, 50); echo "
  • ".transbis($contenu_temp)."
  • "; } fclose($ListeChiffre); break; case "/edition/flashs" : $ListeChiffre = fopen($_SERVER['DOCUMENT_ROOT']."/wp-content/themes/dimension/categories/flashs.lilo","r"); while (!feof($ListeChiffre)){ $contenu_temp = fgets($ListeChiffre, 50); echo "
  • ".transbis($contenu_temp)."
  • "; } fclose($ListeChiffre); break; case "/edition/aquitaine-poitou-midi" : echo "
  • Dégroupage
  • "; $ListeChiffre = fopen($_SERVER['DOCUMENT_ROOT']."/wp-content/themes/dimension/categories/aquitaine-poitou-midi.lilo","r"); while (!feof($ListeChiffre)){ $contenu_temp = fgets($ListeChiffre, 50); if (strpos($contenu_temp,'groupage')!=2){ echo "
  • ".transbis($contenu_temp)."
  • "; } } fclose($ListeChiffre); break; case "/edition/bretagne-normandie" : echo "
  • Dégroupage
  • "; $ListeChiffre = fopen($_SERVER['DOCUMENT_ROOT']."/wp-content/themes/dimension/categories/bretagne-normandie.lilo","r"); while (!feof($ListeChiffre)){ $contenu_temp = fgets($ListeChiffre, 50); if (strpos($contenu_temp,'groupage')!=2){ echo "
  • ".transbis($contenu_temp)."
  • "; } } fclose($ListeChiffre); break; case "/edition/centre" : echo "
  • Dégroupage
  • "; $ListeChiffre = fopen($_SERVER['DOCUMENT_ROOT']."/wp-content/themes/dimension/categories/centre.lilo","r"); while (!feof($ListeChiffre)){ $contenu_temp = fgets($ListeChiffre, 50); if (strpos($contenu_temp,'groupage')!=2){ echo "
  • ".transbis($contenu_temp)."
  • "; } } fclose($ListeChiffre); break; case "/edition/ile-de-france" : echo "
  • Dégroupage
  • "; $ListeChiffre = fopen($_SERVER['DOCUMENT_ROOT']."/wp-content/themes/dimension/categories/ile-de-france.lilo","r"); while (!feof($ListeChiffre)){ $contenu_temp = fgets($ListeChiffre, 50); if (strpos($contenu_temp,'groupage')!=2){ echo "
  • ".transbis($contenu_temp)."
  • "; } } fclose($ListeChiffre); break; case "/edition/languedoc-paca-rhone" : echo "
  • Dégroupage
  • "; $ListeChiffre = fopen($_SERVER['DOCUMENT_ROOT']."/wp-content/themes/dimension/categories/languedoc-paca-rhone.lilo","r"); while (!feof($ListeChiffre)){ $contenu_temp = fgets($ListeChiffre, 50); if (strpos($contenu_temp,'groupage')!=2){ echo "
  • ".transbis($contenu_temp)."
  • "; } } fclose($ListeChiffre); break; case "/edition/npc-champ-alsace" : echo "
  • Dégroupage
  • "; $ListeChiffre = fopen($_SERVER['DOCUMENT_ROOT']."/wp-content/themes/dimension/categories/npc-champ-alsace.lilo","r"); while (!feof($ListeChiffre)){ $contenu_temp = fgets($ListeChiffre, 50); if (strpos($contenu_temp,'groupage')!=2){ echo "
  • ".transbis($contenu_temp)."
  • "; } } fclose($ListeChiffre); break; } ?>
Activation de DSLAM
    =mysqli_num_rows($result)) return false; if (is_string($field) && !(strpos($field,".")===false)) { $t_field=explode(".",$field); $field=-1; $t_fields=mysqli_fetch_fields($result); for ($id=0;$idtable==$t_field[0] && $t_fields[$id]->name==$t_field[1]) { $field=$id; break; } } if ($field==-1) return false; } mysqli_data_seek($result,$row); $line=mysqli_fetch_array($result); return isset($line[$field])?$line[$field]:false; } /******************************************************************************************/ /******************************************************************************************/ function the_category_lilo($separator = '', $parents='') { return get_the_category_list($separator, $parents); } /******************************************************************************************/ /******************************************************************************************/ ?>