header(); $this->title($title); } function title($title) { echo "

$title

\n"; } function header() { echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; } function footer() { echo ''; } function form($content, $action = 'index.php', $method = 'get') { echo '
'; echo $content; echo ''; echo '
'; echo '
'; } function form_input_text($name) { return ucfirst($name) .': '; } function navbar($entry, $entries, $action = 'index.php') { // First / prev links. if ($entry != 1) { $prev = $entry - 1; echo 'first '; echo '< prev '; } // Next / last links. if ($entry < $entries) { $next = $entry + 1; echo 'next > '; echo 'last'; } } }