Fixed bugs, add _JEXEC to php files