, Jam Warehouse (Pty) Ltd, South Africa
*/
require_once("../../../config/dmsDefaults.php");
require_once("$default->fileSystemRoot/presentation/Html.inc");
global $default;
$heading = "$default->graphicsUrl/heading.gif";
$hStretched = "$default->graphicsUrl/hrepeat.gif";
$row1 = "
";
//Output a title bar
$headingBar = "
\n";
$headingBar .= "\t\n";
$headingBar .= "\t\t | \n";
$headingBar .= "\t
\n";
$headingBar .= "
\n";
echo $headingBar;
//Query the database for the helpURL based on the current action
$sQuery = "SELECT HLP.help_info as helpinfo ".
"FROM $default->help_table AS HLP WHERE '$fAction' = HLP.fSection";
$sql = $default->db;
$sql->query($sQuery);
if ($sql->next_record()) {
require_once("$default->uiDirectory/help/" . $sql->f("helpinfo"));
} else {
echo "No help available for $fAction";
}
?>