<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Qatar Government Excellence Award</title>
    <!-- Include Bootstrap CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.5.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-6E5z5F5j5Mu1v8BGNRn7I5z5wPb8Pp5f5c5f5z5F5k5f5F5E5z5F5j5Mu1v8BGNRn7I5z" crossorigin="anonymous">
    <!-- Include FontAwesome CSS -->
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.0/css/all.min.css" rel="stylesheet">
    <style>
        * {
            padding: 0;
            margin: 0;
        }
        body {
            height: 100vh;
            background-color: #e4ebf6;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .container {
               text-align: center;
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: stretch;
    margin-top: -20%;

        }
        .icon-accepted {
            color: green;
            font-size: 100px;
        }
        .icon-rejected {
            color: red;
            font-size: 100px;
        }
        .mainLogo{
            
        }
    </style>
</head>
<body>
   

<!-- Content of your webpage goes here -->
<div class="container">
     <div class="mainLogo">
        <a class="navbar-brand" href="#"><img src="<?=base_url('assets/images/logo.png')?>" alt="Logo" height="100"></a>
    </div>
    <?php 
    if(isset($accept)):
    ?>
   <div>
       <i class="fas fa-check-circle icon-accepted"></i><br>
       <h1>You Accepted</h1><br>
       <p>Thank you for accepting our invitation. For any enquiries please contact galadinner@dohaforum.org.</p>
   </div> 
    <?php
    elseif(isset($reject)):
    ?>
    <div>
        <i class="fas fa-times-circle icon-rejected"></i><br>
        <h1>You declined</h1><br>
        <p>We are sorry that you will not be able to join us. For any enquiries please contact galadinner@dohaforum.org.</p>
    </div>
    <?php
    elseif(isset($expire)):
    ?>
    <div>
        <i class="fas fa-times-circle icon-rejected"></i><br>
        <h1>Expired Link</h1><br>
        <p>You have already responded to this invitation. This link is now expired. For any enquiries please contact galadinner@dohaforum.org.</p>
    </div>
    <?php
    endif;
    ?>
    <img src="data:image/png;base64,<?=$qr_uuid?>" style="padding-top:14px; padding-left:10px;">
</div>

<!-- Include Bootstrap JS (optional) -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.5.0/dist/js/bootstrap.min.js" integrity="sha384-vk5WoKIg7F5v7ZRZ7f5FsCOo9E09zgDkAB5ZvF+76X9Bf4+5z5v7z7b5l5z5F5w5sCOo9" crossorigin="anonymous"></script>
</body>
</html>
