ok

Mini Shell

Direktori : /home2/selectio/public_html/tnpsctestbatch.com/
Upload File :
Current File : /home2/selectio/public_html/tnpsctestbatch.com/payment_completed.php

<?php include 'header.php';


if(isset($_SESSION['user_exam'])){
    
    $ids = $_SESSION['user_exam']['id'];
    
    
    
    
    $statement = $pdo->prepare("UPDATE tbl_students SET `payment_status`=? WHERE `id`=? ");   
    $result=$statement->execute(array(1,$ids));
  
}
$currentDate = date('d-m-Y');

$futureDate = date('d-m-Y', strtotime($currentDate . ' + 30 days'));

?>



<div class="col-md-12" style="display: flex;justify-content: center;">
    <img src="icons/payment_completed.gif" alt="Completed">
</div>



<div class="col-md-12" >
    <div class="row" style="display: flex;justify-content: center;">
        <div class="col-md-8">
            <h3> Congrats! You have successfully purchased the purchased the General Studies and Test Batch Series. Hence forth, you can successfully access the all 
            the questions in General Studies and Test Batch Series till <b> <?= $futureDate ?> </b> </h3>
        </div>
    </div>
    
   
</div>


<?php include 'footer.php'; ?>

Zerion Mini Shell 1.0