<!-- // created by : KuduSinau_Hendrik_081275532220 (TERIMAKASIH UNTUK MENDAPATKAN KEBERKAHAN, DENGAN TIDAK MERUBAH NAMA HAK CIPTA, PLAGIAT, DAN TIDAK MEMPERJUALBELIKAN APLIKASI INI, SEMOGA KITA SEMUA MENDAPAT MANFAAT DAN KEBERKAHAN DARI APLIKASI INI)
// created by : KuduSinau_Hendrik_081275532220 (UNTUK MASUKAN DAN SARAN SERTA PENGEMBANGAN BISA MENGHUBUNGI NOMOR) -->

<body class="materialdesign" onload="hide_loading();">
    <div class="loading overlay">
        <div class="lds-spinner">
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
        </div>
    </div>
    <div class="wrapper-pro">
        <div class="content-inner-all">
            <div class="breadcome-area mg-b-30 small-dn">
                <div class="container-fluid">
                    <div class="row">
                        <div class="col-lg-12">
                            <div class="breadcome-list map-mg-t-40-gl shadow-reset">
                                <div class="row">
                                    <div class="col-lg-6">
                                        <font size="4">
                                            <strong><?= $Lembaga['sgkt_jenjang'] . ' ' . $Lembaga['nm_status'] . ' ' . ucwords(strtolower($Lembaga['nm_lembaga'])); ?></strong>
                                        </font>
                                    </div>
                                    <div class="col-lg-6 text-right">
                                        <?php foreach ($nmTapel as $tp) :
                                            if ($tp['sts_tapel'] == 1) {
                                        ?>
                                                <font size="4">
                                                    <span class="bread-blod">Semester <?= $tp['kd_smstr']; ?> | <?php if ($tp['kd_smstr'] == 'Ganjil') {
                                                                                                                    echo $tp['kd_tahun'] . '/' . ($tp['kd_tahun'] + 1);
                                                                                                                } elseif ($tp['kd_smstr'] == 'Genap') {
                                                                                                                    echo ($tp['kd_tahun'] - 1) . '/' . $tp['kd_tahun'];
                                                                                                                }; ?></span>
                                                </font>
                                        <?php }
                                        endforeach;
                                        ?>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="breadcome-area des-none mg-b-30">
                <div class="container-fluid">
                    <div class="row">
                        <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                            <div class="breadcome-list map-mg-t-40-gl shadow-reset">
                                <div class="row">
                                    <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
                                        <font size="1">
                                            <strong><?= $Lembaga['sgkt_jenjang'] . ' ' . $Lembaga['nm_status'] . ' ' . ucwords(strtolower($Lembaga['nm_lembaga'])); ?></strong>
                                        </font>
                                    </div>
                                    <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6 text-right">
                                        <?php foreach ($nmTapel as $tp) :
                                            if ($tp['sts_tapel'] == 1) {
                                        ?>
                                                <font size="1">
                                                    <span class="bread-blod">Semester <?= $tp['kd_smstr']; ?> | <?php if ($tp['kd_smstr'] == 'Ganjil') {
                                                                                                                    echo $tp['kd_tahun'] . '/' . ($tp['kd_tahun'] + 1);
                                                                                                                } elseif ($tp['kd_smstr'] == 'Genap') {
                                                                                                                    echo ($tp['kd_tahun'] - 1) . '/' . $tp['kd_tahun'];
                                                                                                                }; ?></span>
                                                </font>
                                        <?php }
                                        endforeach;
                                        ?>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="inbox-mailbox-area mg-b-40">
                <div class="container-fluid">
                    <div class="row">
                        <div class="col-lg-12">
                            <div class="row">
                                <div class="col-lg-3 col-md-3 col-sm-12 col-xs-12">
                                    <div class="inbox-email-menu-list shadow-reset">
                                        <div class="compose-email">
                                            <a><b>Input Nilai Pengetahuan</b></a>
                                        </div>
                                        <div id="flashsucces" data-flash="<?= $this->session->flashdata('messageSuccess'); ?>"></div>
                                        <div id="flashwarning" data-flash="<?= $this->session->flashdata('messageWarning'); ?>"></div>
                                        <div id="flashupdate" data-flash="<?= $this->session->flashdata('messageUpdate'); ?>"></div>
                                        <div id="flasherror" data-flash="<?= $this->session->flashdata('messageError'); ?>"></div>
                                        <div id="flashsave" data-flash="<?= $this->session->flashdata('messageSave'); ?>"></div>
                                        <div id="flashinfo" data-flash="<?= $this->session->flashdata('messageInfo'); ?>"></div>
                                        <div id="flashinfo2" data-flash="<?= $this->session->flashdata('messageInfo2'); ?>"></div>
                                        <ul class="nav nav-tabs">
                                            <li>
                                                <h4 class="Inbox-category-ad"><i class="fa fa-folder-o" aria-hidden="true"></i> Bidang Study / Kelas</h4>
                                            </li>
                                            <?php
                                            $i = 1;
                                            foreach ($dtKkm as $study) :
                                                if ($study['kdl'] == $nmLembaga['id_lembaga'] && $study['kdt'] == $kdTapel['id_tapel'] && $study['kdguru'] == $nmUser['kd_teachers']) {
                                            ?>
                                                    <li><a data-toggle="tab" href='#inbox<?= $study['idm']; ?>'><span class="inbox-icon"><i class="fa fa fa-pencil "></i></span> <?= $study['mapel'] . ' / ' . $study['kelas']; ?></a></li>
                                                <?php }
                                                $i++; ?>
                                            <?php endforeach; ?>
                                        </ul>
                                    </div>
                                </div>
                                <div class="col-lg-9 col-md-9 col-sm-12 col-xs-12">
                                    <div class="tab-content view-mail-ov-mg-t-30">
                                        <?php
                                        $i = 1;
                                        foreach ($dtKkm as $study) :
                                            if ($study['kdl'] == $nmLembaga['id_lembaga'] && $study['kdt'] == $kdTapel['id_tapel'] && $study['kdguru'] == $nmUser['kd_teachers']) {
                                        ?>
                                                <div id="inbox<?= $study['idm']; ?>" class="tab-pane fade animated zoomInDown shadow-reset custom-inbox-message">
                                                    <div class="mail-title inbox-bt-mg">
                                                        <h2><?= $study['mapel'] . ' / ' . $study['kelas']; ?></h2>
                                                        <div class="view-mail-action view-mail-ov-d-n">
                                                            <a class="compose-discard-bt" href="#" data-toggle="modal" data-target="#TambahKDr<?= $study['idm']; ?>"><i class=" fa fa-plus-circle"></i> Input KD Referensi</a>
                                                            <a class="compose-draft-bt" href="#" data-toggle="modal" data-target="#TambahGurMapel<?= $study['idm']; ?>"><i class="fa fa-plus-circle"></i> Input KD Manual</a>
                                                        </div>
                                                    </div>
                                                    <div class="datatable-dashv1-list custom-datatable-overright">
                                                        <table id="table1" data-toggle="table" data-pagination="true" data-search="true" data-show-columns="false" data-show-pagination-switch="true" data-show-refresh="true" data-key-events="true" data-show-toggle="true" data-resizable="true" data-cookie="true" data-cookie-id-table="saveId" data-show-export="false" data-click-to-select="true" data-toolbar="#toolbar1">
                                                            <thead>
                                                                <tr>
                                                                    <th data-field="state" data-checkbox="true"></th>
                                                                    <th data-field="name">Nomor KD</th>
                                                                    <th data-field="email">Kompetensi Dasar</th>
                                                                    <th data-field="phone">Deskripsi KD</th>
                                                                    <th data-field="company">Aksi</th>
                                                                </tr>
                                                            </thead>
                                                            <tbody>
                                                                <?php $i = 1;
                                                                foreach ($dtKdp as $p) :
                                                                    if ($p['kd_gmapel'] == $study['idm'] && $p['kd_lembaga'] == $nmUser['kd_user'] && $p['kd_tapel'] == $kdTapel['id_tapel']) {
                                                                ?>
                                                                        <tr class="new-email">
                                                                            <td></td>
                                                                            <td><?= $p['no_kdp']; ?></td>
                                                                            <td><?= $p['nm_kdp']; ?></td>
                                                                            <td><?= $p['nm_deskp']; ?></td>
                                                                            <td>
                                                                                <a href="#" data-toggle="modal" data-target="#EditMapel<?= $p['id_kdp']; ?>">
                                                                                    <div class="label label-success"><i class=" fa fa-plus"></i></div>
                                                                                </a>
                                                                                <a href="#" data-toggle="modal" data-target="#EditKdp<?= $p['id_kdp']; ?>">
                                                                                    <div class="label label-warning"><i class=" fa fa-edit"></i></div>
                                                                                </a>
                                                                                <a href='<?= base_url('guru/hapusDataKdp/' . $p['id_kdp']); ?>' id='btn-hapus'>
                                                                                    <div class="label label-danger"><i class=" fa fa-trash"></i></div>
                                                                                </a>
                                                                            </td>
                                                                        </tr>
                                                                    <?php
                                                                    }
                                                                    $i++; ?>
                                                                <?php endforeach;  ?>
                                                                <tr class="new-email">
                                                                    <td></td>
                                                                    <td colspan="3">Penilaian Tengah Semester</td>
                                                                    <td>
                                                                        <a href="#" data-toggle="modal" data-target="#pts<?= $study['idm']; ?>">
                                                                            <div class="label label-success"><i class=" fa fa-plus"></i></div>
                                                                        </a>
                                                                    </td>
                                                                </tr>
                                                                <tr class="new-email">
                                                                    <td></td>
                                                                    <?php foreach ($nmTapel as $tp) :
                                                                        if ($tp['sts_tapel'] == 1) {
                                                                            if ($tp['kd_smstr'] == 'Ganjil') {
                                                                    ?>
                                                                                <td colspan="3">Penilaian Akhir Semester</td>
                                                                            <?php } else { ?>
                                                                                <td colspan="3">Penilaian Akhir Tahun</td>
                                                                    <?php }
                                                                        }
                                                                    endforeach;
                                                                    ?>
                                                                    <td>
                                                                        <a href="#" data-toggle="modal" data-target="#pas<?= $study['idm']; ?>">
                                                                            <div class="label label-success"><i class=" fa fa-plus"></i></div>
                                                                        </a>
                                                                    </td>
                                                                </tr>
                                                                <?php if (($study['tingkat'] == 'IX' && $kdTapel['kd_smstr'] == 'Genap') || ($study['tingkat'] == 'VI' && $kdTapel['kd_smstr'] == 'Genap') || ($study['tingkat'] == 'XII' && $kdTapel['kd_smstr'] == 'Genap')) { ?>
                                                                    <tr class="new-email">
                                                                        <td></td>
                                                                        <td colspan="3">Ujian Madrasah</td>
                                                                        <td>
                                                                            <a href="#" data-toggle="modal" data-target="#um<?= $study['idm']; ?>">
                                                                                <div class="label label-success"><i class=" fa fa-plus"></i></div>
                                                                            </a>
                                                                        </td>
                                                                    </tr>
                                                                <?php } ?>
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                    <div><br></div>
                                                    <a href="#" data-toggle="modal" data-target="#Proses<?= $study['idm']; ?>">
                                                        <div class="btn btn-warning"><i class=" fa fa-pencil"></i> Proses Nilai Akhir</div>
                                                    </a>
                                                </div>
                                                <?php
                                                foreach ($dtKdp as $p) :
                                                    if ($p['kd_gmapel'] == $study['idm'] && $p['kd_lembaga'] == $nmUser['kd_user'] && $p['kd_tapel'] == $kdTapel['id_tapel']) {
                                                ?>
                                                        <div id="EditKdp<?= $p['id_kdp']; ?>" class="modal modal-adminpro-general Customwidth-popup-WarningModal fade" role="dialog">
                                                            <form action="<?= base_url('guru/updateDataKdp'); ?>" method="post">
                                                                <div class="modal-dialog">
                                                                    <div class="modal-content">
                                                                        <div class="modal-header header-color-modal bg-color-3">
                                                                            <h4 class="modal-title">Form Update KD Pengetahuan</h4>
                                                                            <div class="modal-close-area modal-close-df">
                                                                                <a class="close" data-dismiss="modal" href="#"><i class="fa fa-close"></i></a>
                                                                            </div>
                                                                        </div>
                                                                        <div class="modal-body">
                                                                            <?php
                                                                            $tes = $this->db->get_where('t_kdp', ['id_kdp' => $p['id_kdp']])->result();
                                                                            foreach ($tes as $edit) : ?>
                                                                                <div class="row">
                                                                                    <div class="col-lg-3"></div>
                                                                                    <div class="col-lg-9">
                                                                                        <input type="hidden" class="form-control" id="id_kdp" name="id_kdp" placeholder="Id Bidang Study" value='<?= $p['id_kdp']; ?>'>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="sparkline11-graph">
                                                                                    <div class="row">
                                                                                        <div class="col-lg-12">
                                                                                            <label class="login2 pull-left pull-left-pro">Nomor KD</label>
                                                                                        </div>
                                                                                        <div class="col-lg-12">
                                                                                            <div class="chosen-select-single">
                                                                                                <select data-placeholder="Nomor KD" class="chosen-select" tabindex="-1" name='no_kdp' id='no_kdp'>
                                                                                                    <option disabled selected>Pilih Nomor KD</option>
                                                                                                    <?php
                                                                                                    foreach ($kdp as $km) : {
                                                                                                            if ($edit->no_kdp == $km['nm_nokdp']) {
                                                                                                                $select = "selected";
                                                                                                            } else {
                                                                                                                $select = "";
                                                                                                            }
                                                                                                            echo "<option $select>" . $km['nm_nokdp'] . "</option>";
                                                                                                        }
                                                                                                    endforeach;
                                                                                                    form_error('no_kdp', '<small class="text-danger">', '</small>'); ?>
                                                                                                </select>
                                                                                            </div>
                                                                                        </div>
                                                                                    </div>
                                                                                    <?= form_error('no_kdp', '<small class="text-danger">', '</small>'); ?>
                                                                                </div>
                                                                                <div class="sparkline11-graph">
                                                                                    <div class="row">
                                                                                        <div class="col-lg-12">
                                                                                            <label class="login2 pull-left pull-left-pro">Kompetensi Dasar</label>
                                                                                        </div>
                                                                                        <div class="col-lg-12">
                                                                                            <textarea rows="5" id="nm_kdp" name="nm_kdp" class="form-control" placeholder="isi deskripsi lengkap" required><?= $edit->nm_kdp; ?></textarea>
                                                                                        </div>
                                                                                    </div>
                                                                                    <?= form_error('nm_kdp', '<small class="text-danger">', '</small>'); ?>
                                                                                </div>
                                                                                <div class="sparkline11-graph">
                                                                                    <div class="row">
                                                                                        <div class="col-lg-12">
                                                                                            <label class="login2 pull-left pull-left-pro">Deskripsi KD</label>
                                                                                        </div>
                                                                                        <div class="col-lg-12">
                                                                                            <textarea id="nm_deskp" name="nm_deskp" class="form-control" placeholder="isi deskripsi singkat" required><?= $edit->nm_deskp; ?></textarea>
                                                                                        </div>
                                                                                    </div>
                                                                                    <?= form_error('nm_deskp', '<small class="text-danger">', '</small>'); ?>
                                                                                </div>
                                                                        </div>
                                                                    <?php endforeach; ?>
                                                                    <div class="modal-footer">
                                                                        <div class="form-group-inner">
                                                                            <div class="login-btn-inner">
                                                                                <div class="row">
                                                                                    <div class="col-lg-12">
                                                                                        <div class="login-horizental cancel-wp pull-right">
                                                                                            <button type='reset' data-dismiss='modal' class="btn btn-sm btn-white">Cancel</button>
                                                                                            <button class="btn btn-sm btn-warning" type="submit">Update</button>
                                                                                        </div>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    </div>
                                                                </div>
                                                            </form>
                                                        </div>
                                                <?php }
                                                endforeach;  ?>
                                                <?php $i = 1;
                                                foreach ($dtKdp as $p) :
                                                    if ($p['kd_gmapel'] == $study['idm'] && $p['kd_lembaga'] == $nmUser['kd_user'] && $p['kd_tapel'] == $kdTapel['id_tapel']) {
                                                ?>
                                                        <div id="EditMapel<?= $p['id_kdp']; ?>" class="modal FullColor-popup-AlertModal fade" role="dialog">
                                                            <form action="<?= base_url('guru/inputNilaip'); ?>" method="post" name="autoSumForm">
                                                                <div class="modal-dialog">
                                                                    <div class="modal-content">
                                                                        <div class="modal-header header-color-modal bg-color-5">
                                                                            <h4 class="modal-title">Form Input Nilai Pengetahuan</h4>
                                                                            <div class="modal-close-area modal-close-df">
                                                                                <a class="close" data-dismiss="modal" href="#"><i class="fa fa-close"></i></a>
                                                                            </div>
                                                                        </div>
                                                                        <div class="modal-body">
                                                                            <div class="row">
                                                                                <div class="col-lg-3"></div>
                                                                                <div class="col-lg-9">
                                                                                </div>
                                                                            </div>
                                                                            <div class="sparkline11-graph">
                                                                                <div class="row">
                                                                                    <div class="col-lg-12">
                                                                                        <input type="text" class="form-control" id="id_gmapel" name="id_gmapel" placeholder="Id Bidang Study" value='<?= $study['mapel'] . ' / ' . $study['kelas'] . ' / KD ' . $p['no_kdp']; ?>' readonly>
                                                                                        <input type="hidden" class="form-control" id="kd_kdp" name="kd_kdp" placeholder="kd_kdp" value='<?= $p['id_kdp']; ?>'>
                                                                                        <input type="hidden" class="form-control" id="deskp_n" name="deskp_n" placeholder="deskp_n" value='<?= $p['nm_deskp']; ?>'>
                                                                                        <input type="hidden" class="form-control" id="kd_gmapel" name="kd_gmapel" placeholder="kd_gmapel" value='<?= $study['idm']; ?>'>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                            <?php
                                                                            foreach ($dtNilaip as $edit) :
                                                                                if ($edit['ikdp'] == $p['id_kdp'] && $nmUser['kd_user'] == $p['kd_lembaga'] && $p['kd_tapel'] == $kdTapel['id_tapel']) {
                                                                            ?>
                                                                                    <input type="hidden" class="form-control" id="id_nilaip[]" name="id_nilaip[]" placeholder="Id Nilai P" value='<?php
                                                                                                                                                                                                    foreach ($nilaip as $km) :
                                                                                                                                                                                                        if ($km['tipe_n'] == 'p' && $p['id_kdp'] == $km['kd_kdp'] && $nmUser['kd_user'] == $km['kd_lembaga'] && $km['kd_tapel'] == $kdTapel['id_tapel']) {
                                                                                                                                                                                                            if ($km['kd_students'] == $edit['ids']) {
                                                                                                                                                                                                                echo $km['id_nilaip'];
                                                                                                                                                                                                            }
                                                                                                                                                                                                        }
                                                                                                                                                                                                    endforeach;
                                                                                                                                                                                                    ?>'></input>
                                                                                    <div class="sparkline11-graph">
                                                                                        <div class="row">
                                                                                            <div class="col-lg-9">
                                                                                                <label class="login2 pull-right pull-right-pro"><?= '(' . $edit['nisn'] . ') ' . $edit['siswa']; ?></label>
                                                                                            </div>
                                                                                            <div class="col-lg-3">
                                                                                                <input type="number" class="form-control" maxlength="3" id="n_p[]" name="n_p[]" min="0" max="100" placeholder="Nilai" value='<?php
                                                                                                                                                                                                                                foreach ($nilaip as $km) :
                                                                                                                                                                                                                                    if ($km['tipe_n'] == 'p' && $p['id_kdp'] == $km['kd_kdp'] && $nmUser['kd_user'] == $km['kd_lembaga'] && $km['kd_tapel'] == $kdTapel['id_tapel']) {
                                                                                                                                                                                                                                        if ($km['kd_students'] == $edit['ids']) {
                                                                                                                                                                                                                                            echo $km['n_p'];
                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                endforeach;
                                                                                                                                                                                                                                ?>' required></input>
                                                                                                <input type="hidden" class="form-control" id="kd_students[]" name="kd_students[]" max="100" placeholder="Siswa" value='<?= $edit['ids']; ?>' required></input>
                                                                                            </div>
                                                                                        </div>
                                                                                    </div>
                                                                            <?php
                                                                                }
                                                                            endforeach; ?>
                                                                        </div>
                                                                        <div class="modal-footer">
                                                                            <div class="form-group-inner">
                                                                                <div class="login-btn-inner">
                                                                                    <div class="row">
                                                                                        <div class="col-lg-3"></div>
                                                                                        <div class="col-lg-9">
                                                                                            <div class="login-horizental cancel-wp pull-right">
                                                                                                <button type='reset' data-dismiss='modal' class="btn btn-sm btn-white">Cancel</button>
                                                                                                <button class="btn btn-sm btn-danger" type="submit">Input</button>
                                                                                            </div>
                                                                                        </div>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </form>
                                                        </div>
                                                <?php }
                                                endforeach;  ?>
                                                <?php $i = 1;
                                                foreach ($dtKdp as $p) :
                                                    if ($p['kd_gmapel'] == $study['idm'] && $p['kd_lembaga'] == $nmUser['kd_user'] && $p['kd_tapel'] == $kdTapel['id_tapel']) {
                                                ?>
                                                        <div id="pts<?= $study['idm']; ?>" class="modal FullColor-popup-AlertModal fade" role="dialog">
                                                            <form action="<?= base_url('guru/inputNilaipts'); ?>" method="post" name="autoSumForm">
                                                                <div class="modal-dialog">
                                                                    <div class="modal-content">
                                                                        <div class="modal-header header-color-modal bg-color-5">
                                                                            <h4 class="modal-title">Form Input Nilai Tengah Semester</h4>
                                                                            <div class="modal-close-area modal-close-df">
                                                                                <a class="close" data-dismiss="modal" href="#"><i class="fa fa-close"></i></a>
                                                                            </div>
                                                                        </div>
                                                                        <div class="modal-body">
                                                                            <div class="row">
                                                                                <div class="col-lg-3"></div>
                                                                                <div class="col-lg-9">
                                                                                </div>
                                                                            </div>
                                                                            <div class="sparkline11-graph">
                                                                                <div class="row">
                                                                                    <div class="col-lg-12">
                                                                                        <input type="text" class="form-control" id="id_gmapel" name="id_gmapel" placeholder="Id Bidang Study" value='<?= $study['mapel'] . ' / ' . $study['kelas'] . ' / Penilaian Tengah Semester '; ?>' readonly>
                                                                                        <input type="hidden" class="form-control" id="kd_gmapel" name="kd_gmapel" placeholder="kd_gmapel" value='<?= $study['idm']; ?>'>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                            <?php
                                                                            foreach ($dtNilaip as $edit) :
                                                                                if ($edit['ikdp'] == $p['id_kdp'] && $nmUser['kd_user'] == $p['kd_lembaga'] && $p['kd_tapel'] == $kdTapel['id_tapel']) {
                                                                            ?>
                                                                                    <input type="hidden" class="form-control" id="id_nilaip[]" name="id_nilaip[]" placeholder="Id Nilai P" value='<?php
                                                                                                                                                                                                    foreach ($nilaip as $km) :
                                                                                                                                                                                                        if ($km['tipe_n'] == 'q' && $nmUser['kd_user'] == $km['kd_lembaga'] && $km['kd_tapel'] == $kdTapel['id_tapel']) {
                                                                                                                                                                                                            if ($km['kd_students'] == $edit['ids']) {
                                                                                                                                                                                                                if ($km['kd_gmapel'] == $edit['idgm']) {
                                                                                                                                                                                                                    echo $km['id_nilaip'];
                                                                                                                                                                                                                }
                                                                                                                                                                                                            }
                                                                                                                                                                                                        }
                                                                                                                                                                                                    endforeach;
                                                                                                                                                                                                    ?>'></input>
                                                                                    <div class="sparkline11-graph">
                                                                                        <div class="row">
                                                                                            <div class="col-lg-9">
                                                                                                <label class="login2 pull-right pull-right-pro"><?= '(' . $edit['nisn'] . ') ' . $edit['siswa']; ?></label>
                                                                                            </div>
                                                                                            <div class="col-lg-3">
                                                                                                <input type="number" class="form-control" maxlength="3" id="n_p[]" name="n_p[]" min="0" max="100" placeholder="Nilai" value='<?php
                                                                                                                                                                                                                                foreach ($nilaip as $km) :
                                                                                                                                                                                                                                    if ($km['tipe_n'] == 'q' && $nmUser['kd_user'] == $km['kd_lembaga'] && $km['kd_tapel'] == $kdTapel['id_tapel']) {
                                                                                                                                                                                                                                        if ($km['kd_students'] == $edit['ids']) {
                                                                                                                                                                                                                                            if ($km['kd_gmapel'] == $edit['idgm']) {
                                                                                                                                                                                                                                                echo $km['n_p'];
                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                endforeach;
                                                                                                                                                                                                                                ?>' required></input>
                                                                                                <input type="hidden" class="form-control" id="kd_students[]" name="kd_students[]" max="100" placeholder="Siswa" value='<?= $edit['ids']; ?>' required></input>
                                                                                            </div>
                                                                                        </div>
                                                                                    </div>
                                                                            <?php
                                                                                }
                                                                            endforeach; ?>
                                                                        </div>
                                                                        <div class="modal-footer">
                                                                            <div class="form-group-inner">
                                                                                <div class="login-btn-inner">
                                                                                    <div class="row">
                                                                                        <div class="col-lg-3"></div>
                                                                                        <div class="col-lg-9">
                                                                                            <div class="login-horizental cancel-wp pull-right">
                                                                                                <button type='reset' data-dismiss='modal' class="btn btn-sm btn-white">Cancel</button>
                                                                                                <button class="btn btn-sm btn-danger" type="submit">Input</button>
                                                                                            </div>
                                                                                        </div>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </form>
                                                        </div>
                                                <?php }
                                                endforeach;  ?>
                                                <?php $i = 1;
                                                foreach ($dtKdp as $p) :
                                                    if ($p['kd_gmapel'] == $study['idm'] && $p['kd_lembaga'] == $nmUser['kd_user'] && $p['kd_tapel'] == $kdTapel['id_tapel']) {
                                                ?>
                                                        <div id="pas<?= $study['idm']; ?>" class="modal FullColor-popup-AlertModal fade" role="dialog">
                                                            <form action="<?= base_url('guru/inputNilaipas'); ?>" method="post" name="autoSumForm">
                                                                <div class="modal-dialog">
                                                                    <div class="modal-content">
                                                                        <div class="modal-header header-color-modal bg-color-5">
                                                                            <?php foreach ($nmTapel as $tp) :
                                                                                if ($tp['sts_tapel'] == 1) {
                                                                                    if ($tp['kd_smstr'] == 'Ganjil') {
                                                                            ?>
                                                                                        <h4 class="modal-title">Form Input Nilai Akhir Semester</h4>
                                                                                    <?php } else { ?>
                                                                                        <h4 class="modal-title">Form Input Nilai Akhir Tahun</h4>
                                                                            <?php }
                                                                                }
                                                                            endforeach;
                                                                            ?>
                                                                            <div class="modal-close-area modal-close-df">
                                                                                <a class="close" data-dismiss="modal" href="#"><i class="fa fa-close"></i></a>
                                                                            </div>
                                                                        </div>
                                                                        <div class="modal-body">
                                                                            <div class="row">
                                                                                <div class="col-lg-3"></div>
                                                                                <div class="col-lg-9">
                                                                                </div>
                                                                            </div>
                                                                            <div class="sparkline11-graph">
                                                                                <div class="row">
                                                                                    <div class="col-lg-12">
                                                                                        <?php foreach ($nmTapel as $tp) :
                                                                                            if ($tp['sts_tapel'] == 1) {
                                                                                                if ($tp['kd_smstr'] == 'Ganjil') {
                                                                                        ?>
                                                                                                    <input type="text" class="form-control" id="id_gmapel" name="id_gmapel" placeholder="Id Bidang Study" value='<?= $study['mapel'] . ' / ' . $study['kelas'] . ' / Penilaian Akhir Semester'; ?>' readonly>
                                                                                                <?php } else { ?>
                                                                                                    <input type="text" class="form-control" id="id_gmapel" name="id_gmapel" placeholder="Id Bidang Study" value='<?= $study['mapel'] . ' / ' . $study['kelas'] . ' / Penilaian Akhir Tahun'; ?>' readonly>
                                                                                        <?php }
                                                                                            }
                                                                                        endforeach;
                                                                                        ?>
                                                                                        <input type="hidden" class="form-control" id="kd_gmapel" name="kd_gmapel" placeholder="kd_gmapel" value='<?= $study['idm']; ?>'>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                            <?php
                                                                            foreach ($dtNilaip as $edit) :
                                                                                if ($edit['ikdp'] == $p['id_kdp'] && $nmUser['kd_user'] == $p['kd_lembaga'] && $p['kd_tapel'] == $kdTapel['id_tapel']) {
                                                                            ?>
                                                                                    <input type="hidden" class="form-control" id="id_nilaip[]" name="id_nilaip[]" placeholder="Id Nilai P" value='<?php
                                                                                                                                                                                                    foreach ($nilaip as $km) :
                                                                                                                                                                                                        if ($km['tipe_n'] == 'r' && $nmUser['kd_user'] == $km['kd_lembaga'] && $km['kd_tapel'] == $kdTapel['id_tapel']) {
                                                                                                                                                                                                            if ($km['kd_students'] == $edit['ids']) {
                                                                                                                                                                                                                if ($km['kd_gmapel'] == $edit['idgm']) {
                                                                                                                                                                                                                    echo $km['id_nilaip'];
                                                                                                                                                                                                                }
                                                                                                                                                                                                            }
                                                                                                                                                                                                        }
                                                                                                                                                                                                    endforeach;
                                                                                                                                                                                                    ?>'></input>
                                                                                    <div class="sparkline11-graph">
                                                                                        <div class="row">
                                                                                            <div class="col-lg-9">
                                                                                                <label class="login2 pull-right pull-right-pro"><?= '(' . $edit['nisn'] . ') ' . $edit['siswa']; ?></label>
                                                                                            </div>
                                                                                            <div class="col-lg-3">
                                                                                                <input type="number" class="form-control" maxlength="3" id="n_p[]" name="n_p[]" min="0" max="100" placeholder="Nilai" value='<?php
                                                                                                                                                                                                                                foreach ($nilaip as $km) :
                                                                                                                                                                                                                                    if ($km['tipe_n'] == 'r' && $nmUser['kd_user'] == $km['kd_lembaga'] && $km['kd_tapel'] == $kdTapel['id_tapel']) {
                                                                                                                                                                                                                                        if ($km['kd_students'] == $edit['ids']) {
                                                                                                                                                                                                                                            if ($km['kd_gmapel'] == $edit['idgm']) {
                                                                                                                                                                                                                                                echo $km['n_p'];
                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                endforeach;
                                                                                                                                                                                                                                ?>' required></input>
                                                                                                <input type="hidden" class="form-control" id="kd_students[]" name="kd_students[]" max="100" placeholder="Siswa" value='<?= $edit['ids']; ?>' required></input>
                                                                                            </div>
                                                                                        </div>
                                                                                    </div>
                                                                            <?php
                                                                                    // }
                                                                                }
                                                                            endforeach; ?>
                                                                        </div>
                                                                        <div class="modal-footer">
                                                                            <div class="form-group-inner">
                                                                                <div class="login-btn-inner">
                                                                                    <div class="row">
                                                                                        <div class="col-lg-3"></div>
                                                                                        <div class="col-lg-9">
                                                                                            <div class="login-horizental cancel-wp pull-right">
                                                                                                <button type='reset' data-dismiss='modal' class="btn btn-sm btn-white">Cancel</button>
                                                                                                <button class="btn btn-sm btn-danger" type="submit">Input</button>
                                                                                            </div>
                                                                                        </div>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </form>
                                                        </div>
                                                <?php }
                                                endforeach;  ?>
                                                <?php $i = 1;
                                                foreach ($dtKdp as $p) :
                                                    if ($p['kd_gmapel'] == $study['idm'] && $p['kd_lembaga'] == $nmUser['kd_user'] && $p['kd_tapel'] == $kdTapel['id_tapel']) {
                                                ?>
                                                        <div id="um<?= $study['idm']; ?>" class="modal FullColor-popup-AlertModal fade" role="dialog">
                                                            <form action="<?= base_url('guru/inputNilaiUm'); ?>" method="post" name="autoSumForm">
                                                                <div class="modal-dialog">
                                                                    <div class="modal-content">
                                                                        <div class="modal-header header-color-modal bg-color-5">
                                                                            <h4 class="modal-title">Form Input Nilai Ujian Madrasah</h4>
                                                                            <div class="modal-close-area modal-close-df">
                                                                                <a class="close" data-dismiss="modal" href="#"><i class="fa fa-close"></i></a>
                                                                            </div>
                                                                        </div>
                                                                        <div class="modal-body">
                                                                            <div class="row">
                                                                                <div class="col-lg-3"></div>
                                                                                <div class="col-lg-9">
                                                                                </div>
                                                                            </div>
                                                                            <div class="sparkline11-graph">
                                                                                <div class="row">
                                                                                    <div class="col-lg-12">
                                                                                        <input type="text" class="form-control" id="id_gmapel" name="id_gmapel" placeholder="Id Bidang Study" value='<?= $study['mapel'] . ' / ' . $study['kelas'] . ' / Ujian Madrasah'; ?>' readonly>
                                                                                        <input type="hidden" class="form-control" id="kd_gmapel" name="kd_gmapel" placeholder="kd_gmapel" value='<?= $study['idm']; ?>'>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                            <?php
                                                                            foreach ($dtNilaip as $edit) :
                                                                                if ($edit['ikdp'] == $p['id_kdp'] && $nmUser['kd_user'] == $p['kd_lembaga'] && $p['kd_tapel'] == $kdTapel['id_tapel']) {
                                                                            ?>
                                                                                    <input type="hidden" class="form-control" id="id_nilaip[]" name="id_nilaip[]" placeholder="Id Nilai P" value='<?php
                                                                                                                                                                                                    foreach ($nilaip as $km) :
                                                                                                                                                                                                        if ($km['tipe_n'] == 's' && $nmUser['kd_user'] == $km['kd_lembaga'] && $km['kd_tapel'] == $kdTapel['id_tapel']) {
                                                                                                                                                                                                            if ($km['kd_students'] == $edit['ids']) {
                                                                                                                                                                                                                if ($km['kd_gmapel'] == $edit['idgm']) {
                                                                                                                                                                                                                    echo $km['id_nilaip'];
                                                                                                                                                                                                                }
                                                                                                                                                                                                            }
                                                                                                                                                                                                        }
                                                                                                                                                                                                    endforeach;
                                                                                                                                                                                                    ?>' required></input>
                                                                                    <div class="sparkline11-graph">
                                                                                        <div class="row">
                                                                                            <div class="col-lg-9">
                                                                                                <label class="login2 pull-right pull-right-pro"><?= '(' . $edit['nisn'] . ') ' . $edit['siswa']; ?></label>
                                                                                            </div>
                                                                                            <div class="col-lg-3">
                                                                                                <input type="number" class="form-control" maxlength="3" id="n_p[]" name="n_p[]" min="0" max="100" placeholder="Nilai" value='<?php
                                                                                                                                                                                                                                foreach ($nilaip as $km) :
                                                                                                                                                                                                                                    if ($km['tipe_n'] == 's' && $nmUser['kd_user'] == $km['kd_lembaga'] && $km['kd_tapel'] == $kdTapel['id_tapel']) {
                                                                                                                                                                                                                                        if ($km['kd_students'] == $edit['ids']) {
                                                                                                                                                                                                                                            if ($km['kd_gmapel'] == $edit['idgm']) {
                                                                                                                                                                                                                                                echo $km['n_p'];
                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                endforeach;
                                                                                                                                                                                                                                ?>' required></input>
                                                                                                <input type="hidden" class="form-control" id="kd_students[]" name="kd_students[]" max="100" placeholder="Siswa" value='<?= $edit['ids']; ?>' required></input>
                                                                                            </div>
                                                                                        </div>
                                                                                    </div>
                                                                            <?php
                                                                                }
                                                                            endforeach; ?>
                                                                        </div>
                                                                        <div class="modal-footer">
                                                                            <div class="form-group-inner">
                                                                                <div class="login-btn-inner">
                                                                                    <div class="row">
                                                                                        <div class="col-lg-3"></div>
                                                                                        <div class="col-lg-9">
                                                                                            <div class="login-horizental cancel-wp pull-right">
                                                                                                <button type='reset' data-dismiss='modal' class="btn btn-sm btn-white">Cancel</button>
                                                                                                <button class="btn btn-sm btn-danger" type="submit">Input</button>
                                                                                            </div>
                                                                                        </div>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </form>
                                                        </div>
                                                <?php }
                                                endforeach;  ?>
                                                <div id="TambahGurMapel<?= $study['idm']; ?>" class="modal modal-adminpro-general default-popup-PrimaryModal fade" role="dialog">
                                                    <form action="<?= base_url('guru/tambahDataKdp'); ?>" method="post">
                                                        <div class="modal-dialog">
                                                            <div class="modal-content">
                                                                <div class="modal-header header-color-modal bg-color-1">
                                                                    <h4 class="modal-title">Form Tambah KD Pengetahuan</h4>
                                                                    <div class="modal-close-area modal-close-df">
                                                                        <a class="close" data-dismiss="modal" href="#"><i class="fa fa-close"></i></a>
                                                                    </div>
                                                                </div>
                                                                <div class="modal-body">
                                                                    <div class="row">
                                                                        <div class="col-lg-3"></div>
                                                                        <div class="col-lg-9">
                                                                            <input type="hidden" class="form-control" id="id_gmapel" name="id_gmapel" placeholder="Id Bidang Study" value='<?= $study['idm']; ?>'>
                                                                        </div>
                                                                    </div>
                                                                    <div class="sparkline11-graph">
                                                                        <div class="row">
                                                                            <div class="col-lg-12">
                                                                                <label class="login2 pull-left pull-left-pro">Nomor KD</label>
                                                                            </div>
                                                                            <div class="col-lg-12">
                                                                                <div class="chosen-select-single">
                                                                                    <select name='no_kdp' id='no_kdp' data-placeholder="Bidang Study" class="chosen-select" tabindex="-1">
                                                                                        <option disabled selected>Pilih Nomor KD</option>
                                                                                        <?php
                                                                                        foreach ($kdp as $kp) :
                                                                                        ?>
                                                                                            <option value='<?= $kp['nm_nokdp'] ?>'><?= $kp['nm_nokdp'] ?></option>
                                                                                        <?php
                                                                                        endforeach;
                                                                                        ?>
                                                                                    </select>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <?= form_error('no_kdp', '<small class="text-danger">', '</small>'); ?>
                                                                    </div>
                                                                    <div class="sparkline11-graph">
                                                                        <div class="row">
                                                                            <div class="col-lg-12">
                                                                                <label class="login2 pull-left pull-left-pro">Kompetensi Dasar</label>
                                                                            </div>
                                                                            <div class="col-lg-12">
                                                                                <textarea rows="5" id="nm_kdp" name="nm_kdp" class="form-control" placeholder="isi deskripsi lengkap" required></textarea>
                                                                            </div>
                                                                        </div>
                                                                        <?= form_error('nm_kdp', '<small class="text-danger">', '</small>'); ?>
                                                                    </div>
                                                                    <div class="sparkline11-graph">
                                                                        <div class="row">
                                                                            <div class="col-lg-12">
                                                                                <label class="login2 pull-left pull-left-pro">Deskripsi KD</label>
                                                                            </div>
                                                                            <div class="col-lg-12">
                                                                                <textarea id="nm_deskp" name="nm_deskp" class="form-control" placeholder="isi deskripsi singkat" required></textarea>
                                                                            </div>
                                                                        </div>
                                                                        <?= form_error('nm_deskp', '<small class="text-danger">', '</small>'); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="modal-footer">
                                                                    <div class="form-group-inner">
                                                                        <div class="login-btn-inner">
                                                                            <div class="row">
                                                                                <div class="col-lg-12">
                                                                                    <div class="login-horizental cancel-wp pull-right">
                                                                                        <button type='reset' data-dismiss='modal' class="btn btn-sm btn-white">Cancel</button>
                                                                                        <button class="btn btn-sm btn-primary" type="submit">Add New</button>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </form>
                                                </div>
                                                <div id="TambahKDr<?= $study['idm']; ?>" class="modal modal-adminpro-general default-popup-PrimaryModal fade" role="dialog">
                                                    <form action="<?= base_url('guru/tambahAllDataKdp'); ?>" method="post">
                                                        <div class="modal-dialog">
                                                            <div class="modal-content">
                                                                <div class="modal-header header-color-modal bg-color-1">
                                                                    <h4 class="modal-title">Form Tambah KD Pengetahuan</h4>
                                                                    <div class="modal-close-area modal-close-df">
                                                                        <a class="close" data-dismiss="modal" href="#"><i class="fa fa-close"></i></a>
                                                                    </div>
                                                                </div>
                                                                <div class="modal-body">
                                                                    <div class="row">
                                                                        <div class="col-lg-3"></div>
                                                                        <div class="col-lg-9">
                                                                            <input type="hidden" class="form-control" id="id_gmapel" name="id_gmapel" placeholder="Id Bidang Study" value='<?= $study['idm']; ?>'>
                                                                            <input type="hidden" class="form-control" id="nm_kelas" name="nm_kelas" placeholder="Id Nama Kelas" value='<?= $study['tgkt']; ?>'>
                                                                            <input type="hidden" class="form-control" id="nm_mapel" name="nm_mapel" placeholder="Id Nama Mapel" value='<?= $study['kodemapel']; ?>'>
                                                                        </div>
                                                                    </div>
                                                                    <div class="sparkline11-graph">
                                                                        <div class="row">
                                                                            <div class="col-lg-12">
                                                                                <label class="login2 pull-left pull-left-pro">Daftar Nomor KD</label>
                                                                            </div>
                                                                            <div class="col-lg-12">
                                                                                <select data-placeholder="Pilih nomor KD sesuai semester" class="chosen-select" multiple="" tabindex="-1" name='no_kdp[]' id='no_kdp[]'>
                                                                                    <?php foreach ($nmKdp as $std) :  if ($std['nm_jenjang'] == $nmUser['kd_jenjang'] && $std['nm_kelas'] == $study['tgkt'] && $std['nm_mapel'] == $study['kodemapel']) { ?>
                                                                                            <option value='<?= $std['kd_kdp'] ?>'><?= $std['nm_mapel'] . ' : ' . $std['kd_kdp']; ?></option>
                                                                                    <?php }
                                                                                    endforeach; ?>
                                                                                    <?= form_error('no_kdp', '<small class="text-danger">', '</small>'); ?>
                                                                                </select>
                                                                            </div>
                                                                        </div>
                                                                        <?= form_error('no_kdp', '<small class="text-danger">', '</small>'); ?>
                                                                    </div>
                                                                </div>
                                                                <div class="modal-footer">
                                                                    <div class="form-group-inner">
                                                                        <div class="login-btn-inner">
                                                                            <div class="row">
                                                                                <div class="col-lg-12">
                                                                                    <div class="login-horizental cancel-wp pull-right">
                                                                                        <button type='reset' data-dismiss='modal' class="btn btn-sm btn-white">Cancel</button>
                                                                                        <button class="btn btn-sm btn-primary" type="submit">Add New</button>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </form>
                                                </div>
                                                <?php $i = 1;
                                                foreach ($dtKdp as $p) :
                                                    if ($p['kd_gmapel'] == $study['idm'] && $p['kd_lembaga'] == $nmUser['kd_user'] && $p['kd_tapel'] == $kdTapel['id_tapel']) {
                                                ?>
                                                        <div id="Proses<?= $study['idm']; ?>" class="modal modal-adminpro-general default-popup-PrimaryModal PrimaryModal-bgcolor fade" role="dialog">
                                                            <form action="<?= base_url('guru/prosesNilaiAkhirp'); ?>" method="post" name="autoSumForm">
                                                                <div class="modal-dialog">
                                                                    <div class="modal-content">
                                                                        <div class="modal-close-area modal-close-df">
                                                                            <a class="close" data-dismiss="modal" href="#"><i class="fa fa-close"></i></a>
                                                                        </div>
                                                                        <div class="modal-body">
                                                                            <input type="hidden" class="form-control" id="id_nilaip" name="id_nilaip" placeholder="Id Bidang Study" value='<?= $study['idm']; ?>'>
                                                                            <input type="hidden" class="form-control" id="id_gmapel" name="id_gmapel" placeholder="Id Bidang Study" value='<?= $study['mapel'] . ' / ' . $study['kelas'] . ' / KD ' . $p['no_kdp']; ?>' readonly>
                                                                            <input type="hidden" class="form-control" id="kd_kdp" name="kd_kdp" placeholder="kd_kdp" value='<?= $p['id_kdp']; ?>'>
                                                                            <input type="hidden" class="form-control" id="deskp_n" name="deskp_n" placeholder="deskp_n" value='<?= $p['nm_deskp']; ?>'>
                                                                            <input type="hidden" class="form-control" id="kd_gmapel" name="kd_gmapel" placeholder="kd_gmapel" value='<?= $study['idm']; ?>'>
                                                                            <?php
                                                                            foreach ($dtNilaip as $edit) :
                                                                                if ($edit['ikdp'] == $p['id_kdp'] && $nmUser['kd_user'] == $p['kd_lembaga'] && $p['kd_tapel'] == $kdTapel['id_tapel']) {
                                                                            ?>
                                                                                    <input type="hidden" class="form-control" id="kd_students[]" name="kd_students[]" max="100" placeholder="Siswa" value='<?= $edit['ids']; ?>' required></input>
                                                                            <?php
                                                                                    // }
                                                                                }
                                                                            endforeach; ?>
                                                                            <i class="fa fa-question modal-check-pro"></i>
                                                                            <h2>Apakah anda yakin ?</h2>
                                                                            <p>Silahkan klik tombol proses <br>untuk memproses nilai akhir <?= $study['mapel'] . ' / ' . $study['kelas']; ?> !</p>
                                                                        </div>
                                                                        <div class="modal-footer footer-modal-admin">
                                                                            <button type='reset' data-dismiss='modal' class="btn btn-sm btn-white">Cancel</button>
                                                                            <button class="btn btn-sm btn-danger" type="submit">Proses</button>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </form>
                                                        </div>
                                                <?php }
                                                endforeach;  ?>
                                        <?php }
                                        endforeach; ?>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>