elseif should be on same row as closing bracket. There should also be a space after elseif.