-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
executable file
·136 lines (97 loc) · 3.25 KB
/
header.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
<?php
$headerId = $_SESSION['id'];
$queryHeader = "SELECT * FROM `users` WHERE email = '$email'";
$resultHeader = mysqli_query($db,$queryHeader);
$userHeader = mysqli_fetch_assoc($resultHeader);
mysqli_free_result($resultHeader);
?>
<!doctype html>
<html lang="en">
<head>
<!-- Basic Page Needs
================================================== -->
<title>Hireo</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!-- CSS
================================================== -->
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/colors/blue.css">
<style>
.text-capitalize{
text-transform: capitalize !important;
}
</style>
</head>
<body>
<!-- Wrapper -->
<div id="wrapper">
<!-- Header Container
================================================== -->
<header id="header-container" class="fullwidth">
<!-- Header -->
<div id="header">
<div class="container">
<!-- Left Side Content -->
<div class="left-side">
<!-- Logo -->
<div id="logo">
<a href="./"><img src="images/logo.png" alt=""></a>
</div>
<!-- Main Navigation -->
<nav id="navigation">
<ul id="responsive">
<li><a href="/gigs" >Home</a></li>
<li><a href="tasks.php">Find Work</a></li>
</ul>
</nav>
<div class="clearfix"></div>
<!-- Main Navigation / End -->
</div>
<!-- Left Side Content / End -->
<!-- Right Side Content / End -->
<div class="right-side">
<!-- User Menu -->
<div class="header-widget">
<!-- Messages -->
<div class="header-notifications user-menu">
<div class="header-notifications-trigger">
<a href="pages-404.html#"><div class="user-avatar status-online"><img src="<?php echo $userHeader['photo'];?>" alt=""></div></a>
</div>
<!-- Dropdown -->
<div class="header-notifications-dropdown">
<!-- User Status -->
<div class="user-status">
<!-- User Name / Avatar -->
<div class="user-details">
<div class="user-avatar status-online"><img src="<?php echo $userHeader['photo'];?>" alt=""></div>
<div class="user-name text-capitalize">
<?php
echo $userHeader['firstName'] .' '. $userHeader['lastName'].'
<span></span>' ?>
</div>
</div>
</div>
<ul class="user-menu-small-nav">
<li><a href="dashboard.php"><i class="icon-material-outline-dashboard"></i> Dashboard</a></li>
<li><a href="settings.php"><i class="icon-material-outline-settings"></i> Settings</a></li>
<li><a href="logout.php"><i class="icon-material-outline-power-settings-new"></i> Logout</a></li>
</ul>
</div>
</div>
</div>
<!-- User Menu / End -->
<!-- Mobile Navigation Button -->
<span class="mmenu-trigger">
<button class="hamburger hamburger--collapse" type="button">
<span class="hamburger-box">
<span class="hamburger-inner"></span>
</span>
</button>
</span>
</div>
<!-- Right Side Content / End -->
</div>
</div>
<!-- Header / End -->
</header>