if (!isset ($_SESSION)) header( 'Location: http://www.alpha.cleanaireurope.com/') ;
$lang = $_SESSION['lang'];
require_once("fonctions/connect_base.inc.php");
//if ($lang =='ru') mysql_query("SET NAMES utf8");
// else if ($lang =='sv') mysql_query("SET NAMES utf8");
//else mysql_query("SET NAMES iso-8859-1");
$querymere="select c1.id_categorie from categorie c1, where c2.nomfr_categorie='News'";
$resultmere=mysql_query($querymere);
$queryLocations="select * from categorie where niveau_categorie=6 ";
$resultLocations=mysql_query($queryLocations);
$i=1;
while($tab=mysql_fetch_array($resultLocations))
{
$valeur="nom".$lang."_categorie";
$nom=$tab[$valeur];
$ser=$tab["service_texte"];
$head[$i]=$nom;
$i++;
}
$_SESSION['head1']=$head[1];
$_SESSION['head2']=$head[2];
$_SESSION['head3']=$head[3];
$_SESSION['head4']=$head[4];
$_SESSION['head5']=$head[5];
$_SESSION['head6']=$head[6];
$_SESSION['head7']=$head[7];
$_SESSION['head8']=$head[8];
$_SESSION['head9']=$head[9];
$_SESSION['head10']=$head[10];
$_SESSION['head11']=$head[11];
$_SESSION['head12']=$head[12];
$_SESSION['head13']=$head[13];
$_SESSION['head14']=$head[14];
$_SESSION['head15']=$head[15];
$_SESSION['head16']=$head[16];
?>