   <div class="page-container">
        <div class="main-content">
            <div class="section-gap">
                <div class="container-fluid">
<!--Page Content-->
                        <div class="row">
        <div class="col-xl-12">
            <div class="site-card">
                <div class="site-card-header">
                    <h3 class="title"><span class="anticon anticon-wallet"></span> Request Loan</h3>
                </div>
                <?php if(!(isset($amount) && isset($loan_status))){ ?>
                <div class="site-card-body">
    <div class="progress-steps-form">
        <form action="/user/loan" method="post">
                       <div class="row">
                <div class="col-xl-12 col-md-12">
                    <div class="alert alert-info"><span class="anticon anticon-info-circle"></span> Request Loan to facilitate your investment, Please note that you have to be qualify to receive loan.</div>
                </div>
                <div class="col-xl-12 col-md-12">
                    <label for="exampleFormControlInput1" class="form-label">Enter Amount</label>
                    <div class="input-group">
                        <input type="number" class="form-control sendAmount" name="amount" required
                               placeholder="Enter Amount" aria-label="Amount"
                               oninput="this.value = validateDouble(this.value)" aria-describedby="basic-addon1">
                        <span class="input-group-text" id="basic-addon1">USD</span>
                    </div>
                </div>
            </div>

            <div class="buttons mt-3">
                <button type="submit" name="requestLoan" id="requestLoan" class="site-btn blue-btn">
                   Make Request <i class="anticon anticon-double-right"></i>
                </button>
            </div>
        </form>

    </div>

                </div>
                 <?php }else{ ?>

                    <div class="site-card-body">
            <div class="progress-steps-form">
        <div class="transaction-status centered">
            <?php if ($loan_status=='Pending'){ ?>
            <div class="icon bg-primary">
                <i class="anticon anticon-info"></i>
            </div>
            <?php }else if($loan_status=='Approved'){ ?>
            <div class="icon success">
                <i class="anticon anticon-check"></i>
            </div>
            <?php }else{ ?>
            <div class="icon bg-danger">
                <i class="anticon anticon-close"></i>
            </div>
            <?php } ?>
            
            <h2>Loan <?php echo $loan_status; ?></h2>
            <p>Once, your loan has been Approved!, it should reflect on your Main Balance!</p>
            <a href="/user/dashboard" class="site-btn">
                <i class="anticon anticon-appstore"></i>Return to Dashboard
            </a>
        </div>
    </div>
                </div>
                    <?php } ?>
            </div>
        </div>
    </div>
                    <!--Page Content-->
                </div>
            </div>
        </div>
    </div>