Warning, can not parse template (content_custom_pic) (Error: Type 0, syntax error, unexpected 'if' (T_IF), line 4301 )

4291 :
4292 :
4293 :
4294 :
4295 :
4296 :
4297 :
4298 :
4299 :
4300 :
4301 :
4302 :
4303 :
4304 :
4305 :
4306 :
4307 :
4308 :
4309 :
4310 :
4311 :