i am having problems with my content changer script there are no errors when i try to load it and there is no page, i give you the whole html though there will be no images.
<?php
#Set Variables to content for tables depending on $page variable.
if($page == home )
{
$headid1 = "Welcome to our home-page This is your gateway to the rest of the site" ;
$msgid1 = "Welcome to Era-Games Homepage, we hope you find many things to do here,our demos our currently locked down because of the people exploiting this generous service" ;
$headid2 = "An Apology" ;
$msgid2 = "We apologize for the adverts on this screen and as soon as possible we are working to remove these." ;
$headbelow1 = " " ;
$msgbelow1 = " " ;
$headbelow2 = " " ;
$msgbelow2 = " " ;
}
else
if($page == about )
{
$headid1 = "Welcome to the about us page" ;
$msgid1 = " " ;
$headid2 = " " ;
$headbelow1 = " " ;
$msgbelow1 = " " ;
$headbelow2 = " " ;
$msgbelow2 = " " ;}
else
if( $page == forum )
{ header( "location:http://eragames2.byethost7.com/forum/"); exit();
}
else
if( $page == news )
{ header( "location:http://eragames2.byethost7.com/news/"); exit() ;
}
else
if( $page == contact )
{$headid1 = "Welcome to the Contact Us page" ;
$msgid1 = " " ;
$msgid2 = " "
$headid2 = " " ;
$headbelow1 = " " ;
$msgbelow1 = " " ;
$headbelow2 = " " ;
$msgbelow2 = " " ;
}
?>
<html>
<head>
<title></title>
<link rel=stylesheet type="text/css" href="style.css">
</head>
<body bottommargin="0" leftmargin="0" marginheight="0" marginwidth="0" rightmargin="0" topmargin="0" background="background.jpg" text="#EAF5FF">
<table width="100%" height="94" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="246" height="94" valign="top"><img src="blanklogo.jpg" width="246" height="94" border="0" alt=""></td>
<td width="368" height="94" valign="top"><img src="topbar1.jpg" width="368" height="94" border="0" alt=""></td>
<td width="100%" height="94" background="topbar1bg.jpg"> </td>
</tr>
</table>
<table width="100%" height="91" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="613" height="91"><img src="2maincolorarea.jpg" width="613" height="91" border="0" alt=""></td>
<td width="100%" height="91" background="2maincolorarea_bg.jpg"> </td>
</tr>
</table>
<table width="100%" height="33" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="246" height="33"><a href="index2.php?page=home"><img src="buttonhome.jpg" width="207" height="33" border="0" alt=""></a></td>
<td width="368" height="33"><img src="3buttonarea.jpg" width="427" height="33" border="0" alt=""></td>
<td width="100%" height="33" background="3buttonareabg.jpg"> </td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="207"> <a href="index2.php?page=about"> <img src="aboutusbutton.jpg" width="207" height="33" border="0" alt=""></a><BR>
<a href="index2.php?page=forum"><img src="Forumbutton.jpg" width="207" height="33" border="0" alt=""></a><BR>
<a href="index2.php?page=news"><img src="newsbutton.jpg" width="207" height="33" border="0" alt=""></a><BR>
<a href="index2.php?page=contact"><img src="contactbutton.jpg" width="207" height="33" border="0" alt=""></a><BR>
<BR>
<BR>
</td>
<td width="9"> </td>
<td width="554">
<table width="100%" cellpadding="10" cellspacing="0" border="0">
<tr valign="top">
<td>
<table width="100%" cellpadding="2" cellspacing="2" border="0"><tr valign="top">
<td width="48%" id="1">
<H3><?php echo( "$headid1" ) ?></h3>
<H3><?php echo( "$msgid1" ) ?></p>
</td>
<td width="1%"> </td>
<td width="51%" id="2"> <H3><?php echo( "$headid2" ) ?></h3>
<p align="justify"><?php echo( "$msgid2" ) ?></p>
</td>
</tr></table>
<H3><?php echo( "$headbelow1" ) ?></h3>
<p align="justify"><?php echo( "$msgbelow1" ) ?></p><BR>
<H3><?php echo( "$headbelow2" ) ?></h3>
<p align="justify"><?php echo( "$msgbelow2" ) ?></p>
<BR><BR><BR><BR><BR><BR><BR><BR><BR>
<BR><BR><BR><BR><BR><BR><BR><BR><BR>
<center>
Web site contents © Copyright in InigoDatabases and Era-Games 2006,
All rights reserved.
</center>
<center>
</center>
</td>
</tr>
</table>
</td>
<td width="85"> </td>
</tr>
</table>
</font>
</body
</html>