4
jayjay,
<?php
include("../mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 1;
?>
The content of your original html file goes here!!
<?php
include(XOOPS_ROOT_PATH."/footer.php");
?>
that code didn't work for me but when I changed it to the one below it did. But you have to put the pages you create using this code, in your XOOPS root directory and make sure they aren't named the same as any XOOPS files. Plus, you don't normally even need the php word in the first tag, just <? only if you are using php4 on your server.
<?php
include('mainfile.php');
include('header.php');
$xoopsOption['show_rblock'] = 1;
?>
The content of your original html file goes here!!
<?php
include('footer.php');
?>