 |
 |
 |
|
require("inc/menu.php3"); ?>
|
|
 |
 |
 |
$qry = "select * from help where help_live_flag=1 order by help_rank, help_title";
$result = dbQuery($qry);
$num = dbNumRows($result);
$count = 1;
$htmlmenu = "";
$htmlmenu .= "";
$htmlmenu .= "| ";
$htmlmenu .= "";
while ($row=dbResults($result))
{
$help_title = $row->help_title;
$page_filename = help.".".php3;
$help_id2 = $row->help_id;
$help_title = ereg_replace("Admin", "", $help_title);
if ($count == 1) {$default_id=$row->help_id;}
if ($count < $num)
{
$bar = " | ";
$count++;
}
else
{
$bar = " ";
}
if ($help_id != 60 && $help_title != "Press Release Admin")
{
$htmlmenu .= "".$help_title."".$bar;
}
else
{
$htmlmenu .= "".$page_name."".$bar;
}
}
$htmlmenu .= "";
$htmlmenu .= " | ";
$htmlmenu .= " ";
$htmlmenu .= " ";
print $htmlmenu;
?>
 |
if ($help_id){
$qry = "select help_title,help_text from help where help_id=$help_id";
$result = dbQuery($qry);
while ($row=dbResults($result)){
$help_title = $row->help_title;
$help_text = $row->help_text;
echo "".$help_title."";
echo " ";
echo "".$help_text."";
}
}
else {
$help_id = $default_id;
$qry = "select help_title,help_text from help where help_id=$help_id";
$result = dbQuery($qry);
while ($row=dbResults($result)){
$help_title = $row->help_title;
$help_text = $row->help_text;
echo "".$help_title."";
echo " ";
echo "".$help_text."";
}
}
?>
|
|
 |
 |
 |
|
|
 |
|
|
 |
 |
 |