<?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, "utf-8");

// Create page object
$employeeperson_preview = new employeeperson_preview();

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

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

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

// Page Rendering event
$employeeperson_preview->Page_Render();
?>
<?php $employeeperson_preview->showPageHeader(); ?>
<div class="card ew-grid employeeperson"><!-- .card -->
<?php if ($employeeperson_preview->TotalRecs > 0) { ?>
<div class="<?php if (IsResponsiveLayout()) { ?>table-responsive <?php } ?>card-body ew-grid-middle-panel"><!-- .table-responsive -->
<table class="table ew-table ew-preview-table"><!-- .table -->
	<thead><!-- Table header -->
		<tr class="ew-table-header">
<?php

// Render list options
$employeeperson_preview->renderListOptions();

// Render list options (header, left)
$employeeperson_preview->ListOptions->render("header", "left");
?>
<?php if ($employeeperson->EmployeeID->Visible) { // EmployeeID ?>
	<?php if ($employeeperson->SortUrl($employeeperson->EmployeeID) == "") { ?>
		<th class="<?php echo $employeeperson->EmployeeID->headerCellClass() ?>"><?php echo $employeeperson->EmployeeID->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $employeeperson->EmployeeID->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $employeeperson->EmployeeID->Name ?>" data-sort-order="<?php echo $employeeperson_preview->SortField == $employeeperson->EmployeeID->Name && $employeeperson_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $employeeperson->EmployeeID->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($employeeperson_preview->SortField == $employeeperson->EmployeeID->Name) { ?><?php if ($employeeperson_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($employeeperson_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($employeeperson->MaritalStatusID->Visible) { // MaritalStatusID ?>
	<?php if ($employeeperson->SortUrl($employeeperson->MaritalStatusID) == "") { ?>
		<th class="<?php echo $employeeperson->MaritalStatusID->headerCellClass() ?>"><?php echo $employeeperson->MaritalStatusID->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $employeeperson->MaritalStatusID->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $employeeperson->MaritalStatusID->Name ?>" data-sort-order="<?php echo $employeeperson_preview->SortField == $employeeperson->MaritalStatusID->Name && $employeeperson_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $employeeperson->MaritalStatusID->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($employeeperson_preview->SortField == $employeeperson->MaritalStatusID->Name) { ?><?php if ($employeeperson_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($employeeperson_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($employeeperson->CivilStatus23->Visible) { // CivilStatus# ?>
	<?php if ($employeeperson->SortUrl($employeeperson->CivilStatus23) == "") { ?>
		<th class="<?php echo $employeeperson->CivilStatus23->headerCellClass() ?>"><?php echo $employeeperson->CivilStatus23->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $employeeperson->CivilStatus23->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $employeeperson->CivilStatus23->Name ?>" data-sort-order="<?php echo $employeeperson_preview->SortField == $employeeperson->CivilStatus23->Name && $employeeperson_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $employeeperson->CivilStatus23->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($employeeperson_preview->SortField == $employeeperson->CivilStatus23->Name) { ?><?php if ($employeeperson_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($employeeperson_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($employeeperson->CivilStatusPlace->Visible) { // CivilStatusPlace ?>
	<?php if ($employeeperson->SortUrl($employeeperson->CivilStatusPlace) == "") { ?>
		<th class="<?php echo $employeeperson->CivilStatusPlace->headerCellClass() ?>"><?php echo $employeeperson->CivilStatusPlace->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $employeeperson->CivilStatusPlace->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $employeeperson->CivilStatusPlace->Name ?>" data-sort-order="<?php echo $employeeperson_preview->SortField == $employeeperson->CivilStatusPlace->Name && $employeeperson_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $employeeperson->CivilStatusPlace->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($employeeperson_preview->SortField == $employeeperson->CivilStatusPlace->Name) { ?><?php if ($employeeperson_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($employeeperson_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($employeeperson->IdCard23->Visible) { // IdCard# ?>
	<?php if ($employeeperson->SortUrl($employeeperson->IdCard23) == "") { ?>
		<th class="<?php echo $employeeperson->IdCard23->headerCellClass() ?>"><?php echo $employeeperson->IdCard23->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $employeeperson->IdCard23->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $employeeperson->IdCard23->Name ?>" data-sort-order="<?php echo $employeeperson_preview->SortField == $employeeperson->IdCard23->Name && $employeeperson_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $employeeperson->IdCard23->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($employeeperson_preview->SortField == $employeeperson->IdCard23->Name) { ?><?php if ($employeeperson_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($employeeperson_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($employeeperson->PracticingProfessionLicense23->Visible) { // PracticingProfessionLicense# ?>
	<?php if ($employeeperson->SortUrl($employeeperson->PracticingProfessionLicense23) == "") { ?>
		<th class="<?php echo $employeeperson->PracticingProfessionLicense23->headerCellClass() ?>"><?php echo $employeeperson->PracticingProfessionLicense23->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $employeeperson->PracticingProfessionLicense23->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $employeeperson->PracticingProfessionLicense23->Name ?>" data-sort-order="<?php echo $employeeperson_preview->SortField == $employeeperson->PracticingProfessionLicense23->Name && $employeeperson_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $employeeperson->PracticingProfessionLicense23->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($employeeperson_preview->SortField == $employeeperson->PracticingProfessionLicense23->Name) { ?><?php if ($employeeperson_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($employeeperson_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($employeeperson->NationalId23->Visible) { // NationalId# ?>
	<?php if ($employeeperson->SortUrl($employeeperson->NationalId23) == "") { ?>
		<th class="<?php echo $employeeperson->NationalId23->headerCellClass() ?>"><?php echo $employeeperson->NationalId23->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $employeeperson->NationalId23->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $employeeperson->NationalId23->Name ?>" data-sort-order="<?php echo $employeeperson_preview->SortField == $employeeperson->NationalId23->Name && $employeeperson_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $employeeperson->NationalId23->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($employeeperson_preview->SortField == $employeeperson->NationalId23->Name) { ?><?php if ($employeeperson_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($employeeperson_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($employeeperson->Nationality1->Visible) { // Nationality1 ?>
	<?php if ($employeeperson->SortUrl($employeeperson->Nationality1) == "") { ?>
		<th class="<?php echo $employeeperson->Nationality1->headerCellClass() ?>"><?php echo $employeeperson->Nationality1->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $employeeperson->Nationality1->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $employeeperson->Nationality1->Name ?>" data-sort-order="<?php echo $employeeperson_preview->SortField == $employeeperson->Nationality1->Name && $employeeperson_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $employeeperson->Nationality1->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($employeeperson_preview->SortField == $employeeperson->Nationality1->Name) { ?><?php if ($employeeperson_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($employeeperson_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($employeeperson->Nationality2->Visible) { // Nationality2 ?>
	<?php if ($employeeperson->SortUrl($employeeperson->Nationality2) == "") { ?>
		<th class="<?php echo $employeeperson->Nationality2->headerCellClass() ?>"><?php echo $employeeperson->Nationality2->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $employeeperson->Nationality2->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $employeeperson->Nationality2->Name ?>" data-sort-order="<?php echo $employeeperson_preview->SortField == $employeeperson->Nationality2->Name && $employeeperson_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $employeeperson->Nationality2->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($employeeperson_preview->SortField == $employeeperson->Nationality2->Name) { ?><?php if ($employeeperson_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($employeeperson_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($employeeperson->Nationality3->Visible) { // Nationality3 ?>
	<?php if ($employeeperson->SortUrl($employeeperson->Nationality3) == "") { ?>
		<th class="<?php echo $employeeperson->Nationality3->headerCellClass() ?>"><?php echo $employeeperson->Nationality3->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $employeeperson->Nationality3->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $employeeperson->Nationality3->Name ?>" data-sort-order="<?php echo $employeeperson_preview->SortField == $employeeperson->Nationality3->Name && $employeeperson_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $employeeperson->Nationality3->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($employeeperson_preview->SortField == $employeeperson->Nationality3->Name) { ?><?php if ($employeeperson_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($employeeperson_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($employeeperson->DriverLicense23->Visible) { // DriverLicense# ?>
	<?php if ($employeeperson->SortUrl($employeeperson->DriverLicense23) == "") { ?>
		<th class="<?php echo $employeeperson->DriverLicense23->headerCellClass() ?>"><?php echo $employeeperson->DriverLicense23->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $employeeperson->DriverLicense23->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $employeeperson->DriverLicense23->Name ?>" data-sort-order="<?php echo $employeeperson_preview->SortField == $employeeperson->DriverLicense23->Name && $employeeperson_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $employeeperson->DriverLicense23->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($employeeperson_preview->SortField == $employeeperson->DriverLicense23->Name) { ?><?php if ($employeeperson_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($employeeperson_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($employeeperson->Extra23->Visible) { // Extra# ?>
	<?php if ($employeeperson->SortUrl($employeeperson->Extra23) == "") { ?>
		<th class="<?php echo $employeeperson->Extra23->headerCellClass() ?>"><?php echo $employeeperson->Extra23->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $employeeperson->Extra23->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $employeeperson->Extra23->Name ?>" data-sort-order="<?php echo $employeeperson_preview->SortField == $employeeperson->Extra23->Name && $employeeperson_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $employeeperson->Extra23->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($employeeperson_preview->SortField == $employeeperson->Extra23->Name) { ?><?php if ($employeeperson_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($employeeperson_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php

// Render list options (header, right)
$employeeperson_preview->ListOptions->render("header", "right");
?>
		</tr>
	</thead>
	<tbody><!-- Table body -->
<?php
$employeeperson_preview->RecCount = 0;
$employeeperson_preview->RowCnt = 0;
while ($employeeperson_preview->Recordset && !$employeeperson_preview->Recordset->EOF) {

	// Init row class and style
	$employeeperson_preview->RecCount++;
	$employeeperson_preview->RowCnt++;
	$employeeperson_preview->CssStyle = "";
	$employeeperson_preview->loadListRowValues($employeeperson_preview->Recordset);

	// Render row
	$employeeperson_preview->RowType = ROWTYPE_PREVIEW; // Preview record
	$employeeperson_preview->resetAttributes();
	$employeeperson_preview->renderListRow();

	// Render list options
	$employeeperson_preview->renderListOptions();
?>
	<tr<?php echo $employeeperson_preview->rowAttributes() ?>>
<?php

// Render list options (body, left)
$employeeperson_preview->ListOptions->render("body", "left", $employeeperson_preview->RowCnt);
?>
<?php if ($employeeperson->EmployeeID->Visible) { // EmployeeID ?>
		<!-- EmployeeID -->
		<td<?php echo $employeeperson->EmployeeID->cellAttributes() ?>>
<span<?php echo $employeeperson->EmployeeID->viewAttributes() ?>>
<?php echo $employeeperson->EmployeeID->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($employeeperson->MaritalStatusID->Visible) { // MaritalStatusID ?>
		<!-- MaritalStatusID -->
		<td<?php echo $employeeperson->MaritalStatusID->cellAttributes() ?>>
<span<?php echo $employeeperson->MaritalStatusID->viewAttributes() ?>>
<?php echo $employeeperson->MaritalStatusID->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($employeeperson->CivilStatus23->Visible) { // CivilStatus# ?>
		<!-- CivilStatus# -->
		<td<?php echo $employeeperson->CivilStatus23->cellAttributes() ?>>
<span<?php echo $employeeperson->CivilStatus23->viewAttributes() ?>>
<?php echo $employeeperson->CivilStatus23->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($employeeperson->CivilStatusPlace->Visible) { // CivilStatusPlace ?>
		<!-- CivilStatusPlace -->
		<td<?php echo $employeeperson->CivilStatusPlace->cellAttributes() ?>>
<span<?php echo $employeeperson->CivilStatusPlace->viewAttributes() ?>>
<?php echo $employeeperson->CivilStatusPlace->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($employeeperson->IdCard23->Visible) { // IdCard# ?>
		<!-- IdCard# -->
		<td<?php echo $employeeperson->IdCard23->cellAttributes() ?>>
<span<?php echo $employeeperson->IdCard23->viewAttributes() ?>>
<?php echo $employeeperson->IdCard23->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($employeeperson->PracticingProfessionLicense23->Visible) { // PracticingProfessionLicense# ?>
		<!-- PracticingProfessionLicense# -->
		<td<?php echo $employeeperson->PracticingProfessionLicense23->cellAttributes() ?>>
<span<?php echo $employeeperson->PracticingProfessionLicense23->viewAttributes() ?>>
<?php echo $employeeperson->PracticingProfessionLicense23->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($employeeperson->NationalId23->Visible) { // NationalId# ?>
		<!-- NationalId# -->
		<td<?php echo $employeeperson->NationalId23->cellAttributes() ?>>
<span<?php echo $employeeperson->NationalId23->viewAttributes() ?>>
<?php echo $employeeperson->NationalId23->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($employeeperson->Nationality1->Visible) { // Nationality1 ?>
		<!-- Nationality1 -->
		<td<?php echo $employeeperson->Nationality1->cellAttributes() ?>>
<span<?php echo $employeeperson->Nationality1->viewAttributes() ?>>
<?php echo $employeeperson->Nationality1->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($employeeperson->Nationality2->Visible) { // Nationality2 ?>
		<!-- Nationality2 -->
		<td<?php echo $employeeperson->Nationality2->cellAttributes() ?>>
<span<?php echo $employeeperson->Nationality2->viewAttributes() ?>>
<?php echo $employeeperson->Nationality2->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($employeeperson->Nationality3->Visible) { // Nationality3 ?>
		<!-- Nationality3 -->
		<td<?php echo $employeeperson->Nationality3->cellAttributes() ?>>
<span<?php echo $employeeperson->Nationality3->viewAttributes() ?>>
<?php echo $employeeperson->Nationality3->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($employeeperson->DriverLicense23->Visible) { // DriverLicense# ?>
		<!-- DriverLicense# -->
		<td<?php echo $employeeperson->DriverLicense23->cellAttributes() ?>>
<span<?php echo $employeeperson->DriverLicense23->viewAttributes() ?>>
<?php echo $employeeperson->DriverLicense23->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($employeeperson->Extra23->Visible) { // Extra# ?>
		<!-- Extra# -->
		<td<?php echo $employeeperson->Extra23->cellAttributes() ?>>
<span<?php echo $employeeperson->Extra23->viewAttributes() ?>>
<?php echo $employeeperson->Extra23->getViewValue() ?></span>
</td>
<?php } ?>
<?php

// Render list options (body, right)
$employeeperson_preview->ListOptions->render("body", "right", $employeeperson_preview->RowCnt);
?>
	</tr>
<?php
	$employeeperson_preview->Recordset->MoveNext();
}
?>
	</tbody>
</table><!-- /.table -->
</div><!-- /.table-responsive -->
<?php } ?>
<div class="card-footer ew-grid-lower-panel ew-preview-lower-panel"><!-- .card-footer -->
<?php if ($employeeperson_preview->TotalRecs > 0) { ?>
<?php if (!isset($employeeperson_preview->Pager)) $employeeperson_preview->Pager = new PrevNextPager($employeeperson_preview->StartRec, $employeeperson_preview->DisplayRecs, $employeeperson_preview->TotalRecs) ?>
<?php if ($employeeperson_preview->Pager->RecordCount > 0 && $employeeperson_preview->Pager->Visible) { ?>
<div class="ew-pager"><div class="ew-prev-next"><div class="btn-group btn-group-sm ew-btn-group">
<!--first page button-->
	<?php if ($employeeperson_preview->Pager->FirstButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerFirst") ?>" data-start="<?php echo $employeeperson_preview->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 ($employeeperson_preview->Pager->PrevButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerPrevious") ?>" data-start="<?php echo $employeeperson_preview->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 } ?>
<!--next page button-->
	<?php if ($employeeperson_preview->Pager->NextButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerNext") ?>" data-start="<?php echo $employeeperson_preview->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 ($employeeperson_preview->Pager->LastButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerLast") ?>" data-start="<?php echo $employeeperson_preview->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>
<div class="ew-pager ew-rec">
	<span><?php echo $Language->phrase("Record") ?>&nbsp;<?php echo $employeeperson_preview->Pager->FromIndex ?>&nbsp;<?php echo $Language->phrase("To") ?>&nbsp;<?php echo $employeeperson_preview->Pager->ToIndex ?>&nbsp;<?php echo $Language->phrase("Of") ?>&nbsp;<?php echo $employeeperson_preview->Pager->RecordCount ?></span>
</div>
<?php } ?>
<?php } else { ?>
<div class="ew-detail-count"><?php echo $Language->Phrase("NoRecord") ?></div>
<?php } ?>
<div class="ew-preview-other-options">
<?php
	foreach ($employeeperson_preview->OtherOptions as &$option)
		$option->render("body");
?>
</div>
<div class="clearfix"></div>
</div><!-- /.card-footer -->
</div><!-- /.card -->
<?php
$employeeperson_preview->showPageFooter();
if (DEBUG_ENABLED)
	echo GetDebugMessage();
?>
<?php
if ($employeeperson_preview->Recordset)
	$employeeperson_preview->Recordset->Close();

// Output
$content = ob_get_contents();
ob_end_clean();
echo ConvertToUtf8($content);
?>
<?php
$employeeperson_preview->terminate();
?>
