<link rel="stylesheet" href="<?php echo base_url(); ?>assets/ecommerce/scss/style.css" />
<div class="user-profile mt-5 mb-5">
    <div class="container">
        <div class="row justify-content-between">
            <div class="col-lg-12">
                <div class="alert alert-success alert-dismissible" role="alert" <?php if($this->session->flashdata('message')==''){ ?> style="display:none" <?php } ?> >
                    <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
                    <?php echo $this->session->flashdata('message'); ?>
                </div>
                <div class="alert alert-danger alert-dismissible" role="alert" <?php if($this->session->flashdata('emessage')==''){ ?> style="display:none" <?php } ?> >
                    <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
                    <?php echo $this->session->flashdata('emessage'); ?>
                </div>
            </div>
        </div>
        <div class="row align-items-center">
            <div class="col-lg-5 col-md-5 col-12 px-0 px-md-4 px-lg-5">
                <?php $ad['active']=1; $this->load->view('user-sidebar',$ad); ?>
            </div>
            <div class="col-lg-7 col-md-7 col-12 px-md-5">
                <div class="orders-inner pe-md-5">
                    <form action="" class="pe-md-4">
                        <div class="row">
                            <div class="col-lg-12">
                                <div class="form-group mb-3">
                                    <input type="text" class="form-control" placeholder="NAME" value="<?php echo $profile['name']; ?>" readonly>
                                </div>
                            </div>
                            <div class="col-lg-12">
                                <div class="form-group mb-3">
                                    <input type="text" class="form-control" placeholder="CONTACT" value="<?php echo $profile['mobile_no']; ?>" readonly>
                                </div>
                            </div>
                            <div class="col-lg-12">
                                <div class="form-group mb-3">
                                    <input type="email" class="form-control" placeholder="EMAIL" value="<?php echo $profile['email']; ?>" readonly>
                                </div>
                            </div>
                            <div class="col-lg-12">
                                <div class="form-group mb-3">
                                    <textarea class="form-control" placeholder="DELIVERY ADDRESS" rows="5" readonly><?php echo $profile['address']; ?></textarea>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>