If your a developer using tbdev base from 06 - 09 you should be able to convert every inch of them scripts to be up to standards and make sure to use mysqli or pdo.
I suggest you compare your security with u-232 as they have a nice security system within the code if you look close enough.