<div class="card">
    <div class="card-body">
        <div class="row">
            <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                <div class="media influencer-profile-data d-flex align-items-center p-2">
                    <div class="mr-4">
                        <img src="<?= base_url() ?>assets/backend/images/profile.png" alt="" class="user-avatar-md rounded-circle">
                    </div>
                    <div class="media-body ">
                        <div class="influencer-profile-data">
                            <h3 class="m-b-10"><?= join(' ', [$visitor->first_name, $visitor->last_name]) ?></h3>
                            <p>
                                <span class="m-r-20 d-inline-block">Time
                                    <span class="m-l-10 text-primary">
                                        <?= date('H:i', strtotime($visitor->created_at)) ?>
                                    </span>
                                </span>
                                <span class="m-r-20 d-inline-block"> Gender
                                    <span class="m-l-10 text-primary"><?= $visitor->gender ?></span>
                                </span>
                                <span class="m-r-20 d-inline-block">Phone <span class="m-l-10  text-primary"><?= $visitor->phone ?></span>
                                </span>
                            </p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="border-top card-footer">
        <div class="card-body">
            <div class="row">
                <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                    <ul class="list-group">
                        <li class="list-group-item d-flex justify-content-between align-items-center">
                            <span class="badge badge-primary badge-pill">From</span> <?= $visitor->coming_from ?>
                        </li>
                        <li class="list-group-item d-flex justify-content-between align-items-center">
                            <span class="badge badge-primary badge-pill">Going To</span> <?= $visitor->going_to ?>
                        </li>
                        <li class="list-group-item d-flex justify-content-between align-items-center">
                            <span class="badge badge-primary badge-pill">Purpose</span> <?= $visitor->visit_purpose ?>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>