<?php

namespace PHPMaker2021\rdigital21;

// Page object
$DimensiView = &$Page;
?>
<?php if (!$Page->isExport()) { ?>
<script>
var currentForm, currentPageID;
var fdimensiview;
loadjs.ready("head", function () {
    var $ = jQuery;
    // Form object
    currentPageID = ew.PAGE_ID = "view";
    fdimensiview = currentForm = new ew.Form("fdimensiview", "view");
    loadjs.done("fdimensiview");
});
</script>
<script>
loadjs.ready("head", function () {
    // Write your table-specific client script here, no need to add script tags.
});
</script>
<?php } ?>
<script>
if (!ew.vars.tables.dimensi) ew.vars.tables.dimensi = <?= JsonEncode(GetClientVar("tables", "dimensi")) ?>;
</script>
<?php if (!$Page->isExport()) { ?>
<div class="btn-toolbar ew-toolbar">
<?php $Page->ExportOptions->render("body") ?>
<?php $Page->OtherOptions->render("body") ?>
<div class="clearfix"></div>
</div>
<?php } ?>
<?php $Page->showPageHeader(); ?>
<?php
$Page->showMessage();
?>
<form name="fdimensiview" id="fdimensiview" class="form-inline ew-form ew-view-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="dimensi">
<input type="hidden" name="modal" value="<?= (int)$Page->IsModal ?>">
<table class="table table-borderless table-hover table-sm ew-view-table">
<?php if ($Page->dimensi->Visible) { // dimensi ?>
    <tr id="r_dimensi">
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_dimensi_dimensi"><?= $Page->dimensi->caption() ?></span></td>
        <td data-name="dimensi" <?= $Page->dimensi->cellAttributes() ?>>
<span id="el_dimensi_dimensi">
<span<?= $Page->dimensi->viewAttributes() ?>>
<?= $Page->dimensi->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->elemen->Visible) { // elemen ?>
    <tr id="r_elemen">
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_dimensi_elemen"><?= $Page->elemen->caption() ?></span></td>
        <td data-name="elemen" <?= $Page->elemen->cellAttributes() ?>>
<span id="el_dimensi_elemen">
<span<?= $Page->elemen->viewAttributes() ?>>
<?= $Page->elemen->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->sub_elemen->Visible) { // sub_elemen ?>
    <tr id="r_sub_elemen">
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_dimensi_sub_elemen"><?= $Page->sub_elemen->caption() ?></span></td>
        <td data-name="sub_elemen" <?= $Page->sub_elemen->cellAttributes() ?>>
<span id="el_dimensi_sub_elemen">
<span<?= $Page->sub_elemen->viewAttributes() ?>>
<?= $Page->sub_elemen->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->fase_capaian_d->Visible) { // fase_capaian_d ?>
    <tr id="r_fase_capaian_d">
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_dimensi_fase_capaian_d"><?= $Page->fase_capaian_d->caption() ?></span></td>
        <td data-name="fase_capaian_d" <?= $Page->fase_capaian_d->cellAttributes() ?>>
<span id="el_dimensi_fase_capaian_d">
<span<?= $Page->fase_capaian_d->viewAttributes() ?>>
<?= $Page->fase_capaian_d->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
</table>
</form>
<?php
$Page->showPageFooter();
echo GetDebugMessage();
?>
<?php if (!$Page->isExport()) { ?>
<script>
loadjs.ready("load", function () {
    // Write your table-specific startup script here, no need to add script tags.
});
</script>
<?php } ?>
