Jump to content

I only see my header and not my footer.


Scotty13

Recommended Posts

WHEN I PULL UP MY WEBSITE IN MY BROWSER, THEY ONLY SEE IS MY HEADER AND NOT MY FOOTER.

 

THIS IS MY INTEX.HTML IN MY WEBSITE FOLDER....

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">'>http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>My Web Site</title>

<style type="text/css">

<!--

.centerheader {

text-align: center;

}

-->

</style></head>

 

<body>

 

<div class="centerheader">

<script language="JavaScript" type="text/javascript">

AC_FL_RunContent(

'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',

'width', '950',

'height', '177',

'src', 'header',

'quality', 'high',

'pluginspage', 'http://www.adobe.com/go/getflashplayer',

'align', 'middle',

'play', 'true',

'loop', 'true',

'scale', 'showall',

'wmode', 'window',

'devicefont', 'false',

'id', 'header',

'bgcolor', '#ffffff',

'name', 'header',

'menu', 'true',

'allowFullScreen', 'false',

'allowScriptAccess','sameDomain',

'movie', 'header',

'salign', ''

); //end AC code

</script>

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="950" height="177" id="header" align="middle">

<param name="allowScriptAccess" value="sameDomain" />

<param name="allowFullScreen" value="false" />

<param name="movie" value="root/header.swf" />

<param name="quality" value="high" />

<param name="bgcolor" value="#ffffff" />

<embed src="root/header.swf" quality="high" bgcolor="#ffffff" width="950" height="177" name="header" align="middle" allowscriptaccess="sameDomain" allowfullscreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />

</object>

</div>

<span class="centerheader"></span>

 

</body>

</html>

 

 

THIS IS MY INTEX.HTML IN MY ROOT FOLDER....

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<meta name="Description" content="My web Site" />

<meta name="Keywords" content="my, web, site" />

<meta name="rating" content="General" />

<meta name="revisit-after" content="7 days" />

<meta name="ROBOTS" content="All" />

<title>My Web Site</title>

<link href="style/main.css" rel="stylesheet" type="text/css" />

<link rel="icon" href="http://www.myglobalpnr.com/favicon.ico"'>http://www.myglobalpnr.com/favicon.ico" type="image/x-icon" />

<link rel="shortcut icon" href="http://www.myglobalpnr.com/favicon.ico" type="image/x-icon" /></head>

</head>

 

<body>

<?php include_once "header_template.php"; ?> (Its not in color like it should be)

<table width="950" align="center">

<tr>

<td width="758" valign="top"><p class="bluetext"> </p>

<p> </p>

<p> </p>

<p>Home</p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p>

<p> </p></td>

<td width="180" valign="top"><h1> </h1></td>

</tr>

</table>

<?php include_once "footer_template.php"; ?> (Its not in color like it should be)

</body>

</html>

 

 

THANKS IN ADVANCE FOR YOUR HELP IN ADVANCE,

 

SCOTTY13

Link to comment
Share on other sites

I'm a bit confused about your file naming, since you called both files above "INTEX.HTML" (unless that was a typo on your part). If you are using php includes, each of your files need to end with ".php" for the includes to work. Also, make sure you only have one set of html/head/body tags -- if you main index.php file includes those, you don't need to repeat them within the files you are including.

Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...

Hello,

 

You're listing two HTML files but in the second one you're including 2 PHP files. Can you post the contents of each PHP file as the code inside of them might be breaking your HTML page and therefore not displaying the footer.

 

 

Regards

Weblinkindia

Link to comment
Share on other sites

You're listing two HTML files but in the second one you're including 2 PHP files. Can you post the contents of each PHP file as the code inside of them might be breaking your HTML page and therefore not displaying the footer.

Make sure you check the date of the post when posting answers. This question was posted in May 2010 -- nearly 5 months ago. It's a bit late to try to help now, and it seems like the original poster hasn't been back.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...