Your IP : 3.142.42.247
<footer class="main-footer">
<div style="float:right">
<?php
if(array_key_exists('exchanger', $_POST)){
// $_SESSION['user'] = 'user' ;
header('location: ../user/dashboard.php');
exit;
}
if($_SESSION['user'] == 'admin'){ ?>
<form method="post" ><button type="submit" class="btn btn-primary btn-sm" name="exchanger">Administrative User</button></form> <?php } ?>
</div>
<strong>Copyright © <?php echo date('Y'); ?> <a href="">DCLM <?php echo strtoupper($_SESSION['region']); ?></a></strong>
</footer>