<if condition="$bbuserinfo[userid] != 0 OR $post['dateline'] > TIMENOW - 86400 * 365"> // Post code </if>