<?php 
 
session_start();
 
if (!isset($_SESSION['username'])) {
    header("Location: index.php");
}
 
?>
 
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
 
    <link rel="stylesheet" type="text/css" href="style.css">
    <title>Berhasil Login</title>
</head>
<body>
    <div class="container-logout">
        <form action="" method="POST" class="login-username">
            <?php echo "<script>location.href='https://migunanitumrapingliyan.top/webgis-umk/index.php'</script>"; ?>
            <!--<div class="input-group">
            <a href="logout.php" class="btn">Logout</a>
            </div>-->
        </form>
    </div>
</body>
</html>