<?php $this->load->view('site/layout'); ?>
<?php $this->load->view('site/navbar'); ?>
<?php $g_id = $result[0]->id; ?>
<style>
    input[type=radio]{
        margin-right: 5px;
        margin-left: 15px;
        margin-top: 3px;
    }
    .rtl input[type=radio]{
        margin-left: 5px;
        margin-right: 15px;
        margin-top: 3px;
    }
</style>
<div class="kt-content  kt-grid__item kt-grid__item--fluid kt-grid kt-grid--hor" id="kt_content">
    <!-- begin:: Content Head -->
    <div class="kt-subheader  kt-grid__item" id="kt_subheader">
        <div class="kt-container  kt-container--fluid ">
            <div class="kt-subheader__main">
                <h3 class="kt-subheader__title"><a href="<?php echo base_url() ?>Dashboard/"><?php echo $this->lang->line('dashboard'); ?></a></h3>
                <span class="kt-subheader__separator kt-subheader__separator--v"></span>
                <span class="kt-subheader__desc"><a href="<?php echo base_url() ?>group/"><?php echo $this->lang->line('group'); ?></a></span>
            </div>
        </div>
    </div>
</div>
<!-- Content Header (Page header) -->
<div class="kt-portlet kt-portlet--mobile">
    <div class="kt-portlet__head kt-portlet__head--lg">
        <div class="kt-portlet__head-label">
            <span class="kt-portlet__head-icon">
                <i class="kt-font-brand flaticon2-line-chart"></i>
            </span>
            <h3 class="kt-portlet__head-title">
                <?php echo $this->lang->line('groups'); ?>
            </h3>
        </div>
    </div>

    <!-- left column -->

    <!-- general form elements -->
    <div class="kt-portlet__body">

        <?php if (isset($msg) || validation_errors() !== ''): ?>
            <div class="alert alert-warning alert-dismissible">
                <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
                <h4><i class="icon fa-warning"></i> Alert!</h4>
                <?= validation_errors(); ?>
                <?= isset($msg) ? $msg : ''; ?>
            </div>
        <?php endif; ?>


        <div class="">
            <ul class="nav nav-pills">
                <!--<li class="nav-item"><a class="nav-link active" data-toggle="pill" href="#head" ><?php //echo $this->lang->line('dashboard')                                             ?></a></li>-->
                <?php if (get_license_per('products')) { ?>
                    <li class="nav-item"><a class="nav-link active" data-toggle="pill" href="#menu"><?php echo $this->lang->line('products') ?></a></li>
                <?php } ?>
<!--<li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu8"><?php //echo $this->lang->line('categories')                                         ?></a></li>-->
<!--<li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu1"><?php //echo $this->lang->line('product-bills')                                        ?></a></li>-->
                <?php
                if (get_license_per('quraan_sessions')) {
                    $controller_path = dirname(__DIR__, 3);
                    if (file_exists($controller_path . '/controllers/quraan')) {
                        ?>
                        <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu24"><?php echo $this->lang->line('quraan_sessions') ?></a></li>
                        <?php
                    }
                }
                ?>
<!--<li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu25"><?php //echo $this->lang->line('quraan_session')                                        ?></a></li>-->
                <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu2"><?php echo $this->lang->line('students') ?></a></li>
                <!--<li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu22"><?php //echo $this->lang->line('student_profile')                                       ?></a></li>-->
                <!--<li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu18"><?php //echo $this->lang->line('inbox')                                 ?></a></li>-->
                <?php
                if (get_license_per('attendance')) {
                    $controller_path = dirname(__DIR__, 3);
                    if (file_exists($controller_path . '/controllers/absent')) {
                        ?>
                        <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu9"><?php echo $this->lang->line('attendance') ?></a></li>
                        <?php
                    }
                }
                ?>
<!--<li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu23"><?php //echo $this->lang->line('teachers')                                  ?></a></li>-->
<!--<li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu3"><?php //echo $this->lang->line('invoices')                                  ?></a></li>-->
<!--<li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu19"><?php //echo $this->lang->line('subscription')                                  ?></a></li>-->
<!--<li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu20"><?php //echo $this->lang->line('expense')                                 ?></a></li>-->
                <?php if (get_license_per('accountant')) { ?>
                    <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu7"><?php echo $this->lang->line('accountant') ?></a></li>
                <?php } ?>
                <?php
                if (get_license_per('advs_msgs')) {
                    $controller_path = dirname(__DIR__, 3);
                    if (file_exists($controller_path . '/controllers/announcement')) {
                        ?>
                        <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu10"><?php echo $this->lang->line('announcement') ?></a></li>
                        <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu11"><?php echo $this->lang->line('messages') ?></a></li>
                        <?php
                    }
                }
                ?>
                <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu4"><?php echo $this->lang->line('member') ?></a></li>
                <!--<li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu5"><?php //echo $this->lang->line('language')                              ?></a></li>-->
                <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu6"><?php echo $this->lang->line('groups') ?></a></li>


                <?php if (get_license_per('data_managment')) { ?>
                    <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu12"><?php echo $this->lang->line('data') ?></a></li>
                    <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu13"><?php echo $this->lang->line('student_fields') ?></a></li>
                <?php } ?>
                <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu14"><?php echo $this->lang->line('setting') ?></a></li>
<!--                <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu21"><?php //echo $this->lang->line('update')                              ?></a></li>
                <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu15"><?php //echo $this->lang->line('tables_export')                             ?></a></li>-->

                <?php
                if (get_license_per('points')) {
                    $controller_path = dirname(__DIR__, 3);
                    if (file_exists($controller_path . '/controllers/points')) {
                        ?>
                        <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu16"><?php echo $this->lang->line('points') ?></a></li>
                        <?php
                    }
                }
                ?>

                <?php
                if (get_license_per('call_center')) {
                    $controller_path = dirname(__DIR__, 3);
                    if (file_exists($controller_path . '/controllers/call_center')) {
                        ?>
                        <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu25"><?php echo $this->lang->line('call_center') ?></a></li>
                        <?php
                    }
                }
                ?>

                <?php
                if (get_license_per('support')) {
                    $controller_path = dirname(__DIR__, 3);
                    if (file_exists($controller_path . '/controllers/support')) {
                        ?>
                        <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu26"><?php echo $this->lang->line('support') ?></a></li>
                        <?php
                    }
                }
                ?>

                <?php
                if (get_license_per('drivers')) {
                    $controller_path = dirname(__DIR__, 3);
                    if (file_exists($controller_path . '/controllers/drivers')) {
                        ?>
                        <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu27"><?php echo $this->lang->line('drivers') ?></a></li>
                        <?php
                    }
                }
                ?>

                <?php if (get_license_per('knowledge_base')) { ?>
                    <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu29"><?php echo $this->lang->line('knowledge_base') ?></a></li>
                <?php } ?>

                <?php
//                $controller_path = dirname(__DIR__, 3);
//                if (file_exists($controller_path . '/controllers/Payment')) {
                ?>
                <li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu28"><?php echo $this->lang->line('pay_orders') ?></a></li>
                <?php
                // }
                ?>
<!--<li class="nav-item"><a class="nav-link" data-toggle="pill" href="#menu17"><?php //echo $this->lang->line('tags')                                 ?></a></li>-->


                <!--                <li class="nav-item">
                                    <a class="nav-link" data-toggle="pill" href="#m_tabs_2_2"><?php //echo $this->lang->line('points') . '--' . $this->lang->line('points');                                  ?> </a>
                                </li>-->

                <!--                <li class="nav-item">
                                    <a class="nav-link" data-toggle="pill" href="#m_tabs_2_7"><?php //echo $this->lang->line('transactions');                                  ?> </a>
                                </li>-->

                <!--                <li class="nav-item">
                                    <a class="nav-link" data-toggle="tab" href="#m_tabs_2_9"><?php //echo $this->lang->line('award');                                  ?> </a>
                                </li>-->

            </ul>

            <?php echo form_open_multipart(base_url('Group/permission/' . $result[0]->id)); ?>
            <div class="tab-content">
                <!--                <div id="head" class="tab-pane fade  active show">
                                    <div class="row" style="padding-top: 20px;">
                                        <div class="col-md-3">
                                            <div class="row form-group ">
                                                <label for="exampleInputEmail1"><?php //echo $this->lang->line('dashboard')                                             ?> </label>
                                            </div>
                                        </div>
                                        <div class="col-md-9">
                                            <div class=" row radio">
                                                <input type="radio" name="dashboard" value="1" required <?php //echo get_ap('dashboard', $g_id) == 1 ? 'checked' : '';                                        ?>>
                                                <label>
                <?php //echo $this->lang->line('enable')             ?></label>
                                                <input type="radio" name="dashboard" value="0" <?php //echo get_ap('dashboard', $g_id) == 0 ? 'checked' : '';                                       ?>>
                                                <label>
                <?php //echo $this->lang->line('disable')             ?> </label>
                                            </div>
                                        </div>
                                    </div>
                                </div>-->
                <div id="menu" class="tab-pane fade active show">
                    <h2><?= $this->lang->line('products') ?></h2>
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('products') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="product" value="1" required <?php echo get_ap('product', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="product" value="0" <?php echo get_ap('product', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>
                    <!--                    <div class="row" >
                                            <div class="col-md-3">
                                                <div class="row form-group ">
                                                    <label for="exampleInputEmail1"><?php //echo $this->lang->line('all')                                             ?> <?php //echo $this->lang->line('list')                                             ?> </label>
                                                </div>
                                            </div>
                                            <div class="col-md-9">
                                                <div class=" row radio">
                                                    <input type="radio" name="product_list" value="1" required <?php //echo get_ap('product_list', $g_id) == 1 ? 'checked' : '';                                        ?>>
                                                    <label>
                    <?php //echo $this->lang->line('he-can-see')             ?></label>
                                                    <input type="radio" name="product_list" value="0" <?php //echo get_ap('product_list', $g_id) == 0 ? 'checked' : '';                                       ?>>
                                                    <label>
                    <?php //echo $this->lang->line('he-can-t')             ?> </label>
                                                </div>
                                            </div>
                                        </div>-->
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="product_add" value="1" required <?php echo get_ap('product_add', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="product_add" value="0" <?php echo get_ap('product_add', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row" >
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="product_edit" value="1" required <?php echo get_ap('product_edit', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="product_edit" value="0" <?php echo get_ap('product_edit', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="product_del" value="1" required <?php echo get_ap('product_del', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="product_del" value="0" <?php echo get_ap('product_del', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('categories') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="categories" value="1" required <?php echo get_ap('categories', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="categories" value="0" <?php echo get_ap('categories', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>


                    <!-- Categories -->
                    <hr/>
                    <h2><?= $this->lang->line('categories') ?></h2>
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add') . ' ' . $this->lang->line('categories') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="categories_add" value="1" required <?php echo get_ap('categories_add', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="categories_add" value="0" <?php echo get_ap('categories_add', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row" >
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit') . ' ' . $this->lang->line('categories') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="categories_edit" value="1" required <?php echo get_ap('categories_edit', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="categories_edit" value="0" <?php echo get_ap('categories_edit', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete') . ' ' . $this->lang->line('categories') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="categories_del" value="1" required <?php echo get_ap('categories_del', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="categories_del" value="0" <?php echo get_ap('categories_del', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>

                    <hr/>
                    <!-- product bills -->
                    <h2><?= $this->lang->line('product-bills') ?></h2>
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('product-bills') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="bill" value="1" required <?php echo get_ap('bill', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="bill" value="0" <?php echo get_ap('bill', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add-an-invoice') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="bill_add" value="1" required <?php echo get_ap('bill_add', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="bill_add" value="0" <?php echo get_ap('bill_add', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row" >
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('report') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="bill_report" value="1" required <?php echo get_ap('bill_report', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="bill_report" value="0" <?php echo get_ap('bill_report', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('invoices') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="bill_invoices" value="1" required <?php echo get_ap('bill_invoices', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="bill_invoices" value="0" <?php echo get_ap('bill_invoices', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>

                </div>
                <!--<div id="menu1" class="tab-pane fade">-->

                <!--</div>-->
                <div id="menu2" class="tab-pane fade">
                    <h2><?= $this->lang->line('students') ?></h2>
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('students') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="student" value="1" required <?php echo get_ap('student', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="student" value="0" <?php echo get_ap('student', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="student_add" value="1" required <?php echo get_ap('student_add', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="student_add" value="0" <?php echo get_ap('student_add', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row" >
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="student_edit" value="1" required <?php echo get_ap('student_edit', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="student_edit" value="0" <?php echo get_ap('student_edit', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="student_del" value="1" required <?php echo get_ap('student_del', $g_id) == 1 ? 'checked' : ''; ?> >
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="student_del" value="0"  <?php echo get_ap('student_del', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row" >
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('block') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="student_block" value="1" required <?php echo get_ap('student_block', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="student_block" value="0" <?php echo get_ap('student_block', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>



                    <hr/>
                    <h2><?= $this->lang->line('student_profile') ?></h2>
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('student_profile') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="student_profile" value="1" required <?php echo get_ap('student_profile', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="student_profile" value="0" <?php echo get_ap('student_profile', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row" >
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('invoices') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="spro_invoices" value="1" required <?php echo get_ap('spro_invoices', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="spro_invoices" value="0" <?php echo get_ap('spro_invoices', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('subscription') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="spro_subscription" value="1" required <?php echo get_ap('spro_subscription', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="spro_subscription" value="0" <?php echo get_ap('spro_subscription', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('attendance') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="spro_attendance" value="1" required <?php echo get_ap('spro_attendance', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="spro_attendance" value="0" <?php echo get_ap('spro_attendance', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('attachments') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="spro_attachments" value="1" required <?php echo get_ap('spro_attachments', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="spro_attachments" value="0" <?php echo get_ap('spro_attachments', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('points') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="spro_points" value="1" required <?php echo get_ap('spro_points', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="spro_points" value="0" <?php echo get_ap('spro_points', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <hr/>
                    <h2><?= $this->lang->line('inbox') ?></h2>
                    <div class="row" style="padding-top: 20px">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('inbox') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="inbox" value="1" required <?php echo get_ap('inbox', $g_id) == 1 ? 'checked' : ''; ?> >
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="inbox" value="0"  <?php echo get_ap('inbox', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('approve') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="student_approve" value="1" required <?php echo get_ap('student_approve', $g_id) == 1 ? 'checked' : ''; ?> >
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="student_approve" value="0"  <?php echo get_ap('student_approve', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="inbox_delete_user" value="1" required <?php echo get_ap('inbox_delete_user', $g_id) == 1 ? 'checked' : ''; ?> >
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="inbox_delete_user" value="0"  <?php echo get_ap('inbox_delete_user', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                </div>


                <div id="menu18" class="tab-pane fade">

                </div>


                <div id="menu3" class="tab-pane fade">

                </div>
                <div id="menu19" class="tab-pane fade">

                </div>

                <div id="menu20" class="tab-pane fade">

                </div>
                <div id="menu4" class="tab-pane fade">
                    <!-- <?php echo form_open_multipart(base_url('Group/permission/' . $result->id)); ?> -->
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('member') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="member" value="1" required <?php echo get_ap('member', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="member" value="0" <?php echo get_ap('member', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="member_add" value="1" required <?php echo get_ap('member_add', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="member_add" value="0"  <?php echo get_ap('member_add', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row" >
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="member_edit" value="1" required <?php echo get_ap('member_edit', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="member_edit" value="0"  <?php echo get_ap('member_edit', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="member_del" value="1" required <?php echo get_ap('member_del', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="member_del" value="0"  <?php echo get_ap('member_del', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('report') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="member_rep" value="1" required <?php echo get_ap('member_rep', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="member_rep" value="0"  <?php echo get_ap('member_rep', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('active') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="member_active" value="1" required <?php echo get_ap('member_active', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="member_active" value="0"  <?php echo get_ap('member_active', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    
                    <div class="row" >
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('logs') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="logs" value="1" required <?php echo get_ap('logs', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="logs" value="0"  <?php echo get_ap('logs', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <!--   <div class="box-footer">
                           <button type="submit" class="btn btn-primary"><?php echo $this->lang->line('modification') ?></button>
                       </div>
                     </form> -->
                </div>
                <div id="menu5" class="tab-pane fade">
                    <!-- <?php echo form_open_multipart(base_url('Group/permission/' . $result->id)); ?> -->


                    <!--                    <div class="row" >
                                            <div class="col-md-3">
                                                <div class="row form-group ">
                                                    <label for="exampleInputEmail1"><?php //echo $this->lang->line('edit')                               ?> </label>
                                                </div>
                                            </div>
                                            <div class="col-md-9">
                                                <div class=" row radio">
                                                    <input type="radio" name="lang_edit" value="1" required  <?php //echo get_ap('lang_edit', $g_id) == 1 ? 'checked' : '';                           ?>>
                                                    <label>
                    <?php //echo $this->lang->line('he-can-see')           ?></label>
                                                    <input type="radio" name="lang_edit" value="0"  <?php //echo get_ap('lang_edit', $g_id) == 0 ? 'checked' : '';                          ?>>
                                                    <label>
                    <?php //echo $this->lang->line('he-can-t')           ?> </label>
                                                </div>
                                            </div>
                                        </div>-->

                    <!--  <div class="box-footer">
                          <button type="submit" class="btn btn-primary" ><?php echo $this->lang->line('modification') ?></button>
                      </div>
                    </form> -->
                </div>
                <div id="menu6" class="tab-pane fade">
                    <!-- <?php echo form_open_multipart(base_url('Group/permission/' . $result->id)); ?> -->
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('groups') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="group" value="1" required <?php echo get_ap('group', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="group" value="0" <?php echo get_ap('group', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="group_add" value="1" required <?php echo get_ap('group_add', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="group_add" value="0" <?php echo get_ap('group_add', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row" >
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="group_edit" value="1" required <?php echo get_ap('group_edit', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="group_edit" value="0" <?php echo get_ap('group_edit', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="group_del" value="1" <?php echo get_ap('group_del', $g_id) == 1 ? 'checked' : ''; ?> required>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="group_del" value="0" <?php echo get_ap('group_del', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row" >
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('permission') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="group_permission" value="1" required <?php echo get_ap('group_permission', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="group_permission" value="0" <?php echo get_ap('group_permission', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                </div>
                <div id="menu7" class="tab-pane fade">
                    <h2><?= $this->lang->line('invoices') ?></h2>
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('invoices') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="invoices" value="1" required <?php echo get_ap('invoices', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="invoices" value="0" <?php echo get_ap('invoices', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('print') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="invoice_print" value="1" required <?php echo get_ap('invoice_print', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="invoice_print" value="0" <?php echo get_ap('invoice_print', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit_price_in_inv') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="edit_price_in_inv" value="1" required <?php echo get_ap('edit_price_in_inv', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="edit_price_in_inv" value="0" <?php echo get_ap('edit_price_in_inv', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="invoice_add" value="1" required <?php echo get_ap('invoice_add', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="invoice_add" value="0" <?php echo get_ap('invoice_add', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row" >
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="invoice_edit" value="1" required <?php echo get_ap('invoice_edit', $g_id, 1) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="invoice_edit" value="2" <?php echo get_ap('invoice_edit', $g_id, 1) == 2 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('can-t_edit_if_paid') ?> </label>
                                <input type="radio" name="invoice_edit" value="0" <?php echo get_ap('invoice_edit', $g_id, 1) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="invoice_del" value="1" required <?php echo get_ap('invoice_del', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="invoice_del" value="0"  <?php echo get_ap('invoice_del', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit_order_status') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="edit_order_status" value="1" required <?php echo get_ap('edit_order_status', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="edit_order_status" value="0" <?php echo get_ap('edit_order_status', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <hr/>
                    <h2><?= $this->lang->line('subscription') ?></h2>
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('subscription') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="subscription" value="1" required <?php echo get_ap('subscription', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="subscription" value="0" <?php echo get_ap('subscription', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('print') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="subs_print" value="1" required <?php echo get_ap('subs_print', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="subs_print" value="0" <?php echo get_ap('subs_print', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>

                    <hr/>
                    <h2><?= $this->lang->line('expense') ?></h2>
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('expense') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="expense" value="1" required <?php echo get_ap('expense', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="expense" value="0" <?php echo get_ap('expense', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="ex_add" value="1" required <?php echo get_ap('ex_add', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="ex_add" value="0" <?php echo get_ap('ex_add', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('category') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="ex_cat" value="1" required <?php echo get_ap('ex_cat', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="ex_cat" value="0" <?php echo get_ap('ex_cat', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add') . ' ' . $this->lang->line('category') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="ex_cat_add" value="1" required <?php echo get_ap('ex_cat_add', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="ex_cat_add" value="0" <?php echo get_ap('ex_cat_add', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit') . ' ' . $this->lang->line('category') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="ex_cat_edit" value="1" required <?php echo get_ap('ex_cat_edit', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="ex_cat_edit" value="0" <?php echo get_ap('ex_cat_edit', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete') . ' ' . $this->lang->line('category') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="ex_cat_del" value="1" required <?php echo get_ap('ex_cat_del', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="ex_cat_del" value="0" <?php echo get_ap('ex_cat_del', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>



                    <hr/>
                    <h2><?= $this->lang->line('the-accountant') ?></h2>
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('the-accountant') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="accountant" value="1" required <?php echo get_ap('accountant', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="accountant" value="0" <?php echo get_ap('accountant', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('all') ?> <?php echo $this->lang->line('list') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="account_list" value="1" required <?php echo get_ap('account_list', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="account_list" value="0" <?php echo get_ap('account_list', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add-an-invoice') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="account_add" value="1" required <?php echo get_ap('account_add', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="account_add" value="0" <?php echo get_ap('account_add', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row" >
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="account_edit" value="1" required <?php echo get_ap('account_edit', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="account_edit" value="0" <?php echo get_ap('account_edit', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="account_del" value="1" <?php echo get_ap('account_del', $g_id) == 1 ? 'checked' : ''; ?> required>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="account_del" value="0" <?php echo get_ap('account_del', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>

                    <hr/>
                    <h2><?= $this->lang->line('sales_report') ?></h2>
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('show') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="sales_report" value="1" required <?php echo get_ap('sales_report', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="sales_report" value="0" <?php echo get_ap('sales_report', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>
                </div>
                <!--<div id="menu8" class="tab-pane fade">-->


                <!--    <div class="box-footer">
                        <button type="submit" class="btn btn-primary"><?php echo $this->lang->line('modification') ?></button>
                    </div> -->
                <!-- </form> -->
                <!--</div>-->
                <?php
                if (get_license_per('attendance')) {
                    $controller_path = dirname(__DIR__, 3);
                    if (file_exists($controller_path . '/controllers/absent')) {
                        ?>
                        <div id="menu9" class="tab-pane fade">
                            <div class="row" style="padding-top: 20px">
                                <div class="col-md-3">
                                    <div class="row form-group ">
                                        <label for="exampleInputEmail1"><?php echo $this->lang->line('attendance_module') ?> </label>
                                    </div>
                                </div>
                                <div class="col-md-9">
                                    <div class=" row radio">
                                        <input type="radio" name="attendance_module" value="1" required <?php echo get_ap('attendance_module', $g_id) == 1 ? 'checked' : ''; ?>>
                                        <label>
                                            <?php echo $this->lang->line('he-can-see') ?></label>
                                        <input type="radio" name="attendance_module" value="0" <?php echo get_ap('attendance_module', $g_id) == 0 ? 'checked' : ''; ?>>
                                        <label>
                                            <?php echo $this->lang->line('he-can-t') ?> </label>
                                    </div>
                                </div>
                            </div>

                            <h2><?= $this->lang->line('attendance_in_products') ?></h2>
                            <div class="row">
                                <div class="col-md-3">
                                    <div class="row form-group ">
                                        <label for="exampleInputEmail1"><?php echo $this->lang->line('add') . ' ' . $this->lang->line('attendance') ?> </label>
                                    </div>
                                </div>
                                <div class="col-md-9">
                                    <div class=" row radio">
                                        <input type="radio" name="product_attendance_add" value="1" required <?php echo get_ap('product_attendance_add', $g_id) == 1 ? 'checked' : ''; ?>>
                                        <label>
                                            <?php echo $this->lang->line('he-can-see') ?></label>
                                        <input type="radio" name="product_attendance_add" value="0" <?php echo get_ap('product_attendance_add', $g_id) == 0 ? 'checked' : ''; ?>>
                                        <label>
                                            <?php echo $this->lang->line('he-can-t') ?> </label>
                                    </div>
                                </div>
                            </div>


                            <div class="row">
                                <div class="col-md-3">
                                    <div class="row form-group ">
                                        <label for="exampleInputEmail1"><?php echo $this->lang->line('show') . ' ' . $this->lang->line('attendance') ?> </label>
                                    </div>
                                </div>
                                <div class="col-md-9">
                                    <div class=" row radio">
                                        <input type="radio" name="product_attendance_list" value="1" required <?php echo get_ap('product_attendance_list', $g_id) == 1 ? 'checked' : ''; ?>>
                                        <label>
                                            <?php echo $this->lang->line('he-can-see') ?></label>
                                        <input type="radio" name="product_attendance_list" value="0" <?php echo get_ap('product_attendance_list', $g_id) == 0 ? 'checked' : ''; ?>>
                                        <label>
                                            <?php echo $this->lang->line('he-can-t') ?> </label>
                                    </div>
                                </div>
                            </div>


                            <hr/>
                            <h2><?= $this->lang->line('attendance') ?></h2>
                            <div class="row" style="padding-top: 20px;">
                                <div class="col-md-3">
                                    <div class="row form-group ">
                                        <label for="exampleInputEmail1"><?php echo $this->lang->line('add') . ' ' . $this->lang->line('attendance') ?> </label>
                                    </div>
                                </div>
                                <div class="col-md-9">
                                    <div class=" row radio">
                                        <input type="radio" name="attendance_add" value="1" required <?php echo get_ap('attendance_add', $g_id) == 1 ? 'checked' : ''; ?>>
                                        <label>
                                            <?php echo $this->lang->line('he-can-see') ?></label>
                                        <input type="radio" name="attendance_add" value="0" <?php echo get_ap('attendance_add', $g_id) == 0 ? 'checked' : ''; ?>>
                                        <label>
                                            <?php echo $this->lang->line('he-can-t') ?> </label>
                                    </div>
                                </div>
                            </div>
                            <div class="row" >
                                <div class="col-md-3">
                                    <div class="row form-group ">
                                        <label for="exampleInputEmail1"><?php echo $this->lang->line('show_attendance') ?> </label>
                                    </div>
                                </div>
                                <div class="col-md-9">
                                    <div class=" row radio">
                                        <input type="radio" name="show_attendance" value="1" required <?php echo get_ap('show_attendance', $g_id) == 1 ? 'checked' : ''; ?>>
                                        <label>
                                            <?php echo $this->lang->line('enable') ?></label>
                                        <input type="radio" name="show_attendance" value="0" <?php echo get_ap('show_attendance', $g_id) == 0 ? 'checked' : ''; ?>>
                                        <label>
                                            <?php echo $this->lang->line('disable') ?> </label>
                                    </div>
                                </div>
                            </div>


                            <div class="row">
                                <div class="col-md-3">
                                    <div class="row form-group ">
                                        <label for="exampleInputEmail1"><?php echo $this->lang->line('delete') . ' ' . $this->lang->line('attendance') ?> </label>
                                    </div>
                                </div>
                                <div class="col-md-9">
                                    <div class=" row radio">
                                        <input type="radio" name="attendance_del" value="1" required <?php echo get_ap('attendance_del', $g_id) == 1 ? 'checked' : ''; ?>>
                                        <label>
                                            <?php echo $this->lang->line('he-can-see') ?></label>
                                        <input type="radio" name="attendance_del" value="0" <?php echo get_ap('attendance_del', $g_id) == 0 ? 'checked' : ''; ?>>
                                        <label>
                                            <?php echo $this->lang->line('he-can-t') ?> </label>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <?php
                    }
                }
                ?>

                <div id="menu10" class="tab-pane fade">
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('announcement') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="announcement" value="1" required <?php echo get_ap('announcement', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="announcement" value="0" <?php echo get_ap('announcement', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="announcement_add" value="1" required <?php echo get_ap('announcement_add', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="announcement_add" value="0" <?php echo get_ap('announcement_add', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row" >
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="announcement_edit" value="1" required <?php echo get_ap('announcement_edit', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="announcement_edit" value="0" <?php echo get_ap('announcement_edit', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="announcement_del" value="1" required <?php echo get_ap('announcement_del', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="announcement_del" value="0" <?php echo get_ap('announcement_del', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <!--    <div class="box-footer">
                            <button type="submit" class="btn btn-primary"><?php echo $this->lang->line('modification') ?></button>
                        </div> -->
                    <!-- </form> -->
                </div>

                <div id="menu11" class="tab-pane fade">
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('messages') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="messages" value="1" required <?php echo get_ap('messages', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="messages" value="0" <?php echo get_ap('messages', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="messages_add" value="1" required <?php echo get_ap('messages_add', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="messages_add" value="0" <?php echo get_ap('messages_add', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row" >
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="messages_edit" value="1" required <?php echo get_ap('messages_edit', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="messages_edit" value="0" <?php echo get_ap('messages_edit', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="messages_del" value="1" required <?php echo get_ap('messages_del', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="messages_del" value="0" <?php echo get_ap('messages_del', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <!--    <div class="box-footer">
                            <button type="submit" class="btn btn-primary"><?php echo $this->lang->line('modification') ?></button>
                        </div> -->
                    <!-- </form> -->
                </div>

                <div id="menu12" class="tab-pane fade">
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('data') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="data" value="1" required <?php echo get_ap('data', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="data" value="0" <?php echo get_ap('data', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="data_add" value="1" required <?php echo get_ap('data_add', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="data_add" value="0" <?php echo get_ap('data_add', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row" >
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="data_edit" value="1" required <?php echo get_ap('data_edit', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="data_edit" value="0" <?php echo get_ap('data_edit', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="data_del" value="1" required <?php echo get_ap('data_del', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="data_del" value="0" <?php echo get_ap('data_del', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <!--    <div class="box-footer">
                            <button type="submit" class="btn btn-primary"><?php echo $this->lang->line('modification') ?></button>
                        </div> -->
                    <!-- </form> -->
                </div>

                <div id="menu23" class="tab-pane fade">


                </div>

                <div id="menu24" class="tab-pane fade">
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('quraan_sessions_module') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="quraan_sessions_module" value="1" required <?php echo get_ap('quraan_sessions_module', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="quraan_sessions_module" value="0" <?php echo get_ap('quraan_sessions_module', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <h2><?= $this->lang->line('quraan_sessions') ?></h2>

                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('quraan_sessions') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="quraan_sessions" value="1" required <?php echo get_ap('quraan_sessions', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="quraan_sessions" value="0" <?php echo get_ap('quraan_sessions', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row" >
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="qs_add" value="1" required <?php echo get_ap('qs_add', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="qs_add" value="0" <?php echo get_ap('qs_add', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="qs_edit" value="1" required <?php echo get_ap('qs_edit', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="qs_edit" value="0" <?php echo get_ap('qs_edit', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row" >
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="qs_del" value="1" required <?php echo get_ap('qs_del', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="qs_del" value="0" <?php echo get_ap('qs_del', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('show') . ' ' . $this->lang->line('quraan_session') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="qs_show" value="1" required <?php echo get_ap('qs_show', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="qs_show" value="0" <?php echo get_ap('qs_show', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>

                    <hr/>
                    <h2><?= $this->lang->line('quraan_session') ?></h2>
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add-a-recite') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="session_add_recite" value="1" required <?php echo get_ap('session_add_recite', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="session_add_recite" value="0" <?php echo get_ap('session_add_recite', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add_students') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="add_students" value="1" required <?php echo get_ap('add_students', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="add_students" value="0" <?php echo get_ap('add_students', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('summary') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="session_summary" value="1" required <?php echo get_ap('session_summary', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="session_summary" value="0" <?php echo get_ap('session_summary', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete') . ' ' . $this->lang->line('student') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="session_delete_student" value="1" required <?php echo get_ap('session_delete_student', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="session_delete_student" value="0" <?php echo get_ap('session_delete_student', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row" >
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('students') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="session_students" value="1" required <?php echo get_ap('session_students', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="session_students" value="0" <?php echo get_ap('session_students', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('attendance') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="session_attendance" value="1" required <?php echo get_ap('session_attendance', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="session_attendance" value="0" <?php echo get_ap('session_attendance', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('messages') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="session_messages" value="1" required <?php echo get_ap('session_messages', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="session_messages" value="0" <?php echo get_ap('session_messages', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>


                    <hr/>
                    <h2><?= $this->lang->line('teachers') ?></h2>
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('teachers') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="teachers" value="1" required <?php echo get_ap('teachers', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="teachers" value="0" <?php echo get_ap('teachers', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="teacher_add" value="1" required <?php echo get_ap('teacher_add', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="teacher_add" value="0" <?php echo get_ap('teacher_add', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row" >
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="teacher_edit" value="1" required <?php echo get_ap('teacher_edit', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="teacher_edit" value="0" <?php echo get_ap('teacher_edit', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="teacher_del" value="1" required <?php echo get_ap('teacher_del', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="teacher_del" value="0" <?php echo get_ap('teacher_del', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('approve') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="teacher_approve" value="1" required <?php echo get_ap('teacher_approve', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="teacher_approve" value="0" <?php echo get_ap('teacher_approve', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>

                    <hr/>
                    <h2><?= $this->lang->line('sessions_plans') ?></h2>
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('sessions_plans') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="sessions_plans" value="1" required <?php echo get_ap('sessions_plans', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="sessions_plans" value="0" <?php echo get_ap('sessions_plans', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add-a-plan') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="qs_plans_add" value="1" required <?php echo get_ap('qs_plans_add', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="qs_plans_add" value="0" <?php echo get_ap('qs_plans_add', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="qs_plans_edit" value="1" required <?php echo get_ap('qs_plans_edit', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="qs_plans_edit" value="0" <?php echo get_ap('qs_plans_edit', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>


                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="qs_plans_del" value="1" required <?php echo get_ap('qs_plans_del', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="qs_plans_del" value="0" <?php echo get_ap('qs_plans_del', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>

                </div>

                <div id="menu25" class="tab-pane fade">

                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('call_center_module') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="call_center_module" value="1" required <?php echo get_ap('call_center_module', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="call_center_module" value="0" <?php echo get_ap('call_center_module', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add_order') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="call_add_order" value="1" required <?php echo get_ap('call_add_order', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="call_add_order" value="0" <?php echo get_ap('call_add_order', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('show_orders') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="call_show_orders" value="1" required <?php echo get_ap('call_show_orders', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="call_show_orders" value="0" <?php echo get_ap('call_show_orders', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit_order') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="call_edit_order" value="1" required <?php echo get_ap('call_edit_order', $g_id, 1) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="call_edit_order" value="2" <?php echo get_ap('call_edit_order', $g_id, 1) == 2 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('unable_edit_if_delivered') ?> </label>
                                <input type="radio" name="call_edit_order" value="0" <?php echo get_ap('call_edit_order', $g_id, 1) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete_order') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="call_delete_order" value="1" required <?php echo get_ap('call_delete_order', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="call_delete_order" value="0" <?php echo get_ap('call_delete_order', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit_order_status') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="call_edit_order_status" value="1" required <?php echo get_ap('call_edit_order_status', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="call_edit_order_status" value="0" <?php echo get_ap('call_edit_order_status', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>





                </div>

                <div id="menu26" class="tab-pane fade">
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('supp_module') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="supp_module" value="1" required <?php echo get_ap('supp_module', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="supp_module" value="0" <?php echo get_ap('supp_module', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add-a-ticket') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="supp_add_ticket" value="1" required <?php echo get_ap('supp_add_ticket', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="supp_add_ticket" value="0" <?php echo get_ap('supp_add_ticket', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit_ticket') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="supp_edit_ticket" value="1" required <?php echo get_ap('supp_edit_ticket', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="supp_edit_ticket" value="0" <?php echo get_ap('supp_edit_ticket', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>

                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete_ticket') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="supp_del_ticket" value="1" required <?php echo get_ap('supp_del_ticket', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="supp_del_ticket" value="0" <?php echo get_ap('supp_del_ticket', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>

                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add_reply') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="supp_add_reply" value="1" required <?php echo get_ap('supp_add_reply', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="supp_add_reply" value="0" <?php echo get_ap('supp_add_reply', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>

                    </div>
                </div>

                <div id="menu27" class="tab-pane fade">
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('drivers_module') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="drivers_module" value="1" required <?php echo get_ap('drivers_module', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="drivers_module" value="0" <?php echo get_ap('drivers_module', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add-a-driver') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="add_driver" value="1" required <?php echo get_ap('add_driver', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="add_driver" value="0" <?php echo get_ap('add_driver', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit_driver') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="edit_driver" value="1" required <?php echo get_ap('edit_driver', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="edit_driver" value="0" <?php echo get_ap('edit_driver', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>

                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete_driver') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="delete_driver" value="1" required <?php echo get_ap('delete_driver', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="delete_driver" value="0" <?php echo get_ap('delete_driver', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>

                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('drivers_report') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="drivers_report" value="1" required <?php echo get_ap('drivers_report', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="drivers_report" value="0" <?php echo get_ap('drivers_report', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>

                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('drivers_data_control') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="drivers_data_control" value="1" required <?php echo get_ap('drivers_data_control', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="drivers_data_control" value="0" <?php echo get_ap('drivers_data_control', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>
                </div>

                <div id="menu29" class="tab-pane fade">
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('module') . ' ' . $this->lang->line('knowledge_base') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="knowledge_base_module" value="1" required <?php echo get_ap('knowledge_base_module', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="knowledge_base_module" value="0" <?php echo get_ap('knowledge_base_module', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?></label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add-a-guide') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="kw_add_guide" value="1" required <?php echo get_ap('kw_add_guide', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="kw_add_guide" value="0" <?php echo get_ap('kw_add_guide', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?></label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit') . ' ' . $this->lang->line('guide') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="kw_edit_guide" value="1" required <?php echo get_ap('kw_edit_guide', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="kw_edit_guide" value="0" <?php echo get_ap('kw_edit_guide', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?></label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete') . ' ' . $this->lang->line('guide') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="kw_delete_guide" value="1" required <?php echo get_ap('kw_delete_guide', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="kw_delete_guide" value="0" <?php echo get_ap('kw_delete_guide', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?></label>
                            </div>
                        </div>
                    </div>
                    <hr/>
                    <h2><?= $this->lang->line('guide_categories') ?></h2>
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('show') . ' ' . $this->lang->line('guide_categories') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="guide_categories" value="1" required <?php echo get_ap('guide_categories', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="guide_categories" value="0" <?php echo get_ap('guide_categories', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?></label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add-a-category') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="kw_add_category" value="1" required <?php echo get_ap('kw_add_category', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="kw_add_category" value="0" <?php echo get_ap('kw_add_category', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?></label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit') . ' ' . $this->lang->line('category') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="kw_edit_category" value="1" required <?php echo get_ap('kw_edit_category', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="kw_edit_category" value="0" <?php echo get_ap('kw_edit_category', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?></label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete') . ' ' . $this->lang->line('category') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="kw_delete_category" value="1" required <?php echo get_ap('kw_delete_category', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="kw_delete_category" value="0" <?php echo get_ap('kw_delete_category', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?></label>
                            </div>
                        </div>
                    </div>
                    <hr/>
                    <h2><?= $this->lang->line('articles') ?></h2>
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('show') . ' ' . $this->lang->line('articles') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="kw_articles" value="1" required <?php echo get_ap('kw_articles', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="kw_articles" value="0" <?php echo get_ap('kw_articles', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?></label>
                            </div>
                        </div>
                    </div>
                    <div class="row" >
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add') . ' ' . $this->lang->line('article') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="kw_add_article" value="1" required <?php echo get_ap('kw_add_article', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="kw_add_article" value="0" <?php echo get_ap('kw_add_article', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?></label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit') . ' ' . $this->lang->line('article') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="kw_edit_article" value="1" required <?php echo get_ap('kw_edit_article', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="kw_edit_article" value="0" <?php echo get_ap('kw_edit_article', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?></label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete') . ' ' . $this->lang->line('article') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="kw_delete_article" value="1" required <?php echo get_ap('kw_delete_article', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="kw_delete_article" value="0" <?php echo get_ap('kw_delete_article', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?></label>
                            </div>
                        </div>
                    </div>
                    <hr/>
                    <h2><?= $this->lang->line('comments') ?></h2>
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('show') . ' ' . $this->lang->line('comments') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="kw_comments" value="1" required <?php echo get_ap('kw_comments', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="kw_comments" value="0" <?php echo get_ap('kw_comments', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?></label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete') . ' ' . $this->lang->line('comment') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="kw_delete_comment" value="1" required <?php echo get_ap('kw_delete_comment', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="kw_delete_comment" value="0" <?php echo get_ap('kw_delete_comment', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?></label>
                            </div>
                        </div>
                    </div>
                </div>

                <div id="menu28" class="tab-pane fade">
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('pay_orders') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="pay_orders_module" value="1" required <?php echo get_ap('pay_orders_module', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="pay_orders_module" value="0" <?php echo get_ap('pay_orders_module', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?></label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add') . ' ' . $this->lang->line('pay_order') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="add_pay_order" value="1" required <?php echo get_ap('add_pay_order', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="add_pay_order" value="0" <?php echo get_ap('add_pay_order', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?></label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit') . ' ' . $this->lang->line('pay_order') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="edit_pay_order" value="1" required <?php echo get_ap('edit_pay_order', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="edit_pay_order" value="0" <?php echo get_ap('edit_pay_order', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?></label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete') . ' ' . $this->lang->line('pay_order') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="delete_pay_order" value="1" required <?php echo get_ap('delete_pay_order', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="delete_pay_order" value="0" <?php echo get_ap('delete_pay_order', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?></label>
                            </div>
                        </div>
                    </div>
                </div>

                <div id="menu13" class="tab-pane fade">
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('student_fields') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="student_fields" value="1" required <?php echo get_ap('student_fields', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="student_fields" value="0" <?php echo get_ap('student_fields', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <!--                    <div class="row">
                                            <div class="col-md-3">
                                                <div class="row form-group ">
                                                    <label for="exampleInputEmail1"><?php //echo $this->lang->line('add')                               ?> </label>
                                                </div>
                                            </div>
                                            <div class="col-md-9">
                                                <div class=" row radio">
                                                    <input type="radio" name="student_fields_add" value="1" required <?php //echo get_ap('student_fields_add', $g_id) == 1 ? 'checked' : '';                          ?>>
                                                    <label>
                    <?php //echo $this->lang->line('he-can-see')            ?></label>
                                                    <input type="radio" name="student_fields_add" value="0" <?php //echo get_ap('student_fields_add', $g_id) == 0 ? 'checked' : '';                         ?>>
                                                    <label>
                    <?php //echo $this->lang->line('he-can-t')            ?> </label>
                                                </div>
                                            </div>
                                        </div>-->


                    <!--    <div class="box-footer">
                            <button type="submit" class="btn btn-primary"><?php echo $this->lang->line('modification') ?></button>
                        </div> -->
                    <!-- </form> -->
                </div>

                <div id="menu14" class="tab-pane fade">
                    <h2><?= $this->lang->line('setting') ?></h2>
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('setting') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="setting" value="1" required <?php echo get_ap('setting', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="setting" value="0" <?php echo get_ap('setting', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row" >
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="setting_edit" value="1" required <?php echo get_ap('setting_edit', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="setting_edit" value="0" <?php echo get_ap('setting_edit', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>

                    <hr/>
                    <h2><?= $this->lang->line('language') ?></h2>
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('language') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="language" value="1" required <?php echo get_ap('language', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="language" value="0" <?php echo get_ap('language', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>
                    <hr/>
                    <h2><?= $this->lang->line('update') ?></h2>
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('update') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="update" value="1" required <?php echo get_ap('update', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="update" value="0" <?php echo get_ap('update', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <hr/>
                    <h2><?= $this->lang->line('tables_export') ?></h2>
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('tables_export') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="tables_export" value="1" required <?php echo get_ap('tables_export', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="tables_export" value="0" <?php echo get_ap('tables_export', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                </div>

                <div id="menu21" class="tab-pane fade">

                </div>

                <div id="menu22" class="tab-pane fade">


                </div>

                <div id="menu15" class="tab-pane">

                </div>


                <div id="menu16" class="tab-pane fade">
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('points_module') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="points_module" value="1" required <?php echo get_ap('points_module', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="points_module" value="0" <?php echo get_ap('points_module', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <h2><?= $this->lang->line('points') . '--' . $this->lang->line('students') ?></h2>
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('points') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="points" value="1" required <?php echo get_ap('points', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="points" value="0" <?php echo get_ap('points', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add') . ' ' . $this->lang->line('points') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="points_add" value="1" required <?php echo get_ap('points_add', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="points_add" value="0" <?php echo get_ap('points_add', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row" >
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('points_deduct') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="points_deduct" value="1" required <?php echo get_ap('points_deduct', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="points_deduct" value="0" <?php echo get_ap('points_deduct', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('awards') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="awards" value="1" required <?php echo get_ap('awards', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="awards" value="0" <?php echo get_ap('awards', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>


                    <hr/>
                    <h2><?= $this->lang->line('tags') ?></h2>
                    <div class="row" style="padding-top: 20px;">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('tags') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="tags" value="1" required <?php echo get_ap('tags', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('enable') ?></label>
                                <input type="radio" name="tags" value="0" <?php echo get_ap('tags', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('disable') ?> </label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('add') . ' ' . $this->lang->line('tags') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="tags_add" value="1" required <?php echo get_ap('tags_add', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="tags_add" value="0" <?php echo get_ap('tags_add', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row" >
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('edit') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="tags_edit" value="1" required <?php echo get_ap('tags_edit', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="tags_edit" value="0" <?php echo get_ap('tags_edit', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-3">
                            <div class="row form-group ">
                                <label for="exampleInputEmail1"><?php echo $this->lang->line('delete') ?> </label>
                            </div>
                        </div>
                        <div class="col-md-9">
                            <div class=" row radio">
                                <input type="radio" name="tags_del" value="1" required <?php echo get_ap('tags_del', $g_id) == 1 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-see') ?></label>
                                <input type="radio" name="tags_del" value="0" <?php echo get_ap('tags_del', $g_id) == 0 ? 'checked' : ''; ?>>
                                <label>
                                    <?php echo $this->lang->line('he-can-t') ?> </label>
                            </div>
                        </div>
                    </div>

                    <hr/>
                    <h2><?= $this->lang->line('points') ?></h2>
                    <div class="form-group m-form__group row">
                        <label class="col-lg-2 col-form-label">Points</label>	
                        <div class="col-lg-10 checkbox_div">
                            <label class="radio-inline"><input type="radio" name="points_ac"  value="1" class="input-check"  <?php echo get_ap('points_ac', $g_id) == 1 ? "checked" : ""; ?> > Enable</label>
                            <label class="radio-inline"><input type="radio" name="points_ac"  value="0" class="input-check"  <?php echo get_ap('points_ac', $g_id) == 0 ? "checked" : ""; ?> > Disabled</label>
                        </div>
                    </div>

                    <div class="form-group m-form__group row">
                        <label class="col-lg-2 col-form-label">Add Points</label>	
                        <div class="col-lg-10 checkbox_div">
                            <label class="radio-inline"><input type="radio" name="points_ac_add"  value="1" class="input-check"  <?php echo get_ap('points_ac_add', $g_id) == 1 ? "checked" : ""; ?> > Enable</label>
                            <label class="radio-inline"><input type="radio" name="points_ac_add"  value="0" class="input-check"  <?php echo get_ap('points_ac_add', $g_id) == 0 ? "checked" : ""; ?> > Disabled</label>
                        </div>
                    </div>
                    <div class="form-group m-form__group row">
                        <label class="col-lg-2 col-form-label">Delete Points</label>	
                        <div class="col-lg-10 checkbox_div">
                            <label class="radio-inline"><input type="radio" name="points_ac_delete"  value="1" class="input-check"  <?php echo get_ap('points_ac_delete', $g_id) == 1 ? "checked" : ""; ?> > Enable</label>
                            <label class="radio-inline"><input type="radio" name="points_ac_delete"  value="0" class="input-check"  <?php echo get_ap('points_ac_delete', $g_id) == 0 ? "checked" : ""; ?> > Disabled</label>
                        </div>
                    </div>
                    <div class="form-group m-form__group row">
                        <label class="col-lg-2 col-form-label">Remove Student Points</label>	
                        <div class="col-lg-10 checkbox_div">
                            <label class="radio-inline"><input type="radio" name="points_ac_remove"  value="1" class="input-check"  <?php echo get_ap('points_ac_remove', $g_id) == 1 ? "checked" : ""; ?> > Enable</label>
                            <label class="radio-inline"><input type="radio" name="points_ac_remove"  value="0" class="input-check"  <?php echo get_ap('points_ac_remove', $g_id) == 0 ? "checked" : ""; ?> > Disabled</label>
                        </div>
                    </div>
                    <div class="form-group m-form__group row">
                        <label class="col-lg-2 col-form-label">Category</label>	
                        <div class="col-lg-10 checkbox_div">
                            <label class="radio-inline"><input type="radio" name="category_ac"  value="1" class="input-check"  <?php echo get_ap('category_ac', $g_id) == 1 ? "checked" : ""; ?> > Enable</label>
                            <label class="radio-inline"><input type="radio" name="category_ac"  value="0" class="input-check"  <?php echo get_ap('category_ac', $g_id) == 0 ? "checked" : ""; ?> > Disabled</label>
                        </div>
                    </div>
                    <div class="form-group m-form__group row">
                        <label class="col-lg-2 col-form-label">Notes</label>	
                        <div class="col-lg-10 checkbox_div">
                            <label class="radio-inline"><input type="radio" name="notes"  value="1" class="input-check"  <?php echo get_ap('notes', $g_id) == 1 ? "checked" : ""; ?> > Enable</label>
                            <label class="radio-inline"><input type="radio" name="notes"  value="0" class="input-check"  <?php echo get_ap('notes', $g_id) == 0 ? "checked" : ""; ?> > Disabled</label>
                        </div>
                    </div>
                    <div class="form-group m-form__group row">
                        <label class="col-lg-2 col-form-label">Discount</label>	
                        <div class="col-lg-10 checkbox_div">
                            <label class="radio-inline"><input type="radio" name="discount"  value="1" class="input-check"  <?php echo get_ap('discount', $g_id) == 1 ? "checked" : ""; ?> > Enable</label>
                            <label class="radio-inline"><input type="radio" name="discount"  value="0" class="input-check"  <?php echo get_ap('discount', $g_id) == 0 ? "checked" : ""; ?> > Disabled</label>
                        </div>
                    </div>
                    <div class="form-group m-form__group row">
                        <label class="col-lg-2 col-form-label">Print</label>	
                        <div class="col-lg-10 checkbox_div">
                            <label class="radio-inline"><input type="radio" name="points_print"  value="1" class="input-check"  <?php echo get_ap('points_print', $g_id) == 1 ? "checked" : ""; ?> > Enable</label>
                            <label class="radio-inline"><input type="radio" name="points_print"  value="0" class="input-check"  <?php echo get_ap('points_print', $g_id) == 0 ? "checked" : ""; ?> > Disabled</label>
                        </div>
                    </div>
                    <div class="form-group m-form__group row">
                        <label class="col-lg-2 col-form-label">Export</label>	
                        <div class="col-lg-10 checkbox_div">
                            <label class="radio-inline"><input type="radio" name="points_export"  value="1" class="input-check"  <?php echo get_ap('points_export', $g_id) == 1 ? "checked" : ""; ?> > Enable</label>
                            <label class="radio-inline"><input type="radio" name="points_export"  value="0" class="input-check"  <?php echo get_ap('points_export', $g_id) == 0 ? "checked" : ""; ?> > Disabled</label>
                        </div>
                    </div>

                    <hr/>
                    <h2><?= $this->lang->line('transactions') ?></h2>
                    <div class="form-group m-form__group row">
                        <label class="col-lg-2 col-form-label">
                            <?= $this->lang->line('transactions') ?>
                        </label>
                        <div class="col-lg-10 checkbox_div">

                            <label class="radio-inline"><input type="radio" name="transaction"  value="1" class="input-check"  <?php echo get_ap('transaction', $g_id) == 1 ? "checked" : ""; ?> > Enable</label>

                            <label class="radio-inline"><input type="radio" name="transaction"  value="0" class="input-check"  <?php echo get_ap('transaction', $g_id) == 0 ? "checked" : ""; ?> > Disabled</label>	


                        </div>
                    </div>

                    <hr/>
                    <h2><?= $this->lang->line('award') ?></h2>
                    <div class="form-group m-form__group row">
                        <label class="col-lg-2 col-form-label">
                            Award
                        </label>
                        <div class="col-lg-10 checkbox_div">

                            <label class="radio-inline"><input type="radio" name="award"  value="1" class="input-check"  <?php echo get_ap('award', $g_id) == 1 ? "checked" : ""; ?> > Enable</label>

                            <label class="radio-inline"><input type="radio" name="award"  value="0" class="input-check"  <?php echo get_ap('award', $g_id) == 0 ? "checked" : ""; ?> > Disabled</label>	

                        </div>
                    </div>

                    <div class="form-group m-form__group row">
                        <label class="col-lg-2 col-form-label">
                            Award History
                        </label>
                        <div class="col-lg-10 checkbox_div">

                            <label class="radio-inline"><input type="radio" name="award_history"  value="1" class="input-check"  <?php echo get_ap('award_history', $g_id) == 1 ? "checked" : ""; ?> > Enable</label>

                            <label class="radio-inline"><input type="radio" name="award_history"  value="0" class="input-check"  <?php echo get_ap('award_history', $g_id) == 0 ? "checked" : ""; ?> > Disabled</label>	

                        </div>
                    </div>

                </div>

                <div id="menu17" class="tab-pane fade">

                    <!--    <div class="box-footer">
                            <button type="submit" class="btn btn-primary"><?php echo $this->lang->line('modification') ?></button>
                        </div> -->
                    <!-- </form> -->
                </div>

                <div class="tab-pane fade" id="m_tabs_2_2" >



                </div>

                <div class="tab-pane fade" id="m_tabs_2_7" >




                </div>

                <div class="tab-pane fade" id="m_tabs_2_9" >


                </div>

                <br/>
                <hr/>
                <div class="box-footer text-center">
                    <button type="submit" class="btn btn-success" ><?php echo $this->lang->line('save') ?></button>
                </div>
                <!-- </form> -->
            </div>     
        </div>
    </div>
</div>
<?php $this->load->view('site/footer_2'); ?>
      






