Hi
I've set up my header in the path to custom header include, however it only shows up on the index page, it doesn't carry across to the other pages, like albums, ect.
here is my header.php
<?php
if ($_SERVER['PHP_SELF'] == 'index.php' && empty($_GET['cat'])){
?>
<div align="center">
<table border="0" width="980" bgcolor="#FFFFFF" id="table1" cellspacing="0" cellpadding="0">
<tr>
<td colspan="8">
<p align="center">
<img border="0" src="images/logo.jpg" width="980" height="150"></td>
</tr>
<tr>
<td bordercolor="#FFFFFF" bgcolor="#B4CDCD" align="center">
<p align="center"><b><font color="#FFFFFF">
<a href="forum/usercp.php">UserCP</a></font></b></td>
<td bordercolor="#FFFFFF" bgcolor="#B4CDCD" align="center">
<b><font color="#FFFFFF">
<a href="forum/search.php?do=getnew">
New Posts</a></font></b></td>
<td bordercolor="#FFFFFF" bgcolor="#B4CDCD" align="center">
<b><font color="#FFFFFF">
<a href="gallery/">Gallery</a></font></b></td>
<td bordercolor="#FFFFFF" bgcolor="#B4CDCD" align="center">
<b><font color="#FFFFFF">
<a href="forum/faq.php">FAQ</a></font></b></td>
<td bordercolor="#FFFFFF" bgcolor="#B4CDCD" align="center">
<b><font color="#FFFFFF">
<a href="forum/calendar.php">
Calendar</a></font></b></td>
<td bordercolor="#FFFFFF" bgcolor="#B4CDCD" align="center">
<b><font color="#FFFFFF">
<a href="forum/forumdisplay.php?f=39">
Newsletter</a></font></b></td>
<td bordercolor="#FFFFFF" bgcolor="#B4CDCD" align="center">
<b><font color="#FFFFFF">
<a href="forum/memberlist.php">
Members List</a></font></b></td>
<td bordercolor="#FFFFFF" bgcolor="#B4CDCD" align="center">
<b><font color="#FFFFFF">
<a href="forum/login.php?do=logout&logouthash=19fdea16b5d883e000f4b999c4d60f87">
Log Out</a></font></b></td>
</tr>
<tr>
<td colspan="8">
</tr>
</table>
</table>
</div>
<?php
}
Any ideas how to fix this?
Thanks so much!
T.