/
member.php
51 lines (40 loc) · 1.24 KB
/
member.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
<?php
session_start();
if(!isset($_SESSION["email"])){
header("location: index.php");
}
$cb = new Couchbase("http://counterstrikevm.cloudapp.net:8091/", "", "", "default");
$email = $_SESSION["email"];
$password = $cb -> get($email);
?>
<!doctype html>
<html>
<head>
<title>Node Authentication</title>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css">
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css">
<style>
body { padding-top:80px; word-wrap:break-word; }
</style>
</head>
<body>
<div class="container">
<div class="page-header text-center">
<h1><span class="fa fa-anchor"></span> Profile Page</h1>
<a href="logout.php?logout">Sign Out</a>
</div>
<div class="row">
<!-- LOCAL INFORMATION -->
<div class="col-sm-6">
<div class="well">
<h3><span class="fa fa-user"></span> Local</h3>
<p>
<strong>Email</strong>: <?php echo $email; ?><br>
<strong>Password</strong>: <?php echo $password; ?>
</p>
</div>
</div>
</div>
</div>
</body>
</html>