-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathforgot.php
More file actions
103 lines (92 loc) · 4.05 KB
/
forgot.php
File metadata and controls
103 lines (92 loc) · 4.05 KB
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
<?php
session_start();
?>
<!doctype html>
<!--
* CykaDA - Cyka PHP Billing Portal
* CykaDA Owned By CykaNetwork
* SiteNexus is a sub-company by CykaNetwork
-->
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
<title>Password Recovery 🆘</title>
<!-- CSS files -->
<link href="./dist/css/tabler.min.css?1674944402" rel="stylesheet"/>
<link href="./dist/css/tabler-flags.min.css?1674944402" rel="stylesheet"/>
<link href="./dist/css/tabler-payments.min.css?1674944402" rel="stylesheet"/>
<link href="./dist/css/tabler-vendors.min.css?1674944402" rel="stylesheet"/>
<link href="./dist/css/demo.min.css?1674944402" rel="stylesheet"/>
<style>
@import url('https://rsms.me/inter/inter.css');
:root {
--tblr-font-sans-serif: 'Inter Var', -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;
}
body {
font-feature-settings: "cv03", "cv04", "cv11";
}
</style>
</head>
<body class=" d-flex flex-column">
<script src="./dist/js/demo-theme.min.js?1674944402"></script>
<div class="page page-center">
<div class="container container-tight py-4">
<div class="text-center mb-4">
<a href="." class="navbar-brand navbar-brand-autodark"><img src="./static/logo.svg" height="36" alt=""></a>
</div>
<div class="card card-md">
<div class="card-body">
<h2 class="h2 text-center mb-4">Reset Password</h2>
<?php if (isset($_SESSION["message"])) { ?>
<div class="alert alert-danger" role="alert">
<h4 class="alert-title">Cannot Reset My Beautiful Password</h4>
<div class="text-muted"><?php echo $_SESSION["message"]; ?></div>
</div>
<?php }
$_SESSION["message"] = null ?>
<form action="./api/forgotPwd.php" method="get" autocomplete="off" novalidate>
<div class="mb-3">
<label class="form-label">Email address</label>
<input type="email" name="email" class="form-control" placeholder="your@email.com" autocomplete="off">
</div>
<?php
if (isset($_GET["code"])) {
?>
<div class="mb-2">
<div class="input-group input-group-flat">
<input name="password" type="password" class="form-control" placeholder="New password"
autocomplete="off">
<span class="input-group-text">
<a href="#" class="link-secondary" title="Show password" data-bs-toggle="tooltip"><!-- Download SVG icon from http://tabler-icons.io/i/eye -->
<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24"
viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none"
stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M12 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"/>
<path
d="M22 12c-2.667 4.667 -6 7 -10 7s-7.333 -2.333 -10 -7c2.667 -4.667 6 -7 10 -7s7.333 2.333 10 7"/>
</svg>
</a>
</span>
</div>
</div>
<?php } ?>
<div class="form-footer">
<button type="submit" class="btn btn-primary w-100">Recover</button>
</div>
</form>
</div>
</div>
<div class="text-center text-muted mt-3">
have account yet? <a href="./login.php" tabindex="-1">Login</a>
</div>
</div>
</div>
<!-- Libs JS -->
<!-- Tabler Core -->
<script src="./dist/js/tabler.min.js?1674944402" defer></script>
<script src="./dist/js/demo.min.js?1674944402" defer></script>
</body>
</html>