FAQ
language;
$langue='fr';
$prem=0;
if(isset($_SERVER['theme'])){
print $_SERVER['theme'];
$prem=$_SERVER['theme'];
}
$sql="select * from node where type='theme_faq' and status='1' and language='".$langue."' order by sticky desc";
$result = db_query($sql);
$compteur=0;
$menu="";
$menu.= "\n";
if($compteur>0){
print $menu;
}
$sql="select content_type_faq.nid as nid from content_type_faq inner join node on (content_type_faq.nid=node.nid) where field_faq_rub_nid=".$prem." and node.status='1' order by sticky desc";
$result = db_query($sql);
$compteur=0;
$liste="";
$liste.= "
";
print $liste;
?>