actually i dont need the theme.php, i've already tested and works fine. so here it goes, first you need to download this header.php
http://65.109.75.163/Header.zip thats just the same header.html you have but in php. Then open up your theme.php and under function themeheader should look something like this
|
Code:
|
$tmpl_file = "themes/YOURTHEME/header.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
blocks(left);
$tmpl_file = "themes/YOURTHEME/left_center.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
} |
replace it with
|
Code:
|
include("themes/YOURTHEME/header.php");
blocks(left);
$tmpl_file = "themes/YOURTHEME/left_center.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
} |
thats it.