<?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_categorias_articulos_view = new kp_categorias_articulos_view();

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

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

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

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

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

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

});
</script>
<?php } ?>
<?php if (!$kp_categorias_articulos_view->isExport()) { ?>
<div class="btn-toolbar ew-toolbar">
<?php $kp_categorias_articulos_view->ExportOptions->render("body") ?>
<?php $kp_categorias_articulos_view->OtherOptions->render("body") ?>
<div class="clearfix"></div>
</div>
<?php } ?>
<?php $kp_categorias_articulos_view->showPageHeader(); ?>
<?php
$kp_categorias_articulos_view->showMessage();
?>
<form name="fkp_categorias_articulosview" id="fkp_categorias_articulosview" 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_categorias_articulos">
<input type="hidden" name="modal" value="<?php echo (int)$kp_categorias_articulos_view->IsModal ?>">
<table class="table table-striped table-sm ew-view-table">
<?php if ($kp_categorias_articulos_view->id_reg->Visible) { // id_reg ?>
	<tr id="r_id_reg">
		<td class="<?php echo $kp_categorias_articulos_view->TableLeftColumnClass ?>"><span id="elh_kp_categorias_articulos_id_reg"><?php echo $kp_categorias_articulos_view->id_reg->caption() ?></span></td>
		<td data-name="id_reg" <?php echo $kp_categorias_articulos_view->id_reg->cellAttributes() ?>>
<span id="el_kp_categorias_articulos_id_reg">
<span<?php echo $kp_categorias_articulos_view->id_reg->viewAttributes() ?>><?php echo $kp_categorias_articulos_view->id_reg->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($kp_categorias_articulos_view->idempresa->Visible) { // idempresa ?>
	<tr id="r_idempresa">
		<td class="<?php echo $kp_categorias_articulos_view->TableLeftColumnClass ?>"><span id="elh_kp_categorias_articulos_idempresa"><?php echo $kp_categorias_articulos_view->idempresa->caption() ?></span></td>
		<td data-name="idempresa" <?php echo $kp_categorias_articulos_view->idempresa->cellAttributes() ?>>
<span id="el_kp_categorias_articulos_idempresa">
<span<?php echo $kp_categorias_articulos_view->idempresa->viewAttributes() ?>><?php echo $kp_categorias_articulos_view->idempresa->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($kp_categorias_articulos_view->idcategoriaemp->Visible) { // idcategoriaemp ?>
	<tr id="r_idcategoriaemp">
		<td class="<?php echo $kp_categorias_articulos_view->TableLeftColumnClass ?>"><span id="elh_kp_categorias_articulos_idcategoriaemp"><?php echo $kp_categorias_articulos_view->idcategoriaemp->caption() ?></span></td>
		<td data-name="idcategoriaemp" <?php echo $kp_categorias_articulos_view->idcategoriaemp->cellAttributes() ?>>
<span id="el_kp_categorias_articulos_idcategoriaemp">
<span<?php echo $kp_categorias_articulos_view->idcategoriaemp->viewAttributes() ?>><?php echo $kp_categorias_articulos_view->idcategoriaemp->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($kp_categorias_articulos_view->nomcategoria->Visible) { // nomcategoria ?>
	<tr id="r_nomcategoria">
		<td class="<?php echo $kp_categorias_articulos_view->TableLeftColumnClass ?>"><span id="elh_kp_categorias_articulos_nomcategoria"><?php echo $kp_categorias_articulos_view->nomcategoria->caption() ?></span></td>
		<td data-name="nomcategoria" <?php echo $kp_categorias_articulos_view->nomcategoria->cellAttributes() ?>>
<span id="el_kp_categorias_articulos_nomcategoria">
<span<?php echo $kp_categorias_articulos_view->nomcategoria->viewAttributes() ?>><?php echo $kp_categorias_articulos_view->nomcategoria->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($kp_categorias_articulos_view->fecha_reg->Visible) { // fecha_reg ?>
	<tr id="r_fecha_reg">
		<td class="<?php echo $kp_categorias_articulos_view->TableLeftColumnClass ?>"><span id="elh_kp_categorias_articulos_fecha_reg"><?php echo $kp_categorias_articulos_view->fecha_reg->caption() ?></span></td>
		<td data-name="fecha_reg" <?php echo $kp_categorias_articulos_view->fecha_reg->cellAttributes() ?>>
<span id="el_kp_categorias_articulos_fecha_reg">
<span<?php echo $kp_categorias_articulos_view->fecha_reg->viewAttributes() ?>><?php echo $kp_categorias_articulos_view->fecha_reg->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
</table>
</form>
<?php
$kp_categorias_articulos_view->showPageFooter();
if (Config("DEBUG"))
	echo GetDebugMessage();
?>
<?php if (!$kp_categorias_articulos_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_categorias_articulos_view->terminate();
?>