fix bug for inerting incorrect userid
modify syntax
Update inserting username "anonymous" logic.
Merge pull request #1 from nouphet/xoopsx

fix bug for inerting incorrect userid