Parse error: syntax error, unexpected 'if' (T_IF), expecting function (T_FUNCTION) in /home/ridgestar/nyw/class.nyw.php on line 836