<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <!-- Main content -->
    <section class="content-header">
        <div class="container-fluid">
            <div class="row mb-2">
                <div class="col-sm-6">
                    <h4>Shipyari</h4>
                </div>
                <div class="col-sm-6">
                    <ol class="breadcrumb float-sm-right">
                        <li class="breadcrumb-item"><a href="<?= base_url('admin/home') ?>">Home</a></li>
                        <li class="breadcrumb-item active">Shipyari</li>
                    </ol>
                </div>
            </div>
        </div><!-- /.container-fluid -->
    </section>

    <section class="content">
        <div class="container-fluid">
            <div class="row">

                <div class="col-md-12">
                    <div class="card card-info">
                        <?php if($this->data['shipyari']->user_id1){ ?>
                        
                            <div class="card-body">
                               <div class="row">
                                <div class="col-md-12">
                                    <h3>My Shipyari Subscription Details</h3>
                                </div>
                                <div class="col-md-12">
                                    <table class="table table-bordered table-responsive">
                                    <!-- <tr>
                                        <th>subscription_amount</th>
                                        <td><?php echo $this->data['shipyari']->subscription_amount; ?></td>                                        
                                    </tr> -->
                                    <tr>
                                        <th>Full Name</th>
                                        <td><?php echo $this->data['shipyari']->full_name; ?></td>                                        
                                    </tr>
                                    <tr>
                                        <th>Email</th>
                                        <td><?php echo $this->data['shipyari']->email; ?></td>                                        
                                    </tr>
                                    <tr>
                                        <th>Mobile</th>
                                        <td><?php echo $this->data['shipyari']->mobile; ?></td>                                        
                                    </tr>
                                    <tr>
                                        <th>Plan Title</th>
                                        <td><?php echo $this->data['shipyari']->plan_title; ?></td>                                        
                                    </tr>
                                    <tr>
                                        <th>Login City</th>
                                        <td><?php echo $this->data['shipyari']->login_city; ?></td>                                        
                                    </tr>
                                    <tr>
                                        <th>Signup Date</th>
                                        <td><?php echo $this->data['shipyari']->signup_date; ?></td>                                        
                                    </tr>
                                    <tr>
                                        <th>User ID</th>
                                        <td><?php echo $this->data['shipyari']->user_id1; ?></td>                                        
                                    </tr>
                                    <!-- <tr>
                                        <th>enc_user_id</th>
                                        <td><?php echo $this->data['shipyari']->enc_user_id; ?></td>                                        
                                    </tr> -->
                                    
                                  
                                    <!-- <tr>
                                        <th>parent_id</th>
                                        <td><?php echo $this->data['shipyari']->parent_id; ?></td>                                        
                                    </tr>
                                    <tr>
                                        <th>subscription_plan</th>
                                        <td><?php echo $this->data['shipyari']->subscription_plan; ?></td>                                        
                                    </tr>
                                  
                                    <tr>
                                        <th>signup_yr</th>
                                        <td><?php echo $this->data['shipyari']->signup_yr; ?></td>                                        
                                    </tr>
                                    <tr>
                                        <th>sign_up_date</th>
                                        <td><?php echo $this->data['shipyari']->sign_up_date; ?></td>                                        
                                    </tr>
                                    <tr>
                                        <th>user_type</th>
                                        <td><?php echo $this->data['shipyari']->user_type; ?></td>                                        
                                    </tr>
                                    <tr>
                                        <th>bap_id</th>
                                        <td><?php echo $this->data['shipyari']->bap_id; ?></td>                                        
                                    </tr> -->
                                    
                                    </table>
                                </div>
                               </div>
                            </div>
                            <div class="d-flex justify-content-center">
                                <div class="form-group" id="error_box">
                                    <div class="card text-white d-none mb-3">
                                    </div>
                                </div>
                            </div>
                            <!-- /.card-footer -->
                        <?php }else{ ?>
                            <form class="form-horizontal form-submit-event" action="<?= base_url('seller/shipyari/create-shipyari-account'); ?>" method="POST" id="add_product_form">                         
                            <div class="card-body">
                                <div class="form-group row">
                                    <label for="name" class="col-sm-2 col-form-label">Full Name <span class='text-danger text-sm'>*</span></label>
                                    <div class="col-sm-10">
                                        <input type="text" class="form-control" placeholder="Enter full name" name="full_name" value="<?= @$this->data['shipyari']->full_name ?>">
                                    </div>
                                </div>                                                              
                                <div class="form-group row">
                                    <label for="name" class="col-sm-2 col-form-label">Email <span class='text-danger text-sm'>*</span></label>
                                    <div class="col-sm-10">
                                        <input type="text" class="form-control" placeholder="Enter email" name="email" value="<?= @$this->data['shipyari']->email ?>">
                                    </div>
                                </div>                                                              
                                <div class="form-group row">
                                    <label for="name" class="col-sm-2 col-form-label">Phone <span class='text-danger text-sm'>*</span></label>
                                    <div class="col-sm-10">
                                        <input type="text" class="form-control" placeholder="Enter phone number" name="phone" value="<?= @$this->data['shipyari']->phone ?>">
                                    </div>
                                </div>                                                              
                                <div class="form-group row">
                                    <label for="name" class="col-sm-2 col-form-label">Company Name <span class='text-danger text-sm'>*</span></label>
                                    <div class="col-sm-10">
                                        <input type="text" class="form-control" placeholder="Enter company name" name="company_name" value="<?= @$this->data['shipyari']->company_name ?>">
                                    </div>
                                </div>                                                                                                                                                     
                                <div class="form-group">
                                    <button type="submit" class="btn btn-success" id="submit_btn">Create Shipyari Account</button>
                                </div>
                            </div>
                            <div class="d-flex justify-content-center">
                                <div class="form-group" id="error_box">
                                    <div class="card text-white d-none mb-3">
                                    </div>
                                </div>
                            </div>
                        </form>
                        <?php } ?>

                    </div>
                    <!--/.card-->
                </div>
                <!--/.col-md-12-->
            </div>
            <!-- /.row -->
        </div><!-- /.container-fluid -->
    </section>
    <!-- /.content -->
</div>