i got it i figure it out the path wasnt /var/www/html/forum it was /home/virtual/site10/fst/var/www/html/forum
Sonikku try this :
$template= home your file name has to be home.php
$path = /home/thesonic/public_html
this is my demo not done yet just got the header footer and headinclude in there and text bk bk bk without any html code
http://www.polskieforum.com/forum/reklama.php