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

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

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

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

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

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

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

// Dynamic selection lists
femployeesaccesssearch.lists["x_EmployeeTypeID"] = <?php echo $employeesaccess_search->EmployeeTypeID->Lookup->toClientList() ?>;
femployeesaccesssearch.lists["x_EmployeeTypeID"].options = <?php echo JsonEncode($employeesaccess_search->EmployeeTypeID->lookupOptions()) ?>;
femployeesaccesssearch.lists["x_TitleID"] = <?php echo $employeesaccess_search->TitleID->Lookup->toClientList() ?>;
femployeesaccesssearch.lists["x_TitleID"].options = <?php echo JsonEncode($employeesaccess_search->TitleID->lookupOptions()) ?>;
femployeesaccesssearch.lists["x_ReportsTo"] = <?php echo $employeesaccess_search->ReportsTo->Lookup->toClientList() ?>;
femployeesaccesssearch.lists["x_ReportsTo"].options = <?php echo JsonEncode($employeesaccess_search->ReportsTo->lookupOptions()) ?>;
femployeesaccesssearch.lists["x_UserLevel"] = <?php echo $employeesaccess_search->UserLevel->Lookup->toClientList() ?>;
femployeesaccesssearch.lists["x_UserLevel"].options = <?php echo JsonEncode($employeesaccess_search->UserLevel->lookupOptions()) ?>;
femployeesaccesssearch.lists["x_Type"] = <?php echo $employeesaccess_search->Type->Lookup->toClientList() ?>;
femployeesaccesssearch.lists["x_Type"].options = <?php echo JsonEncode($employeesaccess_search->Type->options(FALSE, TRUE)) ?>;
femployeesaccesssearch.lists["x_Locked[]"] = <?php echo $employeesaccess_search->Locked->Lookup->toClientList() ?>;
femployeesaccesssearch.lists["x_Locked[]"].options = <?php echo JsonEncode($employeesaccess_search->Locked->options(FALSE, TRUE)) ?>;

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

femployeesaccesssearch.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 $employeesaccess_search->showPageHeader(); ?>
<?php
$employeesaccess_search->showMessage();
?>
<form name="femployeesaccesssearch" id="femployeesaccesssearch" class="<?php echo $employeesaccess_search->FormClassName ?>" action="<?php echo CurrentPageName() ?>" method="post">
<?php if ($employeesaccess_search->CheckToken) { ?>
<input type="hidden" name="<?php echo TOKEN_NAME ?>" value="<?php echo $employeesaccess_search->Token ?>">
<?php } ?>
<input type="hidden" name="t" value="employeesaccess">
<input type="hidden" name="action" id="action" value="search">
<input type="hidden" name="modal" value="<?php echo (int)$employeesaccess_search->IsModal ?>">
<?php if (!$employeesaccess_search->IsMobileOrModal) { ?>
<div class="ew-desktop"><!-- desktop -->
<?php } ?>
<?php if ($employeesaccess_search->IsMobileOrModal) { ?>
<div class="ew-search-div"><!-- page* -->
<?php } else { ?>
<table id="tbl_employeesaccesssearch" class="table table-striped table-sm ew-desktop-table"><!-- table* -->
<?php } ?>
<?php if ($employeesaccess->EmployeeID->Visible) { // EmployeeID ?>
<?php if ($employeesaccess_search->IsMobileOrModal) { ?>
	<div id="r_EmployeeID" class="form-group row">
		<label class="<?php echo $employeesaccess_search->LeftColumnClass ?>"><span id="elh_employeesaccess_EmployeeID"><?php echo $employeesaccess->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 $employeesaccess_search->RightColumnClass ?>"><div<?php echo $employeesaccess->EmployeeID->cellAttributes() ?>>
			<span id="el_employeesaccess_EmployeeID">
<input type="text" data-table="employeesaccess" data-field="x_EmployeeID" name="x_EmployeeID" id="x_EmployeeID" placeholder="<?php echo HtmlEncode($employeesaccess->EmployeeID->getPlaceHolder()) ?>" value="<?php echo $employeesaccess->EmployeeID->EditValue ?>"<?php echo $employeesaccess->EmployeeID->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_EmployeeID">
		<td class="<?php echo $employeesaccess_search->TableLeftColumnClass ?>"><span id="elh_employeesaccess_EmployeeID"><?php echo $employeesaccess->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 $employeesaccess->EmployeeID->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_employeesaccess_EmployeeID">
<input type="text" data-table="employeesaccess" data-field="x_EmployeeID" name="x_EmployeeID" id="x_EmployeeID" placeholder="<?php echo HtmlEncode($employeesaccess->EmployeeID->getPlaceHolder()) ?>" value="<?php echo $employeesaccess->EmployeeID->EditValue ?>"<?php echo $employeesaccess->EmployeeID->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeesaccess->Username->Visible) { // Username ?>
<?php if ($employeesaccess_search->IsMobileOrModal) { ?>
	<div id="r_Username" class="form-group row">
		<label for="x_Username" class="<?php echo $employeesaccess_search->LeftColumnClass ?>"><span id="elh_employeesaccess_Username"><?php echo $employeesaccess->Username->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_Username" id="z_Username" value="LIKE"></span>
		</label>
		<div class="<?php echo $employeesaccess_search->RightColumnClass ?>"><div<?php echo $employeesaccess->Username->cellAttributes() ?>>
			<span id="el_employeesaccess_Username">
<input type="text" data-table="employeesaccess" data-field="x_Username" name="x_Username" id="x_Username" size="30" maxlength="20" placeholder="<?php echo HtmlEncode($employeesaccess->Username->getPlaceHolder()) ?>" value="<?php echo $employeesaccess->Username->EditValue ?>"<?php echo $employeesaccess->Username->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_Username">
		<td class="<?php echo $employeesaccess_search->TableLeftColumnClass ?>"><span id="elh_employeesaccess_Username"><?php echo $employeesaccess->Username->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_Username" id="z_Username" value="LIKE"></span></td>
		<td<?php echo $employeesaccess->Username->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_employeesaccess_Username">
<input type="text" data-table="employeesaccess" data-field="x_Username" name="x_Username" id="x_Username" size="30" maxlength="20" placeholder="<?php echo HtmlEncode($employeesaccess->Username->getPlaceHolder()) ?>" value="<?php echo $employeesaccess->Username->EditValue ?>"<?php echo $employeesaccess->Username->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeesaccess->Password->Visible) { // Password ?>
<?php if ($employeesaccess_search->IsMobileOrModal) { ?>
	<div id="r_Password" class="form-group row">
		<label for="x_Password" class="<?php echo $employeesaccess_search->LeftColumnClass ?>"><span id="elh_employeesaccess_Password"><?php echo $employeesaccess->Password->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_Password" id="z_Password" value="LIKE"></span>
		</label>
		<div class="<?php echo $employeesaccess_search->RightColumnClass ?>"><div<?php echo $employeesaccess->Password->cellAttributes() ?>>
			<span id="el_employeesaccess_Password">
<input type="text" data-table="employeesaccess" data-field="x_Password" name="x_Password" id="x_Password" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($employeesaccess->Password->getPlaceHolder()) ?>" value="<?php echo $employeesaccess->Password->EditValue ?>"<?php echo $employeesaccess->Password->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_Password">
		<td class="<?php echo $employeesaccess_search->TableLeftColumnClass ?>"><span id="elh_employeesaccess_Password"><?php echo $employeesaccess->Password->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_Password" id="z_Password" value="LIKE"></span></td>
		<td<?php echo $employeesaccess->Password->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_employeesaccess_Password">
<input type="text" data-table="employeesaccess" data-field="x_Password" name="x_Password" id="x_Password" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($employeesaccess->Password->getPlaceHolder()) ?>" value="<?php echo $employeesaccess->Password->EditValue ?>"<?php echo $employeesaccess->Password->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeesaccess->EmployeeTypeID->Visible) { // EmployeeTypeID ?>
<?php if ($employeesaccess_search->IsMobileOrModal) { ?>
	<div id="r_EmployeeTypeID" class="form-group row">
		<label for="x_EmployeeTypeID" class="<?php echo $employeesaccess_search->LeftColumnClass ?>"><span id="elh_employeesaccess_EmployeeTypeID"><?php echo $employeesaccess->EmployeeTypeID->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_EmployeeTypeID" id="z_EmployeeTypeID" value="="></span>
		</label>
		<div class="<?php echo $employeesaccess_search->RightColumnClass ?>"><div<?php echo $employeesaccess->EmployeeTypeID->cellAttributes() ?>>
			<span id="el_employeesaccess_EmployeeTypeID">
<input type="text" data-table="employeesaccess" data-field="x_EmployeeTypeID" name="x_EmployeeTypeID" id="x_EmployeeTypeID" size="30" placeholder="<?php echo HtmlEncode($employeesaccess->EmployeeTypeID->getPlaceHolder()) ?>" value="<?php echo $employeesaccess->EmployeeTypeID->EditValue ?>"<?php echo $employeesaccess->EmployeeTypeID->editAttributes() ?>>
<?php echo $employeesaccess->EmployeeTypeID->Lookup->getParamTag("p_x_EmployeeTypeID") ?>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_EmployeeTypeID">
		<td class="<?php echo $employeesaccess_search->TableLeftColumnClass ?>"><span id="elh_employeesaccess_EmployeeTypeID"><?php echo $employeesaccess->EmployeeTypeID->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_EmployeeTypeID" id="z_EmployeeTypeID" value="="></span></td>
		<td<?php echo $employeesaccess->EmployeeTypeID->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_employeesaccess_EmployeeTypeID">
<input type="text" data-table="employeesaccess" data-field="x_EmployeeTypeID" name="x_EmployeeTypeID" id="x_EmployeeTypeID" size="30" placeholder="<?php echo HtmlEncode($employeesaccess->EmployeeTypeID->getPlaceHolder()) ?>" value="<?php echo $employeesaccess->EmployeeTypeID->EditValue ?>"<?php echo $employeesaccess->EmployeeTypeID->editAttributes() ?>>
<?php echo $employeesaccess->EmployeeTypeID->Lookup->getParamTag("p_x_EmployeeTypeID") ?>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeesaccess->TitleID->Visible) { // TitleID ?>
<?php if ($employeesaccess_search->IsMobileOrModal) { ?>
	<div id="r_TitleID" class="form-group row">
		<label for="x_TitleID" class="<?php echo $employeesaccess_search->LeftColumnClass ?>"><span id="elh_employeesaccess_TitleID"><?php echo $employeesaccess->TitleID->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_TitleID" id="z_TitleID" value="="></span>
		</label>
		<div class="<?php echo $employeesaccess_search->RightColumnClass ?>"><div<?php echo $employeesaccess->TitleID->cellAttributes() ?>>
			<span id="el_employeesaccess_TitleID">
<div class="input-group">
	<select class="custom-select ew-custom-select" data-table="employeesaccess" data-field="x_TitleID" data-value-separator="<?php echo $employeesaccess->TitleID->displayValueSeparatorAttribute() ?>" id="x_TitleID" name="x_TitleID"<?php echo $employeesaccess->TitleID->editAttributes() ?>>
		<?php echo $employeesaccess->TitleID->selectOptionListHtml("x_TitleID") ?>
	</select>
</div>
<?php echo $employeesaccess->TitleID->Lookup->getParamTag("p_x_TitleID") ?>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_TitleID">
		<td class="<?php echo $employeesaccess_search->TableLeftColumnClass ?>"><span id="elh_employeesaccess_TitleID"><?php echo $employeesaccess->TitleID->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_TitleID" id="z_TitleID" value="="></span></td>
		<td<?php echo $employeesaccess->TitleID->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_employeesaccess_TitleID">
<div class="input-group">
	<select class="custom-select ew-custom-select" data-table="employeesaccess" data-field="x_TitleID" data-value-separator="<?php echo $employeesaccess->TitleID->displayValueSeparatorAttribute() ?>" id="x_TitleID" name="x_TitleID"<?php echo $employeesaccess->TitleID->editAttributes() ?>>
		<?php echo $employeesaccess->TitleID->selectOptionListHtml("x_TitleID") ?>
	</select>
</div>
<?php echo $employeesaccess->TitleID->Lookup->getParamTag("p_x_TitleID") ?>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeesaccess->FirstName->Visible) { // FirstName ?>
<?php if ($employeesaccess_search->IsMobileOrModal) { ?>
	<div id="r_FirstName" class="form-group row">
		<label for="x_FirstName" class="<?php echo $employeesaccess_search->LeftColumnClass ?>"><span id="elh_employeesaccess_FirstName"><?php echo $employeesaccess->FirstName->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_FirstName" id="z_FirstName" value="LIKE"></span>
		</label>
		<div class="<?php echo $employeesaccess_search->RightColumnClass ?>"><div<?php echo $employeesaccess->FirstName->cellAttributes() ?>>
			<span id="el_employeesaccess_FirstName">
<input type="text" data-table="employeesaccess" data-field="x_FirstName" name="x_FirstName" id="x_FirstName" size="30" maxlength="20" placeholder="<?php echo HtmlEncode($employeesaccess->FirstName->getPlaceHolder()) ?>" value="<?php echo $employeesaccess->FirstName->EditValue ?>"<?php echo $employeesaccess->FirstName->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_FirstName">
		<td class="<?php echo $employeesaccess_search->TableLeftColumnClass ?>"><span id="elh_employeesaccess_FirstName"><?php echo $employeesaccess->FirstName->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_FirstName" id="z_FirstName" value="LIKE"></span></td>
		<td<?php echo $employeesaccess->FirstName->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_employeesaccess_FirstName">
<input type="text" data-table="employeesaccess" data-field="x_FirstName" name="x_FirstName" id="x_FirstName" size="30" maxlength="20" placeholder="<?php echo HtmlEncode($employeesaccess->FirstName->getPlaceHolder()) ?>" value="<?php echo $employeesaccess->FirstName->EditValue ?>"<?php echo $employeesaccess->FirstName->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeesaccess->MiddleName->Visible) { // MiddleName ?>
<?php if ($employeesaccess_search->IsMobileOrModal) { ?>
	<div id="r_MiddleName" class="form-group row">
		<label for="x_MiddleName" class="<?php echo $employeesaccess_search->LeftColumnClass ?>"><span id="elh_employeesaccess_MiddleName"><?php echo $employeesaccess->MiddleName->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_MiddleName" id="z_MiddleName" value="LIKE"></span>
		</label>
		<div class="<?php echo $employeesaccess_search->RightColumnClass ?>"><div<?php echo $employeesaccess->MiddleName->cellAttributes() ?>>
			<span id="el_employeesaccess_MiddleName">
<input type="text" data-table="employeesaccess" data-field="x_MiddleName" name="x_MiddleName" id="x_MiddleName" size="30" maxlength="20" placeholder="<?php echo HtmlEncode($employeesaccess->MiddleName->getPlaceHolder()) ?>" value="<?php echo $employeesaccess->MiddleName->EditValue ?>"<?php echo $employeesaccess->MiddleName->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_MiddleName">
		<td class="<?php echo $employeesaccess_search->TableLeftColumnClass ?>"><span id="elh_employeesaccess_MiddleName"><?php echo $employeesaccess->MiddleName->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_MiddleName" id="z_MiddleName" value="LIKE"></span></td>
		<td<?php echo $employeesaccess->MiddleName->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_employeesaccess_MiddleName">
<input type="text" data-table="employeesaccess" data-field="x_MiddleName" name="x_MiddleName" id="x_MiddleName" size="30" maxlength="20" placeholder="<?php echo HtmlEncode($employeesaccess->MiddleName->getPlaceHolder()) ?>" value="<?php echo $employeesaccess->MiddleName->EditValue ?>"<?php echo $employeesaccess->MiddleName->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeesaccess->LastName->Visible) { // LastName ?>
<?php if ($employeesaccess_search->IsMobileOrModal) { ?>
	<div id="r_LastName" class="form-group row">
		<label for="x_LastName" class="<?php echo $employeesaccess_search->LeftColumnClass ?>"><span id="elh_employeesaccess_LastName"><?php echo $employeesaccess->LastName->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_LastName" id="z_LastName" value="LIKE"></span>
		</label>
		<div class="<?php echo $employeesaccess_search->RightColumnClass ?>"><div<?php echo $employeesaccess->LastName->cellAttributes() ?>>
			<span id="el_employeesaccess_LastName">
<input type="text" data-table="employeesaccess" data-field="x_LastName" name="x_LastName" id="x_LastName" size="30" maxlength="20" placeholder="<?php echo HtmlEncode($employeesaccess->LastName->getPlaceHolder()) ?>" value="<?php echo $employeesaccess->LastName->EditValue ?>"<?php echo $employeesaccess->LastName->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_LastName">
		<td class="<?php echo $employeesaccess_search->TableLeftColumnClass ?>"><span id="elh_employeesaccess_LastName"><?php echo $employeesaccess->LastName->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_LastName" id="z_LastName" value="LIKE"></span></td>
		<td<?php echo $employeesaccess->LastName->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_employeesaccess_LastName">
<input type="text" data-table="employeesaccess" data-field="x_LastName" name="x_LastName" id="x_LastName" size="30" maxlength="20" placeholder="<?php echo HtmlEncode($employeesaccess->LastName->getPlaceHolder()) ?>" value="<?php echo $employeesaccess->LastName->EditValue ?>"<?php echo $employeesaccess->LastName->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeesaccess->ReportsTo->Visible) { // ReportsTo ?>
<?php if ($employeesaccess_search->IsMobileOrModal) { ?>
	<div id="r_ReportsTo" class="form-group row">
		<label for="x_ReportsTo" class="<?php echo $employeesaccess_search->LeftColumnClass ?>"><span id="elh_employeesaccess_ReportsTo"><?php echo $employeesaccess->ReportsTo->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_ReportsTo" id="z_ReportsTo" value="="></span>
		</label>
		<div class="<?php echo $employeesaccess_search->RightColumnClass ?>"><div<?php echo $employeesaccess->ReportsTo->cellAttributes() ?>>
			<span id="el_employeesaccess_ReportsTo">
<div class="input-group">
	<select class="custom-select ew-custom-select" data-table="employeesaccess" data-field="x_ReportsTo" data-value-separator="<?php echo $employeesaccess->ReportsTo->displayValueSeparatorAttribute() ?>" id="x_ReportsTo" name="x_ReportsTo"<?php echo $employeesaccess->ReportsTo->editAttributes() ?>>
		<?php echo $employeesaccess->ReportsTo->selectOptionListHtml("x_ReportsTo") ?>
	</select>
</div>
<?php echo $employeesaccess->ReportsTo->Lookup->getParamTag("p_x_ReportsTo") ?>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_ReportsTo">
		<td class="<?php echo $employeesaccess_search->TableLeftColumnClass ?>"><span id="elh_employeesaccess_ReportsTo"><?php echo $employeesaccess->ReportsTo->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_ReportsTo" id="z_ReportsTo" value="="></span></td>
		<td<?php echo $employeesaccess->ReportsTo->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_employeesaccess_ReportsTo">
<div class="input-group">
	<select class="custom-select ew-custom-select" data-table="employeesaccess" data-field="x_ReportsTo" data-value-separator="<?php echo $employeesaccess->ReportsTo->displayValueSeparatorAttribute() ?>" id="x_ReportsTo" name="x_ReportsTo"<?php echo $employeesaccess->ReportsTo->editAttributes() ?>>
		<?php echo $employeesaccess->ReportsTo->selectOptionListHtml("x_ReportsTo") ?>
	</select>
</div>
<?php echo $employeesaccess->ReportsTo->Lookup->getParamTag("p_x_ReportsTo") ?>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeesaccess->UserLevel->Visible) { // UserLevel ?>
<?php if ($employeesaccess_search->IsMobileOrModal) { ?>
	<div id="r_UserLevel" class="form-group row">
		<label for="x_UserLevel" class="<?php echo $employeesaccess_search->LeftColumnClass ?>"><span id="elh_employeesaccess_UserLevel"><?php echo $employeesaccess->UserLevel->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_UserLevel" id="z_UserLevel" value="="></span>
		</label>
		<div class="<?php echo $employeesaccess_search->RightColumnClass ?>"><div<?php echo $employeesaccess->UserLevel->cellAttributes() ?>>
			<span id="el_employeesaccess_UserLevel">
<div class="input-group">
	<select class="custom-select ew-custom-select" data-table="employeesaccess" data-field="x_UserLevel" data-value-separator="<?php echo $employeesaccess->UserLevel->displayValueSeparatorAttribute() ?>" id="x_UserLevel" name="x_UserLevel"<?php echo $employeesaccess->UserLevel->editAttributes() ?>>
		<?php echo $employeesaccess->UserLevel->selectOptionListHtml("x_UserLevel") ?>
	</select>
</div>
<?php echo $employeesaccess->UserLevel->Lookup->getParamTag("p_x_UserLevel") ?>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_UserLevel">
		<td class="<?php echo $employeesaccess_search->TableLeftColumnClass ?>"><span id="elh_employeesaccess_UserLevel"><?php echo $employeesaccess->UserLevel->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_UserLevel" id="z_UserLevel" value="="></span></td>
		<td<?php echo $employeesaccess->UserLevel->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_employeesaccess_UserLevel">
<div class="input-group">
	<select class="custom-select ew-custom-select" data-table="employeesaccess" data-field="x_UserLevel" data-value-separator="<?php echo $employeesaccess->UserLevel->displayValueSeparatorAttribute() ?>" id="x_UserLevel" name="x_UserLevel"<?php echo $employeesaccess->UserLevel->editAttributes() ?>>
		<?php echo $employeesaccess->UserLevel->selectOptionListHtml("x_UserLevel") ?>
	</select>
</div>
<?php echo $employeesaccess->UserLevel->Lookup->getParamTag("p_x_UserLevel") ?>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeesaccess->Type->Visible) { // Type ?>
<?php if ($employeesaccess_search->IsMobileOrModal) { ?>
	<div id="r_Type" class="form-group row">
		<label class="<?php echo $employeesaccess_search->LeftColumnClass ?>"><span id="elh_employeesaccess_Type"><?php echo $employeesaccess->Type->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_Type" id="z_Type" value="="></span>
		</label>
		<div class="<?php echo $employeesaccess_search->RightColumnClass ?>"><div<?php echo $employeesaccess->Type->cellAttributes() ?>>
			<span id="el_employeesaccess_Type">
<div id="tp_x_Type" class="ew-template"><input type="radio" class="form-check-input" data-table="employeesaccess" data-field="x_Type" data-value-separator="<?php echo $employeesaccess->Type->displayValueSeparatorAttribute() ?>" name="x_Type" id="x_Type" value="{value}"<?php echo $employeesaccess->Type->editAttributes() ?>></div>
<div id="dsl_x_Type" data-repeatcolumn="5" class="ew-item-list d-none"><div>
<?php echo $employeesaccess->Type->radioButtonListHtml(FALSE, "x_Type") ?>
</div></div>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_Type">
		<td class="<?php echo $employeesaccess_search->TableLeftColumnClass ?>"><span id="elh_employeesaccess_Type"><?php echo $employeesaccess->Type->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_Type" id="z_Type" value="="></span></td>
		<td<?php echo $employeesaccess->Type->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_employeesaccess_Type">
<div id="tp_x_Type" class="ew-template"><input type="radio" class="form-check-input" data-table="employeesaccess" data-field="x_Type" data-value-separator="<?php echo $employeesaccess->Type->displayValueSeparatorAttribute() ?>" name="x_Type" id="x_Type" value="{value}"<?php echo $employeesaccess->Type->editAttributes() ?>></div>
<div id="dsl_x_Type" data-repeatcolumn="5" class="ew-item-list d-none"><div>
<?php echo $employeesaccess->Type->radioButtonListHtml(FALSE, "x_Type") ?>
</div></div>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeesaccess->Locked->Visible) { // Locked ?>
<?php if ($employeesaccess_search->IsMobileOrModal) { ?>
	<div id="r_Locked" class="form-group row">
		<label class="<?php echo $employeesaccess_search->LeftColumnClass ?>"><span id="elh_employeesaccess_Locked"><?php echo $employeesaccess->Locked->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_Locked" id="z_Locked" value="="></span>
		</label>
		<div class="<?php echo $employeesaccess_search->RightColumnClass ?>"><div<?php echo $employeesaccess->Locked->cellAttributes() ?>>
			<span id="el_employeesaccess_Locked">
<?php
$selwrk = (ConvertToBool($employeesaccess->Locked->AdvancedSearch->SearchValue)) ? " checked" : "";
?>
<input type="checkbox" data-table="employeesaccess" data-field="x_Locked" name="x_Locked[]" id="x_Locked[]" value="1"<?php echo $selwrk ?><?php echo $employeesaccess->Locked->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_Locked">
		<td class="<?php echo $employeesaccess_search->TableLeftColumnClass ?>"><span id="elh_employeesaccess_Locked"><?php echo $employeesaccess->Locked->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_Locked" id="z_Locked" value="="></span></td>
		<td<?php echo $employeesaccess->Locked->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_employeesaccess_Locked">
<?php
$selwrk = (ConvertToBool($employeesaccess->Locked->AdvancedSearch->SearchValue)) ? " checked" : "";
?>
<input type="checkbox" data-table="employeesaccess" data-field="x_Locked" name="x_Locked[]" id="x_Locked[]" value="1"<?php echo $selwrk ?><?php echo $employeesaccess->Locked->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeesaccess->Profile->Visible) { // Profile ?>
<?php if ($employeesaccess_search->IsMobileOrModal) { ?>
	<div id="r_Profile" class="form-group row">
		<label for="x_Profile" class="<?php echo $employeesaccess_search->LeftColumnClass ?>"><span id="elh_employeesaccess_Profile"><?php echo $employeesaccess->Profile->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_Profile" id="z_Profile" value="LIKE"></span>
		</label>
		<div class="<?php echo $employeesaccess_search->RightColumnClass ?>"><div<?php echo $employeesaccess->Profile->cellAttributes() ?>>
			<span id="el_employeesaccess_Profile">
<input type="text" data-table="employeesaccess" data-field="x_Profile" name="x_Profile" id="x_Profile" size="35" placeholder="<?php echo HtmlEncode($employeesaccess->Profile->getPlaceHolder()) ?>" value="<?php echo $employeesaccess->Profile->EditValue ?>"<?php echo $employeesaccess->Profile->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_Profile">
		<td class="<?php echo $employeesaccess_search->TableLeftColumnClass ?>"><span id="elh_employeesaccess_Profile"><?php echo $employeesaccess->Profile->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_Profile" id="z_Profile" value="LIKE"></span></td>
		<td<?php echo $employeesaccess->Profile->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_employeesaccess_Profile">
<input type="text" data-table="employeesaccess" data-field="x_Profile" name="x_Profile" id="x_Profile" size="35" placeholder="<?php echo HtmlEncode($employeesaccess->Profile->getPlaceHolder()) ?>" value="<?php echo $employeesaccess->Profile->EditValue ?>"<?php echo $employeesaccess->Profile->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($employeesaccess_search->IsMobileOrModal) { ?>
</div><!-- /page* -->
<?php } else { ?>
</table><!-- /table* -->
<?php } ?>
<?php if (!$employeesaccess_search->IsModal) { ?>
<div class="form-group row"><!-- buttons .form-group -->
	<div class="<?php echo $employeesaccess_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 (!$employeesaccess_search->IsMobileOrModal) { ?>
</div><!-- /desktop -->
<?php } ?>
</form>
<?php
$employeesaccess_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
$employeesaccess_search->terminate();
?>
