So I've been reading the FAQ's and posts on the board, but I havent found what I am looking to do.
I need to place a custom header into my coppermine gallery so that coppermine appears the same as the rest of my website.
The only problem is, the custom header is more than just the top part.
On my site, the include I add to the top of my pages displays 1.) the header, and 2.) the navbar on the left.
On the right is the actual content of my page.
Finally on the bottom of my page I add the include for the footer.
While following the FAQ and posts on the board, I've managed to get the include working, but it simply displays on the top of the gallery.
I would need it to display on the top, and left, and have the gallery take over where it left off. Then conclude it with the footer.
The following is the code I use for the header include:
<?
session_start();
header("Cache-control: private");
include ($shost."includes/dbInfo.php");
$database = "users";
if(!array_key_exists('username', $_SESSION)) {
$access = 1;
}
else {
$username = $_SESSION['username'];
$query = "SELECT * FROM $database WHERE username = '$username'";
$result = mysql_query($query);
$access = mysql_result($result, 0, "access");
}
if($access < $security) {
?> <META HTTP-EQUIV="Refresh" CONTENT="2;URL=<? echo $ihost; ?>pleaselogin.php"> <?
exit();
}
?>
<html>
<head>
<title>Special Task Force USA - <? echo $title ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="stfusa.css">
</head>
<body background="<? echo $ihost; ?>images/bg.gif" text="#333333" link="#990000" vlink="#990000" alink="#990000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="770" border="0" cellpadding="0" cellspacing="0" class="bodyborder">
<tr>
<td colspan="2" valign="baseline"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="770" height="148">
<param name="movie" value="flash/header.swf">
<param name="quality" value="high">
<embed src="flash/header.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="770" height="148"></embed>
</object></td>
</tr>
<tr>
<td width="25%" valign="top" bgcolor="#32195B"><div align="center">
<?php include($shost."/includes/categories.php") ?>
</div></td>
<td width="75%" valign="top">
<!-- The following Table is for ALL content of the website. -->
Notice
<?php include($shost."/includes/categories.php") ?>
That's the navbar on the left.
Finally notice how it ends by opening <TD>...
This is for the content on the site - Footer starts with </TD>.
I hope someone will be able to help me get this working.