-
Notifications
You must be signed in to change notification settings - Fork 4
/
user_details.php
78 lines (74 loc) · 3.86 KB
/
user_details.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
<?php
require 'db_conn.php';
$id = $_POST['idc'];
if (isset($_POST['Detail']))
?>
<html>
<head>
<link rel="stylesheet" href="Front with CSS.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.teal-orange.min.css" />
<script src="https://storage.googleapis.com/code.getmdl.io/1.0.6/material.min.js"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="css/footer-distributed-with-address-and-phones.css">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">
<link href="http://fonts.googleapis.com/css?family=Cookie" rel="stylesheet" type="text/css">
</head>
<body background="airplane.jpg">
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
<header class="mdl-layout__header">
<div class="mdl-layout__header-row">
<!-- Title -->
<span class="mdl-layout-title">Home</span>
<!-- Add spacer, to align navigation to the right -->
<div class="mdl-layout-spacer"></div>
<!-- Navigation. We hide it in small screens. -->
<nav class="mdl-navigation mdl-layout--large-screen-only">
<a class="mdl-navigation__link" href="home.php">Home</a>
<a class="mdl-navigation__link" href="form.php">Signup</a>
<a class="mdl-navigation__link" href="front.php">Login</a>
<a class="mdl-navigation__link" href="Aboutus.php">About Us</a>
<a class="mdl-navigation__link" href="Admin_login.php">Administrators</a>
</nav>
</div>
</header>
<div class="mdl-layout__drawer">
<span class="mdl-layout-title">Home</span>
<nav class="mdl-navigation">
<a class="mdl-navigation__link" href="home.php">Home</a>
<a class="mdl-navigation__link" href="form.php">Signup</a>
<a class="mdl-navigation__link" href="front.php">Login</a>
<a class="mdl-navigation__link" href="Aboutus.php">About Us</a>
<a class="mdl-navigation__link" href="Admin_login.php">Administrators</a>
</nav>
</div>
<main class="mdl-layout__content">
<div class="page-content">
<br><br>
<center>
<div class="demo-card-wide mdl-card mdl-shadow--16dp">
<div class="mdl-shadow--16dp" style="background-color:#000000">
<br>
<div class="mdl-typography--title" style="color:#ffffff">Account Details:</div>
<br>
</div>
<?php
$sql="SELECT * FROM customerlogin where email_id='".$id."'";
$result=mysqli_query($conn,$sql);
$count=mysqli_num_rows($result);
$row=mysqli_fetch_assoc($result);
echo '<br><br><div class=\"mdl-typography--subtitle\">Customer ID: '.$row['Customer_id'].'<br>First name: '.$row['First_name'].'<br>Last name: '.$row['Last_name'].'<br>Email Id: '.$row['email_id'].'<br>Date Of Birth: '.$row['DOB'].'<br>Gender: '.$row['Gender'].'<br>Nationality: '.$row['Nationality'].'<br>Occupation: '.$row['Occupation'].'<br>Address: '.$row['Address'].'<br>City: '.$row['City'].'<br>State: '.$row['State'].'<br>Mobile Number: '.$row['Mobile_no'].'<br>Password: '.$row['Password'].'</div>';
?>
<br>
<br>
<div class="mdl-shadow--16dp" style="background-color:#000000"><br>
<form action="home.php">
<input type="submit" value="Log Out" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent">
</form>
<br>
</div>
</center>
</div>
</main>
</body>
</html>