change the index page to the index for the login
This commit is contained in:
parent
dd599083d3
commit
da8efe9595
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
//include auth.php file on all secure pages
|
||||
include("db/auth.php");
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Welcome Home</title>
|
||||
<link rel="stylesheet" href="css/loginstyle.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="form">
|
||||
<p>Welcome <?php echo $_SESSION['username']; ?>!</p>
|
||||
<p>This is secure area.</p>
|
||||
<p><a href="db/dashboard.php">Dashboard</a></p>
|
||||
<a href="db/logout.php">Logout</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue