website logo
Auteur
avatar
jpb

Forum » » Questions » » header specifique pour une page


Posté : 7 févr. 2015 à 14:57 icone du post

dans header php
travaille ici


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




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

Cet article provient de NPDS
https://www.npds.org/viewtopic.php?topic=26243&forum=9