Jump to content

Besoin d'aide pour traduire un TPL


Recommended Posts

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 by mediacop (see edit history)
Link to comment
Share on other sites

  • 4 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...