forked from NexelionSystems/NorthClient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuy.ejs
487 lines (475 loc) · 31 KB
/
buy.ejs
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
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
<% if (settings.stripe.enabled == true) { %>
<!DOCTYPE html>
<html lang="en" class="light-style layout-navbar-fixed layout-menu-fixed " dir="ltr" data-theme="theme-default"
data-assets-path="../../assets/" data-template="vertical-menu-template">
<head>
<link rel="stylesheet" href="/assets/css/argon.css?v=1.2.0" type="text/css">
<script src="https://kit.fontawesome.com/b97ffc16ff.js" crossorigin="anonymous"></script>
<html lang="en" class="light-style layout-menu-fixed" dir="ltr" data-theme="theme-default"
data-assets-path="../assets/" data-template="vertical-menu-template-free">
<link rel="stylesheet" href="/assets/css/all.min.css" type="text/css">
<meta name="description"
content="NorthClient most Powerful Dashboard built for Pterodactyl!" />
<meta name="keywords" content="dashboard, NorthClient, bootstrap">
<!-- Canonical SEO -->
<link rel="canonical" href="https://themeselection.com/products/sneat-bootstrap-html-admin-template/">
<!-- Favicon -->
<link rel="icon" type="image/x-icon" href="<%= settings.logo %>" />
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com/">
<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap"
rel="stylesheet">
<!-- Icons -->
<link rel="stylesheet" href="../assets/vendor/fonts/boxicons.css" />
<link rel="stylesheet" href="../assets/vendor/fonts/fontawesome.css" />
<link rel="stylesheet" href="../assets/vendor/fonts/flag-icons.css" />
<!-- Core CSS -->
<link rel="stylesheet" href="../assets/vendor/css/rtl/core.css" class="template-customizer-core-css" />
<link rel="stylesheet" href="../assets/vendor/css/rtl/theme-default.css" class="template-customizer-theme-css" />
<link rel="stylesheet" href="../assets/css/main.css" />
<!-- Vendors CSS -->
<link rel="stylesheet" href="../assets/vendor/libs/perfect-scrollbar/perfect-scrollbar.css" />
<link rel="stylesheet" href="../assets/vendor/libs/typeahead-js/typeahead.css" />
<link rel="stylesheet" href="../assets/vendor/libs/apex-charts/apex-charts.css" />
<!-- Page CSS -->
<!-- Helpers -->
<script src="../assets/vendor/js/helpers.js"></script>
<!--! Template customizer & Theme config files MUST be included after core stylesheets and helpers.js in the <head> section -->
<!--? Template customizer: To hide customizer set displayCustomizer value false in config.js. -->
<script src="../assets/vendor/js/template-customizer.js"></script>
<!--? Config: Mandatory theme config file contain global vars & default theme options, Set your preferred theme option in this file. -->
<script src="../assets/js/config.js"></script>
</head>
<div class="layout-wrapper layout-content-navbar">
<div class="layout-container">
<!-- Menu -->
<aside id="layout-menu" class="layout-menu menu-vertical menu bg-menu-theme">
<div class="app-brand demo">
<a href="/dashboard" class="app-brand-link">
<span class="app-brand-logo demo">
<img width="25" viewBox="0 0 25 42" src="<%= settings.logo %>">
</span>
<span class="app-brand-text menu-text fw-bolder ms-2 " style="font-size:15pt">
<%= settings.name %>
</span>
</a>
<a href="javascript:void(0);" class="layout-menu-toggle menu-link text-large ms-auto">
<i class="bx bx-chevron-left bx-sm align-middle"></i>
</a>
</div>
<div class="menu-inner-shadow"></div>
<!-- Dashboard -->
<ul class="menu-inner py-1">
<!-- Dashboard -->
<li class="menu-item">
<a href="/dashboard" class="menu-link">
<i class="menu-icon tf-icons bx bx-home-circle"></i>
<div data-i18n="Analytics">Dashboard</div>
</a>
</li>
<li class="menu-item">
<a href="/servers" class="menu-link">
<i class="menu-icon tf-icons bx bx-server"></i>
<div data-i18n="Layouts">Servers</div>
</a>
</li>
<li class="menu-item">
<a href="/create" class="menu-link">
<i class="menu-icon tf-icons bx bx-plus-medical"></i>
<div data-i18n="Layouts">Create a Server</div>
</a>
</li>
<!-- Pages -->
<li class="menu-header small text-uppercase">
<span class="menu-header-text">Pages</span>
</li>
<li class="menu-item">
<a href="/gift" class="menu-link">
<i class="menu-icon tf-icons bx bx-gift"></i>
<div data-i18n="Layouts">Gift</div>
</a>
</li>
<% if (settings.status.enabled==true) { %>
<li class="menu-item">
<a href="/status" class="menu-link">
<i class="menu-icon tf-icons bx bx-stats"></i>
<div data-i18n="Layouts">Status</div>
</a>
</li>
<% } %>
<li class="menu-item">
<a href="/redeem" class="menu-link">
<i class="menu-icon tf-icons bx bx-book-reader"></i>
<div data-i18n="Layouts">Redeem</div>
</a>
</li>
<li class="menu-item">
<a href="/j4r" class="menu-link">
<i class="menu-icon tf-icons bx bx-diamond"></i>
<div data-i18n="Layouts">Join for Reward</div>
</a>
</li>
<li class="menu-item">
<a href="/lv" class="menu-link">
<i class="menu-icon tf-icons bx bx-link-external"></i>
<div data-i18n="Layouts">Linkvertise Earning</div>
</a>
</li>
<!-- Pages End -->
<!-- Store -->
<li class="menu-header small text-uppercase">
<span class="menu-header-text">Store</span>
</li>
<li class="menu-item">
<a href="/store" class="menu-link">
<i class="menu-icon tf-icons bx bx-store"></i>
<div data-i18n="Layouts">Store</div>
</a>
</li>
<li class="menu-item active">
<a href="/buy" class="menu-link">
<i class="menu-icon tf-icons bx bx-cart"></i>
<div data-i18n="Layouts">Buy Coins</div>
</a>
</li>
<!-- Store End-->
<!--Admin-->
<% if (pterodactyl.root_admin==true) { %>
<li class="menu-header small text-uppercase">
<span class="menu-header-text">Admin</span>
</li>
<li class="menu-item">
<a href="/admin" class="menu-link">
<i class="menu-icon tf-icons bx bx-shield-quarter"></i>
<div data-i18n="Layouts">Admin</div>
</a>
</li>
<!--Admin End-->
</ul>
<% } %>
</aside>
<div class="layout-page">
<!-- Navbar -->
<nav class="layout-navbar container-xxl navbar navbar-expand-xl navbar-detached align-items-center bg-navbar-theme"
id="layout-navbar">
<div class="layout-menu-toggle navbar-nav align-items-xl-center me-3 me-xl-0 d-xl-none">
<a class="nav-item nav-link px-0 me-xl-4" href="javascript:void(0)">
<i class="bx bx-menu bx-sm"></i>
</a>
</div>
<div class="navbar-nav-right d-flex align-items-center" id="navbar-collapse">
<!-- Search -->
<div class="navbar-nav align-items-center">
<% if (settings.api.client.coins.enabled==true) { %>
<button type="button" class="btn bg-label-dark">
<span>Your coins:</span>
<span class="badge bg-label-secondary">
<%= coins %>
</span>
<% } %>
</div>
<!-- /Search -->
<!-- Style Switcher -->
<ul class="navbar-nav flex-row align-items-center ms-auto">
<!-- Language
<li class="nav-item dropdown-language dropdown me-2 me-xl-0">
<a class="nav-link dropdown-toggle hide-arrow" href="javascript:void(0);"
data-bs-toggle="dropdown">
<i class='fi fi-us fis rounded-circle fs-3 me-1'></i>
</a>
<ul class="dropdown-menu dropdown-menu-end">
<li>
<a class="dropdown-item" href="javascript:void(0);" data-language="en">
<i class="fi fi-us fis rounded-circle fs-4 me-1"></i>
<span class="align-middle">English</span>
</a>
</li>
<li>
<a class="dropdown-item" href="javascript:void(0);" data-language="fr">
<i class="fi fi-fr fis rounded-circle fs-4 me-1"></i>
<span class="align-middle">France</span>
</a>
</li>
<li>
<a class="dropdown-item" href="javascript:void(0);" data-language="de">
<i class="fi fi-de fis rounded-circle fs-4 me-1"></i>
<span class="align-middle">German</span>
</a>
</li>
<li>
<a class="dropdown-item" href="javascript:void(0);" data-language="pt">
<i class="fi fi-pt fis rounded-circle fs-4 me-1"></i>
<span class="align-middle">Portuguese</span>
</a>
</li>
</ul>
</li>
Language -->
<!-- Place this tag where you want the button to render. -->
<li class="nav-item me-2 me-xl-0">
<a class="nav-link style-switcher-toggle hide-arrow" href="javascript:void(0);">
<i class="bx bx-sm bx-sun"></i>
</a>
</li>
<!--/ Style Switcher -->
<!-- Quick links -->
<li class="nav-item dropdown-shortcuts navbar-dropdown dropdown me-2 me-xl-0">
<a class="nav-link dropdown-toggle hide-arrow" href="javascript:void(0);"
data-bs-toggle="dropdown" data-bs-auto-close="outside" aria-expanded="false">
<i class='bx bx-grid-alt bx-sm'></i>
</a>
<div class="dropdown-menu dropdown-menu-end py-0">
<div class="dropdown-menu-header border-bottom">
<div class="dropdown-header d-flex align-items-center py-3">
<h5 class="text-body mb-0 me-auto">Shortcuts</h5>
<a href="javascript:void(0)" class="dropdown-shortcuts-add text-body"
data-bs-toggle="tooltip" data-bs-placement="top" title="Add shortcuts"><i
class="bx bx-sm bx-plus-circle"></i></a>
</div>
</div>
<div class="dropdown-shortcuts-list scrollable-container">
<div class="row row-bordered overflow-visible g-0">
<div class="dropdown-shortcuts-item col">
<span
class="dropdown-shortcuts-icon bg-label-secondary rounded-circle mb-2">
<i class="bx bx-home fs-4"></i>
</span>
<a href="/dashboard" class="stretched-link">Home</a>
<small class="text-muted mb-0">Go to Home Screen</small>
</div>
<div class="dropdown-shortcuts-item col">
<span
class="dropdown-shortcuts-icon bg-label-secondary rounded-circle mb-2">
<i class="bx bx-user fs-4"></i>
</span>
<a href="/profile" class="stretched-link">User</a>
<small class="text-muted mb-0">Manage ur Profile</small>
</div>
</div>
<div class="row row-bordered overflow-visible g-0">
<div class="dropdown-shortcuts-item col">
<span
class="dropdown-shortcuts-icon bg-label-secondary rounded-circle mb-2">
<i class="bx bxs-server fs-4"></i>
</span>
<a href="/create" class="stretched-link">Create Server</a>
<small class="text-muted mb-0">Create a Server</small>
</div>
<div class="dropdown-shortcuts-item col">
<span
class="dropdown-shortcuts-icon bg-label-secondary rounded-circle mb-2">
<i class="bx bx-list-ul fs-4"></i>
</span>
<a href="/servers" class="stretched-link">Servers</a>
<small class="text-muted mb-0">See ur Servers in a list</small>
</div>
</div>
<div class="row row-bordered overflow-visible g-0">
<div class="dropdown-shortcuts-item col">
<span
class="dropdown-shortcuts-icon bg-label-secondary rounded-circle mb-2">
<i class="bx bxs-wallet fs-4"></i>
</span>
<a href="/buy" class="stretched-link">Buy Coins</a>
<small class="text-muted mb-0">Buy Coins</small>
</div>
<div class="dropdown-shortcuts-item col">
<span
class="dropdown-shortcuts-icon bg-label-secondary rounded-circle mb-2">
<i class="bx bx-store fs-4"></i>
</span>
<a href="/store" class="stretched-link">Store</a>
<small class="text-muted mb-0">Buy Resources</small>
</div>
</div>
<div class="row row-bordered overflow-visible g-0">
<div class="dropdown-shortcuts-item col">
<span
class="dropdown-shortcuts-icon bg-label-secondary rounded-circle mb-2">
<i class="bx bx-help-circle fs-4"></i>
</span>
<a href="/faq" class="stretched-link">Help
Center</a>
<small class="text-muted mb-0">FAQs & Articles</small>
</div>
<div class="dropdown-shortcuts-item col">
<span
class="dropdown-shortcuts-icon bg-label-secondary rounded-circle mb-2">
<i class="bx bx-cog fs-4"></i>
</span>
<a href="/connect"
class="stretched-link">Setting</a>
<small class="text-muted mb-0">Account Settings</small>
</div>
</div>
</div>
</div>
</li>
<!-- /Quick links -->
<!-- User -->
<div class="nav-item lh-1 me-3">
<a href="<%= settings.pterodactyl.domain %>" class="btn btn-sm btn-neutral">Panel</a>
</div>
<li class="nav-item navbar-dropdown dropdown-user dropdown">
<a class="nav-link dropdown-toggle hide-arrow" href="javascript:void(0);"
data-bs-toggle="dropdown">
<div class="avatar avatar-online">
<img alt="Avatar" src="/assets/img/illustrations/pb.png">
</div>
</a>
<ul class="dropdown-menu dropdown-menu-end">
<li>
<a class="dropdown-item" href="#">
<div class="d-flex">
<div class="flex-shrink-0 me-1">
<div class="avatar avatar-online">
<img src="/assets/img/illustrations/pb.png">
</div>
</div>
<div class="flex-grow-1">
<span class="fw-semibold d-block">
<%= req.session.userinfo.username%>#<%=
req.session.userinfo.discriminator %>
</span>
<small class="text-muted">ID: <%= req.session.userinfo.id%></small>
</div>
</div>
</a>
</li>
<li>
<div class="dropdown-divider"></div>
</li>
<li>
<a class="dropdown-item" href="/profile">
<i class="bx bx-user me-2"></i>
<span class="align-middle">My Profile</span>
</a>
</li>
<% if (pterodactyl.root_admin==true) { %>
<li>
<a class="dropdown-item" href="/admin">
<i class="bx bx-shield-quarter"></i>
<span class="align-middle">Admin</span>
</a>
</li>
<% } %>
<li>
<div class="dropdown-divider"></div>
</li>
<li>
<a class="dropdown-item" href="/logout">
<i class="bx bx-power-off me-2"></i>
<span class="align-middle">Log Out</span>
</a>
</li>
</ul>
</li>
</ul>
</div>
</nav>
<!-- Content wrapper -->
<div class="content-wrapper">
<!-- Content -->
<body>
<div class="container-xxl flex-grow-1 container-p-y">
<h4 class="fw-bold py-3 mb-4"><span class="text-muted fw-light">Store /</span> Buy Coins</h4>
<%- include('./parts/ads') %>
<%- include('./parts/widgets') %>
<div class="card">
<div class="card-header border-0">
<div class="row align-items-center">
</div>
<div class="row">
<div class="col-md-6 grid-margin stretch-card">
<div class="card">
<div class="card-body">
<form class="forms-sample">
<form action="/buycoins">
<div class="form-group">
<label for="INPUTAmount">Amount ($1/<%= settings.stripe.coins %> coins)</label>
<input style="border-radius: 15px; padding: 8px;" type="number" class="form-control" id="Amount" placeholder="25" name="amount">
</div>
<div class="form-group">
<label for="InputNumber">Credit Card Number:</label>
<input style="border-radius: 15px; padding: 8px;" type="text" class="form-control" id="InputNumber" name="number" placeholder="00000000000000">
</div>
<div class="form-group">
<label for="InputCV">CVC:</label>
<input style="border-radius: 15px; padding: 8px;" type="text" class="form-control" id="InputCVV" name="cvc" placeholder="000">
</div>
<div class="form-group">
<label for="InputExpir">Expiration Date:</label>
<center>
<div class="row mx-auto">
<select style="border-radius: 15px; padding: 8px;" class="form-control mx-auto" style="width:45% !important;" name="month"><option value="1">1st</option><option value="2">2nd</option><option value="3">3rd</option><option value="4">4th</option><option value="5">5th</option><option value="6">6th</option><option value="7">7th</option><option value="8">8th</option><option value="9">9th</option><option value="10">10th</option><option value="11">11th</option><option value="12">12th</option></select><br><br>
<br/><select style="border-radius: 15px; padding: 8px;" class="form-control mx-auto" style="width:45% !important;" name="year"><option value="2022">2022</option><option value="2023">2023</option><option value="2024">2024</option><option value="2025">2025</option><option value="2026">2026</option><option value="2027">2027</option><option value="2028">2028</option><option value="2029">2029</option><option value="2030">2030</option><option value="2031">2031</option><option value="2032">2032</option><option value="2033">2033</option></select>
</div>
</center>
<br>
<button class="btn btn-primary btn-lg text-white" type="submit">Buy</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<footer class="content-footer footer bg-footer-theme">
<div
class="container-xxl d-flex flex-wrap justify-content-between py-2 flex-md-row flex-column">
<div class="mb-2 mb-md-0">
©
<script>
document.write(new Date().getFullYear());
</script>
, made with ❤️ by
<a href="https://discord.com/users/580022368924336128" target="_blank"
class="footer-link fw-bolder">Jonas.#9915</a>
</div>
<div>
<a href="https://github.com/NorthDevelopment/NorthClient/blob/main/LICENSE" class="footer-link me-4" target="_blank">License</a>
<a href="<%= settings.discordserver.invitelink %>" target="_blank"
class="footer-link me-4">Support</a>
<a href="/logout" class="btn btn-sm btn-outline-danger"><i
class="bx bx-log-out-circle"></i> Logout</a>
</div>
</div>
</footer> </div> </div> </div>
</div>
<script src="/assets/thmeneed/vendor/jquery/dist/jquery.min.js"></script>
<script src="/assets/thmeneed/vendor/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<script src="/assets/thmeneed/vendor/js-cookie/js.cookie.js"></script>
<script src="/assets/thmeneed/vendor/jquery.scrollbar/jquery.scrollbar.min.js"></script>
<script src="/assets/thmeneed/vendor/jquery-scroll-lock/dist/jquery-scrollLock.min.js"></script>
<script src="/assets/thmeneed/vendor/chart.js/dist/Chart.min.js"></script>
<script src="/assets/thmeneed/vendor/chart.js/dist/Chart.extension.js"></script>
<script src="/assets/thmeneed/js/argon.js?v=1.2.0"></script>
<script src="../assets/vendor/libs/jquery/jquery.js"></script>
<script src="../assets/vendor/libs/popper/popper.js"></script>
<script src="../assets/vendor/js/bootstrap.js"></script>
<script src="../assets/vendor/libs/perfect-scrollbar/perfect-scrollbar.js"></script>
<script src="../assets/vendor/js/menu.js"></script>
<script src="../assets/js/main.js"></script>
<script src="../assets/js/pages-account-settings-account.js"></script>
<script async defer src="https://buttons.github.io/buttons.js"></script>
</body>
</html>
</div>
</div>
<!-- Plugin js for this page -->
<script src="/assets/vendors/select2/select2.min.js"></script>
<script src="/assets/vendors/typeahead.js/typeahead.bundle.min.js"></script>
<!-- End plugin js for this page -->
<!-- endinject -->
<!-- Custom js for this page -->
<script src="/assets/js/file-upload.js"></script>
<script src="/assets/js/typeahead.js"></script>
<script src="/assets/js/select2.js"></script>
<!-- End custom js for this page -->
</body>
</html>
<% } %>