Import Header / Footer - I need help


Hi guys,

I'm getting tired with trying to import header and footer to my own php. <= my website <= xenforo installation dir

The Kotomi plugin are doing what I need to get templates, I did a index.php, copied css.php and deferred.php from /forum to / root dir and now I have style working on my website.

It is getting hard, everything we should "Re do", like links, css, a lot of "hacks" to get this working out of xen install folder and now I also have problems with the navbar links, instead of point to /forum it points to root /

There is any other type of plugin with do the same job but without this type of problems? Paid or free, I really need that!