Hello
Type this code in theme.php :
function themesidebox($title, $content) {
$tmpl_file = “themes/yourthemes/blocks.html”;
$thefile = implode(”", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = “\$r_file=\”".$thefile.”\”;”;
eval($thefile);
print $r_file;
}
Then create a html file called blocks.html in your theme folder… The possibilities of modifications are easier…
See you
0 Comments
With Php Nuke you can avoid attacks by using this code….:
In the mainfile.php :
define(’typewhatyouwant’, true);
Then copy this code on each phpnuke file at the top :
if(!defined(’typewhatyouwant’))
{
die();
}
before die(); you can put an echo “”; redirecting to the main page
See you