define(array(template => 'client_detail.html')); DrawHeader(); DrawMemberZone(); DrawMainBanner(); $section = "04"; $tpl->assign(array(VAR_SECTION_NAME => $SECTIONS[$section])); DrawContent($id, "en"); $otherContents = NULL; $sql = "SELECT * FROM content_tbl WHERE section = '$section' AND status = 'E' ORDER BY ordinal ASC "; $rs = $ado->Execute($sql); while ($contentObj = $rs->FetchNextObject()) { if ($id == $contentObj->ID) $otherContents .= "
  • ".stripslashes($contentObj->TOPIC); else $otherContents .= "
  • ".stripslashes($contentObj->TOPIC).""; } $tpl->assign(array(VAR_OTHER_CLIENTS => $otherContents)); DrawBanner("client"); DrawFooter(); $tpl->parse(TEMPLATE, "template"); $tpl->FastPrint(TEMPLATE); ?>