<?php 
session_start();
$tk = $_GET['token'];
if ($tk == ''){ header ("location:https://vschool.rvibs.ac.ke");    }
$name = strtoupper($_SESSION['name']);
$email = $_SESSION['email'];
$msg = "You have registered successfully and an activation link sent to your email <b>$email</b>. Login to the email and click the activation link to activate your account.<br>For assistance call +254715321810 or email to virtualschool@rvibs.ac.ke.";
include 'header.php'; ?>
            
<html lang="en">
   <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
      <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
      <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
      <style>
          .p1{ font-size :27px};
      </style>
   </head>
   <body>
          
      <div class="container mt-3">
          <div class="card">
            <div class="card-header text-center"><p class="p1">Congratulations <b><?php echo $name; ?></b>. </p></div>
            <div class="card-body mb-5"><p><?php echo $msg; ?></p></div>
            
            <div class="card-footer text-center">
                <div class="row mt-2">
                    <div class="col-2">
                    <a href="https://vschool.rvibs.ac.ke/" target="_blank"> <button type="button" class="btn btn-outline-secondary btn-floating mx-1">
                    Go Back
                    </button></a>
                    </div>
                    
                    <div class="col">
                    <a href="https://wa.me/254715111101" target="_blank"> <button type="button" class="btn btn-primary btn-floating mx-1">
                    <i class="fa fa-whatsapp"></i>
                    </button></a>
                    
                    <a href="https://www.facebook.com/rvibs/" target="_blank"> <button type="button" class="btn btn-primary btn-floating mx-1">
                    <i class="fa fa-facebook-f"></i>
                    </button></a>

                    <a href="https://www.youtube.com/channel/UCEFbrwEKfkkrFeKW8zZZudg" target="_blank"><button type="button" class="btn btn-primary btn-floating mx-1">
                    <i class="fa fa-youtube"></i>
                    </button></a>

                    <a href="https://twitter.com/riftrvibs" target="_blank"><button type="button" class="btn btn-primary btn-floating mx-1">
                    <i class="fa fa-twitter"></i>
                    </button></a>

                    <a href="https://www.instagram.com/rvibs_/" target="_blank"><button type="button" class="btn btn-primary btn-floating mx-1">
                    <i class="fa fa-instagram"></i>
                    </button></a>
                    </div>
                    
                    <div class="col">
                    <a href="https://rvibs.ac.ke/" target="_blank"><button type="button" class="btn btn-outline-info btn-floating mx-1">
                    Main Website
                    </button></a>

                    <a href="https://rvibs.ac.ke/gallery/" target="_blank"><button type="button" class="btn btn-outline-info btn-floating mx-1">
                    Photo Gallery
                    </button></a>
                    </div>
                    
                </div>
            </div>
          </div>
      </div>

   </body>
</html>