ParseError thrown

go site syntax error, unexpected 'if' (T_IF), expecting ',' or ')'

source url