grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026 0 ORDER BY relevance DESC"; $offset = 0; $limit = 30; $result = DBManagerFactory::getInstance()->limitQuery($query, $offset, $limit); $echo = ''; $echo .= ''; $count = 1; while ($row = DBManagerFactory::getInstance()->fetchByAssoc($result)) { $kb = BeanFactory::getBean('AOK_KnowledgeBase', $row['id']); $echo .= ''; $echo .= ''; $echo .= ''; $echo .= ''; $echo .= ''; $count++; } $echo .= '
' . $mod_strings['LBL_SUGGESTION_BOX_REL'] . '' . $mod_strings['LBL_SUGGESTION_BOX_TITLE'] . '' . $mod_strings['LBL_SUGGESTION_BOX_STATUS'] . '
 ' . $count . '' . $kb->name . '' . $app_list_strings['aok_status_list'][$kb->status] . '
'; if ($count > 1) { echo $echo; } else { echo $mod_strings['LBL_NO_SUGGESTIONS']; } die(); } public function action_get_kb_article() { global $mod_strings; $article_id = $_POST['article']; $article = new AOK_KnowledgeBase(); $article->retrieve($article_id); echo '' . $mod_strings['LBL_TOOL_TIP_TITLE'] . '' . $article->name . '
'; echo '' . $mod_strings['LBL_TOOL_TIP_BODY'] . '' . html_entity_decode($article->description); if (!$this->IsNullOrEmptyString($article->additional_info)) { echo '
'; echo '' . $mod_strings['LBL_TOOL_TIP_INFO'] . '

' . $article->additional_info . '

'; echo '' . $mod_strings['LBL_TOOL_TIP_USE'] . '
'; echo ''; } die(); } /** * Function for basic field validation (present and neither empty nor only white space * @param string $question * @return bool */ private function IsNullOrEmptyString($question) { return (!isset($question) || trim($question) === ''); } }