I managed to do some changes by myself even though I am a absolute PHP rookie:
http://www.sat4all.com/board/html2ubbt.php?name=test&file=html/test.htmlThe code now looks like this:
code:
<?
// Require the library
require ("main.inc.php");
// ---------------------
// Send the page to them
$html = new html;
$html -> send_header("$name",$Cat,0,0,0,0,$user);
$html -> table_header("$name");
$phpurl = $config['phpurl'];
$html -> open_table();
if(substr($file,-4)!=".htm" && substr($file,-5)!=".html" ){
echo "Sorry, only HTML is allowed here!";
$html -> close_table();
$html -> send_footer();
}
else {
if( substr($file,0,5)!="./../" && substr($file,0,7)!="http://" ){
include ($file);
$html -> close_table();
$html -> send_footer();
}
else {
echo "Sorry, you can not use this script for a page which does not belong to this website";
$html -> close_table();
}
}
?>
I just don't know how to point the background color of the table (now it's blue) to the grey color in my the stylesheet!
I NEED HELP!
regards,
Ron.