<?php $offset = $loggedIn['set_offset']; ?>
<div class="card">
    <div class="card-header">
        <div class="card-title">
            <span>VPN server </span>
        </div>
    </div>
    <div class="card-body">
        <!-- <?php $verified = (boolval($vpn_server_details['email_verification_status'])) ? '<i class="fa fa-check-square text-success ml-1"></i>' : ''; ?> -->
        <div class="form-group row">
            <div class="col-8">
                <div class="form-row">
                    <label class="col-sm-2 col-form-label">Country</label>
                    <div class="align-self-center col-sm-10"><?= $vpn_server_details['country_name']; ?></div>
                </div>
                <div class="form-row">
                    <label class="col-sm-2 col-form-label">IP address</label>
                    <div class="align-self-center col-sm-10"><?= $vpn_server_details['ip_address']; ?></div>
                </div>
                <div class="form-row">
                    <label class="col-sm-2 col-form-label">Recommend</label>
                    <div class="align-self-center col-sm-10"><?= (boolval($vpn_server_details['recommend'])) ? "Yes" : "No"; ?></div>
                </div>
                <div class="form-row">
                    <label class="col-sm-2 col-form-label">Active</label>
                    <div class="align-self-center col-sm-10"><?= (boolval($vpn_server_details['is_active'])) ? "Yes" : "No"; ?></div>
                </div>
                <div class="form-row">
                    <label class="col-sm-2 col-form-label">Created Date</label>
                    <div class="align-self-center col-sm-10"><?= date(DATETIME_FORMAT, $vpn_server_details['created_at'] + $offset); ?> (<?= timespan($vpn_server_details['created_at'], time(), 1) . ' ago'; ?>)</div>
                </div>
                <div class="form-row">
                    <label class="col-sm-2 col-form-label">Updated Date</label>
                    <div class="align-self-center col-sm-10"><?= date(DATETIME_FORMAT, $vpn_server_details['updated_at'] + $offset); ?> (<?= timespan($vpn_server_details['updated_at'], time(), 1) . ' ago'; ?>)</div>
                </div>
                <div class="form-row">
                    <label class="col-sm-2 col-form-label">OVPN</label>
                    <div class="align-self-center col-sm-10"><?= $vpn_server_details['ovpn']; ?></div>
                </div>

            </div>
        </div>
    </div>
</div>