MyBB Support

years of service support

Submitted by Tutti Frutti, , Thread ID: 46643

Thread Closed

RE: years of service support

Guest
Level:
0
Posts:
N/A
Likes:
0
Credits:
0
11-09-2017, 11:39 PM
#2
Maybe set an if statement to ignore if your variable is 0, else print the following div?

PHP Code:
<if {$GLOBALS['tplvars']['years']} !== "0" then>
<
div class="years-tags yearly-tags-{$GLOBALS['tplvars']['years']}">{$GLOBALS['tplvars']['years']} Years of Service</div>
</if> 

Users browsing this thread: 1 Guest(s)