Hey,
sorry i havent said this, yes
CREATE TABLE namelogs (userid INT (5) not null , usernames LONGTEXT not null , lastchange INT (12) not null )
is to run with phpMyAdmin, too. Just paste this and hit GO
This is the last you need to do within phpMyAdmin.
Regarding the parse error you get, thats probably because the hack is not yet completely done.
As for the next step,
adding templates, this is to be done in your adminCP
After you created those templates, the last step is to edit the necessary php-files.
I recommend making a copy of the orignals as well.
Just in case you haven't got a good editor, I would also recommend
UltraEdit
Ok, hope this is it
-Alex