<?php

namespace PHPMaker2021\rkm21;

// Page object
$NilaiList = &$Page;
?>
<?php if (!$Page->isExport()) { ?>
<script>
var currentForm, currentPageID;
var fnilailist;
loadjs.ready("head", function () {
    var $ = jQuery;
    // Form object
    currentPageID = ew.PAGE_ID = "list";
    fnilailist = currentForm = new ew.Form("fnilailist", "list");
    fnilailist.formKeyCountName = '<?= $Page->FormKeyCountName ?>';
    loadjs.done("fnilailist");
});
var fnilailistsrch, currentSearchForm, currentAdvancedSearchForm;
loadjs.ready("head", function () {
    var $ = jQuery;
    // Form object for search
    fnilailistsrch = currentSearchForm = new ew.Form("fnilailistsrch");

    // Dynamic selection lists

    // Filters
    fnilailistsrch.filterList = <?= $Page->getFilterList() ?>;

    // Init search panel as collapsed
    fnilailistsrch.initSearchPanel = true;
    loadjs.done("fnilailistsrch");
});
</script>
<script>
loadjs.ready("head", function () {
    // Write your table-specific client script here, no need to add script tags.
});
</script>
<?php } ?>
<?php if (!$Page->isExport()) { ?>
<div class="btn-toolbar ew-toolbar">
<?php if ($Page->TotalRecords > 0 && $Page->ExportOptions->visible()) { ?>
<?php $Page->ExportOptions->render("body") ?>
<?php } ?>
<?php if ($Page->ImportOptions->visible()) { ?>
<?php $Page->ImportOptions->render("body") ?>
<?php } ?>
<?php if ($Page->SearchOptions->visible()) { ?>
<?php $Page->SearchOptions->render("body") ?>
<?php } ?>
<?php if ($Page->FilterOptions->visible()) { ?>
<?php $Page->FilterOptions->render("body") ?>
<?php } ?>
<div class="clearfix"></div>
</div>
<?php } ?>
<?php
$Page->renderOtherOptions();
?>
<?php if ($Security->canSearch()) { ?>
<?php if (!$Page->isExport() && !$Page->CurrentAction) { ?>
<form name="fnilailistsrch" id="fnilailistsrch" class="form-inline ew-form ew-ext-search-form" action="<?= CurrentPageUrl(false) ?>">
<div id="fnilailistsrch-search-panel" class="<?= $Page->SearchPanelClass ?>">
<input type="hidden" name="cmd" value="search">
<input type="hidden" name="t" value="nilai">
    <div class="ew-extended-search">
<div id="xsr_<?= $Page->SearchRowCount + 1 ?>" class="ew-row d-sm-flex">
    <div class="ew-quick-search input-group">
        <input type="text" name="<?= Config("TABLE_BASIC_SEARCH") ?>" id="<?= Config("TABLE_BASIC_SEARCH") ?>" class="form-control" value="<?= HtmlEncode($Page->BasicSearch->getKeyword()) ?>">
        <input type="hidden" name="<?= Config("TABLE_BASIC_SEARCH_TYPE") ?>" id="<?= Config("TABLE_BASIC_SEARCH_TYPE") ?>" value="<?= HtmlEncode($Page->BasicSearch->getType()) ?>">
        <div class="input-group-append">
            <button class="btn btn-primary" name="btn-submit" id="btn-submit" type="submit"><?= $Language->phrase("SearchBtn") ?></button>
            <button type="button" data-toggle="dropdown" class="btn btn-primary dropdown-toggle dropdown-toggle-split" aria-haspopup="true" aria-expanded="false"><span id="searchtype"><?= $Page->BasicSearch->getTypeNameShort() ?></span></button>
            <div class="dropdown-menu dropdown-menu-right">
                <a class="dropdown-item<?php if ($Page->BasicSearch->getType() == "") { ?> active<?php } ?>" href="#" onclick="return ew.setSearchType(this);"><?= $Language->phrase("QuickSearchAuto") ?></a>
                <a class="dropdown-item<?php if ($Page->BasicSearch->getType() == "=") { ?> active<?php } ?>" href="#" onclick="return ew.setSearchType(this, '=');"><?= $Language->phrase("QuickSearchExact") ?></a>
                <a class="dropdown-item<?php if ($Page->BasicSearch->getType() == "AND") { ?> active<?php } ?>" href="#" onclick="return ew.setSearchType(this, 'AND');"><?= $Language->phrase("QuickSearchAll") ?></a>
                <a class="dropdown-item<?php if ($Page->BasicSearch->getType() == "OR") { ?> active<?php } ?>" href="#" onclick="return ew.setSearchType(this, 'OR');"><?= $Language->phrase("QuickSearchAny") ?></a>
            </div>
        </div>
    </div>
</div>
    </div><!-- /.ew-extended-search -->
</div><!-- /.ew-search-panel -->
</form>
<?php } ?>
<?php } ?>
<?php $Page->showPageHeader(); ?>
<?php
$Page->showMessage();
?>
<?php if ($Page->TotalRecords > 0 || $Page->CurrentAction) { ?>
<div class="card ew-card ew-grid<?php if ($Page->isAddOrEdit()) { ?> ew-grid-add-edit<?php } ?> nilai">
<form name="fnilailist" id="fnilailist" class="form-inline ew-form ew-list-form" action="<?= CurrentPageUrl(false) ?>" method="post">
<?php if (Config("CHECK_TOKEN")) { ?>
<input type="hidden" name="<?= $TokenNameKey ?>" value="<?= $TokenName ?>"><!-- CSRF token name -->
<input type="hidden" name="<?= $TokenValueKey ?>" value="<?= $TokenValue ?>"><!-- CSRF token value -->
<?php } ?>
<input type="hidden" name="t" value="nilai">
<div id="gmp_nilai" class="<?= ResponsiveTableClass() ?>card-body ew-grid-middle-panel">
<?php if ($Page->TotalRecords > 0 || $Page->isGridEdit()) { ?>
<table id="tbl_nilailist" class="table ew-table"><!-- .ew-table -->
<thead>
    <tr class="ew-table-header">
<?php
// Header row
$Page->RowType = ROWTYPE_HEADER;

// Render list options
$Page->renderListOptions();

// Render list options (header, left)
$Page->ListOptions->render("header", "left");
?>
<?php if ($Page->nilai_id->Visible) { // nilai_id ?>
        <th data-name="nilai_id" class="<?= $Page->nilai_id->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_nilai_id" class="nilai_nilai_id"><?= $Page->renderSort($Page->nilai_id) ?></div></th>
<?php } ?>
<?php if ($Page->kode_tapel->Visible) { // kode_tapel ?>
        <th data-name="kode_tapel" class="<?= $Page->kode_tapel->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_kode_tapel" class="nilai_kode_tapel"><?= $Page->renderSort($Page->kode_tapel) ?></div></th>
<?php } ?>
<?php if ($Page->guru_id->Visible) { // guru_id ?>
        <th data-name="guru_id" class="<?= $Page->guru_id->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_guru_id" class="nilai_guru_id"><?= $Page->renderSort($Page->guru_id) ?></div></th>
<?php } ?>
<?php if ($Page->kode_mapel->Visible) { // kode_mapel ?>
        <th data-name="kode_mapel" class="<?= $Page->kode_mapel->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_kode_mapel" class="nilai_kode_mapel"><?= $Page->renderSort($Page->kode_mapel) ?></div></th>
<?php } ?>
<?php if ($Page->kelas->Visible) { // kelas ?>
        <th data-name="kelas" class="<?= $Page->kelas->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_kelas" class="nilai_kelas"><?= $Page->renderSort($Page->kelas) ?></div></th>
<?php } ?>
<?php if ($Page->nis->Visible) { // nis ?>
        <th data-name="nis" class="<?= $Page->nis->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_nis" class="nilai_nis"><?= $Page->renderSort($Page->nis) ?></div></th>
<?php } ?>
<?php if ($Page->nama->Visible) { // nama ?>
        <th data-name="nama" class="<?= $Page->nama->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_nama" class="nilai_nama"><?= $Page->renderSort($Page->nama) ?></div></th>
<?php } ?>
<?php if ($Page->jk->Visible) { // jk ?>
        <th data-name="jk" class="<?= $Page->jk->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_jk" class="nilai_jk"><?= $Page->renderSort($Page->jk) ?></div></th>
<?php } ?>
<?php if ($Page->f1->Visible) { // f1 ?>
        <th data-name="f1" class="<?= $Page->f1->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_f1" class="nilai_f1"><?= $Page->renderSort($Page->f1) ?></div></th>
<?php } ?>
<?php if ($Page->f2->Visible) { // f2 ?>
        <th data-name="f2" class="<?= $Page->f2->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_f2" class="nilai_f2"><?= $Page->renderSort($Page->f2) ?></div></th>
<?php } ?>
<?php if ($Page->f3->Visible) { // f3 ?>
        <th data-name="f3" class="<?= $Page->f3->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_f3" class="nilai_f3"><?= $Page->renderSort($Page->f3) ?></div></th>
<?php } ?>
<?php if ($Page->f4->Visible) { // f4 ?>
        <th data-name="f4" class="<?= $Page->f4->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_f4" class="nilai_f4"><?= $Page->renderSort($Page->f4) ?></div></th>
<?php } ?>
<?php if ($Page->f5->Visible) { // f5 ?>
        <th data-name="f5" class="<?= $Page->f5->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_f5" class="nilai_f5"><?= $Page->renderSort($Page->f5) ?></div></th>
<?php } ?>
<?php if ($Page->f6->Visible) { // f6 ?>
        <th data-name="f6" class="<?= $Page->f6->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_f6" class="nilai_f6"><?= $Page->renderSort($Page->f6) ?></div></th>
<?php } ?>
<?php if ($Page->f7->Visible) { // f7 ?>
        <th data-name="f7" class="<?= $Page->f7->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_f7" class="nilai_f7"><?= $Page->renderSort($Page->f7) ?></div></th>
<?php } ?>
<?php if ($Page->f8->Visible) { // f8 ?>
        <th data-name="f8" class="<?= $Page->f8->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_f8" class="nilai_f8"><?= $Page->renderSort($Page->f8) ?></div></th>
<?php } ?>
<?php if ($Page->f9->Visible) { // f9 ?>
        <th data-name="f9" class="<?= $Page->f9->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_f9" class="nilai_f9"><?= $Page->renderSort($Page->f9) ?></div></th>
<?php } ?>
<?php if ($Page->f10->Visible) { // f10 ?>
        <th data-name="f10" class="<?= $Page->f10->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_f10" class="nilai_f10"><?= $Page->renderSort($Page->f10) ?></div></th>
<?php } ?>
<?php if ($Page->f11->Visible) { // f11 ?>
        <th data-name="f11" class="<?= $Page->f11->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_f11" class="nilai_f11"><?= $Page->renderSort($Page->f11) ?></div></th>
<?php } ?>
<?php if ($Page->f12->Visible) { // f12 ?>
        <th data-name="f12" class="<?= $Page->f12->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_f12" class="nilai_f12"><?= $Page->renderSort($Page->f12) ?></div></th>
<?php } ?>
<?php if ($Page->f13->Visible) { // f13 ?>
        <th data-name="f13" class="<?= $Page->f13->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_f13" class="nilai_f13"><?= $Page->renderSort($Page->f13) ?></div></th>
<?php } ?>
<?php if ($Page->f14->Visible) { // f14 ?>
        <th data-name="f14" class="<?= $Page->f14->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_f14" class="nilai_f14"><?= $Page->renderSort($Page->f14) ?></div></th>
<?php } ?>
<?php if ($Page->f15->Visible) { // f15 ?>
        <th data-name="f15" class="<?= $Page->f15->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_f15" class="nilai_f15"><?= $Page->renderSort($Page->f15) ?></div></th>
<?php } ?>
<?php if ($Page->naf->Visible) { // naf ?>
        <th data-name="naf" class="<?= $Page->naf->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_naf" class="nilai_naf"><?= $Page->renderSort($Page->naf) ?></div></th>
<?php } ?>
<?php if ($Page->s1->Visible) { // s1 ?>
        <th data-name="s1" class="<?= $Page->s1->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_s1" class="nilai_s1"><?= $Page->renderSort($Page->s1) ?></div></th>
<?php } ?>
<?php if ($Page->s2->Visible) { // s2 ?>
        <th data-name="s2" class="<?= $Page->s2->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_s2" class="nilai_s2"><?= $Page->renderSort($Page->s2) ?></div></th>
<?php } ?>
<?php if ($Page->s3->Visible) { // s3 ?>
        <th data-name="s3" class="<?= $Page->s3->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_s3" class="nilai_s3"><?= $Page->renderSort($Page->s3) ?></div></th>
<?php } ?>
<?php if ($Page->s4->Visible) { // s4 ?>
        <th data-name="s4" class="<?= $Page->s4->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_s4" class="nilai_s4"><?= $Page->renderSort($Page->s4) ?></div></th>
<?php } ?>
<?php if ($Page->s5->Visible) { // s5 ?>
        <th data-name="s5" class="<?= $Page->s5->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_s5" class="nilai_s5"><?= $Page->renderSort($Page->s5) ?></div></th>
<?php } ?>
<?php if ($Page->s6->Visible) { // s6 ?>
        <th data-name="s6" class="<?= $Page->s6->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_s6" class="nilai_s6"><?= $Page->renderSort($Page->s6) ?></div></th>
<?php } ?>
<?php if ($Page->s7->Visible) { // s7 ?>
        <th data-name="s7" class="<?= $Page->s7->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_s7" class="nilai_s7"><?= $Page->renderSort($Page->s7) ?></div></th>
<?php } ?>
<?php if ($Page->s8->Visible) { // s8 ?>
        <th data-name="s8" class="<?= $Page->s8->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_s8" class="nilai_s8"><?= $Page->renderSort($Page->s8) ?></div></th>
<?php } ?>
<?php if ($Page->nas->Visible) { // nas ?>
        <th data-name="nas" class="<?= $Page->nas->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_nas" class="nilai_nas"><?= $Page->renderSort($Page->nas) ?></div></th>
<?php } ?>
<?php if ($Page->sts->Visible) { // sts ?>
        <th data-name="sts" class="<?= $Page->sts->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_sts" class="nilai_sts"><?= $Page->renderSort($Page->sts) ?></div></th>
<?php } ?>
<?php if ($Page->sas->Visible) { // sas ?>
        <th data-name="sas" class="<?= $Page->sas->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_sas" class="nilai_sas"><?= $Page->renderSort($Page->sas) ?></div></th>
<?php } ?>
<?php if ($Page->nr1->Visible) { // nr1 ?>
        <th data-name="nr1" class="<?= $Page->nr1->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_nr1" class="nilai_nr1"><?= $Page->renderSort($Page->nr1) ?></div></th>
<?php } ?>
<?php if ($Page->nr2->Visible) { // nr2 ?>
        <th data-name="nr2" class="<?= $Page->nr2->headerCellClass() ?>" style="white-space: nowrap;"><div id="elh_nilai_nr2" class="nilai_nr2"><?= $Page->renderSort($Page->nr2) ?></div></th>
<?php } ?>
<?php
// Render list options (header, right)
$Page->ListOptions->render("header", "right");
?>
    </tr>
</thead>
<tbody>
<?php
if ($Page->ExportAll && $Page->isExport()) {
    $Page->StopRecord = $Page->TotalRecords;
} else {
    // Set the last record to display
    if ($Page->TotalRecords > $Page->StartRecord + $Page->DisplayRecords - 1) {
        $Page->StopRecord = $Page->StartRecord + $Page->DisplayRecords - 1;
    } else {
        $Page->StopRecord = $Page->TotalRecords;
    }
}
$Page->RecordCount = $Page->StartRecord - 1;
if ($Page->Recordset && !$Page->Recordset->EOF) {
    // Nothing to do
} elseif (!$Page->AllowAddDeleteRow && $Page->StopRecord == 0) {
    $Page->StopRecord = $Page->GridAddRowCount;
}

// Initialize aggregate
$Page->RowType = ROWTYPE_AGGREGATEINIT;
$Page->resetAttributes();
$Page->renderRow();
while ($Page->RecordCount < $Page->StopRecord) {
    $Page->RecordCount++;
    if ($Page->RecordCount >= $Page->StartRecord) {
        $Page->RowCount++;

        // Set up key count
        $Page->KeyCount = $Page->RowIndex;

        // Init row class and style
        $Page->resetAttributes();
        $Page->CssClass = "";
        if ($Page->isGridAdd()) {
            $Page->loadRowValues(); // Load default values
            $Page->OldKey = "";
            $Page->setKey($Page->OldKey);
        } else {
            $Page->loadRowValues($Page->Recordset); // Load row values
            if ($Page->isGridEdit()) {
                $Page->OldKey = $Page->getKey(true); // Get from CurrentValue
                $Page->setKey($Page->OldKey);
            }
        }
        $Page->RowType = ROWTYPE_VIEW; // Render view

        // Set up row id / data-rowindex
        $Page->RowAttrs->merge(["data-rowindex" => $Page->RowCount, "id" => "r" . $Page->RowCount . "_nilai", "data-rowtype" => $Page->RowType]);

        // Render row
        $Page->renderRow();

        // Render list options
        $Page->renderListOptions();
?>
    <tr <?= $Page->rowAttributes() ?>>
<?php
// Render list options (body, left)
$Page->ListOptions->render("body", "left", $Page->RowCount);
?>
    <?php if ($Page->nilai_id->Visible) { // nilai_id ?>
        <td data-name="nilai_id" <?= $Page->nilai_id->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_nilai_id">
<span<?= $Page->nilai_id->viewAttributes() ?>>
<?= $Page->nilai_id->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->kode_tapel->Visible) { // kode_tapel ?>
        <td data-name="kode_tapel" <?= $Page->kode_tapel->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_kode_tapel">
<span<?= $Page->kode_tapel->viewAttributes() ?>>
<?= $Page->kode_tapel->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->guru_id->Visible) { // guru_id ?>
        <td data-name="guru_id" <?= $Page->guru_id->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_guru_id">
<span<?= $Page->guru_id->viewAttributes() ?>>
<?= $Page->guru_id->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->kode_mapel->Visible) { // kode_mapel ?>
        <td data-name="kode_mapel" <?= $Page->kode_mapel->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_kode_mapel">
<span<?= $Page->kode_mapel->viewAttributes() ?>>
<?= $Page->kode_mapel->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->kelas->Visible) { // kelas ?>
        <td data-name="kelas" <?= $Page->kelas->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_kelas">
<span<?= $Page->kelas->viewAttributes() ?>>
<?= $Page->kelas->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->nis->Visible) { // nis ?>
        <td data-name="nis" <?= $Page->nis->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_nis">
<span<?= $Page->nis->viewAttributes() ?>>
<?= $Page->nis->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->nama->Visible) { // nama ?>
        <td data-name="nama" <?= $Page->nama->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_nama">
<span<?= $Page->nama->viewAttributes() ?>>
<?= $Page->nama->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->jk->Visible) { // jk ?>
        <td data-name="jk" <?= $Page->jk->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_jk">
<span<?= $Page->jk->viewAttributes() ?>>
<?= $Page->jk->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->f1->Visible) { // f1 ?>
        <td data-name="f1" <?= $Page->f1->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_f1">
<span<?= $Page->f1->viewAttributes() ?>>
<?= $Page->f1->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->f2->Visible) { // f2 ?>
        <td data-name="f2" <?= $Page->f2->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_f2">
<span<?= $Page->f2->viewAttributes() ?>>
<?= $Page->f2->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->f3->Visible) { // f3 ?>
        <td data-name="f3" <?= $Page->f3->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_f3">
<span<?= $Page->f3->viewAttributes() ?>>
<?= $Page->f3->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->f4->Visible) { // f4 ?>
        <td data-name="f4" <?= $Page->f4->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_f4">
<span<?= $Page->f4->viewAttributes() ?>>
<?= $Page->f4->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->f5->Visible) { // f5 ?>
        <td data-name="f5" <?= $Page->f5->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_f5">
<span<?= $Page->f5->viewAttributes() ?>>
<?= $Page->f5->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->f6->Visible) { // f6 ?>
        <td data-name="f6" <?= $Page->f6->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_f6">
<span<?= $Page->f6->viewAttributes() ?>>
<?= $Page->f6->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->f7->Visible) { // f7 ?>
        <td data-name="f7" <?= $Page->f7->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_f7">
<span<?= $Page->f7->viewAttributes() ?>>
<?= $Page->f7->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->f8->Visible) { // f8 ?>
        <td data-name="f8" <?= $Page->f8->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_f8">
<span<?= $Page->f8->viewAttributes() ?>>
<?= $Page->f8->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->f9->Visible) { // f9 ?>
        <td data-name="f9" <?= $Page->f9->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_f9">
<span<?= $Page->f9->viewAttributes() ?>>
<?= $Page->f9->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->f10->Visible) { // f10 ?>
        <td data-name="f10" <?= $Page->f10->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_f10">
<span<?= $Page->f10->viewAttributes() ?>>
<?= $Page->f10->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->f11->Visible) { // f11 ?>
        <td data-name="f11" <?= $Page->f11->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_f11">
<span<?= $Page->f11->viewAttributes() ?>>
<?= $Page->f11->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->f12->Visible) { // f12 ?>
        <td data-name="f12" <?= $Page->f12->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_f12">
<span<?= $Page->f12->viewAttributes() ?>>
<?= $Page->f12->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->f13->Visible) { // f13 ?>
        <td data-name="f13" <?= $Page->f13->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_f13">
<span<?= $Page->f13->viewAttributes() ?>>
<?= $Page->f13->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->f14->Visible) { // f14 ?>
        <td data-name="f14" <?= $Page->f14->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_f14">
<span<?= $Page->f14->viewAttributes() ?>>
<?= $Page->f14->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->f15->Visible) { // f15 ?>
        <td data-name="f15" <?= $Page->f15->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_f15">
<span<?= $Page->f15->viewAttributes() ?>>
<?= $Page->f15->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->naf->Visible) { // naf ?>
        <td data-name="naf" <?= $Page->naf->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_naf">
<span<?= $Page->naf->viewAttributes() ?>>
<?= $Page->naf->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->s1->Visible) { // s1 ?>
        <td data-name="s1" <?= $Page->s1->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_s1">
<span<?= $Page->s1->viewAttributes() ?>>
<?= $Page->s1->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->s2->Visible) { // s2 ?>
        <td data-name="s2" <?= $Page->s2->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_s2">
<span<?= $Page->s2->viewAttributes() ?>>
<?= $Page->s2->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->s3->Visible) { // s3 ?>
        <td data-name="s3" <?= $Page->s3->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_s3">
<span<?= $Page->s3->viewAttributes() ?>>
<?= $Page->s3->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->s4->Visible) { // s4 ?>
        <td data-name="s4" <?= $Page->s4->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_s4">
<span<?= $Page->s4->viewAttributes() ?>>
<?= $Page->s4->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->s5->Visible) { // s5 ?>
        <td data-name="s5" <?= $Page->s5->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_s5">
<span<?= $Page->s5->viewAttributes() ?>>
<?= $Page->s5->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->s6->Visible) { // s6 ?>
        <td data-name="s6" <?= $Page->s6->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_s6">
<span<?= $Page->s6->viewAttributes() ?>>
<?= $Page->s6->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->s7->Visible) { // s7 ?>
        <td data-name="s7" <?= $Page->s7->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_s7">
<span<?= $Page->s7->viewAttributes() ?>>
<?= $Page->s7->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->s8->Visible) { // s8 ?>
        <td data-name="s8" <?= $Page->s8->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_s8">
<span<?= $Page->s8->viewAttributes() ?>>
<?= $Page->s8->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->nas->Visible) { // nas ?>
        <td data-name="nas" <?= $Page->nas->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_nas">
<span<?= $Page->nas->viewAttributes() ?>>
<?= $Page->nas->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->sts->Visible) { // sts ?>
        <td data-name="sts" <?= $Page->sts->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_sts">
<span<?= $Page->sts->viewAttributes() ?>>
<?= $Page->sts->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->sas->Visible) { // sas ?>
        <td data-name="sas" <?= $Page->sas->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_sas">
<span<?= $Page->sas->viewAttributes() ?>>
<?= $Page->sas->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->nr1->Visible) { // nr1 ?>
        <td data-name="nr1" <?= $Page->nr1->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_nr1">
<span<?= $Page->nr1->viewAttributes() ?>>
<?= $Page->nr1->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
    <?php if ($Page->nr2->Visible) { // nr2 ?>
        <td data-name="nr2" <?= $Page->nr2->cellAttributes() ?>>
<span id="el<?= $Page->RowCount ?>_nilai_nr2">
<span<?= $Page->nr2->viewAttributes() ?>>
<?= $Page->nr2->getViewValue() ?></span>
</span>
</td>
    <?php } ?>
<?php
// Render list options (body, right)
$Page->ListOptions->render("body", "right", $Page->RowCount);
?>
    </tr>
<?php
    }
    if (!$Page->isGridAdd()) {
        $Page->Recordset->moveNext();
    }
}
?>
</tbody>
</table><!-- /.ew-table -->
<?php } ?>
</div><!-- /.ew-grid-middle-panel -->
<?php if (!$Page->CurrentAction) { ?>
<input type="hidden" name="action" id="action" value="">
<?php } ?>
</form><!-- /.ew-list-form -->
<?php
// Close recordset
if ($Page->Recordset) {
    $Page->Recordset->close();
}
?>
<?php if (!$Page->isExport()) { ?>
<div class="card-footer ew-grid-lower-panel">
<?php if (!$Page->isGridAdd()) { ?>
<form name="ew-pager-form" class="form-inline ew-form ew-pager-form" action="<?= CurrentPageUrl(false) ?>">
<?= $Page->Pager->render() ?>
</form>
<?php } ?>
<div class="ew-list-other-options">
<?php $Page->OtherOptions->render("body", "bottom") ?>
</div>
<div class="clearfix"></div>
</div>
<?php } ?>
</div><!-- /.ew-grid -->
<?php } ?>
<?php if ($Page->TotalRecords == 0 && !$Page->CurrentAction) { // Show other options ?>
<div class="ew-list-other-options">
<?php $Page->OtherOptions->render("body") ?>
</div>
<div class="clearfix"></div>
<?php } ?>
<?php
$Page->showPageFooter();
echo GetDebugMessage();
?>
<?php if (!$Page->isExport()) { ?>
<script>
// Field event handlers
loadjs.ready("head", function() {
    ew.addEventHandlers("nilai");
});
</script>
<script>
loadjs.ready("load", function () {
    // Write your table-specific startup script here, no need to add script tags.
});
</script>
<?php } ?>
