Code Duplication    Length = 3-3 lines in 3 locations

views/life/vehicles.php 1 location

@@ 50-52 (lines=3) @@
47
                <th class="hidden-xs"><i class="fa fa-car"></i> <?php echo $lang['plate']; ?></th>
48
                <th class="hidden-xs"><i class="fa fa-car"></i> <?php echo $lang['alive']; ?></th>
49
                <th class="hidden-xs"><i class="fa fa-info"></i> <?php echo $lang['active']; ?></th>
50
                <?php if ($_SESSION['permissions']['edit']['vehicles']) {
51
    echo '<th><i class="fa fa-pencil"></i><span class="hidden-xs"> ' . $lang['edit'] . '</span></th>';
52
}
53
?>
54
            </tr>
55
            </thead>

views/life/editPlayer.php 2 locations

@@ 278-280 (lines=3) @@
275
                if ($_SESSION['permissions']['edit']['houses']) {
276
                    echo '<li><a href="#house" data-toggle="tab">'.$lang['houses'].'</a></li>';
277
                }
278
                if ($_SESSION['permissions']['edit']['vehicles']) {
279
                    echo '<li><a href="#veh" data-toggle="tab">'.$lang['vehicles'].'</a></li>';
280
                }
281
                if ($_SESSION['permissions']['edit']['notes']) {
282
                    echo '<li><a href="#notes" data-toggle="tab"> Notes</a></li>';
283
                }
@@ 441-443 (lines=3) @@
438
                                    echo '<th>'.$lang['class'].'</th>';
439
                                    echo '<th class="hidden-xs">'.$lang['type'].'</th>';
440
                                    echo '<th class="hidden-xs">'.$lang['plate'].'</th>';
441
                                    if ($_SESSION['permissions']['edit']['vehicles']) {
442
                                        echo '<th>'.$lang['edit'].'</th>';
443
                                    }
444
                                    echo '</tr></thead><tbody';
445
                                    echo '<tr>';
446
                                    echo '<td>'.carName($veh->classname).'</td>';