-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwelcome.php
More file actions
51 lines (42 loc) · 1.12 KB
/
welcome.php
File metadata and controls
51 lines (42 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
session_start();
if(!isset($_SESSION["username"]))
{
header("location:login.php");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Welcome User</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/global.css">
</head>
<body>
<nav class="navbar navbar-light" style="background-color: #d1dbda">
<a class="navbar-brand" href="home.html">Home</a>
<a class="btn btn-danger my-2 my-sm-0 rounded-pill" href="logout.php" role="button">Logout</a>
</nav>
<div class="container ">
<div class="row justify-content-center">
<div class="col-md-9">
<div class="form-group">
<h1 class="text-correct">WELCOME: <?php echo $_SESSION["username"] ?></h1>
</div>
<div class="form-group">
<form action="add.php" method="post">
<button class="button" name="add" >Add Task</button>
</form>
</div>
<div class="form-group">
<form action="view.php" method="post">
<button class="button1" id="view" type="submit">View</button>
</form>
</div>
</div>
</div>
</div>
</body>
</html>