Riverdahsboard with userMenu Help

Hi, i needed some help i got this code sniplet from cim,

and all the code or something is wrong with it, it messes up various stuff

from the riverdashboard, i was wondering if someone could fix it up,

and post it as a plugin i have tried to modifie it and fix it but no hope, i

have contact cim for help but no hope either...

 

heres the link so someone can fix it please msg me or

something please! i would appriciated alot

http://www.mediafire.com/?sharekey=9851efdc50398275e5c3dee5769931ece04e75f6e8ebb871

i would appriciated alot thanks for you alls time(: