Code Duplication    Length = 10-10 lines in 2 locations

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

views/life/editPlayer.php 1 location

@@ 242-251 (lines=10) @@
239
                </div>
240
            </div>
241
            <?php
242
            if ($_SESSION['permissions']['view']['steam'] || $player->playerid == $_SESSION['playerid']) {
243
                echo '<div class="col-md-2 col-sm-2 box0">';
244
                echo '<a href="http://steamcommunity.com/profiles/'.$player->playerid.'"';
245
                echo 'target="_blank">';
246
                echo '<div class="box1">';
247
                echo '<span class="fa fa-3x fa-steam"></span>';
248
                echo '<h3>Steam</h3>';
249
                echo '</div>';
250
                echo '</div></a>';
251
            } ?>
252
        </div>
253
254
        <div class="panel panel-default" style="float:left; width:100%; margin:0 auto;">