* Added nav-bar inside php file which is included in each page instead of copy pasting * Clicking on images will now redirect the user to a new page with the url of the image. This is to facilitate the exploit
14 lines
428 B
PHP
14 lines
428 B
PHP
<?php
|
|
|
|
echo "<nav class='navbar navbar-expand-lg navbar-light bg-light'>
|
|
<a class='navbar-brand' href='index.php'><img alt='logo' class='logo' src='static/img/logo.jpg'>Tux Gallery </a>
|
|
|
|
<div class='collapse navbar-collapse' id='navbarSupportedContent'>
|
|
<ul class='navbar-nav mr-auto'>
|
|
<li class='nav-item'>
|
|
<a class='nav-link' href='login.php'>Login</a>
|
|
</li>
|
|
</div>
|
|
</nav>";
|
|
|
|
?>
|