G-man
12-11-2002, 06:42 PM
I have created a page that my java chatroom comes up in by using the following as the header but the phpinclude template of the header refuses to parse correctly. Instead of it replacing the /{images folder}/ tag with the correct directory it leaves it as is thus causing no graphic to show. What am I missing?
Code:
////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////// HEADER /////////////////////////////////////////////////////////////
require("./global.php");
if ($bbuserinfo[userid]==0) {
show_nopermission();
}
echo("
<html>
<head>
<title>$bbtitle chat - $page</title>
</head>
$bodytag
");
eval("\$header = \"".gettemplate("header2")."\";");
echo($header);
eval("\$fivelinks = \"".gettemplate("fivelinks")."\";");
echo("
<table align=\"center\"><font face=\"Verdana\" size=\"1\">$fivelinks</font></table>
");
?>
Code:
////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////// HEADER /////////////////////////////////////////////////////////////
require("./global.php");
if ($bbuserinfo[userid]==0) {
show_nopermission();
}
echo("
<html>
<head>
<title>$bbtitle chat - $page</title>
</head>
$bodytag
");
eval("\$header = \"".gettemplate("header2")."\";");
echo($header);
eval("\$fivelinks = \"".gettemplate("fivelinks")."\";");
echo("
<table align=\"center\"><font face=\"Verdana\" size=\"1\">$fivelinks</font></table>
");
?>