-
Notifications
You must be signed in to change notification settings - Fork 0
/
verify.php
59 lines (50 loc) · 1.59 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
include ("header.php");
$msg="";
//Email id verify
if(isset($_GET['id']) && $_GET['id']!=''){
$id=get_safe_value($_GET['id']);
mysqli_query($con,"update user set email_verify=1 where rand_str='$id'");
$msg="EMAIL ID VERIFIED";
/*$res=mysqli_query($con,"select from_referral_code,email from user where rand_str='$id'");
if(mysqli_num_rows($res)>0){
$row=mysqli_fetch_assoc($res);
$email=$row['email'];
$from_referral_code=$row['from_referral_code'];
$row=mysqli_fetch_assoc(mysqli_query($con,"select id from user where referral_code='$from_referral_code'"));
$uid=$row['id'];
$msg1='Referral Amt from '.$email;
manageWallet($uid,50,'in',$msg1);
}*/
}else{
redirect(FRONT_SITE_PATH);
}
?>
<div class="breadcrumb-area gray-bg">
<div class="container">
<div class="breadcrumb-content">
<ul>
<li><a href="<?php echo FRONT_SITE_PATH?>shop">Home</a></li>
<li class="active"> Email Verified </li>
</ul>
</div>
</div>
</div>
<div class="contact-area pt-100 pb-100">
<div class="container">
<div class="row">
<div class="col-12">
<div class="contact-message-wrapper">
<h4 class="contact-title">
<?php
echo $msg;
?>
</h4>
</div>
</div>
</div>
</div>
</div>
<?php
include("footer.php");
?>