-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuser.php
More file actions
120 lines (114 loc) · 2.72 KB
/
Copy pathuser.php
File metadata and controls
120 lines (114 loc) · 2.72 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
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
<?php
include('dbconnect.php');
session_start();
$reg=$_SESSION['uname'];
echo $reg;
$result4 = mysqli_query($con,"SELECT * FROM `tbl_register` where `reg_email`='$reg' ");
while($row3 = mysqli_fetch_array($result4))
{
$uname=$row3['reg_name'];
$mail=$row3['reg_email'];
$mobile=$row3['reg_phone'];
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Boxicons -->
<link href='https://unpkg.com/boxicons@2.0.9/css/boxicons.min.css' rel='stylesheet'>
<!-- My CSS -->
<link rel="stylesheet" href="css/dashboard.css">
<title>Tree of Life</title>
</head>
<body>
<!-- SIDEBAR -->
<section id="sidebar">
<a href="#" class="brand">
<br><br>
<img src="images/logo.png" height="200" width="250" align="left">
</a>
<ul class="side-menu top">
<li class="active">
<a href="user.php">
<i class='bx bxs-dashboard' ></i>
<span class="text">Dashboard</span>
</a>
</li>
<li>
<a href="booking.php">
<i class='bx bxs-doughnut-chart' ></i>
<span class="text">Booking</span>
</a>
</li>
<li>
<a href="product.php">
<i class='bx bxs-doughnut-chart' ></i>
<span class="text">Products</span>
</a>
</li>
<li>
<a href="mycart.php">
<i class='bx bxs-doughnut-chart' ></i>
<span class="text">My Cart</span>
</a>
</li>
<li>
<a href="viewassigncus.php">
<i class='bx bxs-doughnut-chart' ></i>
<span class="text">Assign</span>
</a>
</li>
<li>
<a href="feedback.php">
<i class='bx bxs-doughnut-chart' ></i>
<span class="text">Feedback</span>
</a>
</li>
<li>
<a href="updatepassword.php">
<i class='bx bxs-group' ></i>
<span class="text">Update Password</span>
</a>
</li>
</ul>
<ul class="side-menu">
<li>
<a href="login.php" class="logout">
<i class='bx bxs-log-out-circle' ></i>
<span class="text">Logout</span>
</a>
</li>
</ul>
</section>
<!-- CONTENT -->
<section id="content">
<!-- MAIN -->
<main>
<div class="table-data">
<div class="order">
<div class="head">
<h2>Welcome <?php ECHO $reg;?></h2>
</div>
<table>
<tr>
<td valign="top"><b>FirstName</b></td>
<td valign="top"><?php echo $uname; ?></td>
</tr>
<tr>
<td><b>Email</b></td>
<td><?php echo $mail; ?></td>
</tr>
<tr>
<td><b>Mobile</b></td>
<td><?php echo $mobile; ?></td>
</tr>
</table>
</div>
</div>
</main>
</section>
<script src="js/script.js"></script>
</body>
</html>