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


i would appriciated alot thanks for you alls time(: