<?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
$activity_view = new activity_view();

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

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

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

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

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

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

});
</script>
<?php } ?>
<?php if (!$activity_view->isExport()) { ?>
<div class="btn-toolbar ew-toolbar">
<?php $activity_view->ExportOptions->render("body") ?>
<?php $activity_view->OtherOptions->render("body") ?>
<div class="clearfix"></div>
</div>
<?php } ?>
<?php $activity_view->showPageHeader(); ?>
<?php
$activity_view->showMessage();
?>
<form name="factivityview" id="factivityview" 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="activity">
<input type="hidden" name="modal" value="<?php echo (int)$activity_view->IsModal ?>">
<table class="table table-striped table-sm ew-view-table">
<?php if ($activity_view->id->Visible) { // id ?>
	<tr id="r_id">
		<td class="<?php echo $activity_view->TableLeftColumnClass ?>"><span id="elh_activity_id"><?php echo $activity_view->id->caption() ?></span></td>
		<td data-name="id" <?php echo $activity_view->id->cellAttributes() ?>>
<span id="el_activity_id">
<span<?php echo $activity_view->id->viewAttributes() ?>><?php echo $activity_view->id->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($activity_view->HotelID->Visible) { // HotelID ?>
	<tr id="r_HotelID">
		<td class="<?php echo $activity_view->TableLeftColumnClass ?>"><span id="elh_activity_HotelID"><?php echo $activity_view->HotelID->caption() ?></span></td>
		<td data-name="HotelID" <?php echo $activity_view->HotelID->cellAttributes() ?>>
<span id="el_activity_HotelID">
<span<?php echo $activity_view->HotelID->viewAttributes() ?>><?php echo $activity_view->HotelID->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($activity_view->RollNo->Visible) { // RollNo ?>
	<tr id="r_RollNo">
		<td class="<?php echo $activity_view->TableLeftColumnClass ?>"><span id="elh_activity_RollNo"><?php echo $activity_view->RollNo->caption() ?></span></td>
		<td data-name="RollNo" <?php echo $activity_view->RollNo->cellAttributes() ?>>
<span id="el_activity_RollNo">
<span<?php echo $activity_view->RollNo->viewAttributes() ?>><?php echo $activity_view->RollNo->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($activity_view->Name->Visible) { // Name ?>
	<tr id="r_Name">
		<td class="<?php echo $activity_view->TableLeftColumnClass ?>"><span id="elh_activity_Name"><?php echo $activity_view->Name->caption() ?></span></td>
		<td data-name="Name" <?php echo $activity_view->Name->cellAttributes() ?>>
<span id="el_activity_Name">
<span<?php echo $activity_view->Name->viewAttributes() ?>><?php echo $activity_view->Name->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($activity_view->Hostel->Visible) { // Hostel ?>
	<tr id="r_Hostel">
		<td class="<?php echo $activity_view->TableLeftColumnClass ?>"><span id="elh_activity_Hostel"><?php echo $activity_view->Hostel->caption() ?></span></td>
		<td data-name="Hostel" <?php echo $activity_view->Hostel->cellAttributes() ?>>
<span id="el_activity_Hostel">
<span<?php echo $activity_view->Hostel->viewAttributes() ?>><?php echo $activity_view->Hostel->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($activity_view->Floor->Visible) { // Floor ?>
	<tr id="r_Floor">
		<td class="<?php echo $activity_view->TableLeftColumnClass ?>"><span id="elh_activity_Floor"><?php echo $activity_view->Floor->caption() ?></span></td>
		<td data-name="Floor" <?php echo $activity_view->Floor->cellAttributes() ?>>
<span id="el_activity_Floor">
<span<?php echo $activity_view->Floor->viewAttributes() ?>><?php echo $activity_view->Floor->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($activity_view->Room_No->Visible) { // Room_No ?>
	<tr id="r_Room_No">
		<td class="<?php echo $activity_view->TableLeftColumnClass ?>"><span id="elh_activity_Room_No"><?php echo $activity_view->Room_No->caption() ?></span></td>
		<td data-name="Room_No" <?php echo $activity_view->Room_No->cellAttributes() ?>>
<span id="el_activity_Room_No">
<span<?php echo $activity_view->Room_No->viewAttributes() ?>><?php echo $activity_view->Room_No->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($activity_view->Health_issue->Visible) { // Health_issue ?>
	<tr id="r_Health_issue">
		<td class="<?php echo $activity_view->TableLeftColumnClass ?>"><span id="elh_activity_Health_issue"><?php echo $activity_view->Health_issue->caption() ?></span></td>
		<td data-name="Health_issue" <?php echo $activity_view->Health_issue->cellAttributes() ?>>
<span id="el_activity_Health_issue">
<span<?php echo $activity_view->Health_issue->viewAttributes() ?>><?php echo $activity_view->Health_issue->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($activity_view->Indiscipline_activity->Visible) { // Indiscipline_activity ?>
	<tr id="r_Indiscipline_activity">
		<td class="<?php echo $activity_view->TableLeftColumnClass ?>"><span id="elh_activity_Indiscipline_activity"><?php echo $activity_view->Indiscipline_activity->caption() ?></span></td>
		<td data-name="Indiscipline_activity" <?php echo $activity_view->Indiscipline_activity->cellAttributes() ?>>
<span id="el_activity_Indiscipline_activity">
<span<?php echo $activity_view->Indiscipline_activity->viewAttributes() ?>><?php echo $activity_view->Indiscipline_activity->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($activity_view->Involvement->Visible) { // Involvement ?>
	<tr id="r_Involvement">
		<td class="<?php echo $activity_view->TableLeftColumnClass ?>"><span id="elh_activity_Involvement"><?php echo $activity_view->Involvement->caption() ?></span></td>
		<td data-name="Involvement" <?php echo $activity_view->Involvement->cellAttributes() ?>>
<span id="el_activity_Involvement">
<span<?php echo $activity_view->Involvement->viewAttributes() ?>><?php echo $activity_view->Involvement->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($activity_view->Remarks->Visible) { // Remarks ?>
	<tr id="r_Remarks">
		<td class="<?php echo $activity_view->TableLeftColumnClass ?>"><span id="elh_activity_Remarks"><?php echo $activity_view->Remarks->caption() ?></span></td>
		<td data-name="Remarks" <?php echo $activity_view->Remarks->cellAttributes() ?>>
<span id="el_activity_Remarks">
<span<?php echo $activity_view->Remarks->viewAttributes() ?>><?php echo $activity_view->Remarks->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($activity_view->Others->Visible) { // Others ?>
	<tr id="r_Others">
		<td class="<?php echo $activity_view->TableLeftColumnClass ?>"><span id="elh_activity_Others"><?php echo $activity_view->Others->caption() ?></span></td>
		<td data-name="Others" <?php echo $activity_view->Others->cellAttributes() ?>>
<span id="el_activity_Others">
<span<?php echo $activity_view->Others->viewAttributes() ?>><?php echo $activity_view->Others->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($activity_view->Updatedby->Visible) { // Updatedby ?>
	<tr id="r_Updatedby">
		<td class="<?php echo $activity_view->TableLeftColumnClass ?>"><span id="elh_activity_Updatedby"><?php echo $activity_view->Updatedby->caption() ?></span></td>
		<td data-name="Updatedby" <?php echo $activity_view->Updatedby->cellAttributes() ?>>
<span id="el_activity_Updatedby">
<span<?php echo $activity_view->Updatedby->viewAttributes() ?>><?php echo $activity_view->Updatedby->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($activity_view->Updated_Date->Visible) { // Updated_Date ?>
	<tr id="r_Updated_Date">
		<td class="<?php echo $activity_view->TableLeftColumnClass ?>"><span id="elh_activity_Updated_Date"><?php echo $activity_view->Updated_Date->caption() ?></span></td>
		<td data-name="Updated_Date" <?php echo $activity_view->Updated_Date->cellAttributes() ?>>
<span id="el_activity_Updated_Date">
<span<?php echo $activity_view->Updated_Date->viewAttributes() ?>><?php echo $activity_view->Updated_Date->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
</table>
</form>
<?php
$activity_view->showPageFooter();
if (Config("DEBUG"))
	echo GetDebugMessage();
?>
<?php if (!$activity_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
$activity_view->terminate();
?>