The conditional on line 178 appears to be missing its end tag (</if>). The template will not function properly unless this is fixed.