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

@@ 255-257 (lines=3) @@
252
          if ($_SESSION['permissions']['edit']['houses']) {
253
              echo '<li><a href="#house" data-toggle="tab">' . $lang['houses'] . '</a></li>';
254
          }
255
          if ($_SESSION['permissions']['edit']['vehicles']) {
256
              echo '<li><a href="#veh" data-toggle="tab">' . $lang['vehicles'] . '</a></li>';
257
          }
258
          if ($_SESSION['permissions']['edit']['notes']) {
259
              echo '<li><a href="#notes" data-toggle="tab"> Notes</a></li>';
260
          }
@@ 411-413 (lines=3) @@
408
                        echo '<th>' . $lang['class'] . '</th>';
409
                        echo '<th class="hidden-xs">' . $lang['type'] . '</th>';
410
                        echo '<th class="hidden-xs">' . $lang['plate'] . '</th>';
411
                        if ($_SESSION['permissions']['edit']['vehicles']) {
412
                            echo "<th>" . $lang['edit'] . "</th>";
413
                        }
414
                        echo '</tr></thead><tbody';
415
                        echo '<tr>';
416
                        echo '<td>' . carName($veh->classname) . '</td>';