-
Notifications
You must be signed in to change notification settings - Fork 22
/
verify.php
45 lines (43 loc) · 1.53 KB
/
verify.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
<?php $title = 'E-mail 驗證';
require 'src/header.php';
require 'src/common.php';
?>
<header class="jumbotron jumbotron-fluid">
<div class="container">
<h1 ><?=$title?></h1>
</div>
</header>
<div class="container" style="max-width: 600px;margin: 10px auto;">
<?php
$status = verify_code($_GET['code']);
if($status == 1){
?>
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">E-mail 驗證完成</h5>
<p class="card-text">E-mail 驗證完成,會在發現個資外洩時第一時間通知您。</p>
<a href="/about.php" class="btn btn-dark">查看更多關於我們的訊息</a>
</div>
</div>
<?php
}else if($status == 0){
?>
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">E-mail 已驗證過。</h5>
<a href="/" class="btn btn-dark">回首頁</a>
</div>
</div>
<?php
}else{
?>
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">訂閱可能已被取消,請<a href="/subscribe.php">重新訂閱</a>。如並未取消訂閱且此訊息重複出現,請通知管理員。</h5>
<a href="/" class="btn btn-dark">回首頁</a>
</div>
</div>
<?php
}
?>
</div>