7
7
}
8
8
9
9
if (!isset ($ _SESSION ['username ' ])) {
10
- header ("Location: ../../../login/ " );
11
- exit ();
10
+ header ("Location: ../../../login/ " );
11
+ exit ();
12
12
}
13
- $ username = $ _SESSION ['username ' ];
14
-
15
- premium_check ($ username );
16
-
17
- ($ result = mysqli_query ($ link , "SELECT * FROM `users` WHERE `username` = ' $ username' " )) or die (mysqli_error ($ link ));
18
- $ row = mysqli_fetch_array ($ result );
19
-
20
- $ banned = $ row ['banned ' ];
21
- if (!is_null ($ banned ))
22
- {
23
- echo "<meta http-equiv='Refresh' Content='0; url=../../../login/'> " ;
24
- session_destroy ();
25
- exit ();
26
- }
27
-
28
- $ role = $ row ['role ' ];
29
- $ _SESSION ['role ' ] = $ role ;
30
-
31
- $ darkmode = $ row ['darkmode ' ];
32
- $ isadmin = $ row ['admin ' ];
13
+ $ username = $ _SESSION ['username ' ];
14
+
15
+ premium_check ($ username );
16
+
17
+ ($ result = mysqli_query ($ link , "SELECT * FROM `users` WHERE `username` = ' $ username' " )) or die (mysqli_error ($ link ));
18
+ $ row = mysqli_fetch_array ($ result );
19
+
20
+ $ banned = $ row ['banned ' ];
21
+ if (!is_null ($ banned )) {
22
+ echo "<meta http-equiv='Refresh' Content='0; url=../../../login/'> " ;
23
+ session_destroy ();
24
+ exit ();
25
+ }
26
+
27
+ $ role = $ row ['role ' ];
28
+ $ _SESSION ['role ' ] = $ role ;
29
+
30
+ $ darkmode = $ row ['darkmode ' ];
31
+ $ isadmin = $ row ['admin ' ];
33
32
?>
34
33
<!DOCTYPE html>
35
34
<html dir="ltr" lang="en">
35
+
36
36
<head>
37
37
<meta charset="utf-8">
38
38
<meta http-equiv="X-UA-Compatible" content="IE=edge">
42
42
<meta name="description" content="Xtreme is powerful and clean admin dashboard template, inpired from Google's Material Design">
43
43
<meta name="robots" content="noindex,nofollow">
44
44
<title>RestoreCord - Upgrade</title>
45
- <script src="https://shoppy.gg/api/embed.js"></script>
45
+ <script src="https://shoppy.gg/api/embed.js"></script>
46
46
<!-- Favicon icon -->
47
47
<link rel="icon" type="image/png" sizes="300x250" href="https://i.imgur.com/Nfy4OoG.png">
48
- <script src="https://cdn.keyauth.uk/dashboard/assets/libs/jquery/dist/jquery.min.js"></script>
48
+ <script src="https://cdn.keyauth.uk/dashboard/assets/libs/jquery/dist/jquery.min.js"></script>
49
49
<!-- Custom CSS -->
50
- <link href="https://cdn.keyauth.uk/dashboard/assets/extra-libs/datatables.net-bs4/css/dataTables.bootstrap4.css" rel="stylesheet">
50
+ <link href="https://cdn.keyauth.uk/dashboard/assets/extra-libs/datatables.net-bs4/css/dataTables.bootstrap4.css" rel="stylesheet">
51
51
<link href="https://cdn.keyauth.uk/dashboard/assets/libs/chartist/dist/chartist.min.css" rel="stylesheet">
52
52
<link href="https://cdn.keyauth.uk/dashboard/assets/extra-libs/c3/c3.min.css" rel="stylesheet">
53
53
<!-- Custom CSS -->
54
54
<link href="https://cdn.keyauth.uk/dashboard/dist/css/style.min.css" rel="stylesheet">
55
55
56
- <script src="https://cdn.jsdelivr.net/npm/notyf@3/notyf.min.js"></script><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/notyf@3/notyf.min.css">
56
+ <script src="https://cdn.jsdelivr.net/npm/notyf@3/notyf.min.js"></script>
57
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/notyf@3/notyf.min.css">
58
+
57
59
58
60
59
61
60
-
61
62
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
62
63
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
63
64
<!--[if lt IE 9]>
64
65
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
65
66
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
66
67
<![endif]-->
67
68
</head>
68
- <body data-theme="<?php if ($ darkmode == 0 ){echo "dark " ;}else {echo "light " ;}?> ">
69
+
70
+ <body data-theme="<?php if ($ darkmode == 0 ) {
71
+ echo "dark " ;
72
+ } else {
73
+ echo "light " ;
74
+ } ?> ">
69
75
<!-- ============================================================== -->
70
76
<!-- Preloader - style you can find in spinners.css -->
71
77
<!-- ============================================================== -->
117
123
<!-- create new -->
118
124
<!-- ============================================================== -->
119
125
<li class="nav-item dropdown">
120
- <a class="nav-link dropdown-toggle waves-effect waves-dark" href="https://restorecord.com /discord/" target="discord"> <i class="mdi mdi-discord font-24"></i>
121
- </a>
122
- </li>
123
- <li class="nav-item dropdown">
124
- <a class="nav-link dropdown-toggle waves-effect waves-dark" href="https://restorecord.com/telegram /" target="telegram"> <i class="mdi mdi-telegram font-24"></i>
125
- </a>
126
- </li>
126
+ <a class="nav-link dropdown-toggle waves-effect waves-dark" href="../../.. /discord/" target="discord"> <i class="mdi mdi-discord font-24"></i>
127
+ </a>
128
+ </li>
129
+ <li class="nav-item dropdown">
130
+ <a class="nav-link dropdown-toggle waves-effect waves-dark" href="../../../discord /" target="telegram"> <i class="mdi mdi-telegram font-24"></i>
131
+ </a>
132
+ </li>
127
133
<!-- ============================================================== -->
128
134
<!-- User profile and search -->
129
135
<!-- ============================================================== -->
161
167
<!-- Sidebar navigation-->
162
168
<nav class="sidebar-nav">
163
169
<ul id="sidebarnav">
164
- <?php sidebar ($ isadmin ); ?>
170
+ <?php sidebar ($ isadmin ); ?>
165
171
</ul>
166
172
</nav>
167
173
<!-- End Sidebar navigation -->
190
196
<!-- ============================================================== -->
191
197
<!-- ============================================================== -->
192
198
<!-- Container fluid -->
193
-
194
-
195
-
196
-
197
-
199
+
200
+
201
+
202
+
203
+
198
204
<!-- ============================================================== -->
199
205
<div class="container-fluid" id="content">
200
206
<!-- ============================================================== -->
201
207
<!-- Start Page Content -->
202
208
<!-- ============================================================== -->
203
209
<!-- File export -->
204
210
<div class="row">
205
- <div class="col-md-4 col-sm-12">
206
- <div class="card" style="zoom: 1;">
207
- <div class="card-body">
208
- <div class="form-group">
209
- <h4 class="card-title">Free</h4>
210
- <p>25 Members</p>
211
- <p>1 Server</p>
212
- <p>No IP Ban</p>
213
- <p>No VPN Check</p>
214
- <p>Limited Support</p>
215
- <p>No Verificiation Logs</p>
216
- <button class="btn btn-lg btn-block font-medium btn-outline-success block-card">Already Have</button>
217
- </div>
218
- </div>
219
- </div>
220
- </div>
221
- <div class="col-md-4 col-sm-12">
222
- <div class="card">
223
- <div class="card-body">
224
- <div class="form-group">
225
- <h4 class="card-title">Premium</h4>
226
- <p>Unlimited Members</p>
227
- <p>Unlimited Servers</p>
228
- <p>IP Ban</p>
229
- <p>VPN Check</p>
230
- <p>24.7.365 Support</p>
231
- <p>Verificiation Logs</p>
232
- <?php
233
- $ role = $ _SESSION ['role ' ];
234
- if ($ role == "premium " )
235
- {
236
- echo '<button class="btn btn-lg btn-block font-medium btn-outline-warning block-sidenav">Already Have</button> ' ;
237
- }
238
- else
239
- {
240
- echo '<a data-shoppy-product="8hCOmd6" data-shoppy-username=" ' .$ _SESSION ['username ' ].'" class="btn btn-lg btn-block font-medium btn-outline-warning block-sidenav">Purchase</a> ' ;
241
- }
242
-
243
- ?>
244
- </div>
245
- </div>
246
- </div>
247
- </div>
248
- </div>
249
- </div>
211
+ <div class="col-md-4 col-sm-12">
212
+ <div class="card" style="zoom: 1;">
213
+ <div class="card-body">
214
+ <div class="form-group">
215
+ <h4 class="card-title">Free</h4>
216
+ <p>25 Members</p>
217
+ <p>1 Server</p>
218
+ <p>No IP Ban</p>
219
+ <p>No VPN Check</p>
220
+ <p>Limited Support</p>
221
+ <p>No Verificiation Logs</p>
222
+ <button class="btn btn-lg btn-block font-medium btn-outline-success block-card">Already Have</button>
223
+ </div>
224
+ </div>
225
+ </div>
226
+ </div>
227
+ <div class="col-md-4 col-sm-12">
228
+ <div class="card">
229
+ <div class="card-body">
230
+ <div class="form-group">
231
+ <h4 class="card-title">Premium</h4>
232
+ <p>Unlimited Members</p>
233
+ <p>Unlimited Servers</p>
234
+ <p>IP Ban</p>
235
+ <p>VPN Check</p>
236
+ <p>24.7.365 Support</p>
237
+ <p>Verificiation Logs</p>
238
+ <?php
239
+ $ role = $ _SESSION ['role ' ];
240
+ if ($ role == "premium " ) {
241
+ echo '<button class="btn btn-lg btn-block font-medium btn-outline-warning block-sidenav">Already Have</button> ' ;
242
+ } else {
243
+ echo '<a data-shoppy-product="8hCOmd6" data-shoppy-username=" ' . $ _SESSION ['username ' ] . '" class="btn btn-lg btn-block font-medium btn-outline-warning block-sidenav">Purchase</a> ' ;
244
+ }
245
+
246
+ ?>
247
+ </div>
248
+ </div>
249
+ </div>
250
+ </div>
251
+ </div>
252
+ </div>
250
253
<!-- ============================================================== -->
251
254
<!-- End Container fluid -->
252
255
<!-- ============================================================== -->
253
256
<!-- ============================================================== -->
254
257
<!-- footer -->
255
258
<!-- ============================================================== -->
256
259
<footer class="footer text-center">
257
- Copyright © <script>document.write(new Date().getFullYear())</script> RestoreCord
258
- </footer>
260
+ Copyright © <script>
261
+ document.write(new Date().getFullYear())
262
+ </script> RestoreCord
263
+ </footer>
259
264
<!-- ============================================================== -->
260
265
<!-- End footer -->
261
266
<!-- ============================================================== -->
268
273
<!-- End Wrapper -->
269
274
<!-- ============================================================== -->
270
275
<!-- ============================================================== -->
271
-
272
-
276
+
277
+
273
278
<!-- ============================================================== -->
274
279
<!-- All Jquery -->
275
280
<!-- ============================================================== -->
276
-
281
+
277
282
<!-- Bootstrap tether Core JavaScript -->
278
283
<script src="https://cdn.keyauth.uk/dashboard/assets/libs/popper-js/dist/umd/popper.min.js"></script>
279
284
<script src="https://cdn.keyauth.uk/dashboard/assets/libs/bootstrap/dist/js/bootstrap.min.js"></script>
289
294
<!--Menu sidebar -->
290
295
<script src="https://cdn.keyauth.uk/dashboard/dist/js/sidebarmenu.js"></script>
291
296
<!--Custom JavaScript -->
292
- <script src="https://cdn.keyauth.uk/dashboard/dist/js/feather.min.js"></script>
297
+ <script src="https://cdn.keyauth.uk/dashboard/dist/js/feather.min.js"></script>
293
298
<script src="https://cdn.keyauth.uk/dashboard/dist/js/custom.min.js"></script>
294
299
<!--This page JavaScript -->
295
300
<!--chartis chart-->
301
306
<!--chartjs -->
302
307
<script src="https://cdn.keyauth.uk/dashboard/assets/libs/chart-js/dist/chart.min.js"></script>
303
308
<script src="https://cdn.keyauth.uk/dashboard/dist/js/pages/dashboards/dashboard1.js"></script>
304
- <script src="https://cdn.keyauth.uk/dashboard/assets/extra-libs/datatables.net/js/jquery.dataTables.min.js"></script>
305
- <!-- start - This is for export functionality only -->
309
+ <script src="https://cdn.keyauth.uk/dashboard/assets/extra-libs/datatables.net/js/jquery.dataTables.min.js"></script>
310
+ <!-- start - This is for export functionality only -->
306
311
<script src="https://cdn.datatables.net/buttons/1.5.1/js/dataTables.buttons.min.js"></script>
307
312
<script src="https://cdn.datatables.net/buttons/1.5.1/js/buttons.flash.min.js"></script>
308
313
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
309
314
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/pdfmake.min.js"></script>
310
315
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/vfs_fonts.js"></script>
311
316
<script src="https://cdn.datatables.net/buttons/1.5.1/js/buttons.html5.min.js"></script>
312
317
<script src="https://cdn.datatables.net/buttons/1.5.1/js/buttons.print.min.js"></script>
313
- <script src="https://cdn.keyauth.uk/dashboard/dist/js/pages/datatable/datatable-advanced.init.js"></script>
318
+ <script src="https://cdn.keyauth.uk/dashboard/dist/js/pages/datatable/datatable-advanced.init.js"></script>
314
319
</body>
320
+
315
321
</html>
0 commit comments