That makes sense. I looked at my class reference and there was a typo.
I'm trying to get this site rss.thetechgurus.net
to be so that by clicking on a menu item on the left, it will load that content into the blue display <div> in the center. Figuring out the whole <php include.... ?> was part of that.
I think I am close to an answer here, finally. I've included a function inside the <div></div> tags that should load whatever page is passed to it through the variable $path.
How can I get it to load the different pages by clicking on one of the menu items?
The bit of code I came up with was <?php changePage('pages/client.html') ?>
Where can I include this at to finish the page?
This is the current code for index.php:
<?php / Don't remove these lines. /$blog=1;require_once('wp-blog-header.php');?>
<?PHP
ini_set('include_path','.:/home/thetech/public_html/rss:/usr/lib/php:/usr/local/lib/php')
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="style.css">
<title>Dawn of Infinity</title>
</head>
<body bgcolor="#000000" text="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table id="Table_01" width="789" height="718" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="175" height="718" rowspan=2><img src="images/index_01.jpg" alt="" width="175" height="718" border="0" usemap="#Map"></td>
<td width="614" height="186"><img src="images/index_02.jpg" alt="" width="614" height="186" border="0" usemap="#Map2"></td>
</tr>
<tr>
<td width="614" height="532" class="tableDisplay">
<div class="scroll" id="displayDiv">
<?php
function changePage ($path)
{
include $path;
}
?>
</div>
</td>
</tr>
<tr>
<td>
Copyright 2003-2004 Dawn of Infinity
</td>
<td>
<a href="/wp-login.php">Login</a>
</td>
</tr>
</table>
<map name="Map">
<area shape="rect" coords="15,165,66,184" href="index.php" name="home">
<area shape="rect" coords="36,206,77,225" href="#" name="client">
<area shape="rect" coords="36,232,87,250" href="pages/server.html" name="server">
<area shape="rect" coords="36,259,86,277" href="source.html" name="source">
<area shape="rect" coords="35,300,109,320" href="discussion.html" name="discussion">
<area shape="rect" coords="35,327,131,349" href="bugReporting.html" name="bugReporting">
<area shape="rect" coords="36,371,78,393" href="story.html" name="story">
<area shape="rect" coords="36,397,119,419" href="background.html" name="projectGoals">
<area shape="rect" coords="35,423,129,446" href="projectGoals.html" name="projectGoals">
<area shape="rect" coords="35,450,108,470" href="phasteList.html" name="phaseList">
<area shape="rect" coords="15,470,132,491" href="screenshots.html" name="screenshots">
<area shape="rect" coords="35,513,116,535" href="wallpapers.html" name="wallpapers">
<area shape="rect" coords="35,539,98,561" href="graphics.html" name="graphics">
<area shape="rect" coords="35,565,86,586" href="sounds.html" name="sounds">
<area shape="rect" coords="36,608,142,630" href="developerBios.html" name="developerBios">
<area shape="rect" coords="34,633,122,654" href="contactInfo.html" name="contactInfo">
<area shape="rect" coords="36,661,147,683" href="joinTheProject.html" name="joinTheProject">
</map>
<map name="Map2">
<area shape="rect" coords="460,132,603,174" href="http://www.sourceforge.net">
</map>
</body>
</html>