you're welcome
ah, i see i have used different variablenames in the two scripts (bad me (hey the script is very old ^^))
use this to get the forumtitles as well:
PHP Code:
function print_header()
{
global $archiveurl, $title, $foruminfo, $thread;
// Build Page Title
$pagetitle = $title;
if ($thread['title'] != '')
{
$pagetitle .= ' - ' . $thread['title'];
}
else if ($foruminfo['title'] != '')
{
$pagetitle .= ' - ' . $foruminfo['title'];
}
echo "
<html>
<head><title>$pagetitle</title></head>
<base href=\"$archiveurl/\">
<body>
";
include "$archiveurl/header.php";
}