SimplyConcept Posted May 5, 2012 Share Posted May 5, 2012 (edited) bonjour a tous j'ai besoin de vos lumieres pour finir un module mais le comble est que je sèche sur le tpl !! je voudrais traduire ce code php pour l'introduire dans mon tpl : $day = date('N'); $hour = date('H:i:s'); if ($day >=$this->d1 && $day <=$this->d2 && $hour >=$this->h1 && $hour <=$this->h2) Ce code vient en tete de script html pour un module tpl et si le IF ne corresponde alors il y a un autre script html Merci pour votre aide Edited May 5, 2012 by mediacop (see edit history) Link to comment Share on other sites More sharing options...
SimplyConcept Posted May 7, 2012 Author Share Posted May 7, 2012 un petit up personne pour maider ? Link to comment Share on other sites More sharing options...
SimplyConcept Posted June 2, 2012 Author Share Posted June 2, 2012 Merci quand meme !! du coup je vais utiliser literal .... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now