-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathverify.php
21 lines (17 loc) · 835 Bytes
/
verify.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php require_once 'header.php'; ?>
<?php
/* Require login.php to call login function */
require("classes/UserClass.php");
/* Call for login function */
$verify = new UserClass();
$verify->Verify();
?>
<div class="container container-content">
<?php if($verify->Verify() == TRUE): ?>
<h3 class="text-center">Account has been activated.</h3>
<p class="text-center">To login click on <a href="login.php" class="btn btn-primary btn-sm">Login</a></p>
<?php elseif($verify->Verify() == FALSE): ?>
<h3 class="text-center">There has been an error while activating your account.</h3>
<p class="text-center">Please contact support at <a href="mailto:[email protected]?Subject=Konto%aktiveerimise%viga" class="link-blue">[email protected]</a>.</p>
<?php endif; ?>
</div>