Replace
Code:
<setvar years>floor((TIME_NOW-$post['regdate'])/(60*60*24*365))</setvar>
<div class="years-tags yearly-tags-{$GLOBALS['tplvars']['years']}">{$GLOBALS['tplvars']['years']} Years of Service</div>
PHP Code:
<setvar years>floor((TIME_NOW-$post['regdate'])/(60*60*24*365))</setvar>
<if{$GLOBALS['tplvars']['years']}!=="0"then>
<divclass="years-tagsyearly-tags-{$GLOBALS['tplvars']['years']}">{$GLOBALS['tplvars']['years']}YearsofService</div>
</if>
It might work, it might not. I'm not a wold class programmer