I have actually removed my homeindex.php edits and it still has same error i uploaded a backed up one and same error. I think it was when i edited the template it said soemthing about and error in includes/adminfunctions_template but i reset that as well but no change.
I have a full site back up but can get it to reset my database i get same error no matter what i do.
And the part of the code it says i didnt touch it, i only edited the bit you said in the instructions and that went perfect, but editing the templates i got massive errors.
(i have a full backup of everything, and i havent had the need to use it before so can you help me put it on so its all reset to just before i did this hack, i made it just before, but i got no idea how to get it back on to reset it all)
Sorry for sounding stupid.
ILL STILL PM YOU A COPY OF HOMEINDEX.PHP