Code Duplication    Length = 5-5 lines in 2 locations

views/steam/life/player.php 1 location

@@ 51-55 (lines=5) @@
48
            <i style="padding-left:15px;" class="fa fa-2x fa-bank"></i>
49
            <h4> <?php echo $lang['bank'] . ": " . $player->bankacc; ?> </h4>
50
            <?php
51
                if ($player->arrested == 0) {
52
                    echo "<h4><button type='button' id='arrested' class='arrest btn btn-xs btn-success'>" . $lang["not"] . " " . $lang["arrested"] . "</button></h4>";
53
                } else {
54
                    echo "<h4><button type='button' id='arrested' class='arrest btn btn-xs btn-theme01'>" . $lang["arrested"] . "</button></h4>";
55
                }
56
57
                if ($player->blacklist == 0) {
58
                    echo "<h4><button type='button' id='blacklist' class='arrest btn btn-xs btn-success'>" . $lang["not"] . " " . $lang["blacklisted"] . "</button></h4>";

views/life/editPlayer.php 1 location

@@ 176-180 (lines=5) @@
173
                <i class="fa fa-2x fa-bank"></i>
174
                <h4> <?php echo $lang['bank'].': '.$player->bankacc; ?> </h4>
175
                <?php
176
                if ($player->arrested == 0) {
177
                    echo "<h4><button type='button' id='arrested' class='arrest btn btn-xs btn-success'>".$lang['not'].' '.$lang['arrested'].'</button></h4>';
178
                } else {
179
                    echo "<h4><button type='button' id='arrested' class='arrest btn btn-xs btn-theme01'>".$lang['arrested'].'</button></h4>';
180
                }
181
182
                if ($player->blacklist == 0) {
183
                    echo "<h4><button type='button' id='blacklist' class='arrest btn btn-xs btn-success'>".$lang['not'].' '.$lang['blacklisted'].'</button></h4>';