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

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

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

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

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

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

// Form_CustomValidate event
fpartiesstatusview.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
fpartiesstatusview.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 (!$partiesstatus->isExport()) { ?>
<div class="btn-toolbar ew-toolbar">
<?php $partiesstatus_view->ExportOptions->render("body") ?>
<?php $partiesstatus_view->OtherOptions->render("body") ?>
<div class="clearfix"></div>
</div>
<?php } ?>
<?php $partiesstatus_view->showPageHeader(); ?>
<?php
$partiesstatus_view->showMessage();
?>
<?php if (!$partiesstatus_view->IsModal) { ?>
<?php if (!$partiesstatus->isExport()) { ?>
<form name="ew-pager-form" class="form-inline ew-form ew-pager-form" action="<?php echo CurrentPageName() ?>">
<?php if (!isset($partiesstatus_view->Pager)) $partiesstatus_view->Pager = new PrevNextPager($partiesstatus_view->StartRec, $partiesstatus_view->DisplayRecs, $partiesstatus_view->TotalRecs, $partiesstatus_view->AutoHidePager) ?>
<?php if ($partiesstatus_view->Pager->RecordCount > 0 && $partiesstatus_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 ($partiesstatus_view->Pager->FirstButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerFirst") ?>" href="<?php echo $partiesstatus_view->pageUrl() ?>start=<?php echo $partiesstatus_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 ($partiesstatus_view->Pager->PrevButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerPrevious") ?>" href="<?php echo $partiesstatus_view->pageUrl() ?>start=<?php echo $partiesstatus_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 $partiesstatus_view->Pager->CurrentPage ?>">
<div class="input-group-append">
<!-- next page button -->
	<?php if ($partiesstatus_view->Pager->NextButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerNext") ?>" href="<?php echo $partiesstatus_view->pageUrl() ?>start=<?php echo $partiesstatus_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 ($partiesstatus_view->Pager->LastButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerLast") ?>" href="<?php echo $partiesstatus_view->pageUrl() ?>start=<?php echo $partiesstatus_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 $partiesstatus_view->Pager->PageCount ?></span>
<div class="clearfix"></div>
</div>
<?php } ?>
<div class="clearfix"></div>
</form>
<?php } ?>
<?php } ?>
<form name="fpartiesstatusview" id="fpartiesstatusview" class="form-inline ew-form ew-view-form" action="<?php echo CurrentPageName() ?>" method="post">
<?php if ($partiesstatus_view->CheckToken) { ?>
<input type="hidden" name="<?php echo TOKEN_NAME ?>" value="<?php echo $partiesstatus_view->Token ?>">
<?php } ?>
<input type="hidden" name="t" value="partiesstatus">
<input type="hidden" name="modal" value="<?php echo (int)$partiesstatus_view->IsModal ?>">
<table class="table table-striped table-sm ew-view-table">
<?php if ($partiesstatus->PartiesStatusID->Visible) { // PartiesStatusID ?>
	<tr id="r_PartiesStatusID">
		<td class="<?php echo $partiesstatus_view->TableLeftColumnClass ?>"><span id="elh_partiesstatus_PartiesStatusID"><?php echo $partiesstatus->PartiesStatusID->caption() ?></span></td>
		<td data-name="PartiesStatusID"<?php echo $partiesstatus->PartiesStatusID->cellAttributes() ?>>
<span id="el_partiesstatus_PartiesStatusID">
<span<?php echo $partiesstatus->PartiesStatusID->viewAttributes() ?>>
<?php echo $partiesstatus->PartiesStatusID->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($partiesstatus->PartiesStatus->Visible) { // PartiesStatus ?>
	<tr id="r_PartiesStatus">
		<td class="<?php echo $partiesstatus_view->TableLeftColumnClass ?>"><span id="elh_partiesstatus_PartiesStatus"><?php echo $partiesstatus->PartiesStatus->caption() ?></span></td>
		<td data-name="PartiesStatus"<?php echo $partiesstatus->PartiesStatus->cellAttributes() ?>>
<span id="el_partiesstatus_PartiesStatus">
<span<?php echo $partiesstatus->PartiesStatus->viewAttributes() ?>>
<?php echo $partiesstatus->PartiesStatus->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($partiesstatus->PartiesStatusEn->Visible) { // PartiesStatusEn ?>
	<tr id="r_PartiesStatusEn">
		<td class="<?php echo $partiesstatus_view->TableLeftColumnClass ?>"><span id="elh_partiesstatus_PartiesStatusEn"><?php echo $partiesstatus->PartiesStatusEn->caption() ?></span></td>
		<td data-name="PartiesStatusEn"<?php echo $partiesstatus->PartiesStatusEn->cellAttributes() ?>>
<span id="el_partiesstatus_PartiesStatusEn">
<span<?php echo $partiesstatus->PartiesStatusEn->viewAttributes() ?>>
<?php echo $partiesstatus->PartiesStatusEn->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
<?php if ($partiesstatus->Notes->Visible) { // Notes ?>
	<tr id="r_Notes">
		<td class="<?php echo $partiesstatus_view->TableLeftColumnClass ?>"><span id="elh_partiesstatus_Notes"><?php echo $partiesstatus->Notes->caption() ?></span></td>
		<td data-name="Notes"<?php echo $partiesstatus->Notes->cellAttributes() ?>>
<span id="el_partiesstatus_Notes">
<span<?php echo $partiesstatus->Notes->viewAttributes() ?>>
<?php echo $partiesstatus->Notes->getViewValue() ?></span>
</span>
</td>
	</tr>
<?php } ?>
</table>
<?php if (!$partiesstatus_view->IsModal) { ?>
<?php if (!$partiesstatus->isExport()) { ?>
<?php if (!isset($partiesstatus_view->Pager)) $partiesstatus_view->Pager = new PrevNextPager($partiesstatus_view->StartRec, $partiesstatus_view->DisplayRecs, $partiesstatus_view->TotalRecs, $partiesstatus_view->AutoHidePager) ?>
<?php if ($partiesstatus_view->Pager->RecordCount > 0 && $partiesstatus_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 ($partiesstatus_view->Pager->FirstButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerFirst") ?>" href="<?php echo $partiesstatus_view->pageUrl() ?>start=<?php echo $partiesstatus_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 ($partiesstatus_view->Pager->PrevButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerPrevious") ?>" href="<?php echo $partiesstatus_view->pageUrl() ?>start=<?php echo $partiesstatus_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 $partiesstatus_view->Pager->CurrentPage ?>">
<div class="input-group-append">
<!-- next page button -->
	<?php if ($partiesstatus_view->Pager->NextButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerNext") ?>" href="<?php echo $partiesstatus_view->pageUrl() ?>start=<?php echo $partiesstatus_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 ($partiesstatus_view->Pager->LastButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerLast") ?>" href="<?php echo $partiesstatus_view->pageUrl() ?>start=<?php echo $partiesstatus_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 $partiesstatus_view->Pager->PageCount ?></span>
<div class="clearfix"></div>
</div>
<?php } ?>
<div class="clearfix"></div>
<?php } ?>
<?php } ?>
</form>
<?php
$partiesstatus_view->showPageFooter();
if (DEBUG_ENABLED)
	echo GetDebugMessage();
?>
<?php if (!$partiesstatus->isExport()) { ?>
<script>

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

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