p.s. Here's the php code, if you want to include your styletemplates and let them a little more formatted. Just copy them from your styled.css file and paste them in the php. I used mine, but ofcourse you can use yours wink
Code
<?php
if (!defined('UBB_MAIN_PROGRAM')) define('UBB_MAIN_PROGRAM',1);
$style_side="";$tbopen="";$tbclose="";


$style = "<style type=\"text/css\">
.cisland {
	font-weight: bold;
}

.tdheader {
	font-size: 10pt;
	font-weight: bold;
	color: #fefbff;
	background: #666699;
	padding: 2px;
	border: 0px solid #666699;
	background-image: url(http://forumtst.merudi.net/images/merudi/cell3.gif);
	background-repeat: repeat-x;
	}

.alt-1 {
background: #fffefe;
color: #000002;	
padding: 2px;
border: 0px solid #666699;
background-image: url(http://forumtst.merudi.net/images/merudi/cell.gif);
background-repeat: repeat-x;


}
.alt-1 a:link {
font-weight: bold;
}
.alt-1 a:visited {
font-weight: bold;
}
.alt-1 a:active {
font-weight: bold;
}
.alt-1 a:hover {
font-weight: bold;
}



  </style>
";

$txt = $style;

$txt = $txt."<table class=\"cisland\" width=\"100%\">";
$txt = $txt.get_include_contents("/var/www/forums/test/languages/dutch 7.2/portal_islands.php");
$txt = $txt.get_include_contents("/var/www/forums/test/languages/dutch 7.2/generic.php");
$txt = $txt.get_include_contents("/var/www/forums/test/cache/post_island_12.php");
$txt = $txt."</table>";

$txt = str_replace("/ubbthreads.php?","http://forumtst.merudi.net/ubbthreads.php?",$txt);
$txt = str_replace("\"","\\\"",$txt);
$txt = str_replace("\r","",$txt);
$txt = str_replace("\n","",$txt);



echo "document.write(\"";
echo "$txt";
echo "\")";



function get_include_contents($filename) {
    if (is_file($filename)) {
        ob_start();
        include $filename;
        $contents = ob_get_contents();
        ob_end_clean();
        return $contents;
    }
    return false;
}

?> 

Last edited by nims2; 07/08/2007 3:22 PM.