'DisplayBest', 'db' => 'DisplayBest', 'dw' => 'DisplayWorst'); $control = cgip('control'); if (empty($control)) $control = cgip('action'); if (empty($DispatchTable[$control])) { PrintPage("Error: Dispatch table lookup failure, control does not exist: $control"); exit; } $DispatchTable[$control](); exit(0); ////////////////////////////////////////////////////////////////////// function DisplayBest() { global $BD; PrintPageTop("Best Messages"); $ContextFields = array(array($BD['BoardName'], $BD['HomePageURL']), array('Best Messages', '')); $contextLine = CreateContextLine($ContextFields); print $contextLine; $content = ''; $content .= GetSelector($time, $BD); PrintPageBottom(); } function GetSelector($selectedTime, $includeBest, $includeWorst, $forumID, $threadID) { print "Not implemented yet."; } ?>