<?/*
Copyright (C) 2003 Media Net Link, Inc. Danville, CA 94526 USA

This file is part of AthenaRMS.

AthenaRMS is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

AthenaRMS is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/?>
<?PHP
 
 # select statement here
  $sql="select topic, description
        from help
        where help_id = ? ";

  $h = $dbi->prepare($sql);
  $result = $dbi->execute( $h, array($_REQUEST['help_id']) );
  if (DB::isError($result)) {
    die($result->getMessage());
  }

  $row = $result->fetchRow();
   if (DB::isError($row)) {
    die($row->isError($row));
   }
?>
<HTML>
<HEAD>
<TITLE>AthenaRMS Demo</TITLE>
<LINK REL="stylesheet" HREF="<?= $web_root ?>/includes/css/global.css" TYPE="text/css">
</HEAD>
<BODY LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0"
 CLASS="helpdetail">
<CENTER>
<TABLE CELLPADDING="0" BORDER="0" CELLSPACING="0" WIDTH="100%">
<TR CLASS="offhelp">
<TD ALIGN="RIGHT">
<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0">
<TR>
<TD CLASS="btns-bar"><A HREF="body.php?page_id=<?= $_REQUEST['page_id'] ?>" CLASS="nobold">index</A>
</TR>
</TABLE></TD>
</TR>
<TR CLASS="offhelp">
<TD CLASS="ttyl"><B CLASS="atextbigger"><?= $row[0] ?></B></TD>
</TR>
<TR CLASS="offhelp">
<TD CLASS="body"><?= $row[1] ?></TD>
</TR>
<TR CLASS="offhelp">
<TD CLASS="body" ALIGN="CENTER"><A HREF="question.php?page_id=<?= $_REQUEST['page_id'] ?>&help_id=<?= $_REQUEST['help_id'] ?>"><IMG SRC="<?= $web_root ?>/img/btn-send-question.gif" WIDTH="87" HEIGHT="16" VSPACE="15" BORDER="0"></A></TD>
</TR>
</TABLE></CENTER> </BODY>
</HTML>
