I am assuming you don't have a backup. If you do, then use it.
If not, see if the files are all infected with the same code, if they are, you may be able to go into cpanel and look for all instances of that code through php my admin and replace all the instances of that code with blank text.