<?php
namespace PHPMaker2020\project2;

// Session
if (session_status() !== PHP_SESSION_ACTIVE)
	session_start(); // Init session data

// Output buffering
ob_start();

// Autoload
include_once "autoload.php";
?>
<?php

// Write header
WriteHeader(FALSE);

// Create page object
$kp_modulos_view = new kp_modulos_view();

// Run the page
$kp_modulos_view->run();

// Setup login status
SetupLoginStatus();
SetClientVar("login", LoginStatus());

// Global Page Rendering event (in userfn*.php)
Page_Rendering();

// Page Rendering event
$kp_modulos_view->Page_Render();
?>
<?php include_once "header.php"; ?>
<?php if (!$kp_modulos_view->isExport()) { ?>
<script>
var fkp_modulosview, currentPageID;
loadjs.ready("head", function() {

	// Form object
	currentPageID = ew.PAGE_ID = "view";
	fkp_modulosview = currentForm = new ew.Form("fkp_modulosview", "view");
	loadjs.done("fkp_modulosview");
});
</script>
<script>
loadjs.ready("head", function() {

	// Client script
	// Write your client script here, no need to add script tags.

});
</script>
<?php } ?>
<?php if (!$kp_modulos_view->isExport()) { ?>
<div class="btn-toolbar ew-toolbar">
<?php $kp_modulos_view->ExportOptions->render("body") ?>
<?php $kp_modulos_view->OtherOptions->render("body") ?>
<div class="clearfix"></div>
</div>
<?php } ?>
<?php $kp_modulos_view->showPageHeader(); ?>
<?php
$kp_modulos_view->showMessage();
?>
<form name="fkp_modulosview" id="fkp_modulosview" class="form-inline ew-form ew-view-form" action="<?php echo CurrentPageName() ?>" method="post">
<?php if ($Page->CheckToken) { ?>
<input type="hidden" name="<?php echo Config("TOKEN_NAME") ?>" value="<?php echo $Page->Token ?>">
<?php } ?>
<input type="hidden" name="t" value="kp_modulos">
<input type="hidden" name="modal" value="<?php echo (int)$kp_modulos_view->IsModal ?>">
<table class="table table-striped table-sm ew-view-table">
<?php if ($kp_modulos_view->idmodulo->Visible) { // idmodulo ?>
	<tr id="r_idmodulo">
		<td class="<?php echo $kp_modulos_view->TableLeftColumnClass ?>"><span id="elh_kp_modulos_idmodulo"><?php echo $kp_modulos_view->idmodulo->caption() ?></span></td>
		<td data-name="idmodulo" <?php echo $kp_modulos_view->idmodulo->cellAttributes() ?>>
<span id="el_kp_modulos_idmodulo">
<span<?php echo $kp_modulos_view->idmodulo->viewAttributes() ?>><?php echo $kp_modulos_view->idmodulo->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($kp_modulos_view->nommodulo->Visible) { // nommodulo ?>
	<tr id="r_nommodulo">
		<td class="<?php echo $kp_modulos_view->TableLeftColumnClass ?>"><span id="elh_kp_modulos_nommodulo"><?php echo $kp_modulos_view->nommodulo->caption() ?></span></td>
		<td data-name="nommodulo" <?php echo $kp_modulos_view->nommodulo->cellAttributes() ?>>
<span id="el_kp_modulos_nommodulo">
<span<?php echo $kp_modulos_view->nommodulo->viewAttributes() ?>><?php echo $kp_modulos_view->nommodulo->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($kp_modulos_view->modulo->Visible) { // modulo ?>
	<tr id="r_modulo">
		<td class="<?php echo $kp_modulos_view->TableLeftColumnClass ?>"><span id="elh_kp_modulos_modulo"><?php echo $kp_modulos_view->modulo->caption() ?></span></td>
		<td data-name="modulo" <?php echo $kp_modulos_view->modulo->cellAttributes() ?>>
<span id="el_kp_modulos_modulo">
<span<?php echo $kp_modulos_view->modulo->viewAttributes() ?>><?php echo $kp_modulos_view->modulo->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($kp_modulos_view->estado->Visible) { // estado ?>
	<tr id="r_estado">
		<td class="<?php echo $kp_modulos_view->TableLeftColumnClass ?>"><span id="elh_kp_modulos_estado"><?php echo $kp_modulos_view->estado->caption() ?></span></td>
		<td data-name="estado" <?php echo $kp_modulos_view->estado->cellAttributes() ?>>
<span id="el_kp_modulos_estado">
<span<?php echo $kp_modulos_view->estado->viewAttributes() ?>><?php echo $kp_modulos_view->estado->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($kp_modulos_view->idmodulog->Visible) { // idmodulog ?>
	<tr id="r_idmodulog">
		<td class="<?php echo $kp_modulos_view->TableLeftColumnClass ?>"><span id="elh_kp_modulos_idmodulog"><?php echo $kp_modulos_view->idmodulog->caption() ?></span></td>
		<td data-name="idmodulog" <?php echo $kp_modulos_view->idmodulog->cellAttributes() ?>>
<span id="el_kp_modulos_idmodulog">
<span<?php echo $kp_modulos_view->idmodulog->viewAttributes() ?>><?php echo $kp_modulos_view->idmodulog->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($kp_modulos_view->icon->Visible) { // icon ?>
	<tr id="r_icon">
		<td class="<?php echo $kp_modulos_view->TableLeftColumnClass ?>"><span id="elh_kp_modulos_icon"><?php echo $kp_modulos_view->icon->caption() ?></span></td>
		<td data-name="icon" <?php echo $kp_modulos_view->icon->cellAttributes() ?>>
<span id="el_kp_modulos_icon">
<span<?php echo $kp_modulos_view->icon->viewAttributes() ?>><?php echo $kp_modulos_view->icon->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
</table>
</form>
<?php
$kp_modulos_view->showPageFooter();
if (Config("DEBUG"))
	echo GetDebugMessage();
?>
<?php if (!$kp_modulos_view->isExport()) { ?>
<script>
loadjs.ready("load", function() {

	// Startup script
	// Write your table-specific startup script here
	// console.log("page loaded");

});
</script>
<?php } ?>
<?php include_once "footer.php"; ?>
<?php
$kp_modulos_view->terminate();
?>