RE: [Tutorial] How-To: Years of Service (Template Conditionals) 06-18-2015, 09:23 PM
#2
should be
but ok.
Code:
<if $post['regdate']+(60*60*24*365) <= TIME_NOW then><span class="one-year">One Year of Service</span><elseif $post['regdate']+(60*60*24*730) <= TIME_NOW then><span class="two-years">Two Years of Service</span></if>
but ok.