View Single Post
  #10 (permalink)  
Old 05-30-2003, 02:54 PM
Mtechnik Mtechnik is offline
Junior Member
 
Join Date: Apr 2003
Posts: 81
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.
__________________
Think all nukes look the same?
=) Think again. www.mtechnik.net
Public / commercial themes
Reply With Quote