the elseif should be on the same line than the closing curly brace