<?php
namespace PHPMaker2019\project_germanos;

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

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

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

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

// Page Rendering event
$cityzenshipstatus_view->Page_Render();
?>
<?php include_once "header.php" ?>
<?php if (!$cityzenshipstatus->isExport()) { ?>
<script>

// Form object
currentPageID = ew.PAGE_ID = "view";
var fcityzenshipstatusview = currentForm = new ew.Form("fcityzenshipstatusview", "view");

// Form_CustomValidate event
fcityzenshipstatusview.Form_CustomValidate = function(fobj) { // DO NOT CHANGE THIS LINE!

	// Your custom validation code here, return false if invalid.
	return true;
}

// Use JavaScript validation or not
fcityzenshipstatusview.validateRequired = <?php echo json_encode(CLIENT_VALIDATE) ?>;

// Dynamic selection lists
// Form object for search

</script>
<script>

// Write your client script here, no need to add script tags.
</script>
<?php } ?>
<?php if (!$cityzenshipstatus->isExport()) { ?>
<div class="btn-toolbar ew-toolbar">
<?php $cityzenshipstatus_view->ExportOptions->render("body") ?>
<?php $cityzenshipstatus_view->OtherOptions->render("body") ?>
<div class="clearfix"></div>
</div>
<?php } ?>
<?php $cityzenshipstatus_view->showPageHeader(); ?>
<?php
$cityzenshipstatus_view->showMessage();
?>
<?php if (!$cityzenshipstatus_view->IsModal) { ?>
<?php if (!$cityzenshipstatus->isExport()) { ?>
<form name="ew-pager-form" class="form-inline ew-form ew-pager-form" action="<?php echo CurrentPageName() ?>">
<?php if (!isset($cityzenshipstatus_view->Pager)) $cityzenshipstatus_view->Pager = new PrevNextPager($cityzenshipstatus_view->StartRec, $cityzenshipstatus_view->DisplayRecs, $cityzenshipstatus_view->TotalRecs, $cityzenshipstatus_view->AutoHidePager) ?>
<?php if ($cityzenshipstatus_view->Pager->RecordCount > 0 && $cityzenshipstatus_view->Pager->Visible) { ?>
<div class="ew-pager">
<span><?php echo $Language->Phrase("Page") ?>&nbsp;</span>
<div class="ew-prev-next"><div class="input-group input-group-sm">
<div class="input-group-prepend">
<!-- first page button -->
	<?php if ($cityzenshipstatus_view->Pager->FirstButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerFirst") ?>" href="<?php echo $cityzenshipstatus_view->pageUrl() ?>start=<?php echo $cityzenshipstatus_view->Pager->FirstButton->Start ?>"><i class="icon-first ew-icon"></i></a>
	<?php } else { ?>
	<a class="btn btn-default disabled" title="<?php echo $Language->phrase("PagerFirst") ?>"><i class="icon-first ew-icon"></i></a>
	<?php } ?>
<!-- previous page button -->
	<?php if ($cityzenshipstatus_view->Pager->PrevButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerPrevious") ?>" href="<?php echo $cityzenshipstatus_view->pageUrl() ?>start=<?php echo $cityzenshipstatus_view->Pager->PrevButton->Start ?>"><i class="icon-prev ew-icon"></i></a>
	<?php } else { ?>
	<a class="btn btn-default disabled" title="<?php echo $Language->phrase("PagerPrevious") ?>"><i class="icon-prev ew-icon"></i></a>
	<?php } ?>
</div>
<!-- current page number -->
	<input class="form-control" type="text" name="<?php echo TABLE_PAGE_NO ?>" value="<?php echo $cityzenshipstatus_view->Pager->CurrentPage ?>">
<div class="input-group-append">
<!-- next page button -->
	<?php if ($cityzenshipstatus_view->Pager->NextButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerNext") ?>" href="<?php echo $cityzenshipstatus_view->pageUrl() ?>start=<?php echo $cityzenshipstatus_view->Pager->NextButton->Start ?>"><i class="icon-next ew-icon"></i></a>
	<?php } else { ?>
	<a class="btn btn-default disabled" title="<?php echo $Language->phrase("PagerNext") ?>"><i class="icon-next ew-icon"></i></a>
	<?php } ?>
<!-- last page button -->
	<?php if ($cityzenshipstatus_view->Pager->LastButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerLast") ?>" href="<?php echo $cityzenshipstatus_view->pageUrl() ?>start=<?php echo $cityzenshipstatus_view->Pager->LastButton->Start ?>"><i class="icon-last ew-icon"></i></a>
	<?php } else { ?>
	<a class="btn btn-default disabled" title="<?php echo $Language->phrase("PagerLast") ?>"><i class="icon-last ew-icon"></i></a>
	<?php } ?>
</div>
</div>
</div>
<span>&nbsp;<?php echo $Language->Phrase("of") ?>&nbsp;<?php echo $cityzenshipstatus_view->Pager->PageCount ?></span>
<div class="clearfix"></div>
</div>
<?php } ?>
<div class="clearfix"></div>
</form>
<?php } ?>
<?php } ?>
<form name="fcityzenshipstatusview" id="fcityzenshipstatusview" class="form-inline ew-form ew-view-form" action="<?php echo CurrentPageName() ?>" method="post">
<?php if ($cityzenshipstatus_view->CheckToken) { ?>
<input type="hidden" name="<?php echo TOKEN_NAME ?>" value="<?php echo $cityzenshipstatus_view->Token ?>">
<?php } ?>
<input type="hidden" name="t" value="cityzenshipstatus">
<input type="hidden" name="modal" value="<?php echo (int)$cityzenshipstatus_view->IsModal ?>">
<table class="table table-striped table-sm ew-view-table">
<?php if ($cityzenshipstatus->CityzenshipStatusID->Visible) { // CityzenshipStatusID ?>
	<tr id="r_CityzenshipStatusID">
		<td class="<?php echo $cityzenshipstatus_view->TableLeftColumnClass ?>"><span id="elh_cityzenshipstatus_CityzenshipStatusID"><?php echo $cityzenshipstatus->CityzenshipStatusID->caption() ?></span></td>
		<td data-name="CityzenshipStatusID"<?php echo $cityzenshipstatus->CityzenshipStatusID->cellAttributes() ?>>
<span id="el_cityzenshipstatus_CityzenshipStatusID">
<span<?php echo $cityzenshipstatus->CityzenshipStatusID->viewAttributes() ?>>
<?php echo $cityzenshipstatus->CityzenshipStatusID->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($cityzenshipstatus->CityzenshipStatus->Visible) { // CityzenshipStatus ?>
	<tr id="r_CityzenshipStatus">
		<td class="<?php echo $cityzenshipstatus_view->TableLeftColumnClass ?>"><span id="elh_cityzenshipstatus_CityzenshipStatus"><?php echo $cityzenshipstatus->CityzenshipStatus->caption() ?></span></td>
		<td data-name="CityzenshipStatus"<?php echo $cityzenshipstatus->CityzenshipStatus->cellAttributes() ?>>
<span id="el_cityzenshipstatus_CityzenshipStatus">
<span<?php echo $cityzenshipstatus->CityzenshipStatus->viewAttributes() ?>>
<?php echo $cityzenshipstatus->CityzenshipStatus->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($cityzenshipstatus->Notes->Visible) { // Notes ?>
	<tr id="r_Notes">
		<td class="<?php echo $cityzenshipstatus_view->TableLeftColumnClass ?>"><span id="elh_cityzenshipstatus_Notes"><?php echo $cityzenshipstatus->Notes->caption() ?></span></td>
		<td data-name="Notes"<?php echo $cityzenshipstatus->Notes->cellAttributes() ?>>
<span id="el_cityzenshipstatus_Notes">
<span<?php echo $cityzenshipstatus->Notes->viewAttributes() ?>>
<?php echo $cityzenshipstatus->Notes->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
</table>
<?php if (!$cityzenshipstatus_view->IsModal) { ?>
<?php if (!$cityzenshipstatus->isExport()) { ?>
<?php if (!isset($cityzenshipstatus_view->Pager)) $cityzenshipstatus_view->Pager = new PrevNextPager($cityzenshipstatus_view->StartRec, $cityzenshipstatus_view->DisplayRecs, $cityzenshipstatus_view->TotalRecs, $cityzenshipstatus_view->AutoHidePager) ?>
<?php if ($cityzenshipstatus_view->Pager->RecordCount > 0 && $cityzenshipstatus_view->Pager->Visible) { ?>
<div class="ew-pager">
<span><?php echo $Language->Phrase("Page") ?>&nbsp;</span>
<div class="ew-prev-next"><div class="input-group input-group-sm">
<div class="input-group-prepend">
<!-- first page button -->
	<?php if ($cityzenshipstatus_view->Pager->FirstButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerFirst") ?>" href="<?php echo $cityzenshipstatus_view->pageUrl() ?>start=<?php echo $cityzenshipstatus_view->Pager->FirstButton->Start ?>"><i class="icon-first ew-icon"></i></a>
	<?php } else { ?>
	<a class="btn btn-default disabled" title="<?php echo $Language->phrase("PagerFirst") ?>"><i class="icon-first ew-icon"></i></a>
	<?php } ?>
<!-- previous page button -->
	<?php if ($cityzenshipstatus_view->Pager->PrevButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerPrevious") ?>" href="<?php echo $cityzenshipstatus_view->pageUrl() ?>start=<?php echo $cityzenshipstatus_view->Pager->PrevButton->Start ?>"><i class="icon-prev ew-icon"></i></a>
	<?php } else { ?>
	<a class="btn btn-default disabled" title="<?php echo $Language->phrase("PagerPrevious") ?>"><i class="icon-prev ew-icon"></i></a>
	<?php } ?>
</div>
<!-- current page number -->
	<input class="form-control" type="text" name="<?php echo TABLE_PAGE_NO ?>" value="<?php echo $cityzenshipstatus_view->Pager->CurrentPage ?>">
<div class="input-group-append">
<!-- next page button -->
	<?php if ($cityzenshipstatus_view->Pager->NextButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerNext") ?>" href="<?php echo $cityzenshipstatus_view->pageUrl() ?>start=<?php echo $cityzenshipstatus_view->Pager->NextButton->Start ?>"><i class="icon-next ew-icon"></i></a>
	<?php } else { ?>
	<a class="btn btn-default disabled" title="<?php echo $Language->phrase("PagerNext") ?>"><i class="icon-next ew-icon"></i></a>
	<?php } ?>
<!-- last page button -->
	<?php if ($cityzenshipstatus_view->Pager->LastButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerLast") ?>" href="<?php echo $cityzenshipstatus_view->pageUrl() ?>start=<?php echo $cityzenshipstatus_view->Pager->LastButton->Start ?>"><i class="icon-last ew-icon"></i></a>
	<?php } else { ?>
	<a class="btn btn-default disabled" title="<?php echo $Language->phrase("PagerLast") ?>"><i class="icon-last ew-icon"></i></a>
	<?php } ?>
</div>
</div>
</div>
<span>&nbsp;<?php echo $Language->Phrase("of") ?>&nbsp;<?php echo $cityzenshipstatus_view->Pager->PageCount ?></span>
<div class="clearfix"></div>
</div>
<?php } ?>
<div class="clearfix"></div>
<?php } ?>
<?php } ?>
</form>
<?php
$cityzenshipstatus_view->showPageFooter();
if (DEBUG_ENABLED)
	echo GetDebugMessage();
?>
<?php if (!$cityzenshipstatus->isExport()) { ?>
<script>

// Write your table-specific startup script here
// document.write("page loaded");

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