Open("templates/tpl_main.html"); $entete = $temp->Open("templates/tpl_entete.html"); $header = $temp->Open("templates/tpl_header.html"); $menu_droite = $temp->Open("templates/tpl_droite.html"); $block_milieu = $temp->Open("templates/tpl_milieu_fiche.html"); //$script = $temp->Open("templates/t_script.html"); $footer = $temp->Open("templates/tpl_footer.html"); $temp->AddSession($template_main,"INDEX"); /*entete*/ make_entete($entete,$temp,"fiche",$id); $temp->Parse($template_main,"INDEX.entete",$entete); /*header*/ make_header($header,$temp,"fiche"); $temp->Parse($template_main,"INDEX.header",$header); /*menu droite*/ /*make_menu_droite($menu_droite,$temp,"fiche"); $temp->Parse($template_main,"INDEX.menu_droite",$menu_droite);*/ /*block_milieu*/ make_milieu_fiche($block_milieu,$temp,$id); $temp->Parse($template_main,"INDEX.milieu",$block_milieu); /*Cufon*/ $temp->setVar($template_main,"INDEX.cufon"," Cufon.replace('h2', {hover:true}); Cufon.replace('.pdfproduit p', {hover:true}); Cufon.replace('.detailsproduit h3', {hover:true}); Cufon.replace('.titrecategorie p', {hover:true}); Cufon.replace('.titreactu', {hover:true}); Cufon.replace('.titrefacebook', {hover:true}); Cufon.replace('.actudroithaut h4', {hover:true}); "); /*footer*/ make_footer($footer,$temp); $temp->Parse($template_main,"INDEX.footer",$footer); $temp->CloseSession($template_main,"INDEX"); // Affichage de la page $temp->Display($template_main); ?>