renamed the php files and added buttons in the welcome page
This commit is contained in:
parent
7cc6afb56c
commit
8f2965c051
18
welcome.php
18
welcome.php
@ -10,21 +10,35 @@ if(!is_connected()){
|
|||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Welcome</title>
|
<title>Welcome</title>
|
||||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.css">
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body{ font: 14px sans-serif; text-align: center; }
|
body {
|
||||||
|
font: 14px sans-serif;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>Hi, <b><?php echo htmlspecialchars(get_user_info_from_session_id("first_name")); ?></b>. Welcome to our site.</h1>
|
<h1>Hi, <b><?php echo htmlspecialchars(get_user_info_from_session_id("first_name")); ?></b>. Welcome to food-inventory.</h1>
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
<a href="reset-password.php" class="btn btn-warning">Reset Your Password</a>
|
<a href="reset-password.php" class="btn btn-warning">Reset Your Password</a>
|
||||||
<a href="logout.php" class="btn btn-danger">Sign Out of Your Account</a>
|
<a href="logout.php" class="btn btn-danger">Sign Out of Your Account</a>
|
||||||
</p>
|
</p>
|
||||||
|
<p>
|
||||||
|
<a href="list-cupboards.php" class="btn btn-info">List cupboards</a>
|
||||||
|
<a href="list-products.php" class="btn btn-info">List products</a>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<a href="add-cupboard.php" class="btn btn-info">Add cupboard</a>
|
||||||
|
<a href="add-product.php" class="btn btn-info">Add product</a>
|
||||||
|
</p>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user