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

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

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

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

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

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

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

// Dynamic selection lists
flitigantssearch.lists["x_LitigantTypeID"] = <?php echo $litigants_search->LitigantTypeID->Lookup->toClientList() ?>;
flitigantssearch.lists["x_LitigantTypeID"].options = <?php echo JsonEncode($litigants_search->LitigantTypeID->lookupOptions()) ?>;
flitigantssearch.lists["x_LitigantGroupID"] = <?php echo $litigants_search->LitigantGroupID->Lookup->toClientList() ?>;
flitigantssearch.lists["x_LitigantGroupID"].options = <?php echo JsonEncode($litigants_search->LitigantGroupID->lookupOptions()) ?>;
flitigantssearch.autoSuggests["x_LitigantGroupID"] = <?php echo json_encode(["data" => "ajax=autosuggest"]) ?>;

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

flitigantssearch.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 $litigants_search->showPageHeader(); ?>
<?php
$litigants_search->showMessage();
?>
<form name="flitigantssearch" id="flitigantssearch" class="<?php echo $litigants_search->FormClassName ?>" action="<?php echo CurrentPageName() ?>" method="post">
<?php if ($litigants_search->CheckToken) { ?>
<input type="hidden" name="<?php echo TOKEN_NAME ?>" value="<?php echo $litigants_search->Token ?>">
<?php } ?>
<input type="hidden" name="t" value="litigants">
<input type="hidden" name="action" id="action" value="search">
<input type="hidden" name="modal" value="<?php echo (int)$litigants_search->IsModal ?>">
<?php if (!$litigants_search->IsMobileOrModal) { ?>
<div class="ew-desktop"><!-- desktop -->
<?php } ?>
<?php if ($litigants_search->IsMobileOrModal) { ?>
<div class="ew-search-div"><!-- page* -->
<?php } else { ?>
<table id="tbl_litigantssearch" class="table table-striped table-sm ew-desktop-table"><!-- table* -->
<?php } ?>
<?php if ($litigants->LitigantID->Visible) { // LitigantID ?>
<?php if ($litigants_search->IsMobileOrModal) { ?>
	<div id="r_LitigantID" class="form-group row">
		<label class="<?php echo $litigants_search->LeftColumnClass ?>"><span id="elh_litigants_LitigantID"><?php echo $litigants->LitigantID->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_LitigantID" id="z_LitigantID" value="="></span>
		</label>
		<div class="<?php echo $litigants_search->RightColumnClass ?>"><div<?php echo $litigants->LitigantID->cellAttributes() ?>>
			<span id="el_litigants_LitigantID">
<input type="text" data-table="litigants" data-field="x_LitigantID" name="x_LitigantID" id="x_LitigantID" placeholder="<?php echo HtmlEncode($litigants->LitigantID->getPlaceHolder()) ?>" value="<?php echo $litigants->LitigantID->EditValue ?>"<?php echo $litigants->LitigantID->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_LitigantID">
		<td class="<?php echo $litigants_search->TableLeftColumnClass ?>"><span id="elh_litigants_LitigantID"><?php echo $litigants->LitigantID->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_LitigantID" id="z_LitigantID" value="="></span></td>
		<td<?php echo $litigants->LitigantID->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_litigants_LitigantID">
<input type="text" data-table="litigants" data-field="x_LitigantID" name="x_LitigantID" id="x_LitigantID" placeholder="<?php echo HtmlEncode($litigants->LitigantID->getPlaceHolder()) ?>" value="<?php echo $litigants->LitigantID->EditValue ?>"<?php echo $litigants->LitigantID->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($litigants->LitigantTypeID->Visible) { // LitigantTypeID ?>
<?php if ($litigants_search->IsMobileOrModal) { ?>
	<div id="r_LitigantTypeID" class="form-group row">
		<label for="x_LitigantTypeID" class="<?php echo $litigants_search->LeftColumnClass ?>"><span id="elh_litigants_LitigantTypeID"><?php echo $litigants->LitigantTypeID->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_LitigantTypeID" id="z_LitigantTypeID" value="="></span>
		</label>
		<div class="<?php echo $litigants_search->RightColumnClass ?>"><div<?php echo $litigants->LitigantTypeID->cellAttributes() ?>>
			<span id="el_litigants_LitigantTypeID">
<div class="input-group">
	<select class="custom-select ew-custom-select" data-table="litigants" data-field="x_LitigantTypeID" data-value-separator="<?php echo $litigants->LitigantTypeID->displayValueSeparatorAttribute() ?>" id="x_LitigantTypeID" name="x_LitigantTypeID"<?php echo $litigants->LitigantTypeID->editAttributes() ?>>
		<?php echo $litigants->LitigantTypeID->selectOptionListHtml("x_LitigantTypeID") ?>
	</select>
</div>
<?php echo $litigants->LitigantTypeID->Lookup->getParamTag("p_x_LitigantTypeID") ?>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_LitigantTypeID">
		<td class="<?php echo $litigants_search->TableLeftColumnClass ?>"><span id="elh_litigants_LitigantTypeID"><?php echo $litigants->LitigantTypeID->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_LitigantTypeID" id="z_LitigantTypeID" value="="></span></td>
		<td<?php echo $litigants->LitigantTypeID->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_litigants_LitigantTypeID">
<div class="input-group">
	<select class="custom-select ew-custom-select" data-table="litigants" data-field="x_LitigantTypeID" data-value-separator="<?php echo $litigants->LitigantTypeID->displayValueSeparatorAttribute() ?>" id="x_LitigantTypeID" name="x_LitigantTypeID"<?php echo $litigants->LitigantTypeID->editAttributes() ?>>
		<?php echo $litigants->LitigantTypeID->selectOptionListHtml("x_LitigantTypeID") ?>
	</select>
</div>
<?php echo $litigants->LitigantTypeID->Lookup->getParamTag("p_x_LitigantTypeID") ?>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($litigants->LitigantGroupID->Visible) { // LitigantGroupID ?>
<?php if ($litigants_search->IsMobileOrModal) { ?>
	<div id="r_LitigantGroupID" class="form-group row">
		<label class="<?php echo $litigants_search->LeftColumnClass ?>"><span id="elh_litigants_LitigantGroupID"><?php echo $litigants->LitigantGroupID->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_LitigantGroupID" id="z_LitigantGroupID" value="="></span>
		</label>
		<div class="<?php echo $litigants_search->RightColumnClass ?>"><div<?php echo $litigants->LitigantGroupID->cellAttributes() ?>>
			<span id="el_litigants_LitigantGroupID">
<?php
$wrkonchange = "" . trim(@$litigants->LitigantGroupID->EditAttrs["onchange"]);
if (trim($wrkonchange) <> "") $wrkonchange = " onchange=\"" . JsEncode($wrkonchange) . "\"";
$litigants->LitigantGroupID->EditAttrs["onchange"] = "";
?>
<span id="as_x_LitigantGroupID" class="text-nowrap" style="z-index: 8970">
	<div class="input-group mb-3">
		<input type="text" class="form-control" name="sv_x_LitigantGroupID" id="sv_x_LitigantGroupID" value="<?php echo RemoveHtml($litigants->LitigantGroupID->EditValue) ?>" size="30" placeholder="<?php echo HtmlEncode($litigants->LitigantGroupID->getPlaceHolder()) ?>" data-placeholder="<?php echo HtmlEncode($litigants->LitigantGroupID->getPlaceHolder()) ?>"<?php echo $litigants->LitigantGroupID->editAttributes() ?>>
		<div class="input-group-append">
			<button type="button" title="<?php echo HtmlEncode(str_replace("%s", RemoveHtml($litigants->LitigantGroupID->caption()), $Language->phrase("LookupLink", TRUE))) ?>" onclick="ew.modalLookupShow({lnk:this,el:'x_LitigantGroupID',m:0,n:10,srch:true});" class="ew-lookup-btn btn btn-default"<?php echo (($litigants->LitigantGroupID->ReadOnly || $litigants->LitigantGroupID->Disabled) ? " disabled" : "")?>><i class="fa fa-search ew-icon"></i></button>
		</div>
	</div>
</span>
<input type="hidden" data-table="litigants" data-field="x_LitigantGroupID" data-multiple="0" data-lookup="1" data-value-separator="<?php echo $litigants->LitigantGroupID->displayValueSeparatorAttribute() ?>" name="x_LitigantGroupID" id="x_LitigantGroupID" value="<?php echo HtmlEncode($litigants->LitigantGroupID->AdvancedSearch->SearchValue) ?>"<?php echo $wrkonchange ?>>
<script>
flitigantssearch.createAutoSuggest({"id":"x_LitigantGroupID","forceSelect":false});
</script>
<?php echo $litigants->LitigantGroupID->Lookup->getParamTag("p_x_LitigantGroupID") ?>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_LitigantGroupID">
		<td class="<?php echo $litigants_search->TableLeftColumnClass ?>"><span id="elh_litigants_LitigantGroupID"><?php echo $litigants->LitigantGroupID->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_LitigantGroupID" id="z_LitigantGroupID" value="="></span></td>
		<td<?php echo $litigants->LitigantGroupID->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_litigants_LitigantGroupID">
<?php
$wrkonchange = "" . trim(@$litigants->LitigantGroupID->EditAttrs["onchange"]);
if (trim($wrkonchange) <> "") $wrkonchange = " onchange=\"" . JsEncode($wrkonchange) . "\"";
$litigants->LitigantGroupID->EditAttrs["onchange"] = "";
?>
<span id="as_x_LitigantGroupID" class="text-nowrap" style="z-index: 8970">
	<div class="input-group mb-3">
		<input type="text" class="form-control" name="sv_x_LitigantGroupID" id="sv_x_LitigantGroupID" value="<?php echo RemoveHtml($litigants->LitigantGroupID->EditValue) ?>" size="30" placeholder="<?php echo HtmlEncode($litigants->LitigantGroupID->getPlaceHolder()) ?>" data-placeholder="<?php echo HtmlEncode($litigants->LitigantGroupID->getPlaceHolder()) ?>"<?php echo $litigants->LitigantGroupID->editAttributes() ?>>
		<div class="input-group-append">
			<button type="button" title="<?php echo HtmlEncode(str_replace("%s", RemoveHtml($litigants->LitigantGroupID->caption()), $Language->phrase("LookupLink", TRUE))) ?>" onclick="ew.modalLookupShow({lnk:this,el:'x_LitigantGroupID',m:0,n:10,srch:true});" class="ew-lookup-btn btn btn-default"<?php echo (($litigants->LitigantGroupID->ReadOnly || $litigants->LitigantGroupID->Disabled) ? " disabled" : "")?>><i class="fa fa-search ew-icon"></i></button>
		</div>
	</div>
</span>
<input type="hidden" data-table="litigants" data-field="x_LitigantGroupID" data-multiple="0" data-lookup="1" data-value-separator="<?php echo $litigants->LitigantGroupID->displayValueSeparatorAttribute() ?>" name="x_LitigantGroupID" id="x_LitigantGroupID" value="<?php echo HtmlEncode($litigants->LitigantGroupID->AdvancedSearch->SearchValue) ?>"<?php echo $wrkonchange ?>>
<script>
flitigantssearch.createAutoSuggest({"id":"x_LitigantGroupID","forceSelect":false});
</script>
<?php echo $litigants->LitigantGroupID->Lookup->getParamTag("p_x_LitigantGroupID") ?>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($litigants->FirstName->Visible) { // FirstName ?>
<?php if ($litigants_search->IsMobileOrModal) { ?>
	<div id="r_FirstName" class="form-group row">
		<label for="x_FirstName" class="<?php echo $litigants_search->LeftColumnClass ?>"><span id="elh_litigants_FirstName"><?php echo $litigants->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 $litigants_search->RightColumnClass ?>"><div<?php echo $litigants->FirstName->cellAttributes() ?>>
			<span id="el_litigants_FirstName">
<input type="text" data-table="litigants" data-field="x_FirstName" name="x_FirstName" id="x_FirstName" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($litigants->FirstName->getPlaceHolder()) ?>" value="<?php echo $litigants->FirstName->EditValue ?>"<?php echo $litigants->FirstName->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_FirstName">
		<td class="<?php echo $litigants_search->TableLeftColumnClass ?>"><span id="elh_litigants_FirstName"><?php echo $litigants->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 $litigants->FirstName->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_litigants_FirstName">
<input type="text" data-table="litigants" data-field="x_FirstName" name="x_FirstName" id="x_FirstName" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($litigants->FirstName->getPlaceHolder()) ?>" value="<?php echo $litigants->FirstName->EditValue ?>"<?php echo $litigants->FirstName->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($litigants->MiddleName->Visible) { // MiddleName ?>
<?php if ($litigants_search->IsMobileOrModal) { ?>
	<div id="r_MiddleName" class="form-group row">
		<label for="x_MiddleName" class="<?php echo $litigants_search->LeftColumnClass ?>"><span id="elh_litigants_MiddleName"><?php echo $litigants->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 $litigants_search->RightColumnClass ?>"><div<?php echo $litigants->MiddleName->cellAttributes() ?>>
			<span id="el_litigants_MiddleName">
<input type="text" data-table="litigants" data-field="x_MiddleName" name="x_MiddleName" id="x_MiddleName" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($litigants->MiddleName->getPlaceHolder()) ?>" value="<?php echo $litigants->MiddleName->EditValue ?>"<?php echo $litigants->MiddleName->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_MiddleName">
		<td class="<?php echo $litigants_search->TableLeftColumnClass ?>"><span id="elh_litigants_MiddleName"><?php echo $litigants->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 $litigants->MiddleName->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_litigants_MiddleName">
<input type="text" data-table="litigants" data-field="x_MiddleName" name="x_MiddleName" id="x_MiddleName" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($litigants->MiddleName->getPlaceHolder()) ?>" value="<?php echo $litigants->MiddleName->EditValue ?>"<?php echo $litigants->MiddleName->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($litigants->LastName->Visible) { // LastName ?>
<?php if ($litigants_search->IsMobileOrModal) { ?>
	<div id="r_LastName" class="form-group row">
		<label for="x_LastName" class="<?php echo $litigants_search->LeftColumnClass ?>"><span id="elh_litigants_LastName"><?php echo $litigants->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 $litigants_search->RightColumnClass ?>"><div<?php echo $litigants->LastName->cellAttributes() ?>>
			<span id="el_litigants_LastName">
<input type="text" data-table="litigants" data-field="x_LastName" name="x_LastName" id="x_LastName" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($litigants->LastName->getPlaceHolder()) ?>" value="<?php echo $litigants->LastName->EditValue ?>"<?php echo $litigants->LastName->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_LastName">
		<td class="<?php echo $litigants_search->TableLeftColumnClass ?>"><span id="elh_litigants_LastName"><?php echo $litigants->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 $litigants->LastName->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_litigants_LastName">
<input type="text" data-table="litigants" data-field="x_LastName" name="x_LastName" id="x_LastName" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($litigants->LastName->getPlaceHolder()) ?>" value="<?php echo $litigants->LastName->EditValue ?>"<?php echo $litigants->LastName->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($litigants->PartnersName->Visible) { // PartnersName ?>
<?php if ($litigants_search->IsMobileOrModal) { ?>
	<div id="r_PartnersName" class="form-group row">
		<label for="x_PartnersName" class="<?php echo $litigants_search->LeftColumnClass ?>"><span id="elh_litigants_PartnersName"><?php echo $litigants->PartnersName->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_PartnersName" id="z_PartnersName" value="LIKE"></span>
		</label>
		<div class="<?php echo $litigants_search->RightColumnClass ?>"><div<?php echo $litigants->PartnersName->cellAttributes() ?>>
			<span id="el_litigants_PartnersName">
<input type="text" data-table="litigants" data-field="x_PartnersName" name="x_PartnersName" id="x_PartnersName" size="30" maxlength="100" placeholder="<?php echo HtmlEncode($litigants->PartnersName->getPlaceHolder()) ?>" value="<?php echo $litigants->PartnersName->EditValue ?>"<?php echo $litigants->PartnersName->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_PartnersName">
		<td class="<?php echo $litigants_search->TableLeftColumnClass ?>"><span id="elh_litigants_PartnersName"><?php echo $litigants->PartnersName->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_PartnersName" id="z_PartnersName" value="LIKE"></span></td>
		<td<?php echo $litigants->PartnersName->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_litigants_PartnersName">
<input type="text" data-table="litigants" data-field="x_PartnersName" name="x_PartnersName" id="x_PartnersName" size="30" maxlength="100" placeholder="<?php echo HtmlEncode($litigants->PartnersName->getPlaceHolder()) ?>" value="<?php echo $litigants->PartnersName->EditValue ?>"<?php echo $litigants->PartnersName->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($litigants->CompanyName->Visible) { // CompanyName ?>
<?php if ($litigants_search->IsMobileOrModal) { ?>
	<div id="r_CompanyName" class="form-group row">
		<label for="x_CompanyName" class="<?php echo $litigants_search->LeftColumnClass ?>"><span id="elh_litigants_CompanyName"><?php echo $litigants->CompanyName->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_CompanyName" id="z_CompanyName" value="LIKE"></span>
		</label>
		<div class="<?php echo $litigants_search->RightColumnClass ?>"><div<?php echo $litigants->CompanyName->cellAttributes() ?>>
			<span id="el_litigants_CompanyName">
<input type="text" data-table="litigants" data-field="x_CompanyName" name="x_CompanyName" id="x_CompanyName" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($litigants->CompanyName->getPlaceHolder()) ?>" value="<?php echo $litigants->CompanyName->EditValue ?>"<?php echo $litigants->CompanyName->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_CompanyName">
		<td class="<?php echo $litigants_search->TableLeftColumnClass ?>"><span id="elh_litigants_CompanyName"><?php echo $litigants->CompanyName->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_CompanyName" id="z_CompanyName" value="LIKE"></span></td>
		<td<?php echo $litigants->CompanyName->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_litigants_CompanyName">
<input type="text" data-table="litigants" data-field="x_CompanyName" name="x_CompanyName" id="x_CompanyName" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($litigants->CompanyName->getPlaceHolder()) ?>" value="<?php echo $litigants->CompanyName->EditValue ?>"<?php echo $litigants->CompanyName->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($litigants->JobTitle->Visible) { // JobTitle ?>
<?php if ($litigants_search->IsMobileOrModal) { ?>
	<div id="r_JobTitle" class="form-group row">
		<label for="x_JobTitle" class="<?php echo $litigants_search->LeftColumnClass ?>"><span id="elh_litigants_JobTitle"><?php echo $litigants->JobTitle->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_JobTitle" id="z_JobTitle" value="LIKE"></span>
		</label>
		<div class="<?php echo $litigants_search->RightColumnClass ?>"><div<?php echo $litigants->JobTitle->cellAttributes() ?>>
			<span id="el_litigants_JobTitle">
<input type="text" data-table="litigants" data-field="x_JobTitle" name="x_JobTitle" id="x_JobTitle" size="30" maxlength="25" placeholder="<?php echo HtmlEncode($litigants->JobTitle->getPlaceHolder()) ?>" value="<?php echo $litigants->JobTitle->EditValue ?>"<?php echo $litigants->JobTitle->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_JobTitle">
		<td class="<?php echo $litigants_search->TableLeftColumnClass ?>"><span id="elh_litigants_JobTitle"><?php echo $litigants->JobTitle->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_JobTitle" id="z_JobTitle" value="LIKE"></span></td>
		<td<?php echo $litigants->JobTitle->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_litigants_JobTitle">
<input type="text" data-table="litigants" data-field="x_JobTitle" name="x_JobTitle" id="x_JobTitle" size="30" maxlength="25" placeholder="<?php echo HtmlEncode($litigants->JobTitle->getPlaceHolder()) ?>" value="<?php echo $litigants->JobTitle->EditValue ?>"<?php echo $litigants->JobTitle->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($litigants->Notes->Visible) { // Notes ?>
<?php if ($litigants_search->IsMobileOrModal) { ?>
	<div id="r_Notes" class="form-group row">
		<label for="x_Notes" class="<?php echo $litigants_search->LeftColumnClass ?>"><span id="elh_litigants_Notes"><?php echo $litigants->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 $litigants_search->RightColumnClass ?>"><div<?php echo $litigants->Notes->cellAttributes() ?>>
			<span id="el_litigants_Notes">
<input type="text" data-table="litigants" data-field="x_Notes" name="x_Notes" id="x_Notes" size="35" placeholder="<?php echo HtmlEncode($litigants->Notes->getPlaceHolder()) ?>" value="<?php echo $litigants->Notes->EditValue ?>"<?php echo $litigants->Notes->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_Notes">
		<td class="<?php echo $litigants_search->TableLeftColumnClass ?>"><span id="elh_litigants_Notes"><?php echo $litigants->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 $litigants->Notes->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_litigants_Notes">
<input type="text" data-table="litigants" data-field="x_Notes" name="x_Notes" id="x_Notes" size="35" placeholder="<?php echo HtmlEncode($litigants->Notes->getPlaceHolder()) ?>" value="<?php echo $litigants->Notes->EditValue ?>"<?php echo $litigants->Notes->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($litigants_search->IsMobileOrModal) { ?>
</div><!-- /page* -->
<?php } else { ?>
</table><!-- /table* -->
<?php } ?>
<?php if (!$litigants_search->IsModal) { ?>
<div class="form-group row"><!-- buttons .form-group -->
	<div class="<?php echo $litigants_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 (!$litigants_search->IsMobileOrModal) { ?>
</div><!-- /desktop -->
<?php } ?>
</form>
<?php
$litigants_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
$litigants_search->terminate();
?>
