Code Duplication    Length = 1-1 lines in 3 locations

views/core/dashboard.php 1 location

@@ 8-8 (lines=1) @@
5
        </h1>
6
    </div>
7
</div>
8
<?php if (isset($_SESSION['update'])) echo '<div class="alert alert-info" role="alert">' . $land['updateMessage'] . ' (' . $_SESSION['message']->version . ')</div>'; ?>
9
10
<div class="row mt mb">
11
  <div class="col-md-12">

views/life/dashboard.php 2 locations

@@ 19-19 (lines=1) @@
16
                    </h1>
17
                </div>
18
            </div>
19
            <?php if (isset($_SESSION['update'])) {
20
                echo '<div class="alert alert-info" role="alert">'.$land['updateMessage'].' ('.$_SESSION['message']->version.') <a href="https://github.com/Cyberbyte-Studios/CyberWorks/releases">Download Section</a</div>';
21
            } ?>
22
            <div class="row">
@@ 179-179 (lines=1) @@
176
                    </h1>
177
                </div>
178
            </div>
179
            <?php if (isset($_SESSION['update'])) {
180
                echo '<div class="alert alert-info" role="alert">'.$land['updateMessage'].' ('.$_SESSION['message']->version.') <a href="https://github.com/Cyberbyte-Studios/CyberWorks/releases">Download Section</a</div>';
181
            } ?>
182
            <div class="row">