    <div class="content-header">
        <div class="container-fluid">
            <div class="row mb-2">
                <div class="col-sm-6">
                    <div class="img-profile ml-3">

                    </div>
                    <h1 class="m-0 text-dark"><?php echo (isset($extrasession)) ? 'Edit Extra Session' : 'Add Extra Session' ?>
                    </h1>

                </div><!-- /.col -->
                <div class="col-sm-6">
                    <ol class="breadcrumb float-sm-right">
                        <li class="breadcrumb-item"><a href="<?= base_url(); ?>dashboard/meditations">Extra Sessions</a></li>
                        <li class="breadcrumb-item active"><?php echo (isset($extrasession)) ? 'Edit Extra Session' : 'Add Extra Session' ?></li>
                    </ol>
                </div><!-- /.col -->
            </div><!-- /.row -->
        </div><!-- /.container-fluid -->
    </div>
    <?php
      if(isset($extrasession)){
        $endpoint = 'updateextrasession';
      }else{
        $endpoint = 'insertextrasession';
      }
    ?>
    <form method="post" id="add_driver" class="card" action="<?php echo base_url() . "dashboard/".$endpoint; ?>" enctype="multipart/form-data">
        <!-- Main content -->
        <section class="content">
            <div class="container-fluid">
                <div class="card-body">


                    <div class="row">
                        <input type="hidden" name="id" id="id" value="<?=$id?>">
                        <div class="col-sm-6 col-md-4">
                            <label class="form-label">Type<span class="form-required">*</span></label>
                            <div class="form-group">
                                <select name="type" class="form-control">
                                    <option value="Base Mark" <?=$extrasession['type']=='Base Mark'?'selected':''?>>Base Mark (Intro)</option>
                                    <option value="Base" <?=$extrasession['type']=='Base'?'selected':''?>>Base</option>
                                    <option value="Visualization" <?=$extrasession['type']=='Visualization'?'selected':''?>>Visualization</option>
                                    <option value="Gratitude" <?=$extrasession['type']=='Gratitude'?'selected':''?>>Gratitude</option>
                                </select>
                            </div>
                        </div>
                        <!-- <div class="col-sm-6 col-md-4">
                            <label class="form-label">Session No.<span class="form-required">*</span></label>
                            <div class="form-group">
                                <input type="text" name="sessionNo" id="sessionNo" class="form-control" placeholder="Session Number" value="<?php echo $extrasession['sessionNo'];?>" required>
                            </div>
                        </div> -->
                        <div class="col-sm-6 col-md-4">
                            <label class="form-label">Title<span class="form-required">*</span></label>
                            <div class="form-group">
                                <input type="text" name="title" id="title" class="form-control" placeholder="Meditation Title" value="<?php echo $extrasession['title'];?>" required>
                            </div>
                        </div>
                        <div class="col-sm-6 col-md-4">
                            <label class="form-label">Congrats Message<span class="form-required">*</span></label>
                            <div class="form-group">
                                <input type="text" name="congratsMessage" id="congratsMessage" class="form-control" placeholder="Congrats Message" value="<?php echo $extrasession['congratsMessage'];?>" required>
                            </div>
                        </div>

                        <div class="col-sm-6 col-md-4">
                            <label class="form-label">Regular Steps<span class="form-required">*</span></label>
                            <div class="form-group">
                                <input type="text" name="regularXP" id="regularXP" class="form-control" placeholder="Regular Steps" value="<?php echo $extrasession['regularXP'];?>" required>
                            </div>
                        </div>

                        <div class="col-sm-6 col-md-4">
                            <label class="form-label">Relisten Steps<span class="form-required">*</span></label>
                            <div class="form-group">
                                <input type="text" name="relistenXP" id="relistenXP" class="form-control" placeholder="Relisten Steps" value="<?php echo $extrasession['relistenXP'];?>" required>
                            </div>
                        </div>

                        <!-- <div class="col-sm-6 col-md-4">
                            <label class="form-label">Image<span class="form-required">*</span></label>
                            <div class="form-group">
                                <input type="file" name="image" id="image" class="form-control" placeholder="Image" <?=$extrasession?'':'required'?>>
                            </div>
                        </div> -->

                        <div class="col-sm-6 col-md-4">
                            <label class="form-label">Speeker1 Audio File<span class="form-required">*</span></label>
                            <div class="form-group">
                                <input type="file" name="audio1" id="audio1" class="form-control" placeholder="Audio1" <?=$extrasession?'':'required'?>>
                            </div>
                        </div>

                        <div class="col-sm-6 col-md-4">
                            <label class="form-label">Speeker2 Audio File<span class="form-required">*</span></label>
                            <div class="form-group">
                                <input type="file" name="audio2" id="audio2" class="form-control" placeholder="Audio2" <?=$extrasession?'':'required'?>>
                            </div>
                        </div>

                        <div class="col-sm-6 col-md-4">
                            <label class="form-label">Speeker3 Audio File<span class="form-required">*</span></label>
                            <div class="form-group">
                                <input type="file" name="audio3" id="audio3" class="form-control" placeholder="Audio3" <?=$extrasession?'':'required'?>>
                            </div>
                        </div>

                    </div>

                </div>

            </div>
        </section>
        <!-- /.content -->


        <!-- Main content -->
        <section class="content">
            <div class="container-fluid">

                <div class="card-footer text-right">

                    <button type="submit" class="btn btn-primary"> <?php echo (isset($extrasession)) ? 'Update Extra Session' : 'Add Extra Session' ?></button>
                </div>
            </div>
        </section>
        <!-- /.content -->
    </form>