ok, you need to right click the files and save them local. Then edit line 5 of the index.php to the quote above it.
sub domain, username, password, leave this one, leave this one, and then this has to be the theme you have set in cpanel (mine is x3).
Then upload both to you hosting account in to any folder and then linking to the index will show the results.
Its a class, so you would use this in another script for example a dynamic gd image or what ever you want. If you are unsure of how to use it then you should do some reading on php and class's.
It works I can assure you.
EDIT:
I am sorry that I cant show an example, this would be a bit of a security risk on my account. I don't have another account to use as an example.
NB
Like I said above this is a class that would be used in another script. I do not recommend that you link anyone to the above index as this would contain all one needs to login to your cpanel.
In a gd image your average person wont be able to get at the file unless it produces errors.
PS
Feel free to click my rep for the time spent on this. I will do a little more with it soon.
This script was not written by me, just modded to retrieve info from the new cpanel as the script was obviously broken. I take no responsibility for an problems that may arise from the use of it.
I also lay no claim to its contents. I have left everything as is except the parts that where producing errors in the creators original example.