SWDW_Fruit_Store/login/interfaces/login_success.php
2025-06-06 17:14:52 +08:00

16 lines
535 B
PHP

<html>
<head>
<title>Success</title>
<link rel="stylesheet" href="./instruct.css" type="text/css" />
</head>
<body>
<div id="area">
<img src="../../icon/check.svg">
<h1>Welcome, <?php include '../../indexes/ConnectDB.php'; session_start(); echo $_SESSION['username']; ?>!</h1>
<script type='text/javascript'>
setTimeout(function() {window.top.location.href = '../../home.php';}, 1000);
</script>
</div>
</body>
</html>