Have you thought about restoring the backup you made just before you installed the new template...

... you do have a backup... ?