<?php
#
# includes the general head and a 
# title that is repeated as page name
function start_page ($title) {
  # include general header
  include("top.inc");
  # print title data to end head
  print "<title>$title</title></head>\n";
  # start the body and print title as a <h1>
  print "<body><h1>$title</h1>\n";
  return 1;
}

# includes a purpose-made footer and
# include general footer
#
function end_page ($footer) {
  # print footer that is specific to this page
  print $footer;
  # include general footer
  include("bot.inc");
  return 1;
}

?>

Valid XHTML 1.0!