public function generateDropdownMenu($show_group)
    {
        $show_group = Container::get('hooks')->fire('model.userlist.generate_dropdown_menu_start', $show_group);

        $dropdown_menu = '';

        $result['select'] = ['g_id', 'g_title'];

        $result = DB::forTable('groups')
            ->selectMany($result['select'])
            ->whereNotEqual('g_id', ForumEnv::get('FEATHER_GUEST'))
            ->orderByExpr('g_id');
        $result = Container::get('hooks')->fireDB('model.userlist.generate_dropdown_menu_query', $result);
        $result = $result->findMany();

        foreach ($result as $cur_group) {
            if ($cur_group['g_id'] == $show_group) {
                $dropdown_menu .= "\t\t\t\t\t\t\t" . '<option value="' . $cur_group['g_id'] . '" selected="selected">' .
                    Utils::escape($cur_group['g_title']) . '</option>' . "\n";
            } else {
                $dropdown_menu .= "\t\t\t\t\t\t\t" . '<option value="' . $cur_group['g_id'] . '">' .
                    Utils::escape($cur_group['g_title']) . '</option>' . "\n";
            }
        }

        $dropdown_menu = Container::get('hooks')->fire('model.userlist.generate_dropdown_menu', $dropdown_menu);

        return $dropdown_menu;
    }