Sure, you can pm me your AIM screenname OR if you prefer you can send me the newthread.php file and I can see what changes have to be made.
The first change is probably just an error created when using php tags on vb.org, but as for the second change look for:
PHP Code:
WHERE forumid IN
You should find that code instance, it could be a variable and not numbers in the parentheses following that code. Hope that helps.
Regards,
g-force2k2