1. Reinstall the template and gantry (do not uninstall first) and it will reinstate the original files.
2. Purchase and install Akeeba Admin Tools Pro or one of the other firewall tools (like rsfirewall).
3. Change you passwords and make them 30 characters (use a password keeper such as 1password so you can remember them on your pc)
Regards, Mark.
Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.