-
Notifications
You must be signed in to change notification settings - Fork 2
/
dashboard.html
243 lines (192 loc) · 9.66 KB
/
dashboard.html
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
<!--
=========================================================
* Now UI Kit - v1.3.0
=========================================================
* Product Page: https://www.creative-tim.com/product/now-ui-kit
* Copyright 2019 Creative Tim (http://www.creative-tim.com)
* Licensed under MIT (https://github.com/creativetimofficial/now-ui-kit/blob/master/LICENSE.md)
* Designed by www.invisionapp.com Coded by www.creative-tim.com
=========================================================
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
@Mod: PHPGrammers
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="description" content="Send Anonymous Messages - by PHPGrammers">
<meta name="author" content="PHPGrammers">
<meta charset="utf-8" property="og:image" content="./assets/img/apple-icon.png">
<meta charset="utf-8" name="keyword" content="PHP, Anonymous, Message">
<link rel="apple-touch-icon" sizes="76x76" href="./assets/img/apple-icon.png">
<link rel="icon" type="image/png" href="./assets/img/favicon.png">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>
Anonymous Message & Comment by PHPGrammers - DASHBOARD
</title>
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no' name='viewport' />
<!-- Fonts and icons -->
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700,200" rel="stylesheet" />
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous"/>
<!-- CSS Files -->
<link href="./assets/css/bootstrap.min.css" rel="stylesheet" />
<link href="./assets/css/now-ui-kit.css?v=1.3.0" rel="stylesheet" />
<!-- CSS Just for demo purpose, don't include it in your project -->
<link href="./assets/demo/demo.css" rel="stylesheet" />
</head>
<style type="text/css">
.btn-white:hover{
background-color: pink;
color: white;
}
</style>
<body class="index-page sidebar-collapse">
<div class="wrapper">
<div class="main">
<div class="section section-navbars">
<div id="navbar">
<div class="navigation-example" >
<div class="section section-signup" style="background-color:
white ; background-size: cover; background-position: top center; min-height: 700px;">
<div style="width: 100%; text-align: center; margin-top: -125px;">
<h3 style="margin-bottom: 0pt;">Receive Anonymous Messages </h3>
<h5><strong>By PHPGrammers</strong></h5>
</div>
<div class="container">
<div class="row">
<div class="card card-signup" style="max-width:600px" >
<div class="card-header" style="max-width:600px">
<ul class="nav nav-tabs nav-tabs-neutral justify-content-center" role="tablist" data-background-color="black" style="max-width:600px">
<li class="nav-item" style="margin-right:0px;">
<a class="nav-link" style="cursor: pointer; "> <span id="refresh" onclick="fetchData();" class="now-ui-icons arrows-1_refresh-69"></span></a>
</li>
<li class="nav-item">
<a id="messages" class="nav-link active" data-toggle="tab" href="#home" role="tab" aria-selected="true"> Messages</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#profile" role="tab" aria-selected="false">New Message</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#settings" role="tab" aria-selected="false">Profile</a>
</li>
</ul>
</div>
<div class="card-body">
<!-- Tab panes -->
<div class="tab-content text-center">
<div class="tab-pane active" id="home" role="tabpanel">
<div id="displayMessages">
</div>
</div>
<div class="tab-pane" id="profile" role="tabpanel">
<nav class="navbar navbar-expand-lg bg-info">
<div class="container">
<div class="input-group no-border">
<div class="input-group-prepend">
<span class="input-group-text">
<i class="now-ui-icons objects_globe"></i>
</span>
</div>
<input id="displayURL" required style="color:white;" type="text" placeholder="Link" value="\" class="form-control" />
</div>
<div><strong>Copy your link & share it with your friends</strong></div>
<div class="navbar-translate">
</div>
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="#" onclick="">
<i class="now-ui-icons files_single-copy-04" onclick="myCopy();"></i>
</a>
</li>
</ul>
</div>
</nav>
<a class="" href="#" id="twitter">
<span class="fab fa-3x fa-twitter" style="color:#2c2c2c;"></span>
</a>
<a class="" href="#" id="whatsapp" data-action="share/whatsapp/share">
<span class="fab fa-3x fa-whatsapp" style="color:#2c2c2c;"></span>
</a>
<a class="" href="#" id="facebook">
<span class="fab fa-3x fa-facebook" style="color:#2c2c2c;"></span>
</a>
</div>
<div class="tab-pane" id="settings" role="tabpanel">
<div class="col-md-12">
<div class="team-player">
<img src="./assets/img/anon.jpg" style="width:100px; height:100px; " alt="Thumbnail Image" class="rounded-circle img-fluid img-raised">
<h4 class="title" id="displayUsername" ></h4>
<p class="category text-primary" id="displayEmail"></p>
<p class="description">
<form id="anonymousPassword" class="form" method="POST" action="">
<div class="card-body">
<h5 class="card-title title-up">Change Password</h3>
<div class="input-group no-border">
<div class="input-group-prepend">
<span class="input-group-text">
<i class="now-ui-icons ui-1_lock-circle-open"></i>
</span>
</div>
<input required type="password" placeholder="Old Password" name="password0" id="passwordold" class="form-control" />
</div>
<div class="input-group no-border">
<div class="input-group-prepend">
<span class="input-group-text">
<i class="now-ui-icons ui-1_lock-circle-open"></i>
</span>
</div>
<input required type="password" placeholder="New Password" name="password" id="password" class="form-control" />
</div>
<div class="input-group no-border">
<div class="input-group-prepend">
<span class="input-group-text">
<i class="now-ui-icons ui-1_lock-circle-open"></i>
</span>
</div>
<input required type="password" placeholder="Repeat New Password" name="password2" id="confirmPassword" class="form-control" />
</div>
</div>
<div id="anonymousProcess" hidden="" class="text-center"></div>
<div class="card-footer text-center">
<button type="submit" class="btn btn-outline-default btn-round btn-white btn-lg" data-background="black" style="color:white; background-color:#2c2c2c;">Change Password</button>
</div>
</form>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col text-center" style="">
<a href="controller/logout.php" class="btn btn-outline-default btn-round btn-white btn-lg"><b style="color:black;">Logout</b></a>
</div>
</div>
</div>
<!-- <footer class="footer" data-background-color="black">
<div class=" container ">
<div class="copyright" id="copyright">
©
<script>
document.getElementById('copyright').appendChild(document.createTextNode(new Date().getFullYear()))
</script>
</div>
</div>
</div>
</footer> -->
<!-- Core JS Files -->
<script src="./assets/js/core/jquery.min.js" type="text/javascript"></script>
<script src="./assets/js/core/bootstrap.min.js" type="text/javascript"></script>
<!-- Control Center for Now Ui Kit: parallax effects, scripts for the example pages etc -->
<script src="./assets/js/now-ui-kit.js?v=1.3.0" type="text/javascript"></script>
<script src="./assets/js/anonymous.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
fetchData();
fetchLoginDetails();
});
</script>
</body>
</html>