-
Notifications
You must be signed in to change notification settings - Fork 0
/
message.php
40 lines (28 loc) · 1.06 KB
/
message.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Membersite Demo</title>
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="styles/foundation.css">
<link rel="stylesheet" href="styles/style.css">
</head>
<body>
<?php include_once("template_pageTop.php"); ?>
<div id="main-contents" class="row">
<?php
$message = "";
$msg = preg_replace('#[^a-z 0-9.:_()]#i', '', $_GET['msg']);
if($msg == "activation_failure"){
$message = '<h2>Activation Error</h2> Sorry there seems to have been an issue activating your account at this time. We have already notified ourselves of this issue and we will contact you via email when we have identified the issue.';
} else if($msg == "activation_success"){
$message = '<h2>Activation Success</h2> Your account is now activated. <a href="login.php">Click here to log in</a>';
} else {
$message = $msg;
}
?>
<div><?php echo $message; ?></div>
</div><!--end main contents-->
<?php include_once("template_pageBottom.php"); ?>
</body>
</html>