Code Duplication    Length = 5-5 lines in 2 locations

views/life/editPlayer.php 1 location

@@ 152-156 (lines=5) @@
149
        <i class="fa fa-2x fa-bank"></i>
150
        <h4> <?php echo $lang['bank'] . ": " . $player->bankacc; ?> </h4>
151
          <?php
152
          if ($player->arrested == 0) {
153
              echo "<h4><button type='button' id='arrested' class='arrest btn btn-xs btn-success'>" . $lang["not"] . " " . $lang["arrested"] . "</button></h4>";
154
          } else {
155
              echo "<h4><button type='button' id='arrested' class='arrest btn btn-xs btn-theme01'>" . $lang["arrested"] . "</button></h4>";
156
          }
157
158
          if ($player->blacklist == 0) {
159
              echo "<h4><button type='button' id='blacklist' class='arrest btn btn-xs btn-success'>" . $lang["not"] . " " . $lang["blacklisted"] . "</button></h4>";

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>";