-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathadmin_profile.php
176 lines (154 loc) · 6.73 KB
/
admin_profile.php
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<?php
session_start();
if (isset($_SESSION['id']) && isset($_SESSION['user_name'])) {
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Admin Profile</title>
<!--font awsome-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous" />
<link rel="stylesheet" href="./styles/user_profile.css">
<link rel="stylesheet" href="./styles/footer.css">
<link rel="stylesheet" href="./styles/admin_navbar.css" />
<link rel="icon" type="image/ico" href="./Image/logo1.ico">
<?php require_once "head.php" ?>
</head>
<style>
body{
background-image: url(Image/background4.jpg);
width: 100%;
height: 100%;
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
}
</style>
<body>
<?php require_once "admin_navbar.php" ?>
<!--user profile--->
<div class="container">
<br>
<!--profile details-->
<div class="container">
<div class="row">
<h3>Hello, <?php echo $_SESSION['name']; ?></h3>
<br><br><br>
</div>
</div>
<!--profile setting-->
<div class="row">
<div class="col-md-4 col-sm-12">
<div class="card h-20" id="abtcard">
<div class="row" id="test" >
<div class="col-md-4 col-sm-4 col-4 col-centered" id="test">
<a href="addItems.php"><img src="Image/profile/edit.png" class="img-fluid" id="card_img" alt="img"></a>
</div>
<div class="col-md-8 col-sm-8 col-8 col-centered" id="test">
<h5>Add Book</h5>
<p>Add item for public viewing</p>
</div>
</div>
</div>
</div>
<div class="col-md-4 col-sm-12">
<div class="card h-90" id="abtcard">
<div class="row" id="test" >
<div class="col-md-4 col-sm-4 col-4 col-centered" id="test">
<a href="admin_itemList.php"><img src="Image/profile/lists.png" class="img-fluid" id="card_img" alt="img"></a>
</div>
<div class="col-md-8 col-sm-8 col-8 col-centered" id="test">
<h5>Edit lists</h5>
<p>Remove & Edit items</p>
</div>
</div>
</div>
</div>
<div class="col-md-4 col-sm-12">
<div class="card h-90" id="abtcard">
<div class="row" id="test" >
<div class="col-md-4 col-sm-4 col-4 col-centered" id="test">
<img src="Image/profile/messages.jpg" class="img-fluid" id="card_img" alt="img">
</div>
<div class="col-md-8 col-sm-8 col-8 col-centered" id="test">
<h5>Messages</h5>
<p>Create new messages</p>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4 col-sm-12">
<div class="card h-90" id="abtcard">
<div class="row" id="test" >
<div class="col-md-4 col-sm-4 col-4 col-centered" id="test">
<img src="Image/profile/gift.png" class="img-fluid" id="card_img" alt="img">
</div>
<div class="col-md-8 col-sm-8 col-8 col-centered" id="test">
<h5>Gift cards</h5>
<p>Add gift voucher</p>
</div>
</div>
</div>
</div>
<div class="col-md-4 col-sm-12">
<div class="card h-90" id="abtcard">
<div class="row" id="test" >
<div class="col-md-4 col-sm-4 col-4 col-centered" id="test">
<img src="Image/profile/payment.png" class="img-fluid" id="card_img" alt="img">
</div>
<div class="col-md-8 col-sm-8 col-8 col-centered" id="test">
<h5>Payment</h5>
<p>Manage payment settings </p>
</div>
</div>
</div>
</div>
<div class="col-md-4 col-sm-12">
<div class="card h-90" id="abtcard">
<div class="row" id="test" >
<div class="col-md-4 col-sm-4 col-4 col-centered" id="test">
<img src="Image/profile/profiles.png" class="img-fluid" id="card_img" alt="img">
</div>
<div class="col-md-8 col-sm-8 col-8 col-centered" id="test">
<h5>Edit Profile</h5>
<p>Manage and remove user profile</p>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4 col-sm-12">
<div class="card h-20" id="abtcard">
<div class="row" id="test" >
<div class="col-md-4 col-sm-4 col-4 col-centered" id="test">
<a href="addItems.php"><img src="Image/profile/archived.png" class="img-fluid" id="card_img" alt="img"></a>
</div>
<div class="col-md-8 col-sm-8 col-8 col-centered" id="test">
<h5>Abandoned Checkouts</h5>
<p>Track Abandoned Checkouts</p>
</div>
</div>
</div>
</div>
</div>
<div class="logout">
<a href="logout_admin.php">Logout</a>
</div>
</div>
<?php require_once "script.php" ?>
<?php require_once "footer.php" ?>
</body>
</html>
<?php
}else{
header("Location: admin_login.php");
exit();
}
?>