<?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_ubigeos_dist_view = new kp_ubigeos_dist_view();

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

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

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

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

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

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

});
</script>
<?php } ?>
<?php if (!$kp_ubigeos_dist_view->isExport()) { ?>
<div class="btn-toolbar ew-toolbar">
<?php $kp_ubigeos_dist_view->ExportOptions->render("body") ?>
<?php $kp_ubigeos_dist_view->OtherOptions->render("body") ?>
<div class="clearfix"></div>
</div>
<?php } ?>
<?php $kp_ubigeos_dist_view->showPageHeader(); ?>
<?php
$kp_ubigeos_dist_view->showMessage();
?>
<form name="fkp_ubigeos_distview" id="fkp_ubigeos_distview" 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_ubigeos_dist">
<input type="hidden" name="modal" value="<?php echo (int)$kp_ubigeos_dist_view->IsModal ?>">
<table class="table table-striped table-sm ew-view-table">
<?php if ($kp_ubigeos_dist_view->id_reg->Visible) { // id_reg ?>
	<tr id="r_id_reg">
		<td class="<?php echo $kp_ubigeos_dist_view->TableLeftColumnClass ?>"><span id="elh_kp_ubigeos_dist_id_reg"><?php echo $kp_ubigeos_dist_view->id_reg->caption() ?></span></td>
		<td data-name="id_reg" <?php echo $kp_ubigeos_dist_view->id_reg->cellAttributes() ?>>
<span id="el_kp_ubigeos_dist_id_reg">
<span<?php echo $kp_ubigeos_dist_view->id_reg->viewAttributes() ?>><?php echo $kp_ubigeos_dist_view->id_reg->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($kp_ubigeos_dist_view->codubigeodpto->Visible) { // codubigeodpto ?>
	<tr id="r_codubigeodpto">
		<td class="<?php echo $kp_ubigeos_dist_view->TableLeftColumnClass ?>"><span id="elh_kp_ubigeos_dist_codubigeodpto"><?php echo $kp_ubigeos_dist_view->codubigeodpto->caption() ?></span></td>
		<td data-name="codubigeodpto" <?php echo $kp_ubigeos_dist_view->codubigeodpto->cellAttributes() ?>>
<span id="el_kp_ubigeos_dist_codubigeodpto">
<span<?php echo $kp_ubigeos_dist_view->codubigeodpto->viewAttributes() ?>><?php echo $kp_ubigeos_dist_view->codubigeodpto->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($kp_ubigeos_dist_view->codubigeoprov->Visible) { // codubigeoprov ?>
	<tr id="r_codubigeoprov">
		<td class="<?php echo $kp_ubigeos_dist_view->TableLeftColumnClass ?>"><span id="elh_kp_ubigeos_dist_codubigeoprov"><?php echo $kp_ubigeos_dist_view->codubigeoprov->caption() ?></span></td>
		<td data-name="codubigeoprov" <?php echo $kp_ubigeos_dist_view->codubigeoprov->cellAttributes() ?>>
<span id="el_kp_ubigeos_dist_codubigeoprov">
<span<?php echo $kp_ubigeos_dist_view->codubigeoprov->viewAttributes() ?>><?php echo $kp_ubigeos_dist_view->codubigeoprov->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($kp_ubigeos_dist_view->codubigeodist->Visible) { // codubigeodist ?>
	<tr id="r_codubigeodist">
		<td class="<?php echo $kp_ubigeos_dist_view->TableLeftColumnClass ?>"><span id="elh_kp_ubigeos_dist_codubigeodist"><?php echo $kp_ubigeos_dist_view->codubigeodist->caption() ?></span></td>
		<td data-name="codubigeodist" <?php echo $kp_ubigeos_dist_view->codubigeodist->cellAttributes() ?>>
<span id="el_kp_ubigeos_dist_codubigeodist">
<span<?php echo $kp_ubigeos_dist_view->codubigeodist->viewAttributes() ?>><?php echo $kp_ubigeos_dist_view->codubigeodist->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($kp_ubigeos_dist_view->nomdist->Visible) { // nomdist ?>
	<tr id="r_nomdist">
		<td class="<?php echo $kp_ubigeos_dist_view->TableLeftColumnClass ?>"><span id="elh_kp_ubigeos_dist_nomdist"><?php echo $kp_ubigeos_dist_view->nomdist->caption() ?></span></td>
		<td data-name="nomdist" <?php echo $kp_ubigeos_dist_view->nomdist->cellAttributes() ?>>
<span id="el_kp_ubigeos_dist_nomdist">
<span<?php echo $kp_ubigeos_dist_view->nomdist->viewAttributes() ?>><?php echo $kp_ubigeos_dist_view->nomdist->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
</table>
</form>
<?php
$kp_ubigeos_dist_view->showPageFooter();
if (Config("DEBUG"))
	echo GetDebugMessage();
?>
<?php if (!$kp_ubigeos_dist_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_ubigeos_dist_view->terminate();
?>