View Single Post
  #1  
Old 10-23-2010, 06:06 AM
  Phoenixone's Avatar 
Phoenixone Phoenixone is offline
 

Advanced Member
  
Join Date: Feb 2010
Location: Portugal
Posts: 38
 

Default Display on this date?

hey guys need some help:

i dont know if this piece of code is what im looking for or if there is something else out there that will work better?

Code:
{if $smarty.now|date_format:"%m" > 10}

i want to display a x-mas image in December and a valentine image in February, ect ect

i tried to put this code in but it didnt work

Code:
{if $smarty.now|date_format:"%m" = 12}


please help
__________________
PHP 5.2.11
MYSQL 5.0.45

WESH UK hosting

--- Add-ons -----
X-RMA
X-AOM
X-FancyCategories
X-Feature comparison

BCSE Request a Quote
BCSE Customer Testimonials
BCSE Advanced ratings and reviews
BCSE Customer reward points
BCSE Reward points refferal
BCSE Customer polls

Cart Labs - Tabs
Reply With Quote