<?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_grupos_delete = new kp_modulos_grupos_delete();

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

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

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

// Page Rendering event
$kp_modulos_grupos_delete->Page_Render();
?>
<?php include_once "header.php"; ?>
<script>
var fkp_modulos_gruposdelete, currentPageID;
loadjs.ready("head", function() {

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

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

});
</script>
<?php $kp_modulos_grupos_delete->showPageHeader(); ?>
<?php
$kp_modulos_grupos_delete->showMessage();
?>
<form name="fkp_modulos_gruposdelete" id="fkp_modulos_gruposdelete" class="form-inline ew-form ew-delete-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_grupos">
<input type="hidden" name="action" id="action" value="delete">
<?php foreach ($kp_modulos_grupos_delete->RecKeys as $key) { ?>
<?php $keyvalue = is_array($key) ? implode(Config("COMPOSITE_KEY_SEPARATOR"), $key) : $key; ?>
<input type="hidden" name="key_m[]" value="<?php echo HtmlEncode($keyvalue) ?>">
<?php } ?>
<div class="card ew-card ew-grid">
<div class="<?php echo ResponsiveTableClass() ?>card-body ew-grid-middle-panel">
<table class="table ew-table">
	<thead>
	<tr class="ew-table-header">
<?php if ($kp_modulos_grupos_delete->idmodulog->Visible) { // idmodulog ?>
		<th class="<?php echo $kp_modulos_grupos_delete->idmodulog->headerCellClass() ?>"><span id="elh_kp_modulos_grupos_idmodulog" class="kp_modulos_grupos_idmodulog"><?php echo $kp_modulos_grupos_delete->idmodulog->caption() ?></span></th>
<?php } ?>
<?php if ($kp_modulos_grupos_delete->nommodulog->Visible) { // nommodulog ?>
		<th class="<?php echo $kp_modulos_grupos_delete->nommodulog->headerCellClass() ?>"><span id="elh_kp_modulos_grupos_nommodulog" class="kp_modulos_grupos_nommodulog"><?php echo $kp_modulos_grupos_delete->nommodulog->caption() ?></span></th>
<?php } ?>
<?php if ($kp_modulos_grupos_delete->estado->Visible) { // estado ?>
		<th class="<?php echo $kp_modulos_grupos_delete->estado->headerCellClass() ?>"><span id="elh_kp_modulos_grupos_estado" class="kp_modulos_grupos_estado"><?php echo $kp_modulos_grupos_delete->estado->caption() ?></span></th>
<?php } ?>
<?php if ($kp_modulos_grupos_delete->ordenar->Visible) { // ordenar ?>
		<th class="<?php echo $kp_modulos_grupos_delete->ordenar->headerCellClass() ?>"><span id="elh_kp_modulos_grupos_ordenar" class="kp_modulos_grupos_ordenar"><?php echo $kp_modulos_grupos_delete->ordenar->caption() ?></span></th>
<?php } ?>
<?php if ($kp_modulos_grupos_delete->icon->Visible) { // icon ?>
		<th class="<?php echo $kp_modulos_grupos_delete->icon->headerCellClass() ?>"><span id="elh_kp_modulos_grupos_icon" class="kp_modulos_grupos_icon"><?php echo $kp_modulos_grupos_delete->icon->caption() ?></span></th>
<?php } ?>
	</tr>
	</thead>
	<tbody>
<?php
$kp_modulos_grupos_delete->RecordCount = 0;
$i = 0;
while (!$kp_modulos_grupos_delete->Recordset->EOF) {
	$kp_modulos_grupos_delete->RecordCount++;
	$kp_modulos_grupos_delete->RowCount++;

	// Set row properties
	$kp_modulos_grupos->resetAttributes();
	$kp_modulos_grupos->RowType = ROWTYPE_VIEW; // View

	// Get the field contents
	$kp_modulos_grupos_delete->loadRowValues($kp_modulos_grupos_delete->Recordset);

	// Render row
	$kp_modulos_grupos_delete->renderRow();
?>
	<tr <?php echo $kp_modulos_grupos->rowAttributes() ?>>
<?php if ($kp_modulos_grupos_delete->idmodulog->Visible) { // idmodulog ?>
		<td <?php echo $kp_modulos_grupos_delete->idmodulog->cellAttributes() ?>>
<span id="el<?php echo $kp_modulos_grupos_delete->RowCount ?>_kp_modulos_grupos_idmodulog" class="kp_modulos_grupos_idmodulog">
<span<?php echo $kp_modulos_grupos_delete->idmodulog->viewAttributes() ?>><?php echo $kp_modulos_grupos_delete->idmodulog->getViewValue() ?></span>
</span>
</td>
<?php } ?>
<?php if ($kp_modulos_grupos_delete->nommodulog->Visible) { // nommodulog ?>
		<td <?php echo $kp_modulos_grupos_delete->nommodulog->cellAttributes() ?>>
<span id="el<?php echo $kp_modulos_grupos_delete->RowCount ?>_kp_modulos_grupos_nommodulog" class="kp_modulos_grupos_nommodulog">
<span<?php echo $kp_modulos_grupos_delete->nommodulog->viewAttributes() ?>><?php echo $kp_modulos_grupos_delete->nommodulog->getViewValue() ?></span>
</span>
</td>
<?php } ?>
<?php if ($kp_modulos_grupos_delete->estado->Visible) { // estado ?>
		<td <?php echo $kp_modulos_grupos_delete->estado->cellAttributes() ?>>
<span id="el<?php echo $kp_modulos_grupos_delete->RowCount ?>_kp_modulos_grupos_estado" class="kp_modulos_grupos_estado">
<span<?php echo $kp_modulos_grupos_delete->estado->viewAttributes() ?>><?php echo $kp_modulos_grupos_delete->estado->getViewValue() ?></span>
</span>
</td>
<?php } ?>
<?php if ($kp_modulos_grupos_delete->ordenar->Visible) { // ordenar ?>
		<td <?php echo $kp_modulos_grupos_delete->ordenar->cellAttributes() ?>>
<span id="el<?php echo $kp_modulos_grupos_delete->RowCount ?>_kp_modulos_grupos_ordenar" class="kp_modulos_grupos_ordenar">
<span<?php echo $kp_modulos_grupos_delete->ordenar->viewAttributes() ?>><?php echo $kp_modulos_grupos_delete->ordenar->getViewValue() ?></span>
</span>
</td>
<?php } ?>
<?php if ($kp_modulos_grupos_delete->icon->Visible) { // icon ?>
		<td <?php echo $kp_modulos_grupos_delete->icon->cellAttributes() ?>>
<span id="el<?php echo $kp_modulos_grupos_delete->RowCount ?>_kp_modulos_grupos_icon" class="kp_modulos_grupos_icon">
<span<?php echo $kp_modulos_grupos_delete->icon->viewAttributes() ?>><?php echo $kp_modulos_grupos_delete->icon->getViewValue() ?></span>
</span>
</td>
<?php } ?>
	</tr>
<?php
	$kp_modulos_grupos_delete->Recordset->moveNext();
}
$kp_modulos_grupos_delete->Recordset->close();
?>
</tbody>
</table>
</div>
</div>
<div>
<button class="btn btn-primary ew-btn" name="btn-action" id="btn-action" type="submit"><?php echo $Language->phrase("DeleteBtn") ?></button>
<button class="btn btn-default ew-btn" name="btn-cancel" id="btn-cancel" type="button" data-href="<?php echo $kp_modulos_grupos_delete->getReturnUrl() ?>"><?php echo $Language->phrase("CancelBtn") ?></button>
</div>
</form>
<?php
$kp_modulos_grupos_delete->showPageFooter();
if (Config("DEBUG"))
	echo GetDebugMessage();
?>
<script>
loadjs.ready("load", function() {

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

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