Code Duplication    Length = 7-7 lines in 2 locations

main/exercice/exercise.class.php 2 locations

@@ 7308-7314 (lines=7) @@
7305
7306
                        $s.='<td width="45%" valign="top" >';
7307
7308
                        if (isset($select_items[$lines_count])) {
7309
                            $s.= '<div id="window_'.$windowId.'_answer" class="window window_right_question">
7310
                                    <b>'.$select_items[$lines_count]['letter'].'.</b> '.$select_items[$lines_count]['answer'].'
7311
                                  </div>';
7312
                        } else {
7313
                            $s.='&nbsp;';
7314
                        }
7315
7316
                        $s .= '</td>';
7317
                        $s .= '</tr>';
@@ 7387-7393 (lines=7) @@
7384
                        }
7385
7386
7387
                        if (isset($select_items[$lines_count])) {
7388
                            $s.= '<div id="window_'.$windowId.'_answer" class="">
7389
                                    <b>'.$select_items[$lines_count]['letter'].'.</b> '.$select_items[$lines_count]['answer'].'
7390
                                  </div>';
7391
                        } else {
7392
                            $s.='&nbsp;';
7393
                        }
7394
                        $lines_count++;
7395
                        //if the left side of the "matching" has been completely
7396
                        // shown but the right side still has values to show...