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

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

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

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

// Page Rendering event
$employeeperson_edit->Page_Render();
?>
<?php include_once "header.php" ?>
<script>

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

// Validate form
femployeepersonedit.validate = function() {
	if (!this.validateRequired)
		return true; // Ignore validation
	var $ = jQuery, fobj = this.getForm(), $fobj = $(fobj);
	if ($fobj.find("#confirm").val() == "F")
		return true;
	var elm, felm, uelm, addcnt = 0;
	var $k = $fobj.find("#" + this.formKeyCountName); // Get key_count
	var rowcnt = ($k[0]) ? parseInt($k.val(), 10) : 1;
	var startcnt = (rowcnt == 0) ? 0 : 1; // Check rowcnt == 0 => Inline-Add
	var gridinsert = ["insert", "gridinsert"].includes($fobj.find("#action").val()) && $k[0];
	for (var i = startcnt; i <= rowcnt; i++) {
		var infix = ($k[0]) ? String(i) : "";
		$fobj.data("rowindex", infix);
		<?php if ($employeeperson_edit->EmployeePersonID->Required) { ?>
			elm = this.getElements("x" + infix + "_EmployeePersonID");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $employeeperson->EmployeePersonID->caption(), $employeeperson->EmployeePersonID->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($employeeperson_edit->EmployeeID->Required) { ?>
			elm = this.getElements("x" + infix + "_EmployeeID");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $employeeperson->EmployeeID->caption(), $employeeperson->EmployeeID->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($employeeperson_edit->MaritalStatusID->Required) { ?>
			elm = this.getElements("x" + infix + "_MaritalStatusID");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $employeeperson->MaritalStatusID->caption(), $employeeperson->MaritalStatusID->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($employeeperson_edit->CivilStatus23->Required) { ?>
			elm = this.getElements("x" + infix + "_CivilStatus23");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $employeeperson->CivilStatus23->caption(), $employeeperson->CivilStatus23->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($employeeperson_edit->CivilStatusPlace->Required) { ?>
			elm = this.getElements("x" + infix + "_CivilStatusPlace");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $employeeperson->CivilStatusPlace->caption(), $employeeperson->CivilStatusPlace->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($employeeperson_edit->IdCard23->Required) { ?>
			elm = this.getElements("x" + infix + "_IdCard23");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $employeeperson->IdCard23->caption(), $employeeperson->IdCard23->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($employeeperson_edit->PracticingProfessionLicense23->Required) { ?>
			elm = this.getElements("x" + infix + "_PracticingProfessionLicense23");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $employeeperson->PracticingProfessionLicense23->caption(), $employeeperson->PracticingProfessionLicense23->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($employeeperson_edit->NationalId23->Required) { ?>
			elm = this.getElements("x" + infix + "_NationalId23");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $employeeperson->NationalId23->caption(), $employeeperson->NationalId23->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($employeeperson_edit->Nationality1->Required) { ?>
			elm = this.getElements("x" + infix + "_Nationality1");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $employeeperson->Nationality1->caption(), $employeeperson->Nationality1->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($employeeperson_edit->Nationality2->Required) { ?>
			elm = this.getElements("x" + infix + "_Nationality2");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $employeeperson->Nationality2->caption(), $employeeperson->Nationality2->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($employeeperson_edit->Nationality3->Required) { ?>
			elm = this.getElements("x" + infix + "_Nationality3");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $employeeperson->Nationality3->caption(), $employeeperson->Nationality3->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($employeeperson_edit->DriverLicense23->Required) { ?>
			elm = this.getElements("x" + infix + "_DriverLicense23");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $employeeperson->DriverLicense23->caption(), $employeeperson->DriverLicense23->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($employeeperson_edit->Extra23->Required) { ?>
			elm = this.getElements("x" + infix + "_Extra23");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $employeeperson->Extra23->caption(), $employeeperson->Extra23->RequiredErrorMessage)) ?>");
		<?php } ?>
		<?php if ($employeeperson_edit->Notes->Required) { ?>
			elm = this.getElements("x" + infix + "_Notes");
			if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
				return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $employeeperson->Notes->caption(), $employeeperson->Notes->RequiredErrorMessage)) ?>");
		<?php } ?>

			// Fire Form_CustomValidate event
			if (!this.Form_CustomValidate(fobj))
				return false;
	}

	// Process detail forms
	var dfs = $fobj.find("input[name='detailpage']").get();
	for (var i = 0; i < dfs.length; i++) {
		var df = dfs[i], val = df.value;
		if (val && ew.forms[val])
			if (!ew.forms[val].validate())
				return false;
	}
	return true;
}

// Form_CustomValidate event
femployeepersonedit.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
femployeepersonedit.validateRequired = <?php echo json_encode(CLIENT_VALIDATE) ?>;

// Dynamic selection lists
femployeepersonedit.lists["x_EmployeeID"] = <?php echo $employeeperson_edit->EmployeeID->Lookup->toClientList() ?>;
femployeepersonedit.lists["x_EmployeeID"].options = <?php echo JsonEncode($employeeperson_edit->EmployeeID->lookupOptions()) ?>;
femployeepersonedit.lists["x_MaritalStatusID"] = <?php echo $employeeperson_edit->MaritalStatusID->Lookup->toClientList() ?>;
femployeepersonedit.lists["x_MaritalStatusID"].options = <?php echo JsonEncode($employeeperson_edit->MaritalStatusID->lookupOptions()) ?>;

// Form object for search
</script>
<script>

// Write your client script here, no need to add script tags.
</script>
<?php $employeeperson_edit->showPageHeader(); ?>
<?php
$employeeperson_edit->showMessage();
?>
<?php if (!$employeeperson_edit->IsModal) { ?>
<form name="ew-pager-form" class="form-inline ew-form ew-pager-form" action="<?php echo CurrentPageName() ?>">
<?php if (!isset($employeeperson_edit->Pager)) $employeeperson_edit->Pager = new PrevNextPager($employeeperson_edit->StartRec, $employeeperson_edit->DisplayRecs, $employeeperson_edit->TotalRecs, $employeeperson_edit->AutoHidePager) ?>
<?php if ($employeeperson_edit->Pager->RecordCount > 0 && $employeeperson_edit->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 ($employeeperson_edit->Pager->FirstButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerFirst") ?>" href="<?php echo $employeeperson_edit->pageUrl() ?>start=<?php echo $employeeperson_edit->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_edit->Pager->PrevButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerPrevious") ?>" href="<?php echo $employeeperson_edit->pageUrl() ?>start=<?php echo $employeeperson_edit->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 $employeeperson_edit->Pager->CurrentPage ?>">
<div class="input-group-append">
<!-- next page button -->
	<?php if ($employeeperson_edit->Pager->NextButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerNext") ?>" href="<?php echo $employeeperson_edit->pageUrl() ?>start=<?php echo $employeeperson_edit->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_edit->Pager->LastButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerLast") ?>" href="<?php echo $employeeperson_edit->pageUrl() ?>start=<?php echo $employeeperson_edit->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 $employeeperson_edit->Pager->PageCount ?></span>
<div class="clearfix"></div>
</div>
<?php } ?>
<div class="clearfix"></div>
</form>
<?php } ?>
<form name="femployeepersonedit" id="femployeepersonedit" class="<?php echo $employeeperson_edit->FormClassName ?>" action="<?php echo CurrentPageName() ?>" method="post">
<?php if ($employeeperson_edit->CheckToken) { ?>
<input type="hidden" name="<?php echo TOKEN_NAME ?>" value="<?php echo $employeeperson_edit->Token ?>">
<?php } ?>
<input type="hidden" name="t" value="employeeperson">
<input type="hidden" name="action" id="action" value="update">
<input type="hidden" name="modal" value="<?php echo (int)$employeeperson_edit->IsModal ?>">
<?php if ($employeeperson->getCurrentMasterTable() == "employees") { ?>
<input type="hidden" name="<?php echo TABLE_SHOW_MASTER ?>" value="employees">
<input type="hidden" name="fk_EmployeeID" value="<?php echo $employeeperson->EmployeeID->getSessionValue() ?>">
<?php } ?>
<?php if (!$employeeperson_edit->IsMobileOrModal) { ?>
<div class="ew-desktop"><!-- desktop -->
<?php } ?>
<?php if ($employeeperson_edit->IsMobileOrModal) { ?>
<div class="ew-edit-div"><!-- page* -->
<?php } else { ?>
<table id="tbl_employeepersonedit" class="table table-striped table-sm ew-desktop-table"><!-- table* -->
<?php } ?>
<?php if ($employeeperson->EmployeeID->Visible) { // EmployeeID ?>
<?php if ($employeeperson_edit->IsMobileOrModal) { ?>
	<div id="r_EmployeeID" class="form-group row">
		<label id="elh_employeeperson_EmployeeID" for="x_EmployeeID" class="<?php echo $employeeperson_edit->LeftColumnClass ?>"><?php echo $employeeperson->EmployeeID->caption() ?><?php echo ($employeeperson->EmployeeID->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $employeeperson_edit->RightColumnClass ?>"><div<?php echo $employeeperson->EmployeeID->cellAttributes() ?>>
<?php if ($employeeperson->EmployeeID->getSessionValue() <> "") { ?>
<span id="el_employeeperson_EmployeeID">
<span<?php echo $employeeperson->EmployeeID->viewAttributes() ?>>
<input type="text" readonly class="form-control-plaintext" value="<?php echo RemoveHtml($employeeperson->EmployeeID->ViewValue) ?>"></span>
</span>
<input type="hidden" id="x_EmployeeID" name="x_EmployeeID" value="<?php echo HtmlEncode($employeeperson->EmployeeID->CurrentValue) ?>">
<?php } else { ?>
<span id="el_employeeperson_EmployeeID">
<div class="input-group">
	<select class="custom-select ew-custom-select" data-table="employeeperson" data-field="x_EmployeeID" data-value-separator="<?php echo $employeeperson->EmployeeID->displayValueSeparatorAttribute() ?>" id="x_EmployeeID" name="x_EmployeeID"<?php echo $employeeperson->EmployeeID->editAttributes() ?>>
		<?php echo $employeeperson->EmployeeID->selectOptionListHtml("x_EmployeeID") ?>
	</select>
</div>
<?php echo $employeeperson->EmployeeID->Lookup->getParamTag("p_x_EmployeeID") ?>
</span>
<?php } ?>
<?php echo $employeeperson->EmployeeID->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_EmployeeID">
		<td class="<?php echo $employeeperson_edit->TableLeftColumnClass ?>"><span id="elh_employeeperson_EmployeeID"><?php echo $employeeperson->EmployeeID->caption() ?><?php echo ($employeeperson->EmployeeID->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $employeeperson->EmployeeID->cellAttributes() ?>>
<?php if ($employeeperson->EmployeeID->getSessionValue() <> "") { ?>
<span id="el_employeeperson_EmployeeID">
<span<?php echo $employeeperson->EmployeeID->viewAttributes() ?>>
<input type="text" readonly class="form-control-plaintext" value="<?php echo RemoveHtml($employeeperson->EmployeeID->ViewValue) ?>"></span>
</span>
<input type="hidden" id="x_EmployeeID" name="x_EmployeeID" value="<?php echo HtmlEncode($employeeperson->EmployeeID->CurrentValue) ?>">
<?php } else { ?>
<span id="el_employeeperson_EmployeeID">
<div class="input-group">
	<select class="custom-select ew-custom-select" data-table="employeeperson" data-field="x_EmployeeID" data-value-separator="<?php echo $employeeperson->EmployeeID->displayValueSeparatorAttribute() ?>" id="x_EmployeeID" name="x_EmployeeID"<?php echo $employeeperson->EmployeeID->editAttributes() ?>>
		<?php echo $employeeperson->EmployeeID->selectOptionListHtml("x_EmployeeID") ?>
	</select>
</div>
<?php echo $employeeperson->EmployeeID->Lookup->getParamTag("p_x_EmployeeID") ?>
</span>
<?php } ?>
<?php echo $employeeperson->EmployeeID->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->MaritalStatusID->Visible) { // MaritalStatusID ?>
<?php if ($employeeperson_edit->IsMobileOrModal) { ?>
	<div id="r_MaritalStatusID" class="form-group row">
		<label id="elh_employeeperson_MaritalStatusID" for="x_MaritalStatusID" class="<?php echo $employeeperson_edit->LeftColumnClass ?>"><?php echo $employeeperson->MaritalStatusID->caption() ?><?php echo ($employeeperson->MaritalStatusID->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $employeeperson_edit->RightColumnClass ?>"><div<?php echo $employeeperson->MaritalStatusID->cellAttributes() ?>>
<span id="el_employeeperson_MaritalStatusID">
<div class="input-group">
	<select class="custom-select ew-custom-select" data-table="employeeperson" data-field="x_MaritalStatusID" data-value-separator="<?php echo $employeeperson->MaritalStatusID->displayValueSeparatorAttribute() ?>" id="x_MaritalStatusID" name="x_MaritalStatusID"<?php echo $employeeperson->MaritalStatusID->editAttributes() ?>>
		<?php echo $employeeperson->MaritalStatusID->selectOptionListHtml("x_MaritalStatusID") ?>
	</select>
</div>
<?php echo $employeeperson->MaritalStatusID->Lookup->getParamTag("p_x_MaritalStatusID") ?>
</span>
<?php echo $employeeperson->MaritalStatusID->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_MaritalStatusID">
		<td class="<?php echo $employeeperson_edit->TableLeftColumnClass ?>"><span id="elh_employeeperson_MaritalStatusID"><?php echo $employeeperson->MaritalStatusID->caption() ?><?php echo ($employeeperson->MaritalStatusID->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $employeeperson->MaritalStatusID->cellAttributes() ?>>
<span id="el_employeeperson_MaritalStatusID">
<div class="input-group">
	<select class="custom-select ew-custom-select" data-table="employeeperson" data-field="x_MaritalStatusID" data-value-separator="<?php echo $employeeperson->MaritalStatusID->displayValueSeparatorAttribute() ?>" id="x_MaritalStatusID" name="x_MaritalStatusID"<?php echo $employeeperson->MaritalStatusID->editAttributes() ?>>
		<?php echo $employeeperson->MaritalStatusID->selectOptionListHtml("x_MaritalStatusID") ?>
	</select>
</div>
<?php echo $employeeperson->MaritalStatusID->Lookup->getParamTag("p_x_MaritalStatusID") ?>
</span>
<?php echo $employeeperson->MaritalStatusID->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->CivilStatus23->Visible) { // CivilStatus# ?>
<?php if ($employeeperson_edit->IsMobileOrModal) { ?>
	<div id="r_CivilStatus23" class="form-group row">
		<label id="elh_employeeperson_CivilStatus23" for="x_CivilStatus23" class="<?php echo $employeeperson_edit->LeftColumnClass ?>"><?php echo $employeeperson->CivilStatus23->caption() ?><?php echo ($employeeperson->CivilStatus23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $employeeperson_edit->RightColumnClass ?>"><div<?php echo $employeeperson->CivilStatus23->cellAttributes() ?>>
<span id="el_employeeperson_CivilStatus23">
<input type="text" data-table="employeeperson" data-field="x_CivilStatus23" name="x_CivilStatus23" id="x_CivilStatus23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($employeeperson->CivilStatus23->getPlaceHolder()) ?>" value="<?php echo $employeeperson->CivilStatus23->EditValue ?>"<?php echo $employeeperson->CivilStatus23->editAttributes() ?>>
</span>
<?php echo $employeeperson->CivilStatus23->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_CivilStatus23">
		<td class="<?php echo $employeeperson_edit->TableLeftColumnClass ?>"><span id="elh_employeeperson_CivilStatus23"><?php echo $employeeperson->CivilStatus23->caption() ?><?php echo ($employeeperson->CivilStatus23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $employeeperson->CivilStatus23->cellAttributes() ?>>
<span id="el_employeeperson_CivilStatus23">
<input type="text" data-table="employeeperson" data-field="x_CivilStatus23" name="x_CivilStatus23" id="x_CivilStatus23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($employeeperson->CivilStatus23->getPlaceHolder()) ?>" value="<?php echo $employeeperson->CivilStatus23->EditValue ?>"<?php echo $employeeperson->CivilStatus23->editAttributes() ?>>
</span>
<?php echo $employeeperson->CivilStatus23->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->CivilStatusPlace->Visible) { // CivilStatusPlace ?>
<?php if ($employeeperson_edit->IsMobileOrModal) { ?>
	<div id="r_CivilStatusPlace" class="form-group row">
		<label id="elh_employeeperson_CivilStatusPlace" for="x_CivilStatusPlace" class="<?php echo $employeeperson_edit->LeftColumnClass ?>"><?php echo $employeeperson->CivilStatusPlace->caption() ?><?php echo ($employeeperson->CivilStatusPlace->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $employeeperson_edit->RightColumnClass ?>"><div<?php echo $employeeperson->CivilStatusPlace->cellAttributes() ?>>
<span id="el_employeeperson_CivilStatusPlace">
<input type="text" data-table="employeeperson" data-field="x_CivilStatusPlace" name="x_CivilStatusPlace" id="x_CivilStatusPlace" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($employeeperson->CivilStatusPlace->getPlaceHolder()) ?>" value="<?php echo $employeeperson->CivilStatusPlace->EditValue ?>"<?php echo $employeeperson->CivilStatusPlace->editAttributes() ?>>
</span>
<?php echo $employeeperson->CivilStatusPlace->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_CivilStatusPlace">
		<td class="<?php echo $employeeperson_edit->TableLeftColumnClass ?>"><span id="elh_employeeperson_CivilStatusPlace"><?php echo $employeeperson->CivilStatusPlace->caption() ?><?php echo ($employeeperson->CivilStatusPlace->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $employeeperson->CivilStatusPlace->cellAttributes() ?>>
<span id="el_employeeperson_CivilStatusPlace">
<input type="text" data-table="employeeperson" data-field="x_CivilStatusPlace" name="x_CivilStatusPlace" id="x_CivilStatusPlace" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($employeeperson->CivilStatusPlace->getPlaceHolder()) ?>" value="<?php echo $employeeperson->CivilStatusPlace->EditValue ?>"<?php echo $employeeperson->CivilStatusPlace->editAttributes() ?>>
</span>
<?php echo $employeeperson->CivilStatusPlace->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->IdCard23->Visible) { // IdCard# ?>
<?php if ($employeeperson_edit->IsMobileOrModal) { ?>
	<div id="r_IdCard23" class="form-group row">
		<label id="elh_employeeperson_IdCard23" for="x_IdCard23" class="<?php echo $employeeperson_edit->LeftColumnClass ?>"><?php echo $employeeperson->IdCard23->caption() ?><?php echo ($employeeperson->IdCard23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $employeeperson_edit->RightColumnClass ?>"><div<?php echo $employeeperson->IdCard23->cellAttributes() ?>>
<span id="el_employeeperson_IdCard23">
<input type="text" data-table="employeeperson" data-field="x_IdCard23" name="x_IdCard23" id="x_IdCard23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($employeeperson->IdCard23->getPlaceHolder()) ?>" value="<?php echo $employeeperson->IdCard23->EditValue ?>"<?php echo $employeeperson->IdCard23->editAttributes() ?>>
</span>
<?php echo $employeeperson->IdCard23->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_IdCard23">
		<td class="<?php echo $employeeperson_edit->TableLeftColumnClass ?>"><span id="elh_employeeperson_IdCard23"><?php echo $employeeperson->IdCard23->caption() ?><?php echo ($employeeperson->IdCard23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $employeeperson->IdCard23->cellAttributes() ?>>
<span id="el_employeeperson_IdCard23">
<input type="text" data-table="employeeperson" data-field="x_IdCard23" name="x_IdCard23" id="x_IdCard23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($employeeperson->IdCard23->getPlaceHolder()) ?>" value="<?php echo $employeeperson->IdCard23->EditValue ?>"<?php echo $employeeperson->IdCard23->editAttributes() ?>>
</span>
<?php echo $employeeperson->IdCard23->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->PracticingProfessionLicense23->Visible) { // PracticingProfessionLicense# ?>
<?php if ($employeeperson_edit->IsMobileOrModal) { ?>
	<div id="r_PracticingProfessionLicense23" class="form-group row">
		<label id="elh_employeeperson_PracticingProfessionLicense23" for="x_PracticingProfessionLicense23" class="<?php echo $employeeperson_edit->LeftColumnClass ?>"><?php echo $employeeperson->PracticingProfessionLicense23->caption() ?><?php echo ($employeeperson->PracticingProfessionLicense23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $employeeperson_edit->RightColumnClass ?>"><div<?php echo $employeeperson->PracticingProfessionLicense23->cellAttributes() ?>>
<span id="el_employeeperson_PracticingProfessionLicense23">
<input type="text" data-table="employeeperson" data-field="x_PracticingProfessionLicense23" name="x_PracticingProfessionLicense23" id="x_PracticingProfessionLicense23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($employeeperson->PracticingProfessionLicense23->getPlaceHolder()) ?>" value="<?php echo $employeeperson->PracticingProfessionLicense23->EditValue ?>"<?php echo $employeeperson->PracticingProfessionLicense23->editAttributes() ?>>
</span>
<?php echo $employeeperson->PracticingProfessionLicense23->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_PracticingProfessionLicense23">
		<td class="<?php echo $employeeperson_edit->TableLeftColumnClass ?>"><span id="elh_employeeperson_PracticingProfessionLicense23"><?php echo $employeeperson->PracticingProfessionLicense23->caption() ?><?php echo ($employeeperson->PracticingProfessionLicense23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $employeeperson->PracticingProfessionLicense23->cellAttributes() ?>>
<span id="el_employeeperson_PracticingProfessionLicense23">
<input type="text" data-table="employeeperson" data-field="x_PracticingProfessionLicense23" name="x_PracticingProfessionLicense23" id="x_PracticingProfessionLicense23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($employeeperson->PracticingProfessionLicense23->getPlaceHolder()) ?>" value="<?php echo $employeeperson->PracticingProfessionLicense23->EditValue ?>"<?php echo $employeeperson->PracticingProfessionLicense23->editAttributes() ?>>
</span>
<?php echo $employeeperson->PracticingProfessionLicense23->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->NationalId23->Visible) { // NationalId# ?>
<?php if ($employeeperson_edit->IsMobileOrModal) { ?>
	<div id="r_NationalId23" class="form-group row">
		<label id="elh_employeeperson_NationalId23" for="x_NationalId23" class="<?php echo $employeeperson_edit->LeftColumnClass ?>"><?php echo $employeeperson->NationalId23->caption() ?><?php echo ($employeeperson->NationalId23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $employeeperson_edit->RightColumnClass ?>"><div<?php echo $employeeperson->NationalId23->cellAttributes() ?>>
<span id="el_employeeperson_NationalId23">
<input type="text" data-table="employeeperson" data-field="x_NationalId23" name="x_NationalId23" id="x_NationalId23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($employeeperson->NationalId23->getPlaceHolder()) ?>" value="<?php echo $employeeperson->NationalId23->EditValue ?>"<?php echo $employeeperson->NationalId23->editAttributes() ?>>
</span>
<?php echo $employeeperson->NationalId23->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_NationalId23">
		<td class="<?php echo $employeeperson_edit->TableLeftColumnClass ?>"><span id="elh_employeeperson_NationalId23"><?php echo $employeeperson->NationalId23->caption() ?><?php echo ($employeeperson->NationalId23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $employeeperson->NationalId23->cellAttributes() ?>>
<span id="el_employeeperson_NationalId23">
<input type="text" data-table="employeeperson" data-field="x_NationalId23" name="x_NationalId23" id="x_NationalId23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($employeeperson->NationalId23->getPlaceHolder()) ?>" value="<?php echo $employeeperson->NationalId23->EditValue ?>"<?php echo $employeeperson->NationalId23->editAttributes() ?>>
</span>
<?php echo $employeeperson->NationalId23->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->Nationality1->Visible) { // Nationality1 ?>
<?php if ($employeeperson_edit->IsMobileOrModal) { ?>
	<div id="r_Nationality1" class="form-group row">
		<label id="elh_employeeperson_Nationality1" for="x_Nationality1" class="<?php echo $employeeperson_edit->LeftColumnClass ?>"><?php echo $employeeperson->Nationality1->caption() ?><?php echo ($employeeperson->Nationality1->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $employeeperson_edit->RightColumnClass ?>"><div<?php echo $employeeperson->Nationality1->cellAttributes() ?>>
<span id="el_employeeperson_Nationality1">
<input type="text" data-table="employeeperson" data-field="x_Nationality1" name="x_Nationality1" id="x_Nationality1" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($employeeperson->Nationality1->getPlaceHolder()) ?>" value="<?php echo $employeeperson->Nationality1->EditValue ?>"<?php echo $employeeperson->Nationality1->editAttributes() ?>>
</span>
<?php echo $employeeperson->Nationality1->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_Nationality1">
		<td class="<?php echo $employeeperson_edit->TableLeftColumnClass ?>"><span id="elh_employeeperson_Nationality1"><?php echo $employeeperson->Nationality1->caption() ?><?php echo ($employeeperson->Nationality1->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $employeeperson->Nationality1->cellAttributes() ?>>
<span id="el_employeeperson_Nationality1">
<input type="text" data-table="employeeperson" data-field="x_Nationality1" name="x_Nationality1" id="x_Nationality1" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($employeeperson->Nationality1->getPlaceHolder()) ?>" value="<?php echo $employeeperson->Nationality1->EditValue ?>"<?php echo $employeeperson->Nationality1->editAttributes() ?>>
</span>
<?php echo $employeeperson->Nationality1->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->Nationality2->Visible) { // Nationality2 ?>
<?php if ($employeeperson_edit->IsMobileOrModal) { ?>
	<div id="r_Nationality2" class="form-group row">
		<label id="elh_employeeperson_Nationality2" for="x_Nationality2" class="<?php echo $employeeperson_edit->LeftColumnClass ?>"><?php echo $employeeperson->Nationality2->caption() ?><?php echo ($employeeperson->Nationality2->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $employeeperson_edit->RightColumnClass ?>"><div<?php echo $employeeperson->Nationality2->cellAttributes() ?>>
<span id="el_employeeperson_Nationality2">
<input type="text" data-table="employeeperson" data-field="x_Nationality2" name="x_Nationality2" id="x_Nationality2" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($employeeperson->Nationality2->getPlaceHolder()) ?>" value="<?php echo $employeeperson->Nationality2->EditValue ?>"<?php echo $employeeperson->Nationality2->editAttributes() ?>>
</span>
<?php echo $employeeperson->Nationality2->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_Nationality2">
		<td class="<?php echo $employeeperson_edit->TableLeftColumnClass ?>"><span id="elh_employeeperson_Nationality2"><?php echo $employeeperson->Nationality2->caption() ?><?php echo ($employeeperson->Nationality2->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $employeeperson->Nationality2->cellAttributes() ?>>
<span id="el_employeeperson_Nationality2">
<input type="text" data-table="employeeperson" data-field="x_Nationality2" name="x_Nationality2" id="x_Nationality2" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($employeeperson->Nationality2->getPlaceHolder()) ?>" value="<?php echo $employeeperson->Nationality2->EditValue ?>"<?php echo $employeeperson->Nationality2->editAttributes() ?>>
</span>
<?php echo $employeeperson->Nationality2->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->Nationality3->Visible) { // Nationality3 ?>
<?php if ($employeeperson_edit->IsMobileOrModal) { ?>
	<div id="r_Nationality3" class="form-group row">
		<label id="elh_employeeperson_Nationality3" for="x_Nationality3" class="<?php echo $employeeperson_edit->LeftColumnClass ?>"><?php echo $employeeperson->Nationality3->caption() ?><?php echo ($employeeperson->Nationality3->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $employeeperson_edit->RightColumnClass ?>"><div<?php echo $employeeperson->Nationality3->cellAttributes() ?>>
<span id="el_employeeperson_Nationality3">
<input type="text" data-table="employeeperson" data-field="x_Nationality3" name="x_Nationality3" id="x_Nationality3" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($employeeperson->Nationality3->getPlaceHolder()) ?>" value="<?php echo $employeeperson->Nationality3->EditValue ?>"<?php echo $employeeperson->Nationality3->editAttributes() ?>>
</span>
<?php echo $employeeperson->Nationality3->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_Nationality3">
		<td class="<?php echo $employeeperson_edit->TableLeftColumnClass ?>"><span id="elh_employeeperson_Nationality3"><?php echo $employeeperson->Nationality3->caption() ?><?php echo ($employeeperson->Nationality3->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $employeeperson->Nationality3->cellAttributes() ?>>
<span id="el_employeeperson_Nationality3">
<input type="text" data-table="employeeperson" data-field="x_Nationality3" name="x_Nationality3" id="x_Nationality3" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($employeeperson->Nationality3->getPlaceHolder()) ?>" value="<?php echo $employeeperson->Nationality3->EditValue ?>"<?php echo $employeeperson->Nationality3->editAttributes() ?>>
</span>
<?php echo $employeeperson->Nationality3->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->DriverLicense23->Visible) { // DriverLicense# ?>
<?php if ($employeeperson_edit->IsMobileOrModal) { ?>
	<div id="r_DriverLicense23" class="form-group row">
		<label id="elh_employeeperson_DriverLicense23" for="x_DriverLicense23" class="<?php echo $employeeperson_edit->LeftColumnClass ?>"><?php echo $employeeperson->DriverLicense23->caption() ?><?php echo ($employeeperson->DriverLicense23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $employeeperson_edit->RightColumnClass ?>"><div<?php echo $employeeperson->DriverLicense23->cellAttributes() ?>>
<span id="el_employeeperson_DriverLicense23">
<input type="text" data-table="employeeperson" data-field="x_DriverLicense23" name="x_DriverLicense23" id="x_DriverLicense23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($employeeperson->DriverLicense23->getPlaceHolder()) ?>" value="<?php echo $employeeperson->DriverLicense23->EditValue ?>"<?php echo $employeeperson->DriverLicense23->editAttributes() ?>>
</span>
<?php echo $employeeperson->DriverLicense23->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_DriverLicense23">
		<td class="<?php echo $employeeperson_edit->TableLeftColumnClass ?>"><span id="elh_employeeperson_DriverLicense23"><?php echo $employeeperson->DriverLicense23->caption() ?><?php echo ($employeeperson->DriverLicense23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $employeeperson->DriverLicense23->cellAttributes() ?>>
<span id="el_employeeperson_DriverLicense23">
<input type="text" data-table="employeeperson" data-field="x_DriverLicense23" name="x_DriverLicense23" id="x_DriverLicense23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($employeeperson->DriverLicense23->getPlaceHolder()) ?>" value="<?php echo $employeeperson->DriverLicense23->EditValue ?>"<?php echo $employeeperson->DriverLicense23->editAttributes() ?>>
</span>
<?php echo $employeeperson->DriverLicense23->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->Extra23->Visible) { // Extra# ?>
<?php if ($employeeperson_edit->IsMobileOrModal) { ?>
	<div id="r_Extra23" class="form-group row">
		<label id="elh_employeeperson_Extra23" for="x_Extra23" class="<?php echo $employeeperson_edit->LeftColumnClass ?>"><?php echo $employeeperson->Extra23->caption() ?><?php echo ($employeeperson->Extra23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $employeeperson_edit->RightColumnClass ?>"><div<?php echo $employeeperson->Extra23->cellAttributes() ?>>
<span id="el_employeeperson_Extra23">
<input type="text" data-table="employeeperson" data-field="x_Extra23" name="x_Extra23" id="x_Extra23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($employeeperson->Extra23->getPlaceHolder()) ?>" value="<?php echo $employeeperson->Extra23->EditValue ?>"<?php echo $employeeperson->Extra23->editAttributes() ?>>
</span>
<?php echo $employeeperson->Extra23->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_Extra23">
		<td class="<?php echo $employeeperson_edit->TableLeftColumnClass ?>"><span id="elh_employeeperson_Extra23"><?php echo $employeeperson->Extra23->caption() ?><?php echo ($employeeperson->Extra23->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $employeeperson->Extra23->cellAttributes() ?>>
<span id="el_employeeperson_Extra23">
<input type="text" data-table="employeeperson" data-field="x_Extra23" name="x_Extra23" id="x_Extra23" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($employeeperson->Extra23->getPlaceHolder()) ?>" value="<?php echo $employeeperson->Extra23->EditValue ?>"<?php echo $employeeperson->Extra23->editAttributes() ?>>
</span>
<?php echo $employeeperson->Extra23->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->Notes->Visible) { // Notes ?>
<?php if ($employeeperson_edit->IsMobileOrModal) { ?>
	<div id="r_Notes" class="form-group row">
		<label id="elh_employeeperson_Notes" for="x_Notes" class="<?php echo $employeeperson_edit->LeftColumnClass ?>"><?php echo $employeeperson->Notes->caption() ?><?php echo ($employeeperson->Notes->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $employeeperson_edit->RightColumnClass ?>"><div<?php echo $employeeperson->Notes->cellAttributes() ?>>
<span id="el_employeeperson_Notes">
<textarea data-table="employeeperson" data-field="x_Notes" name="x_Notes" id="x_Notes" cols="35" rows="4" placeholder="<?php echo HtmlEncode($employeeperson->Notes->getPlaceHolder()) ?>"<?php echo $employeeperson->Notes->editAttributes() ?>><?php echo $employeeperson->Notes->EditValue ?></textarea>
</span>
<?php echo $employeeperson->Notes->CustomMsg ?></div></div>
	</div>
<?php } else { ?>
	<tr id="r_Notes">
		<td class="<?php echo $employeeperson_edit->TableLeftColumnClass ?>"><span id="elh_employeeperson_Notes"><?php echo $employeeperson->Notes->caption() ?><?php echo ($employeeperson->Notes->Required) ? $Language->phrase("FieldRequiredIndicator") : "" ?></span></td>
		<td<?php echo $employeeperson->Notes->cellAttributes() ?>>
<span id="el_employeeperson_Notes">
<textarea data-table="employeeperson" data-field="x_Notes" name="x_Notes" id="x_Notes" cols="35" rows="4" placeholder="<?php echo HtmlEncode($employeeperson->Notes->getPlaceHolder()) ?>"<?php echo $employeeperson->Notes->editAttributes() ?>><?php echo $employeeperson->Notes->EditValue ?></textarea>
</span>
<?php echo $employeeperson->Notes->CustomMsg ?></td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson_edit->IsMobileOrModal) { ?>
</div><!-- /page* -->
<?php } else { ?>
</table><!-- /table* -->
<?php } ?>
<span id="el_employeeperson_EmployeePersonID">
<input type="hidden" data-table="employeeperson" data-field="x_EmployeePersonID" name="x_EmployeePersonID" id="x_EmployeePersonID" value="<?php echo HtmlEncode($employeeperson->EmployeePersonID->CurrentValue) ?>">
</span>
<?php if (!$employeeperson_edit->IsModal) { ?>
<div class="form-group row"><!-- buttons .form-group -->
	<div class="<?php echo $employeeperson_edit->OffsetColumnClass ?>"><!-- buttons offset -->
<button class="btn btn-primary ew-btn" name="btn-action" id="btn-action" type="submit"><?php echo $Language->phrase("SaveBtn") ?></button>
<button class="btn btn-default ew-btn" name="btn-cancel" id="btn-cancel" type="button" data-href="<?php echo $employeeperson_edit->getReturnUrl() ?>"><?php echo $Language->phrase("CancelBtn") ?></button>
	</div><!-- /buttons offset -->
</div><!-- /buttons .form-group -->
<?php } ?>
<?php if (!$employeeperson_edit->IsMobileOrModal) { ?>
</div><!-- /desktop -->
<?php } ?>
<?php if (!$employeeperson_edit->IsModal) { ?>
<?php if (!isset($employeeperson_edit->Pager)) $employeeperson_edit->Pager = new PrevNextPager($employeeperson_edit->StartRec, $employeeperson_edit->DisplayRecs, $employeeperson_edit->TotalRecs, $employeeperson_edit->AutoHidePager) ?>
<?php if ($employeeperson_edit->Pager->RecordCount > 0 && $employeeperson_edit->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 ($employeeperson_edit->Pager->FirstButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerFirst") ?>" href="<?php echo $employeeperson_edit->pageUrl() ?>start=<?php echo $employeeperson_edit->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_edit->Pager->PrevButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerPrevious") ?>" href="<?php echo $employeeperson_edit->pageUrl() ?>start=<?php echo $employeeperson_edit->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 $employeeperson_edit->Pager->CurrentPage ?>">
<div class="input-group-append">
<!-- next page button -->
	<?php if ($employeeperson_edit->Pager->NextButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerNext") ?>" href="<?php echo $employeeperson_edit->pageUrl() ?>start=<?php echo $employeeperson_edit->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_edit->Pager->LastButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerLast") ?>" href="<?php echo $employeeperson_edit->pageUrl() ?>start=<?php echo $employeeperson_edit->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 $employeeperson_edit->Pager->PageCount ?></span>
<div class="clearfix"></div>
</div>
<?php } ?>
<div class="clearfix"></div>
<?php } ?>
</form>
<?php
$employeeperson_edit->showPageFooter();
if (DEBUG_ENABLED)
	echo GetDebugMessage();
?>
<script>

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

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