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