<?php

namespace PHPMaker2021\rdigital21;

// Page object
$TemaView = &$Page;
?>
<?php if (!$Page->isExport()) { ?>
<script>
var currentForm, currentPageID;
var ftemaview;
loadjs.ready("head", function () {
    var $ = jQuery;
    // Form object
    currentPageID = ew.PAGE_ID = "view";
    ftemaview = currentForm = new ew.Form("ftemaview", "view");
    loadjs.done("ftemaview");
});
</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.tema) ew.vars.tables.tema = <?= JsonEncode(GetClientVar("tables", "tema")) ?>;
</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="ftemaview" id="ftemaview" 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="tema">
<input type="hidden" name="modal" value="<?= (int)$Page->IsModal ?>">
<table class="table table-borderless table-hover table-sm ew-view-table">
<?php if ($Page->tema->Visible) { // tema ?>
    <tr id="r_tema">
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_tema_tema"><?= $Page->tema->caption() ?></span></td>
        <td data-name="tema" <?= $Page->tema->cellAttributes() ?>>
<span id="el_tema_tema">
<span<?= $Page->tema->viewAttributes() ?>>
<?= $Page->tema->getViewValue() ?></span>
</span>
</td>
    </tr>
<?php } ?>
<?php if ($Page->dimensi->Visible) { // dimensi ?>
    <tr id="r_dimensi">
        <td class="<?= $Page->TableLeftColumnClass ?>"><span id="elh_tema_dimensi"><?= $Page->dimensi->caption() ?></span></td>
        <td data-name="dimensi" <?= $Page->dimensi->cellAttributes() ?>>
<span id="el_tema_dimensi">
<span<?= $Page->dimensi->viewAttributes() ?>>
<?= $Page->dimensi->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 } ?>
