-
Notifications
You must be signed in to change notification settings - Fork 1
/
user_profile.php
138 lines (124 loc) · 4.06 KB
/
user_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
<?php
include('function.php');
session_start();
if (!isset($_SESSION['username']))
{
session_unset();
session_destroy();
header("Location:index.php");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Profile</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link href="http://fonts.googleapis.com/css?family=Lato" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://maps.googleapis.com/maps/api/js"></script>
</head>
<style>
.navbar{
border-radius: 0px;
}
.al{
border:1px solid black;
text:center;
background-color:#485E73;
padding:5px;
text-align:center;
color:white;
}
#ala{
width:550px;
border:2px;
padding:25px;
margin:30px;
}
#ala2{
width:550px;
border:2px;
padding:25px;
margin:30px;
}
.jumbotron {
margin-bottom: 0;
}
.modal-header, .a, .close {
background-color: #5cb85c;
color:white !important;
text-align: center;
font-size: 30px;
}
.modal-body{
color:black;
}
.modal-footer {
background-color: #f9f9f9;
}
</style>
<body>
<nav class="navbar navbar-inverse">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="#">HELPDESK.COM</a>
</div>
<ul class="nav navbar-nav">
<li class="active"><a href="user_home.php">Home</a></li>
<li><a href="#"></a></li>
<form class="navbar-form navbar-left">
<div class="input-group">
<input type="text" class="form-control" placeholder="Search">
<div class="input-group-btn">
<button class="btn btn-default" type="submit">
<i class="glyphicon glyphicon-search"></i>
</button>
</div>
</div>
</form>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="accept_news.php"><span class="glyphicon glyphicon-envelope"></span> Message</a></li>
<li><a href="permit_donor.php"><span class="glyphicon glyphicon-ok"></span> Accept</a></li>
<li><a href="donor_info.php"><span class="glyphicon glyphicon-gift"></span> Donate</a></li>
<li><a href="user_home.php"><span class="glyphicon glyphicon-search"></span> Receive</a></li>
<li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown"
href="#"><?php echo $_SESSION['username'];?>  <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="user_profile.php"><span class="glyphicon glyphicon-user"></span> Profile</a></li>
<li><a href="function.php?emp_username=<?php echo $_SESSION['username'];?> "><span class="glyphicon glyphicon-log-out"></span> Logout</a></li>
</ul>
</li>
</ul>
</div>
</nav>
<?php
echo "<div class='jumbotron'>
<div class='container text-center'>
<h1>Hi,".$_SESSION['username']."</h1><p>Member of Helpdesk.com</p></div></div>";
?>
<h3 class="al">Profile</h3>
<div class="row content">
<div class="col-sm-8" id="ala2">
<div class="cotainer text-center">
<?php echo"<h3>".$_SESSION['username']."</h3>"; ?>
<p><em>Welcome to HELP DESK</em></p>
<p>You are a member of this system.
Whenever you need any service you should login first and do stuff as regarding.You can here Apply for your needed accessories and donate it here,.</p>
</div>
</div>
</div>
<div class="jumbotron">
<div class="container">
<div class="row">
This site is built for helping Donors and Receivers .
</div>
</div>
</div>
<br>
<?php include('footer.php') ?>
</body>