'Display the phishing scenarios
:param self: A TuiTemplateSelection object
:type self: TuiTemplateSelection
:param screen: A curses window object
:type screen: _curses.curses.window
:return total row numbers used to display the phishing scenarios
:rtype: int'

def display_phishing_scenarios(self, screen):

    try:
        (max_window_height, max_window_len) = screen.getmaxyx()
        if ((self.dimension[0] != max_window_height) or (self.dimension[1] != max_window_len)):
            screen.erase()
        self.dimension[0] = max_window_height
        self.dimension[1] = max_window_len
        self.update_sec_page_map((max_window_height - 20))
        display_str = 'Options:    [Up    Arrow]    Move    Up        [Down    Arrow]    Move    Down'
        screen.addstr(0, 0, display_string(max_window_len, display_str))
        display_str = 'Avaliable    Phishing    Scenarios:'
        screen.addstr(3, 0, display_string(max_window_len, display_str), curses.A_BOLD)
    except curses.error:
        return 0
    row_num = 5
    first = False
    for (number, short_lines) in enumerate(self.sections):
        try:
            if ((self.sec_page_map[self.heightlight_number] != self.page_number) and (not first)):
                screen.addstr(row_num, 2, short_lines[0], self.heightlight_text)
                self.heightlight_number = 0
                self.page_number = 0
                first = True
            if (self.sec_page_map[number] != self.page_number):
                continue
            screen.addstr(row_num, 0, str((number + 1)), self.green_text)
            if (number == self.heightlight_number):
                screen.addstr(row_num, 2, short_lines[0], self.heightlight_text)
            else:
                screen.addstr(row_num, 2, short_lines[0], curses.A_BOLD)
            row_num += 1
            screen.addstr(row_num, 8, short_lines[1])
            row_num += 1
            if (len(short_lines) > 1):
                for short_line in short_lines[2:]:
                    screen.addstr(row_num, 0, short_line)
                    row_num += 1
            row_num += 1
        except curses.error:
            return row_num
    return row_num
