eshep005
03-03-2007, 01:52 PM
Hey,
My links in my left table won't appear in the main table. My link is: www.e-shep.com. I want the page to appear in the main table (like the main.php)when I click on the link located in the left table. Can someone look at my code and tell me what's wrong?
index code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title> Emily D. Shepherd: Online Portfolio</title>
<script language="JavaScript">
function bookie(page) {
OpenWin = this.open(page, "bookie",
"toolbar=no,menubar=no,status=no,location=no,scroll bars=yes,resizable=no,width=500,height=400");
}
</script>
</head>
<link rel="stylesheet" type="text/css" href="style.css">
<body background="/images/bg.png" body bgcolor="#000000" scroll=auto>
<center>
<img src="/images/top.png" width="695" height="393" alt="" border="0">
<BR>
<table width="695" border="1" bgcolor="transparent" bordercolorlight="#ffffff" bordercolordark="#ffffff">
<tr>
<td width="170" td bgcolor="#000000" Valign="top"><?php
$k = basename($k);
if(!$k)
include("left.php");
else
include($k);
?></td>
<td width="525" td bgcolor="#DCDCDC" Valign="top"><?php
$z = basename($z);
if(!$z)
include("main.php");
else
include($z);
?></td>
</tr>
</table>
<table width="695" border="1" bgcolor="transparent" bordercolorlight="#ffffff" bordercolordark="#ffffff">
<tr>
<tr>
<td width="695" td bgcolor="#00C0C0" Valign="top"><?php
$k = basename($k);
if(!$k)
include("footer.php");
else
include($k);
?></td>
</tr>
</table
</body>
</html>
The left table's text is as follows:
<img src="/images/reg.png" border="0"><a href="index.pgp?z=about.htm">About Me[/url]<BR>
<img src="/images/reg.png" border="0"><a href="index.php?z=objectives.htm">Career Objectives[/url]<BR>
<img src="/images/reg.png" border="0"><a href="index.php?z=transcript.htm">ODU Transcript[/url]<BR>
<img src="/images/reg.png" border="0"><a href="index.php?z=resume.htm">Resume[/url]<BR>
<img src="/images/reg.png" border="0"><a href="index.php?z=skills.htm">Proficiencies[/url]<BR>
<img src="/images/reg.png" border="0"><a href="index.php?z=memberships.htm">Memberships[/url]<BR>
<img src="/images/reg.png" border="0"><a href="index.php?z=mgmt.htm">Management Work[/url]<BR>
<img src="/images/reg.png" border="0"><a href="index.php?z=mktg.htm">Marketing Work[/url]<BR>
<img src="/images/reg.png" border="0"><a href="index.php?z=web.htm">Web Art & Sites[/url]<BR>
<img src="/images/reg.png" border="0"><a href="index.php?z=contact.html">Contact Me[/url]<BR>
<img src="/images/reg.png" border="0"><a href="index.php?z=main.html">Home[/url]<BR>
I don't know what in the world I did, it used to work but this is my first website in a few years so I'm trying to relearn and this is stumping me.
Thank you,
Emily
My links in my left table won't appear in the main table. My link is: www.e-shep.com. I want the page to appear in the main table (like the main.php)when I click on the link located in the left table. Can someone look at my code and tell me what's wrong?
index code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title> Emily D. Shepherd: Online Portfolio</title>
<script language="JavaScript">
function bookie(page) {
OpenWin = this.open(page, "bookie",
"toolbar=no,menubar=no,status=no,location=no,scroll bars=yes,resizable=no,width=500,height=400");
}
</script>
</head>
<link rel="stylesheet" type="text/css" href="style.css">
<body background="/images/bg.png" body bgcolor="#000000" scroll=auto>
<center>
<img src="/images/top.png" width="695" height="393" alt="" border="0">
<BR>
<table width="695" border="1" bgcolor="transparent" bordercolorlight="#ffffff" bordercolordark="#ffffff">
<tr>
<td width="170" td bgcolor="#000000" Valign="top"><?php
$k = basename($k);
if(!$k)
include("left.php");
else
include($k);
?></td>
<td width="525" td bgcolor="#DCDCDC" Valign="top"><?php
$z = basename($z);
if(!$z)
include("main.php");
else
include($z);
?></td>
</tr>
</table>
<table width="695" border="1" bgcolor="transparent" bordercolorlight="#ffffff" bordercolordark="#ffffff">
<tr>
<tr>
<td width="695" td bgcolor="#00C0C0" Valign="top"><?php
$k = basename($k);
if(!$k)
include("footer.php");
else
include($k);
?></td>
</tr>
</table
</body>
</html>
The left table's text is as follows:
<img src="/images/reg.png" border="0"><a href="index.pgp?z=about.htm">About Me[/url]<BR>
<img src="/images/reg.png" border="0"><a href="index.php?z=objectives.htm">Career Objectives[/url]<BR>
<img src="/images/reg.png" border="0"><a href="index.php?z=transcript.htm">ODU Transcript[/url]<BR>
<img src="/images/reg.png" border="0"><a href="index.php?z=resume.htm">Resume[/url]<BR>
<img src="/images/reg.png" border="0"><a href="index.php?z=skills.htm">Proficiencies[/url]<BR>
<img src="/images/reg.png" border="0"><a href="index.php?z=memberships.htm">Memberships[/url]<BR>
<img src="/images/reg.png" border="0"><a href="index.php?z=mgmt.htm">Management Work[/url]<BR>
<img src="/images/reg.png" border="0"><a href="index.php?z=mktg.htm">Marketing Work[/url]<BR>
<img src="/images/reg.png" border="0"><a href="index.php?z=web.htm">Web Art & Sites[/url]<BR>
<img src="/images/reg.png" border="0"><a href="index.php?z=contact.html">Contact Me[/url]<BR>
<img src="/images/reg.png" border="0"><a href="index.php?z=main.html">Home[/url]<BR>
I don't know what in the world I did, it used to work but this is my first website in a few years so I'm trying to relearn and this is stumping me.
Thank you,
Emily