<?php 
include('../components/pages.head.php'); 

session_start();

$account_name = $_SESSION["account_name"];
$account_number = $_SESSION["account_number"];

?>
<body>
    <?php include('../components/pages.header.php'); ?>
    
    <main>
        <!-- Breadcrumbs S t a r t -->
        <section class="breadcrumbs-area breadcrumb-bg">
            <div class="container">
                <h1 class="text-center title wow fadeInUp" data-wow-delay="0.0s">

                    ⛓️‍💥😔<i class="ri-cloud-off-line"></i>
                    oops!!
                </h1>
            </div>

        </section>
        <!--/ End-of Breadcrumbs-->

        <!-- Login area S t a r t  -->
        <div class="login-area section-padding">
            <div class="container">
                <div class="row justify-content-center">
                    <div class="col-xl-6 col-lg-6 col-md-10 col-sm-12">
                        <div class="login-card">
                            <h3 class="title p-3">Hello <?php echo ucfirst($account_name) ?></h3>

                            <div class="alert alert-warning" role="alert">
                                 Your account:<b> <?php echo $account_number ?></b>, has not been activated,
                                 To access our internet banking service, A user's account must be active.
                            </div>
                            <a href="../login" class="btn-primary-fill justify-content-center w-100">
                                <span class="d-flex justify-content-center gap-6">
                                    <span>Login Again ?</span>
                                </span>
                            </a>

                            <div class="login-footer">
                                <div class="create-account">
                                    <p>
                                        <b>Talk with an Agent via Live Chat</b>
                                        <a href="../register">
                                            <span class="text-primary">Register</span>
                                        </a>
                                    </p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!--/ End-of Login -->
    </main>

   <?php include('../components/pages.footer.php'); ?>