<?php
namespace PHPMaker2020\hostelmgr20;

// 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
$abscount_view = new abscount_view();

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

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

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

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

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

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

});
</script>
<?php } ?>
<?php if (!$abscount_view->isExport()) { ?>
<div class="btn-toolbar ew-toolbar">
<?php $abscount_view->ExportOptions->render("body") ?>
<?php $abscount_view->OtherOptions->render("body") ?>
<div class="clearfix"></div>
</div>
<?php } ?>
<?php $abscount_view->showPageHeader(); ?>
<?php
$abscount_view->showMessage();
?>
<form name="fabscountview" id="fabscountview" 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="abscount">
<input type="hidden" name="modal" value="<?php echo (int)$abscount_view->IsModal ?>">
<table class="table table-striped table-sm ew-view-table">
<?php if ($abscount_view->id->Visible) { // id ?>
	<tr id="r_id">
		<td class="<?php echo $abscount_view->TableLeftColumnClass ?>"><span id="elh_abscount_id"><?php echo $abscount_view->id->caption() ?></span></td>
		<td data-name="id" <?php echo $abscount_view->id->cellAttributes() ?>>
<span id="el_abscount_id">
<span<?php echo $abscount_view->id->viewAttributes() ?>><?php echo $abscount_view->id->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($abscount_view->Date->Visible) { // Date ?>
	<tr id="r_Date">
		<td class="<?php echo $abscount_view->TableLeftColumnClass ?>"><span id="elh_abscount_Date"><?php echo $abscount_view->Date->caption() ?></span></td>
		<td data-name="Date" <?php echo $abscount_view->Date->cellAttributes() ?>>
<span id="el_abscount_Date">
<span<?php echo $abscount_view->Date->viewAttributes() ?>><?php echo $abscount_view->Date->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($abscount_view->Hostel->Visible) { // Hostel ?>
	<tr id="r_Hostel">
		<td class="<?php echo $abscount_view->TableLeftColumnClass ?>"><span id="elh_abscount_Hostel"><?php echo $abscount_view->Hostel->caption() ?></span></td>
		<td data-name="Hostel" <?php echo $abscount_view->Hostel->cellAttributes() ?>>
<span id="el_abscount_Hostel">
<span<?php echo $abscount_view->Hostel->viewAttributes() ?>><?php echo $abscount_view->Hostel->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($abscount_view->Floor->Visible) { // Floor ?>
	<tr id="r_Floor">
		<td class="<?php echo $abscount_view->TableLeftColumnClass ?>"><span id="elh_abscount_Floor"><?php echo $abscount_view->Floor->caption() ?></span></td>
		<td data-name="Floor" <?php echo $abscount_view->Floor->cellAttributes() ?>>
<span id="el_abscount_Floor">
<span<?php echo $abscount_view->Floor->viewAttributes() ?>><?php echo $abscount_view->Floor->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($abscount_view->_RS->Visible) { // RS ?>
	<tr id="r__RS">
		<td class="<?php echo $abscount_view->TableLeftColumnClass ?>"><span id="elh_abscount__RS"><?php echo $abscount_view->_RS->caption() ?></span></td>
		<td data-name="_RS" <?php echo $abscount_view->_RS->cellAttributes() ?>>
<span id="el_abscount__RS">
<span<?php echo $abscount_view->_RS->viewAttributes() ?>><?php echo $abscount_view->_RS->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($abscount_view->Absent->Visible) { // Absent ?>
	<tr id="r_Absent">
		<td class="<?php echo $abscount_view->TableLeftColumnClass ?>"><span id="elh_abscount_Absent"><?php echo $abscount_view->Absent->caption() ?></span></td>
		<td data-name="Absent" <?php echo $abscount_view->Absent->cellAttributes() ?>>
<span id="el_abscount_Absent">
<span<?php echo $abscount_view->Absent->viewAttributes() ?>><?php echo $abscount_view->Absent->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($abscount_view->Postedby->Visible) { // Postedby ?>
	<tr id="r_Postedby">
		<td class="<?php echo $abscount_view->TableLeftColumnClass ?>"><span id="elh_abscount_Postedby"><?php echo $abscount_view->Postedby->caption() ?></span></td>
		<td data-name="Postedby" <?php echo $abscount_view->Postedby->cellAttributes() ?>>
<span id="el_abscount_Postedby">
<span<?php echo $abscount_view->Postedby->viewAttributes() ?>><?php echo $abscount_view->Postedby->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($abscount_view->Updated_Date->Visible) { // Updated_Date ?>
	<tr id="r_Updated_Date">
		<td class="<?php echo $abscount_view->TableLeftColumnClass ?>"><span id="elh_abscount_Updated_Date"><?php echo $abscount_view->Updated_Date->caption() ?></span></td>
		<td data-name="Updated_Date" <?php echo $abscount_view->Updated_Date->cellAttributes() ?>>
<span id="el_abscount_Updated_Date">
<span<?php echo $abscount_view->Updated_Date->viewAttributes() ?>><?php echo $abscount_view->Updated_Date->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
</table>
</form>
<?php
$abscount_view->showPageFooter();
if (Config("DEBUG"))
	echo GetDebugMessage();
?>
<?php if (!$abscount_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
$abscount_view->terminate();
?>