Code Duplication    Length = 10-10 lines in 2 locations

views/life/nav.php 1 location

@@ 29-38 (lines=10) @@
26
				<span><?php echo $lang['gangs']; ?></span>
27
			</a>
28
		</li>
29
	<?php } if (isset($_SESSION['steamsignon'])) {
30
        if ($_SESSION['steamsignon'] && $_SESSION['user_level'] == 1) {
31
            if ($settings['url'] == "/") {
32
                include("views/steam/life/nav.php");
33
            } else {
34
                include(realpath($settings['url']) . "views/steam/life/nav.php");
35
            }
36
		
37
        }
38
}

views/steam/life/nav.php 1 location

@@ 29-38 (lines=10) @@
26
				<span><?php echo $lang['gangs']; ?></span>
27
			</a>
28
		</li>
29
<?php } if (isset($_SESSION['steamsignon'])) {
30
    if ($_SESSION['steamsignon'] && $_SESSION['user_level'] == 1) {
31
        if ($settings['url'] == "/") {
32
            include("views/steam/life/nav.php");
33
        } else {
34
            include(realpath($settings['url']) . "views/steam/life/nav.php");
35
        }
36
	
37
    }
38
}