SirDice - Sent you a PM with a link to see the code.

We ended up just wiping the server and and re-installing a clean backup of the site minus the areas we felt may have been the vulnerable entry points and will leave them out until we recode them.

Cheers,
Niggles