<?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_search = new employeeperson_search();

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

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

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

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

// Form object
currentPageID = ew.PAGE_ID = "search";
<?php if ($employeeperson_search->IsModal) { ?>
var femployeepersonsearch = currentAdvancedSearchForm = new ew.Form("femployeepersonsearch", "search");
<?php } else { ?>
var femployeepersonsearch = currentForm = new ew.Form("femployeepersonsearch", "search");
<?php } ?>

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

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

// Form object for search
// Validate function for search

femployeepersonsearch.validate = function(fobj) {
	if (!this.validateRequired)
		return true; // Ignore validation
	fobj = fobj || this._form;
	var infix = "";

	// Fire Form_CustomValidate event
	if (!this.Form_CustomValidate(fobj))
		return false;
	return true;
}
</script>
<script>

// Write your client script here, no need to add script tags.
</script>
<?php $employeeperson_search->showPageHeader(); ?>
<?php
$employeeperson_search->showMessage();
?>
<form name="femployeepersonsearch" id="femployeepersonsearch" class="<?php echo $employeeperson_search->FormClassName ?>" action="<?php echo CurrentPageName() ?>" method="post">
<?php if ($employeeperson_search->CheckToken) { ?>
<input type="hidden" name="<?php echo TOKEN_NAME ?>" value="<?php echo $employeeperson_search->Token ?>">
<?php } ?>
<input type="hidden" name="t" value="employeeperson">
<input type="hidden" name="action" id="action" value="search">
<input type="hidden" name="modal" value="<?php echo (int)$employeeperson_search->IsModal ?>">
<?php if (!$employeeperson_search->IsMobileOrModal) { ?>
<div class="ew-desktop"><!-- desktop -->
<?php } ?>
<?php if ($employeeperson_search->IsMobileOrModal) { ?>
<div class="ew-search-div"><!-- page* -->
<?php } else { ?>
<table id="tbl_employeepersonsearch" class="table table-striped table-sm ew-desktop-table"><!-- table* -->
<?php } ?>
<?php if ($employeeperson->EmployeePersonID->Visible) { // EmployeePersonID ?>
<?php if ($employeeperson_search->IsMobileOrModal) { ?>
	<div id="r_EmployeePersonID" class="form-group row">
		<label class="<?php echo $employeeperson_search->LeftColumnClass ?>"><span id="elh_employeeperson_EmployeePersonID"><?php echo $employeeperson->EmployeePersonID->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_EmployeePersonID" id="z_EmployeePersonID" value="="></span>
		</label>
		<div class="<?php echo $employeeperson_search->RightColumnClass ?>"><div<?php echo $employeeperson->EmployeePersonID->cellAttributes() ?>>
			<span id="el_employeeperson_EmployeePersonID">
<input type="text" data-table="employeeperson" data-field="x_EmployeePersonID" name="x_EmployeePersonID" id="x_EmployeePersonID" placeholder="<?php echo HtmlEncode($employeeperson->EmployeePersonID->getPlaceHolder()) ?>" value="<?php echo $employeeperson->EmployeePersonID->EditValue ?>"<?php echo $employeeperson->EmployeePersonID->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_EmployeePersonID">
		<td class="<?php echo $employeeperson_search->TableLeftColumnClass ?>"><span id="elh_employeeperson_EmployeePersonID"><?php echo $employeeperson->EmployeePersonID->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_EmployeePersonID" id="z_EmployeePersonID" value="="></span></td>
		<td<?php echo $employeeperson->EmployeePersonID->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_employeeperson_EmployeePersonID">
<input type="text" data-table="employeeperson" data-field="x_EmployeePersonID" name="x_EmployeePersonID" id="x_EmployeePersonID" placeholder="<?php echo HtmlEncode($employeeperson->EmployeePersonID->getPlaceHolder()) ?>" value="<?php echo $employeeperson->EmployeePersonID->EditValue ?>"<?php echo $employeeperson->EmployeePersonID->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->EmployeeID->Visible) { // EmployeeID ?>
<?php if ($employeeperson_search->IsMobileOrModal) { ?>
	<div id="r_EmployeeID" class="form-group row">
		<label for="x_EmployeeID" class="<?php echo $employeeperson_search->LeftColumnClass ?>"><span id="elh_employeeperson_EmployeeID"><?php echo $employeeperson->EmployeeID->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_EmployeeID" id="z_EmployeeID" value="="></span>
		</label>
		<div class="<?php echo $employeeperson_search->RightColumnClass ?>"><div<?php echo $employeeperson->EmployeeID->cellAttributes() ?>>
			<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>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_EmployeeID">
		<td class="<?php echo $employeeperson_search->TableLeftColumnClass ?>"><span id="elh_employeeperson_EmployeeID"><?php echo $employeeperson->EmployeeID->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_EmployeeID" id="z_EmployeeID" value="="></span></td>
		<td<?php echo $employeeperson->EmployeeID->cellAttributes() ?>>
			<div class="text-nowrap">
				<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>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->MaritalStatusID->Visible) { // MaritalStatusID ?>
<?php if ($employeeperson_search->IsMobileOrModal) { ?>
	<div id="r_MaritalStatusID" class="form-group row">
		<label for="x_MaritalStatusID" class="<?php echo $employeeperson_search->LeftColumnClass ?>"><span id="elh_employeeperson_MaritalStatusID"><?php echo $employeeperson->MaritalStatusID->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_MaritalStatusID" id="z_MaritalStatusID" value="="></span>
		</label>
		<div class="<?php echo $employeeperson_search->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>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_MaritalStatusID">
		<td class="<?php echo $employeeperson_search->TableLeftColumnClass ?>"><span id="elh_employeeperson_MaritalStatusID"><?php echo $employeeperson->MaritalStatusID->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_MaritalStatusID" id="z_MaritalStatusID" value="="></span></td>
		<td<?php echo $employeeperson->MaritalStatusID->cellAttributes() ?>>
			<div class="text-nowrap">
				<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>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->CivilStatus23->Visible) { // CivilStatus# ?>
<?php if ($employeeperson_search->IsMobileOrModal) { ?>
	<div id="r_CivilStatus23" class="form-group row">
		<label for="x_CivilStatus23" class="<?php echo $employeeperson_search->LeftColumnClass ?>"><span id="elh_employeeperson_CivilStatus23"><?php echo $employeeperson->CivilStatus23->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_CivilStatus23" id="z_CivilStatus23" value="LIKE"></span>
		</label>
		<div class="<?php echo $employeeperson_search->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>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_CivilStatus23">
		<td class="<?php echo $employeeperson_search->TableLeftColumnClass ?>"><span id="elh_employeeperson_CivilStatus23"><?php echo $employeeperson->CivilStatus23->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_CivilStatus23" id="z_CivilStatus23" value="LIKE"></span></td>
		<td<?php echo $employeeperson->CivilStatus23->cellAttributes() ?>>
			<div class="text-nowrap">
				<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>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->CivilStatusPlace->Visible) { // CivilStatusPlace ?>
<?php if ($employeeperson_search->IsMobileOrModal) { ?>
	<div id="r_CivilStatusPlace" class="form-group row">
		<label for="x_CivilStatusPlace" class="<?php echo $employeeperson_search->LeftColumnClass ?>"><span id="elh_employeeperson_CivilStatusPlace"><?php echo $employeeperson->CivilStatusPlace->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_CivilStatusPlace" id="z_CivilStatusPlace" value="LIKE"></span>
		</label>
		<div class="<?php echo $employeeperson_search->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>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_CivilStatusPlace">
		<td class="<?php echo $employeeperson_search->TableLeftColumnClass ?>"><span id="elh_employeeperson_CivilStatusPlace"><?php echo $employeeperson->CivilStatusPlace->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_CivilStatusPlace" id="z_CivilStatusPlace" value="LIKE"></span></td>
		<td<?php echo $employeeperson->CivilStatusPlace->cellAttributes() ?>>
			<div class="text-nowrap">
				<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>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->IdCard23->Visible) { // IdCard# ?>
<?php if ($employeeperson_search->IsMobileOrModal) { ?>
	<div id="r_IdCard23" class="form-group row">
		<label for="x_IdCard23" class="<?php echo $employeeperson_search->LeftColumnClass ?>"><span id="elh_employeeperson_IdCard23"><?php echo $employeeperson->IdCard23->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_IdCard23" id="z_IdCard23" value="LIKE"></span>
		</label>
		<div class="<?php echo $employeeperson_search->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>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_IdCard23">
		<td class="<?php echo $employeeperson_search->TableLeftColumnClass ?>"><span id="elh_employeeperson_IdCard23"><?php echo $employeeperson->IdCard23->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_IdCard23" id="z_IdCard23" value="LIKE"></span></td>
		<td<?php echo $employeeperson->IdCard23->cellAttributes() ?>>
			<div class="text-nowrap">
				<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>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->PracticingProfessionLicense23->Visible) { // PracticingProfessionLicense# ?>
<?php if ($employeeperson_search->IsMobileOrModal) { ?>
	<div id="r_PracticingProfessionLicense23" class="form-group row">
		<label for="x_PracticingProfessionLicense23" class="<?php echo $employeeperson_search->LeftColumnClass ?>"><span id="elh_employeeperson_PracticingProfessionLicense23"><?php echo $employeeperson->PracticingProfessionLicense23->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_PracticingProfessionLicense23" id="z_PracticingProfessionLicense23" value="LIKE"></span>
		</label>
		<div class="<?php echo $employeeperson_search->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>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_PracticingProfessionLicense23">
		<td class="<?php echo $employeeperson_search->TableLeftColumnClass ?>"><span id="elh_employeeperson_PracticingProfessionLicense23"><?php echo $employeeperson->PracticingProfessionLicense23->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_PracticingProfessionLicense23" id="z_PracticingProfessionLicense23" value="LIKE"></span></td>
		<td<?php echo $employeeperson->PracticingProfessionLicense23->cellAttributes() ?>>
			<div class="text-nowrap">
				<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>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->NationalId23->Visible) { // NationalId# ?>
<?php if ($employeeperson_search->IsMobileOrModal) { ?>
	<div id="r_NationalId23" class="form-group row">
		<label for="x_NationalId23" class="<?php echo $employeeperson_search->LeftColumnClass ?>"><span id="elh_employeeperson_NationalId23"><?php echo $employeeperson->NationalId23->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_NationalId23" id="z_NationalId23" value="LIKE"></span>
		</label>
		<div class="<?php echo $employeeperson_search->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>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_NationalId23">
		<td class="<?php echo $employeeperson_search->TableLeftColumnClass ?>"><span id="elh_employeeperson_NationalId23"><?php echo $employeeperson->NationalId23->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_NationalId23" id="z_NationalId23" value="LIKE"></span></td>
		<td<?php echo $employeeperson->NationalId23->cellAttributes() ?>>
			<div class="text-nowrap">
				<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>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->Nationality1->Visible) { // Nationality1 ?>
<?php if ($employeeperson_search->IsMobileOrModal) { ?>
	<div id="r_Nationality1" class="form-group row">
		<label for="x_Nationality1" class="<?php echo $employeeperson_search->LeftColumnClass ?>"><span id="elh_employeeperson_Nationality1"><?php echo $employeeperson->Nationality1->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_Nationality1" id="z_Nationality1" value="LIKE"></span>
		</label>
		<div class="<?php echo $employeeperson_search->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>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_Nationality1">
		<td class="<?php echo $employeeperson_search->TableLeftColumnClass ?>"><span id="elh_employeeperson_Nationality1"><?php echo $employeeperson->Nationality1->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_Nationality1" id="z_Nationality1" value="LIKE"></span></td>
		<td<?php echo $employeeperson->Nationality1->cellAttributes() ?>>
			<div class="text-nowrap">
				<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>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->Nationality2->Visible) { // Nationality2 ?>
<?php if ($employeeperson_search->IsMobileOrModal) { ?>
	<div id="r_Nationality2" class="form-group row">
		<label for="x_Nationality2" class="<?php echo $employeeperson_search->LeftColumnClass ?>"><span id="elh_employeeperson_Nationality2"><?php echo $employeeperson->Nationality2->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_Nationality2" id="z_Nationality2" value="LIKE"></span>
		</label>
		<div class="<?php echo $employeeperson_search->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>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_Nationality2">
		<td class="<?php echo $employeeperson_search->TableLeftColumnClass ?>"><span id="elh_employeeperson_Nationality2"><?php echo $employeeperson->Nationality2->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_Nationality2" id="z_Nationality2" value="LIKE"></span></td>
		<td<?php echo $employeeperson->Nationality2->cellAttributes() ?>>
			<div class="text-nowrap">
				<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>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->Nationality3->Visible) { // Nationality3 ?>
<?php if ($employeeperson_search->IsMobileOrModal) { ?>
	<div id="r_Nationality3" class="form-group row">
		<label for="x_Nationality3" class="<?php echo $employeeperson_search->LeftColumnClass ?>"><span id="elh_employeeperson_Nationality3"><?php echo $employeeperson->Nationality3->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_Nationality3" id="z_Nationality3" value="LIKE"></span>
		</label>
		<div class="<?php echo $employeeperson_search->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>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_Nationality3">
		<td class="<?php echo $employeeperson_search->TableLeftColumnClass ?>"><span id="elh_employeeperson_Nationality3"><?php echo $employeeperson->Nationality3->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_Nationality3" id="z_Nationality3" value="LIKE"></span></td>
		<td<?php echo $employeeperson->Nationality3->cellAttributes() ?>>
			<div class="text-nowrap">
				<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>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->DriverLicense23->Visible) { // DriverLicense# ?>
<?php if ($employeeperson_search->IsMobileOrModal) { ?>
	<div id="r_DriverLicense23" class="form-group row">
		<label for="x_DriverLicense23" class="<?php echo $employeeperson_search->LeftColumnClass ?>"><span id="elh_employeeperson_DriverLicense23"><?php echo $employeeperson->DriverLicense23->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_DriverLicense23" id="z_DriverLicense23" value="LIKE"></span>
		</label>
		<div class="<?php echo $employeeperson_search->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>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_DriverLicense23">
		<td class="<?php echo $employeeperson_search->TableLeftColumnClass ?>"><span id="elh_employeeperson_DriverLicense23"><?php echo $employeeperson->DriverLicense23->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_DriverLicense23" id="z_DriverLicense23" value="LIKE"></span></td>
		<td<?php echo $employeeperson->DriverLicense23->cellAttributes() ?>>
			<div class="text-nowrap">
				<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>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->Extra23->Visible) { // Extra# ?>
<?php if ($employeeperson_search->IsMobileOrModal) { ?>
	<div id="r_Extra23" class="form-group row">
		<label for="x_Extra23" class="<?php echo $employeeperson_search->LeftColumnClass ?>"><span id="elh_employeeperson_Extra23"><?php echo $employeeperson->Extra23->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_Extra23" id="z_Extra23" value="LIKE"></span>
		</label>
		<div class="<?php echo $employeeperson_search->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>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_Extra23">
		<td class="<?php echo $employeeperson_search->TableLeftColumnClass ?>"><span id="elh_employeeperson_Extra23"><?php echo $employeeperson->Extra23->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_Extra23" id="z_Extra23" value="LIKE"></span></td>
		<td<?php echo $employeeperson->Extra23->cellAttributes() ?>>
			<div class="text-nowrap">
				<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>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson->Notes->Visible) { // Notes ?>
<?php if ($employeeperson_search->IsMobileOrModal) { ?>
	<div id="r_Notes" class="form-group row">
		<label for="x_Notes" class="<?php echo $employeeperson_search->LeftColumnClass ?>"><span id="elh_employeeperson_Notes"><?php echo $employeeperson->Notes->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_Notes" id="z_Notes" value="LIKE"></span>
		</label>
		<div class="<?php echo $employeeperson_search->RightColumnClass ?>"><div<?php echo $employeeperson->Notes->cellAttributes() ?>>
			<span id="el_employeeperson_Notes">
<input type="text" data-table="employeeperson" data-field="x_Notes" name="x_Notes" id="x_Notes" size="35" placeholder="<?php echo HtmlEncode($employeeperson->Notes->getPlaceHolder()) ?>" value="<?php echo $employeeperson->Notes->EditValue ?>"<?php echo $employeeperson->Notes->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_Notes">
		<td class="<?php echo $employeeperson_search->TableLeftColumnClass ?>"><span id="elh_employeeperson_Notes"><?php echo $employeeperson->Notes->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_Notes" id="z_Notes" value="LIKE"></span></td>
		<td<?php echo $employeeperson->Notes->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_employeeperson_Notes">
<input type="text" data-table="employeeperson" data-field="x_Notes" name="x_Notes" id="x_Notes" size="35" placeholder="<?php echo HtmlEncode($employeeperson->Notes->getPlaceHolder()) ?>" value="<?php echo $employeeperson->Notes->EditValue ?>"<?php echo $employeeperson->Notes->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeeperson_search->IsMobileOrModal) { ?>
</div><!-- /page* -->
<?php } else { ?>
</table><!-- /table* -->
<?php } ?>
<?php if (!$employeeperson_search->IsModal) { ?>
<div class="form-group row"><!-- buttons .form-group -->
	<div class="<?php echo $employeeperson_search->OffsetColumnClass ?>"><!-- buttons offset -->
<button class="btn btn-primary ew-btn" name="btn-action" id="btn-action" type="submit"><?php echo $Language->phrase("Search") ?></button>
<button class="btn btn-default ew-btn" name="btn-reset" id="btn-reset" type="button" onclick="ew.clearForm(this.form);"><?php echo $Language->phrase("Reset") ?></button>
	</div><!-- /buttons offset -->
</div><!-- /buttons .form-group -->
<?php } ?>
<?php if (!$employeeperson_search->IsMobileOrModal) { ?>
</div><!-- /desktop -->
<?php } ?>
</form>
<?php
$employeeperson_search->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_search->terminate();
?>
