-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfirm.php
68 lines (64 loc) · 1.27 KB
/
confirm.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
<?php
$p="";
if (isset($_GET['pseudo'])) {
$p = htmlspecialchars($_GET['pseudo']);
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Confirme</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
</head>
<style type="text/css">
html, body{
margin: 0;
padding: 0;
height: 100%;
width: 100%;
}
body{
display: flex;
background-position: center;
background-image: url('wolk.jpg');
background-size: cover;
}
.center{
height: 300px;
width: 500px;
margin: auto;
box-shadow: -1px -2px 14px 1px rgb(194, 200, 212);
background-color: #4eedf545;
}
h3, h4, a{
text-align: center;
text-decoration: none;
}
@media all and (max-width: 500px){
.center{
width: 90%;
}
}
</style>
<body>
<div class="center">
<h3>Please confirme your account.</h3>
<h4>Haven't received your email yet? <a id='retry' href="#">Retry.</a></h4>
</div>
<script type="text/javascript">
document.getElementById('retry').addEventListener('click', function(){
$.post(
"reconfirm.php",
{
pseudo : <?php echo $p; ?>
},
function(data){
},
'text'
);
});
</script>
</body>
</html>