Code Duplication    Length = 10-10 lines in 2 locations

views/life/editPlayer.php 1 location

@@ 219-228 (lines=10) @@
216
        </div>
217
      </div>
218
        <?php
219
        if ($_SESSION['permissions']['view']['steam'] || $player->playerid == $_SESSION['playerid']) {
220
            echo '<div class="col-md-2 col-sm-2 box0">';
221
            echo '<a href="http://steamcommunity.com/profiles/' . $player->playerid . '"';
222
            echo 'target="_blank">';
223
            echo '<div class="box1">';
224
            echo '<span class="fa fa-3x fa-steam"></span>';
225
            echo '<h3>Steam</h3>';
226
            echo '</div>';
227
            echo '</div></a>';
228
        } ?>
229
    </div>
230
231
    <div class="panel panel-default" style="float:left; width:100%; margin:0 auto;">

views/steam/life/player.php 1 location

@@ 102-111 (lines=10) @@
99
            </div>
100
        </div>
101
        <?php
102
        if ($_SESSION['permissions']['view']['steam'] || $uID == $_SESSION['playerid']) {
103
            echo '<div class="col-md-2 col-sm-2 box0">';
104
            echo '<a href="http://steamcommunity.com/profiles/' . $row["playerid"] . '"';
105
            echo 'target="_blank">';
106
            echo '<div class="box1">';
107
            echo '<span class="fa fa-3x fa-steam"></span>';
108
            echo '<h3>Steam</h3>';
109
            echo '</div>';
110
            echo '</div></a>';
111
        } ?>
112
    </div>
113
114
    <div class="panel panel-default" style="float:left; width:100%; margin:0 auto;">