PHP Classes

footers

Recommend this page to a friend!

      XHTML Page Creator  >  All threads  >  footers  >  (Un) Subscribe thread alerts  
Subject:footers
Summary:footers
Messages:2
Author:Grega Sever
Date:2005-11-28 13:14:12
Update:2005-11-29 11:57:00
 

  1. footers   Reply   Report abuse  
Picture of Grega Sever Grega Sever - 2005-11-28 13:14:12
I'm a newbee with xhtml. I'm looking for a substitution for word processor documents, but I have problems with footers. I'd like to have footer at the bottom of every page regardless of that, how many content is there (there are always problems with last page footer).

Thanks for an answer!
Greg [Slovenia]

  2. Re: footers   Reply   Report abuse  
Picture of Gábor Magasvári Gábor Magasvári - 2005-11-29 11:57:00 - In reply to message 1 from Grega Sever
DOCUMENT.php:

<?php
require_once("XHTMLClass.php");

$MyXHTMLDocument = new CreateXHTMLDocument; // Create New Class

$MyXHTMLDocument -> Header (); // Create Header

include ("content_for_main.php");
// or include ("content_about_us.php");
// or other content

require_once("FOOTER.php");

$MyXHTMLDocument -> DocumentEnd (); // Create Document End
?>

//-----------------------------------------------------------------
FOOTER.php:

<?php
echo '<div style="float: none; clear: both; text-align: center">
<address>
<a href="../People/Raggett/">Dave Raggett</a>,
<a href="../People/Arnaud/">Arnaud Le Hors</a>,
contact persons for the <a href="Activity">W3C HTML Activity</a><br />
$Date: 1999/12/24 23:37:50 $
</address>
</div>';
// http://www.w3.org/TR/REC-html40/struct/global.html
?>

 
For more information send a message to info at phpclasses dot org.