Index du Forum » » Questions

Auteur

header specifique pour une page
jpb
2643       
 

  Posté : 07-02-2015 14:57

dans header php
travaille ici


if (file_exists("themes/".$theme."/html/header.html")) {$rep=$theme ;}
elseif (file_exists("themes/default/html/header.html")) {$rep="defa ult";}
else {
   echo "header.html manquant / not f ind !<br />";
   die();
}




une condition en fonction de ton url (celle ou tu veux le header specifique ...



Cet article provient de NPDS

http://www.npds.org/viewtopic.php?topic=26243&forum=9