Code Duplication    Length = 7-7 lines in 2 locations

main/exercice/exercise.class.php 2 locations

@@ 7389-7395 (lines=7) @@
7386
7387
                        $s.='<td width="45%" valign="top" >';
7388
7389
                        if (isset($select_items[$lines_count])) {
7390
                            $s.= '<div id="window_'.$windowId.'_answer" class="window window_right_question">
7391
                                    <b>'.$select_items[$lines_count]['letter'].'.</b> '.$select_items[$lines_count]['answer'].'
7392
                                  </div>';
7393
                        } else {
7394
                            $s.='&nbsp;';
7395
                        }
7396
7397
                        $s .= '</td>';
7398
                        $s .= '</tr>';
@@ 7466-7472 (lines=7) @@
7463
                                </script>';
7464
                        }
7465
7466
                        if (isset($select_items[$lines_count])) {
7467
                            $s.= '<div id="window_'.$windowId.'_answer" class="">
7468
                                    <b>'.$select_items[$lines_count]['letter'].'.</b> '.$select_items[$lines_count]['answer'].'
7469
                                  </div>';
7470
                        } else {
7471
                            $s.='&nbsp;';
7472
                        }
7473
                        $lines_count++;
7474
                        //if the left side of the "matching" has been completely
7475
                        // shown but the right side still has values to show...