PDO'd

Converted old themedb queries to PDO.