    <script src="<?php echo base_url();?>public/style/cms/bower_components/bootstrap-clockpicker/bootstrap-clockpicker.min.js"></script>
    <script src="<?php echo base_url();?>public/style/js/modal_validation.js"></script>
    <script src="<?php echo base_url();?>public/style/js/picker.js"></script>
    <script src="<?php echo base_url();?>public/style/js/picker.en.js"></script>
    <?php
        $mdl = base64_decode($param3);
        $mdlEx = explode('-', $mdl);
    ?>
    <div class="modal-body">
        <div class="modal-header mdl-header">
            <h6 class="title text-white"><?php echo getEduAppGTLang('live_class');?></h6>
        </div>
        <div class="ui-block-content">
            <?php if($param2 == 'add'):?>
            <form action="<?php echo base_url();?>admin/activities/live" method="POST">
                <input type="hidden" value="<?php echo $mdlEx[0];?>" name="class_id">
                <input type="hidden" value="<?php echo $mdlEx[1];?>" name="section_id">
                <input type="hidden" value="<?php echo $mdlEx[2];?>" name="subject_id">
                <input type="hidden" value="create" name="method">
                <div class="row">
                    <div class="col col-lg-12 col-md-12 col-sm-12 col-12">
                        <div class="form-group">
                            <label><?php echo getEduAppGTLang('zoom_meet_url');?>:</label>
                            <input class="form-control" id="zoomURL" name="zoomURL" type="text" onblur="getIDPWD();" required="">
                        </div>
                    </div>
                    <div class="col col-lg-12 col-md-12 col-sm-12 col-12">
                        <div class="form-group">
                            <label><?php echo getEduAppGTLang('title');?>:</label>
                            <input class="form-control" name="title" type="text" required="">
                        </div>
                    </div>
                    <div class="col col-lg-6 col-md-6 col-sm-12 col-6">
                        <div class="form-group">
                            <label><?php echo getEduAppGTLang('meeting_id');?>:</label>
                            <input class="form-control" name="zoom_meeting_id" readonly id="zid" type="text" required="">
                        </div>
                    </div>
                    <div class="col col-lg-6 col-md-6 col-sm-12 col-6">
                        <div class="form-group">
                            <label><?php echo getEduAppGTLang('meeting_password');?>:</label>
                            <input class="form-control" name="zoom_meeting_password" id="zpw" readonly type="text" required="">
                        </div>
                    </div>
                    <div class="col col-lg-12 col-md-12 col-sm-12 col-12">
                        <div class="form-group label-floating">
                            <label><?php echo getEduAppGTLang('description');?>:</label>
                            <textarea class="form-control" name="description"></textarea>
                        </div>
                    </div>
                    <div class="col col-lg-12 col-md-12 col-sm-12 col-12">
                        <div class="form-group">
                            <label for=""><?php echo getEduAppGTLang('date');?>:</label>
                            <div class="input-group">
                                <input type='text' class="datepicker-here" data-position="top left" data-language='en' name="start_date" data-multiple-dates-separator="/"/>
                            </div>
                        </div>
                    </div>
                    <div class="col col-lg-6 col-md-6 col-sm-12 col-6">
                        <div class="form-group">
                            <label for=""><?php echo getEduAppGTLang('start_time');?>:</label>
                            <div class="input-group clockpicker" data-align="top" data-autoclose="true">
                                <input type="text" required="" name="start_time" class="form-control" value="00:00">
                            </div>
                        </div>
                    </div>
                    <div class="col col-lg-6 col-md-6 col-sm-12 col-6">
                        <div class="form-group">
                            <label for=""><?php echo getEduAppGTLang('end_time');?>:</label>
                            <div class="input-group clockpicker" data-align="top" data-autoclose="true">
                                <input type="text" required="" name="end_time" class="form-control" value="00:00">
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-12">
                        <div class="checkbox-wrapper-4">
                            <input class="inp-cbx" id="showToStudents" name="status" value="1" type="checkbox"/>
                            <label class="cbx" for="showToStudents"><span>
                                <svg width="12px" height="10px">
                                    <use xlink:href="#check-4"></use>
                                </svg>
                                </span><span><?php echo getEduAppGTLang('show_message');?>.</span>
                            </label>
                            <svg class="inline-svg">
                                <symbol id="check-4" viewbox="0 0 12 10">
                                    <polyline points="1.5 6 4.5 9 10.5 1"></polyline>
                                </symbol>
                            </svg>
                        </div>
                    </div>
                    <div class="col col-lg-12 col-md-12 col-sm-12 col-12">
                        <button class="btn btn-rounded btn-primary " type="submit"><?php echo getEduAppGTLang('create');?></button>
                    </div>
                </div>
            </form>
            <?php elseif($param2 == 'edit'):?>
            <?php 
                $dataQ = $this->db->get_where('activity', array('activity_id' => $param3))->result_array();
                foreach($dataQ as $rm):
            ?>
            <form action="<?php echo base_url();?>admin/activities/live/<?php echo $param3;?>" method="POST">
                <input type="hidden" value="<?php echo $rm['class_id'];?>" name="class_id">
                <input type="hidden" value="<?php echo $rm['section_id'];?>" name="section_id">
                <input type="hidden" value="<?php echo $rm['subject_id'];?>" name="subject_id">
                <input type="hidden" value="update" name="method">
                <div class="row">
                    <div class="col col-lg-12 col-md-12 col-sm-12 col-12">
                        <div class="form-group">
                            <label><?php echo getEduAppGTLang('title');?>:</label>
                            <input class="form-control" name="title" type="text" value="<?php echo $rm['title'];?>" required="">
                        </div>
                    </div>
                    <div class="col col-lg-12 col-md-12 col-sm-12 col-12">
                        <div class="form-group label-floating">
                            <label><?php echo getEduAppGTLang('description');?>:</label>
                            <textarea class="form-control" name="description"><?php echo $rm['description'];?></textarea>
                        </div>
                    </div>
                    <div class="col col-lg-12 col-md-12 col-sm-12 col-12">
                        <div class="form-group label-floating">
                            <label><?php echo getEduAppGTLang('zoom_url');?>:</label>
                            <p><a href="<?php echo $rm['url'];?>" target="_blank"><?php echo $rm['url'];?></a></p>
                        </div>
                    </div>
                    <div class="col col-lg-12 col-md-12 col-sm-12 col-12">
                        <div class="form-group">
                            <label for=""><?php echo getEduAppGTLang('date');?>:</label>
                            <div class="input-group">
                                <input type='text' class="datepicker-here" value="<?php echo date('m/d/Y',strtotime($rm['delivery_date']));?>" data-position="top left" data-language='en' name="start_date" data-multiple-dates-separator="/"/>
                            </div>
                        </div>
                    </div>
                    <div class="col col-lg-6 col-md-6 col-sm-12 col-6">
                        <div class="form-group">
                            <label for=""><?php echo getEduAppGTLang('start_time');?>:</label>
                            <div class="input-group clockpicker" data-align="top" data-autoclose="true">
                                <input type="text" required="" name="start_time" class="form-control" value="<?php echo $rm['start_time'];?>">
                            </div>
                        </div>
                    </div>
                    <div class="col col-lg-6 col-md-6 col-sm-12 col-6">
                        <div class="form-group">
                            <label for=""><?php echo getEduAppGTLang('end_time');?>:</label>
                            <div class="input-group clockpicker" data-align="top" data-autoclose="true">
                                <input type="text" required="" name="end_time" class="form-control" value="<?php echo $rm['end_time'];?>">
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-12">
                        <div class="checkbox-wrapper-4">
                            <input class="inp-cbx" id="showToStudents" name="status" value="1" <?php if($rm['status'] == 1) echo 'checked';?> type="checkbox"/>
                            <label class="cbx" for="showToStudents"><span>
                                <svg width="12px" height="10px">
                                    <use xlink:href="#check-4"></use>
                                </svg>
                                </span><span><?php echo getEduAppGTLang('show_message');?>.</span>
                            </label>
                            <svg class="inline-svg">
                                <symbol id="check-4" viewbox="0 0 12 10">
                                    <polyline points="1.5 6 4.5 9 10.5 1"></polyline>
                                </symbol>
                            </svg>
                        </div>
                    </div>
                    <div class="col col-lg-12 col-md-12 col-sm-12 col-12">
                        <button class="btn btn-rounded btn-primary " type="submit"><?php echo getEduAppGTLang('update');?></button>
                    </div>
                </div>
            </form>
            <?php endforeach;?>
            <?php else:?>
            <?php 
                $dataQ = $this->db->get_where('activity', array('activity_id' => $param3))->result_array();
                foreach($dataQ as $rm):
            ?>
            <div class="row">
                <div class="col col-lg-12 col-md-12 col-sm-12 col-12">
                    <div class="form-group label-floating">
                        <label class="text-bold"><?php echo getEduAppGTLang('live_date');?></label>
                        <p class="mb-4"><?php echo date($this->db->get_where('settings', array('type' => 'date_format'))->row()->description,strtotime($rm['delivery_date']));?></p>
                        <label class="text-bold"><?php echo getEduAppGTLang('time');?></label>
                        <p class="mb-4"><?php echo date('h:i A',strtotime($rm['start_time']));?> <?php echo getEduAppGTLang('to');?> <?php echo date('h:i A',strtotime($rm['end_time']));?></p>
                        <label class="text-bold"><?php echo getEduAppGTLang('title');?></label>
                        <p class="mb-4"><?php echo $rm['title'];?></p>
                        <label class="text-bold"><?php echo getEduAppGTLang('description');?></label>
                        <p class="mb-4"><?php echo $rm['description'];?></p>
                        <label class="text-bold"><?php echo getEduAppGTLang('uploaded_by');?></label>
                        <p class="mb-4"><img src="<?php echo $this->crud->get_image_url($rm['uploader_role'], $rm['uploader_id']);?>" width="20px"> <?php echo $this->crud->get_name($rm['uploader_role'], $rm['uploader_id']);?></p>
                        <label class="text-bold"><?php echo getEduAppGTLang('uploaded_date');?></label>
                        <p><?php echo $rm['date'];?></p>
                    </div>
                </div>
            </div>
            <?php endforeach;?>
            <?php endif;?>
        </div>
    </div>