Code Duplication    Length = 3-5 lines in 2 locations

views/life/gangs.php 2 locations

@@ 65-67 (lines=3) @@
62
            }?>
63
            <th class="hidden-xs"><i class="fa fa-user"></i> <?php echo $lang['maxMembers']; ?></th>
64
            <th class="hidden-xs"><i class="fa fa-user"></i> <?php echo $lang['active']; ?></th>
65
            <?php if ($_SESSION['permissions']['edit']['gangs']) {
66
                echo '<th><i class="fa fa-pencil"></i>' . $lang['edit'] . '</th>';
67
            }
68
            ?>
69
        </tr>
70
        </thead>
@@ 81-85 (lines=5) @@
78
            echo "<td class='hidden-xs'>" . $row["bank"] . "</td>";
79
            $members = substr_count($row['members'], ",");
80
            $members++;
81
            if ($_SESSION['permissions']['edit']['gangs']) {
82
                echo "<td class='hidden-xs'>" . $members . "</td>";
83
            } else {
84
                echo "<td>" . $members . "</td>";
85
            }
86
            echo "<td class='hidden-xs'>" . $row["maxmembers"] . "</td>";
87
            echo "<td class='hidden-xs'>" . yesNo($row["active"], $lang) . "</td>";
88
            if ($_SESSION['permissions']['edit']['gangs']) {