-
Notifications
You must be signed in to change notification settings - Fork 0
/
cabinet.php
93 lines (84 loc) · 3.8 KB
/
cabinet.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
<?php
//var_dump($_COOKIE);
if ( !isset($_COOKIE['email']) OR trim($_COOKIE['email']) ==''){
header("Location: index.html");
exit;
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="shortcut icon" href="favicon.png" type="image/png">
<title>User cabinet</title>
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/>
<!--Let browser know website is optimized for mobile-->
<link type="text/css" rel="stylesheet" href="css/style.css" media="screen,projection"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body>
<div class="container">
<div class="row">
<div class="col l12 center-align">
<h1 class="user-cabinet-header">User cabinet</h1>
</div>
<div class="col l12 center-align">
<button id="logout" class="waves-effect waves-light btn blue lighten-1">
<i class="material-icons right">keyboard_tab</i> Logout</button>
</div>
</div>
<div class="row">
<div class="col l6">
<form>
<div class="row">
<div class="input-field col s6">
<input id="signup-name" type="text" class="validate">
<label class="active" for="signup-name">Name</label>
</div>
<div class="input-field col s6">
<input id="signup-pass" type="text" class="validate">
<label class="active" for="signup-pass">Password</label>
</div>
<div class="input-field col s12">
<input id="signup-birthday" type="text" class="datepicker">
<label class="active" for="signup-birthday">Birthday</label>
</div>
<div class="col l12">
<p>
<label>
<input name="group1" type="radio" checked />
<span>Male</span>
</label>
</p>
<p>
<label>
<input name="group1" type="radio" />
<span>Female</span>
</label>
</p>
<p>
<label>
<input class="with-gap" name="group1" type="radio" />
<span>Other</span>
</label>
</p>
</div>
<div class="col l12 right-align">
<button id="signup-submit" class="waves-effect waves-light btn blue lighten-1">Update</button>
</div>
</div>
</form>
</div>
</div>
</div>
<script type="text/javascript" src="script/materialize.min.js"></script>
<script src="script/ajax.js"></script>
<script src="script/get_user_data.js"></script>
<script src="script/logout.js"></script>
</body>
</html>