forked from GreggJuanEduardoPH/Instagram-clone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
activated.php
52 lines (43 loc) · 1.28 KB
/
activated.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
<?php include 'config/declare.php'; ?>
<!-- a universal file that has all the classes included -->
<?php include 'config/classesGetter.php'; ?>
<!-- creating objects -->
<?php
$universal = new universal;
$avatar = new Avatar;
$noti = new notifications;
$message = new message;
?>
<?php
if (!$universal->isLoggedIn()) {
header('Location: '.DIR.'/login');
}
?>
<?php
$title = "Email activation!! • Instagram";
$keywords = "Instagram, Share and capture world's moments, share, capture, about";
$desc = "Instagram lets you capture, follow, like and share world's moments in a better way and tell your story with photos, messages, posts and everything in between";
?>
<?php
include 'includes/header.php';
include 'needs/heading.php';
include 'needs/nav.php';
?>
<div class="badshah">
<div class="about_div inst thanks_div">
<img src="<?php echo DIR; ?>/images/needs/glyph-instagram.jpg" alt="">
<div class="">
<span>
<?php
$e_v = $universal->e_verified($_SESSION['id']);
if($e_v){
echo "Your email has already been verified!!";
} else {
echo "Your email has been verified!!";
}
?>
</span>
</div>
</div>
</div>
<?php include 'includes/footer.php'; ?>