Code Duplication    Length = 7-7 lines in 2 locations

main/exercice/exercise.class.php 2 locations

@@ 7319-7325 (lines=7) @@
7316
7317
                        $s.='<td width="45%" valign="top" >';
7318
7319
                        if (isset($select_items[$lines_count])) {
7320
                            $s.= '<div id="window_'.$windowId.'_answer" class="window window_right_question">
7321
                                    <b>'.$select_items[$lines_count]['letter'].'.</b> '.$select_items[$lines_count]['answer'].'
7322
                                  </div>';
7323
                        } else {
7324
                            $s.='&nbsp;';
7325
                        }
7326
7327
                        $s .= '</td>';
7328
                        $s .= '</tr>';
@@ 7398-7404 (lines=7) @@
7395
                        }
7396
7397
7398
                        if (isset($select_items[$lines_count])) {
7399
                            $s.= '<div id="window_'.$windowId.'_answer" class="">
7400
                                    <b>'.$select_items[$lines_count]['letter'].'.</b> '.$select_items[$lines_count]['answer'].'
7401
                                  </div>';
7402
                        } else {
7403
                            $s.='&nbsp;';
7404
                        }
7405
                        $lines_count++;
7406
                        //if the left side of the "matching" has been completely
7407
                        // shown but the right side still has values to show...