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

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

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

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

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

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

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

// Dynamic selection lists
// Form object for search
// Validate function for search

fenvelopessearch.validate = function(fobj) {
	if (!this.validateRequired)
		return true; // Ignore validation
	fobj = fobj || this._form;
	var infix = "";
	elm = this.getElements("x" + infix + "_CourtID");
	if (elm && !ew.checkInteger(elm.value))
		return this.onError(elm, "<?php echo JsEncode($envelopes->CourtID->errorMessage()) ?>");
	elm = this.getElements("x" + infix + "_ClientID");
	if (elm && !ew.checkInteger(elm.value))
		return this.onError(elm, "<?php echo JsEncode($envelopes->ClientID->errorMessage()) ?>");
	elm = this.getElements("x" + infix + "_LitigantID");
	if (elm && !ew.checkInteger(elm.value))
		return this.onError(elm, "<?php echo JsEncode($envelopes->LitigantID->errorMessage()) ?>");

	// 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 $envelopes_search->showPageHeader(); ?>
<?php
$envelopes_search->showMessage();
?>
<form name="fenvelopessearch" id="fenvelopessearch" class="<?php echo $envelopes_search->FormClassName ?>" action="<?php echo CurrentPageName() ?>" method="post">
<?php if ($envelopes_search->CheckToken) { ?>
<input type="hidden" name="<?php echo TOKEN_NAME ?>" value="<?php echo $envelopes_search->Token ?>">
<?php } ?>
<input type="hidden" name="t" value="envelopes">
<input type="hidden" name="action" id="action" value="search">
<input type="hidden" name="modal" value="<?php echo (int)$envelopes_search->IsModal ?>">
<?php if (!$envelopes_search->IsMobileOrModal) { ?>
<div class="ew-desktop"><!-- desktop -->
<?php } ?>
<?php if ($envelopes_search->IsMobileOrModal) { ?>
<div class="ew-search-div"><!-- page* -->
<?php } else { ?>
<table id="tbl_envelopessearch" class="table table-striped table-sm ew-desktop-table"><!-- table* -->
<?php } ?>
<?php if ($envelopes->CaseNumber->Visible) { // CaseNumber ?>
<?php if ($envelopes_search->IsMobileOrModal) { ?>
	<div id="r_CaseNumber" class="form-group row">
		<label for="x_CaseNumber" class="<?php echo $envelopes_search->LeftColumnClass ?>"><span id="elh_envelopes_CaseNumber"><?php echo $envelopes->CaseNumber->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_CaseNumber" id="z_CaseNumber" value="LIKE"></span>
		</label>
		<div class="<?php echo $envelopes_search->RightColumnClass ?>"><div<?php echo $envelopes->CaseNumber->cellAttributes() ?>>
			<span id="el_envelopes_CaseNumber">
<input type="text" data-table="envelopes" data-field="x_CaseNumber" name="x_CaseNumber" id="x_CaseNumber" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($envelopes->CaseNumber->getPlaceHolder()) ?>" value="<?php echo $envelopes->CaseNumber->EditValue ?>"<?php echo $envelopes->CaseNumber->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_CaseNumber">
		<td class="<?php echo $envelopes_search->TableLeftColumnClass ?>"><span id="elh_envelopes_CaseNumber"><?php echo $envelopes->CaseNumber->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_CaseNumber" id="z_CaseNumber" value="LIKE"></span></td>
		<td<?php echo $envelopes->CaseNumber->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_envelopes_CaseNumber">
<input type="text" data-table="envelopes" data-field="x_CaseNumber" name="x_CaseNumber" id="x_CaseNumber" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($envelopes->CaseNumber->getPlaceHolder()) ?>" value="<?php echo $envelopes->CaseNumber->EditValue ?>"<?php echo $envelopes->CaseNumber->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($envelopes->FileNumber->Visible) { // FileNumber ?>
<?php if ($envelopes_search->IsMobileOrModal) { ?>
	<div id="r_FileNumber" class="form-group row">
		<label for="x_FileNumber" class="<?php echo $envelopes_search->LeftColumnClass ?>"><span id="elh_envelopes_FileNumber"><?php echo $envelopes->FileNumber->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_FileNumber" id="z_FileNumber" value="LIKE"></span>
		</label>
		<div class="<?php echo $envelopes_search->RightColumnClass ?>"><div<?php echo $envelopes->FileNumber->cellAttributes() ?>>
			<span id="el_envelopes_FileNumber">
<input type="text" data-table="envelopes" data-field="x_FileNumber" name="x_FileNumber" id="x_FileNumber" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($envelopes->FileNumber->getPlaceHolder()) ?>" value="<?php echo $envelopes->FileNumber->EditValue ?>"<?php echo $envelopes->FileNumber->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_FileNumber">
		<td class="<?php echo $envelopes_search->TableLeftColumnClass ?>"><span id="elh_envelopes_FileNumber"><?php echo $envelopes->FileNumber->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_FileNumber" id="z_FileNumber" value="LIKE"></span></td>
		<td<?php echo $envelopes->FileNumber->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_envelopes_FileNumber">
<input type="text" data-table="envelopes" data-field="x_FileNumber" name="x_FileNumber" id="x_FileNumber" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($envelopes->FileNumber->getPlaceHolder()) ?>" value="<?php echo $envelopes->FileNumber->EditValue ?>"<?php echo $envelopes->FileNumber->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($envelopes->EnvelopeNumber->Visible) { // EnvelopeNumber ?>
<?php if ($envelopes_search->IsMobileOrModal) { ?>
	<div id="r_EnvelopeNumber" class="form-group row">
		<label for="x_EnvelopeNumber" class="<?php echo $envelopes_search->LeftColumnClass ?>"><span id="elh_envelopes_EnvelopeNumber"><?php echo $envelopes->EnvelopeNumber->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_EnvelopeNumber" id="z_EnvelopeNumber" value="LIKE"></span>
		</label>
		<div class="<?php echo $envelopes_search->RightColumnClass ?>"><div<?php echo $envelopes->EnvelopeNumber->cellAttributes() ?>>
			<span id="el_envelopes_EnvelopeNumber">
<input type="text" data-table="envelopes" data-field="x_EnvelopeNumber" name="x_EnvelopeNumber" id="x_EnvelopeNumber" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($envelopes->EnvelopeNumber->getPlaceHolder()) ?>" value="<?php echo $envelopes->EnvelopeNumber->EditValue ?>"<?php echo $envelopes->EnvelopeNumber->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_EnvelopeNumber">
		<td class="<?php echo $envelopes_search->TableLeftColumnClass ?>"><span id="elh_envelopes_EnvelopeNumber"><?php echo $envelopes->EnvelopeNumber->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_EnvelopeNumber" id="z_EnvelopeNumber" value="LIKE"></span></td>
		<td<?php echo $envelopes->EnvelopeNumber->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_envelopes_EnvelopeNumber">
<input type="text" data-table="envelopes" data-field="x_EnvelopeNumber" name="x_EnvelopeNumber" id="x_EnvelopeNumber" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($envelopes->EnvelopeNumber->getPlaceHolder()) ?>" value="<?php echo $envelopes->EnvelopeNumber->EditValue ?>"<?php echo $envelopes->EnvelopeNumber->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($envelopes->FileLocation->Visible) { // FileLocation ?>
<?php if ($envelopes_search->IsMobileOrModal) { ?>
	<div id="r_FileLocation" class="form-group row">
		<label for="x_FileLocation" class="<?php echo $envelopes_search->LeftColumnClass ?>"><span id="elh_envelopes_FileLocation"><?php echo $envelopes->FileLocation->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_FileLocation" id="z_FileLocation" value="LIKE"></span>
		</label>
		<div class="<?php echo $envelopes_search->RightColumnClass ?>"><div<?php echo $envelopes->FileLocation->cellAttributes() ?>>
			<span id="el_envelopes_FileLocation">
<input type="text" data-table="envelopes" data-field="x_FileLocation" name="x_FileLocation" id="x_FileLocation" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($envelopes->FileLocation->getPlaceHolder()) ?>" value="<?php echo $envelopes->FileLocation->EditValue ?>"<?php echo $envelopes->FileLocation->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_FileLocation">
		<td class="<?php echo $envelopes_search->TableLeftColumnClass ?>"><span id="elh_envelopes_FileLocation"><?php echo $envelopes->FileLocation->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_FileLocation" id="z_FileLocation" value="LIKE"></span></td>
		<td<?php echo $envelopes->FileLocation->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_envelopes_FileLocation">
<input type="text" data-table="envelopes" data-field="x_FileLocation" name="x_FileLocation" id="x_FileLocation" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($envelopes->FileLocation->getPlaceHolder()) ?>" value="<?php echo $envelopes->FileLocation->EditValue ?>"<?php echo $envelopes->FileLocation->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($envelopes->_Case->Visible) { // Case ?>
<?php if ($envelopes_search->IsMobileOrModal) { ?>
	<div id="r__Case" class="form-group row">
		<label for="x__Case" class="<?php echo $envelopes_search->LeftColumnClass ?>"><span id="elh_envelopes__Case"><?php echo $envelopes->_Case->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z__Case" id="z__Case" value="LIKE"></span>
		</label>
		<div class="<?php echo $envelopes_search->RightColumnClass ?>"><div<?php echo $envelopes->_Case->cellAttributes() ?>>
			<span id="el_envelopes__Case">
<input type="text" data-table="envelopes" data-field="x__Case" name="x__Case" id="x__Case" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($envelopes->_Case->getPlaceHolder()) ?>" value="<?php echo $envelopes->_Case->EditValue ?>"<?php echo $envelopes->_Case->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r__Case">
		<td class="<?php echo $envelopes_search->TableLeftColumnClass ?>"><span id="elh_envelopes__Case"><?php echo $envelopes->_Case->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z__Case" id="z__Case" value="LIKE"></span></td>
		<td<?php echo $envelopes->_Case->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_envelopes__Case">
<input type="text" data-table="envelopes" data-field="x__Case" name="x__Case" id="x__Case" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($envelopes->_Case->getPlaceHolder()) ?>" value="<?php echo $envelopes->_Case->EditValue ?>"<?php echo $envelopes->_Case->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($envelopes->CaseEn->Visible) { // CaseEn ?>
<?php if ($envelopes_search->IsMobileOrModal) { ?>
	<div id="r_CaseEn" class="form-group row">
		<label for="x_CaseEn" class="<?php echo $envelopes_search->LeftColumnClass ?>"><span id="elh_envelopes_CaseEn"><?php echo $envelopes->CaseEn->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_CaseEn" id="z_CaseEn" value="LIKE"></span>
		</label>
		<div class="<?php echo $envelopes_search->RightColumnClass ?>"><div<?php echo $envelopes->CaseEn->cellAttributes() ?>>
			<span id="el_envelopes_CaseEn">
<input type="text" data-table="envelopes" data-field="x_CaseEn" name="x_CaseEn" id="x_CaseEn" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($envelopes->CaseEn->getPlaceHolder()) ?>" value="<?php echo $envelopes->CaseEn->EditValue ?>"<?php echo $envelopes->CaseEn->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_CaseEn">
		<td class="<?php echo $envelopes_search->TableLeftColumnClass ?>"><span id="elh_envelopes_CaseEn"><?php echo $envelopes->CaseEn->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_CaseEn" id="z_CaseEn" value="LIKE"></span></td>
		<td<?php echo $envelopes->CaseEn->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_envelopes_CaseEn">
<input type="text" data-table="envelopes" data-field="x_CaseEn" name="x_CaseEn" id="x_CaseEn" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($envelopes->CaseEn->getPlaceHolder()) ?>" value="<?php echo $envelopes->CaseEn->EditValue ?>"<?php echo $envelopes->CaseEn->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($envelopes->CaseType->Visible) { // CaseType ?>
<?php if ($envelopes_search->IsMobileOrModal) { ?>
	<div id="r_CaseType" class="form-group row">
		<label for="x_CaseType" class="<?php echo $envelopes_search->LeftColumnClass ?>"><span id="elh_envelopes_CaseType"><?php echo $envelopes->CaseType->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_CaseType" id="z_CaseType" value="LIKE"></span>
		</label>
		<div class="<?php echo $envelopes_search->RightColumnClass ?>"><div<?php echo $envelopes->CaseType->cellAttributes() ?>>
			<span id="el_envelopes_CaseType">
<input type="text" data-table="envelopes" data-field="x_CaseType" name="x_CaseType" id="x_CaseType" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($envelopes->CaseType->getPlaceHolder()) ?>" value="<?php echo $envelopes->CaseType->EditValue ?>"<?php echo $envelopes->CaseType->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_CaseType">
		<td class="<?php echo $envelopes_search->TableLeftColumnClass ?>"><span id="elh_envelopes_CaseType"><?php echo $envelopes->CaseType->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_CaseType" id="z_CaseType" value="LIKE"></span></td>
		<td<?php echo $envelopes->CaseType->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_envelopes_CaseType">
<input type="text" data-table="envelopes" data-field="x_CaseType" name="x_CaseType" id="x_CaseType" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($envelopes->CaseType->getPlaceHolder()) ?>" value="<?php echo $envelopes->CaseType->EditValue ?>"<?php echo $envelopes->CaseType->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($envelopes->ClientName->Visible) { // ClientName ?>
<?php if ($envelopes_search->IsMobileOrModal) { ?>
	<div id="r_ClientName" class="form-group row">
		<label for="x_ClientName" class="<?php echo $envelopes_search->LeftColumnClass ?>"><span id="elh_envelopes_ClientName"><?php echo $envelopes->ClientName->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_ClientName" id="z_ClientName" value="LIKE"></span>
		</label>
		<div class="<?php echo $envelopes_search->RightColumnClass ?>"><div<?php echo $envelopes->ClientName->cellAttributes() ?>>
			<span id="el_envelopes_ClientName">
<input type="text" data-table="envelopes" data-field="x_ClientName" name="x_ClientName" id="x_ClientName" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($envelopes->ClientName->getPlaceHolder()) ?>" value="<?php echo $envelopes->ClientName->EditValue ?>"<?php echo $envelopes->ClientName->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_ClientName">
		<td class="<?php echo $envelopes_search->TableLeftColumnClass ?>"><span id="elh_envelopes_ClientName"><?php echo $envelopes->ClientName->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_ClientName" id="z_ClientName" value="LIKE"></span></td>
		<td<?php echo $envelopes->ClientName->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_envelopes_ClientName">
<input type="text" data-table="envelopes" data-field="x_ClientName" name="x_ClientName" id="x_ClientName" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($envelopes->ClientName->getPlaceHolder()) ?>" value="<?php echo $envelopes->ClientName->EditValue ?>"<?php echo $envelopes->ClientName->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($envelopes->LitigantName->Visible) { // LitigantName ?>
<?php if ($envelopes_search->IsMobileOrModal) { ?>
	<div id="r_LitigantName" class="form-group row">
		<label for="x_LitigantName" class="<?php echo $envelopes_search->LeftColumnClass ?>"><span id="elh_envelopes_LitigantName"><?php echo $envelopes->LitigantName->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_LitigantName" id="z_LitigantName" value="LIKE"></span>
		</label>
		<div class="<?php echo $envelopes_search->RightColumnClass ?>"><div<?php echo $envelopes->LitigantName->cellAttributes() ?>>
			<span id="el_envelopes_LitigantName">
<input type="text" data-table="envelopes" data-field="x_LitigantName" name="x_LitigantName" id="x_LitigantName" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($envelopes->LitigantName->getPlaceHolder()) ?>" value="<?php echo $envelopes->LitigantName->EditValue ?>"<?php echo $envelopes->LitigantName->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_LitigantName">
		<td class="<?php echo $envelopes_search->TableLeftColumnClass ?>"><span id="elh_envelopes_LitigantName"><?php echo $envelopes->LitigantName->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_LitigantName" id="z_LitigantName" value="LIKE"></span></td>
		<td<?php echo $envelopes->LitigantName->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_envelopes_LitigantName">
<input type="text" data-table="envelopes" data-field="x_LitigantName" name="x_LitigantName" id="x_LitigantName" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($envelopes->LitigantName->getPlaceHolder()) ?>" value="<?php echo $envelopes->LitigantName->EditValue ?>"<?php echo $envelopes->LitigantName->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($envelopes->CourtName->Visible) { // CourtName ?>
<?php if ($envelopes_search->IsMobileOrModal) { ?>
	<div id="r_CourtName" class="form-group row">
		<label for="x_CourtName" class="<?php echo $envelopes_search->LeftColumnClass ?>"><span id="elh_envelopes_CourtName"><?php echo $envelopes->CourtName->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_CourtName" id="z_CourtName" value="LIKE"></span>
		</label>
		<div class="<?php echo $envelopes_search->RightColumnClass ?>"><div<?php echo $envelopes->CourtName->cellAttributes() ?>>
			<span id="el_envelopes_CourtName">
<input type="text" data-table="envelopes" data-field="x_CourtName" name="x_CourtName" id="x_CourtName" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($envelopes->CourtName->getPlaceHolder()) ?>" value="<?php echo $envelopes->CourtName->EditValue ?>"<?php echo $envelopes->CourtName->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_CourtName">
		<td class="<?php echo $envelopes_search->TableLeftColumnClass ?>"><span id="elh_envelopes_CourtName"><?php echo $envelopes->CourtName->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_CourtName" id="z_CourtName" value="LIKE"></span></td>
		<td<?php echo $envelopes->CourtName->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_envelopes_CourtName">
<input type="text" data-table="envelopes" data-field="x_CourtName" name="x_CourtName" id="x_CourtName" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($envelopes->CourtName->getPlaceHolder()) ?>" value="<?php echo $envelopes->CourtName->EditValue ?>"<?php echo $envelopes->CourtName->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($envelopes->CourtID->Visible) { // CourtID ?>
<?php if ($envelopes_search->IsMobileOrModal) { ?>
	<div id="r_CourtID" class="form-group row">
		<label for="x_CourtID" class="<?php echo $envelopes_search->LeftColumnClass ?>"><span id="elh_envelopes_CourtID"><?php echo $envelopes->CourtID->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_CourtID" id="z_CourtID" value="="></span>
		</label>
		<div class="<?php echo $envelopes_search->RightColumnClass ?>"><div<?php echo $envelopes->CourtID->cellAttributes() ?>>
			<span id="el_envelopes_CourtID">
<input type="text" data-table="envelopes" data-field="x_CourtID" name="x_CourtID" id="x_CourtID" size="30" placeholder="<?php echo HtmlEncode($envelopes->CourtID->getPlaceHolder()) ?>" value="<?php echo $envelopes->CourtID->EditValue ?>"<?php echo $envelopes->CourtID->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_CourtID">
		<td class="<?php echo $envelopes_search->TableLeftColumnClass ?>"><span id="elh_envelopes_CourtID"><?php echo $envelopes->CourtID->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_CourtID" id="z_CourtID" value="="></span></td>
		<td<?php echo $envelopes->CourtID->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_envelopes_CourtID">
<input type="text" data-table="envelopes" data-field="x_CourtID" name="x_CourtID" id="x_CourtID" size="30" placeholder="<?php echo HtmlEncode($envelopes->CourtID->getPlaceHolder()) ?>" value="<?php echo $envelopes->CourtID->EditValue ?>"<?php echo $envelopes->CourtID->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($envelopes->CourtTypeName->Visible) { // CourtTypeName ?>
<?php if ($envelopes_search->IsMobileOrModal) { ?>
	<div id="r_CourtTypeName" class="form-group row">
		<label for="x_CourtTypeName" class="<?php echo $envelopes_search->LeftColumnClass ?>"><span id="elh_envelopes_CourtTypeName"><?php echo $envelopes->CourtTypeName->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_CourtTypeName" id="z_CourtTypeName" value="LIKE"></span>
		</label>
		<div class="<?php echo $envelopes_search->RightColumnClass ?>"><div<?php echo $envelopes->CourtTypeName->cellAttributes() ?>>
			<span id="el_envelopes_CourtTypeName">
<input type="text" data-table="envelopes" data-field="x_CourtTypeName" name="x_CourtTypeName" id="x_CourtTypeName" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($envelopes->CourtTypeName->getPlaceHolder()) ?>" value="<?php echo $envelopes->CourtTypeName->EditValue ?>"<?php echo $envelopes->CourtTypeName->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_CourtTypeName">
		<td class="<?php echo $envelopes_search->TableLeftColumnClass ?>"><span id="elh_envelopes_CourtTypeName"><?php echo $envelopes->CourtTypeName->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_CourtTypeName" id="z_CourtTypeName" value="LIKE"></span></td>
		<td<?php echo $envelopes->CourtTypeName->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_envelopes_CourtTypeName">
<input type="text" data-table="envelopes" data-field="x_CourtTypeName" name="x_CourtTypeName" id="x_CourtTypeName" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($envelopes->CourtTypeName->getPlaceHolder()) ?>" value="<?php echo $envelopes->CourtTypeName->EditValue ?>"<?php echo $envelopes->CourtTypeName->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($envelopes->CourtGenderName->Visible) { // CourtGenderName ?>
<?php if ($envelopes_search->IsMobileOrModal) { ?>
	<div id="r_CourtGenderName" class="form-group row">
		<label for="x_CourtGenderName" class="<?php echo $envelopes_search->LeftColumnClass ?>"><span id="elh_envelopes_CourtGenderName"><?php echo $envelopes->CourtGenderName->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_CourtGenderName" id="z_CourtGenderName" value="LIKE"></span>
		</label>
		<div class="<?php echo $envelopes_search->RightColumnClass ?>"><div<?php echo $envelopes->CourtGenderName->cellAttributes() ?>>
			<span id="el_envelopes_CourtGenderName">
<input type="text" data-table="envelopes" data-field="x_CourtGenderName" name="x_CourtGenderName" id="x_CourtGenderName" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($envelopes->CourtGenderName->getPlaceHolder()) ?>" value="<?php echo $envelopes->CourtGenderName->EditValue ?>"<?php echo $envelopes->CourtGenderName->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_CourtGenderName">
		<td class="<?php echo $envelopes_search->TableLeftColumnClass ?>"><span id="elh_envelopes_CourtGenderName"><?php echo $envelopes->CourtGenderName->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_CourtGenderName" id="z_CourtGenderName" value="LIKE"></span></td>
		<td<?php echo $envelopes->CourtGenderName->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_envelopes_CourtGenderName">
<input type="text" data-table="envelopes" data-field="x_CourtGenderName" name="x_CourtGenderName" id="x_CourtGenderName" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($envelopes->CourtGenderName->getPlaceHolder()) ?>" value="<?php echo $envelopes->CourtGenderName->EditValue ?>"<?php echo $envelopes->CourtGenderName->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($envelopes->JudgeName->Visible) { // JudgeName ?>
<?php if ($envelopes_search->IsMobileOrModal) { ?>
	<div id="r_JudgeName" class="form-group row">
		<label for="x_JudgeName" class="<?php echo $envelopes_search->LeftColumnClass ?>"><span id="elh_envelopes_JudgeName"><?php echo $envelopes->JudgeName->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_JudgeName" id="z_JudgeName" value="LIKE"></span>
		</label>
		<div class="<?php echo $envelopes_search->RightColumnClass ?>"><div<?php echo $envelopes->JudgeName->cellAttributes() ?>>
			<span id="el_envelopes_JudgeName">
<input type="text" data-table="envelopes" data-field="x_JudgeName" name="x_JudgeName" id="x_JudgeName" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($envelopes->JudgeName->getPlaceHolder()) ?>" value="<?php echo $envelopes->JudgeName->EditValue ?>"<?php echo $envelopes->JudgeName->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_JudgeName">
		<td class="<?php echo $envelopes_search->TableLeftColumnClass ?>"><span id="elh_envelopes_JudgeName"><?php echo $envelopes->JudgeName->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_JudgeName" id="z_JudgeName" value="LIKE"></span></td>
		<td<?php echo $envelopes->JudgeName->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_envelopes_JudgeName">
<input type="text" data-table="envelopes" data-field="x_JudgeName" name="x_JudgeName" id="x_JudgeName" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($envelopes->JudgeName->getPlaceHolder()) ?>" value="<?php echo $envelopes->JudgeName->EditValue ?>"<?php echo $envelopes->JudgeName->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($envelopes->Notes->Visible) { // Notes ?>
<?php if ($envelopes_search->IsMobileOrModal) { ?>
	<div id="r_Notes" class="form-group row">
		<label for="x_Notes" class="<?php echo $envelopes_search->LeftColumnClass ?>"><span id="elh_envelopes_Notes"><?php echo $envelopes->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 $envelopes_search->RightColumnClass ?>"><div<?php echo $envelopes->Notes->cellAttributes() ?>>
			<span id="el_envelopes_Notes">
<input type="text" data-table="envelopes" data-field="x_Notes" name="x_Notes" id="x_Notes" size="35" placeholder="<?php echo HtmlEncode($envelopes->Notes->getPlaceHolder()) ?>" value="<?php echo $envelopes->Notes->EditValue ?>"<?php echo $envelopes->Notes->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_Notes">
		<td class="<?php echo $envelopes_search->TableLeftColumnClass ?>"><span id="elh_envelopes_Notes"><?php echo $envelopes->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 $envelopes->Notes->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_envelopes_Notes">
<input type="text" data-table="envelopes" data-field="x_Notes" name="x_Notes" id="x_Notes" size="35" placeholder="<?php echo HtmlEncode($envelopes->Notes->getPlaceHolder()) ?>" value="<?php echo $envelopes->Notes->EditValue ?>"<?php echo $envelopes->Notes->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($envelopes->ClientID->Visible) { // ClientID ?>
<?php if ($envelopes_search->IsMobileOrModal) { ?>
	<div id="r_ClientID" class="form-group row">
		<label for="x_ClientID" class="<?php echo $envelopes_search->LeftColumnClass ?>"><span id="elh_envelopes_ClientID"><?php echo $envelopes->ClientID->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_ClientID" id="z_ClientID" value="="></span>
		</label>
		<div class="<?php echo $envelopes_search->RightColumnClass ?>"><div<?php echo $envelopes->ClientID->cellAttributes() ?>>
			<span id="el_envelopes_ClientID">
<input type="text" data-table="envelopes" data-field="x_ClientID" name="x_ClientID" id="x_ClientID" size="30" placeholder="<?php echo HtmlEncode($envelopes->ClientID->getPlaceHolder()) ?>" value="<?php echo $envelopes->ClientID->EditValue ?>"<?php echo $envelopes->ClientID->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_ClientID">
		<td class="<?php echo $envelopes_search->TableLeftColumnClass ?>"><span id="elh_envelopes_ClientID"><?php echo $envelopes->ClientID->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_ClientID" id="z_ClientID" value="="></span></td>
		<td<?php echo $envelopes->ClientID->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_envelopes_ClientID">
<input type="text" data-table="envelopes" data-field="x_ClientID" name="x_ClientID" id="x_ClientID" size="30" placeholder="<?php echo HtmlEncode($envelopes->ClientID->getPlaceHolder()) ?>" value="<?php echo $envelopes->ClientID->EditValue ?>"<?php echo $envelopes->ClientID->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($envelopes->LitigantID->Visible) { // LitigantID ?>
<?php if ($envelopes_search->IsMobileOrModal) { ?>
	<div id="r_LitigantID" class="form-group row">
		<label for="x_LitigantID" class="<?php echo $envelopes_search->LeftColumnClass ?>"><span id="elh_envelopes_LitigantID"><?php echo $envelopes->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 $envelopes_search->RightColumnClass ?>"><div<?php echo $envelopes->LitigantID->cellAttributes() ?>>
			<span id="el_envelopes_LitigantID">
<input type="text" data-table="envelopes" data-field="x_LitigantID" name="x_LitigantID" id="x_LitigantID" size="30" placeholder="<?php echo HtmlEncode($envelopes->LitigantID->getPlaceHolder()) ?>" value="<?php echo $envelopes->LitigantID->EditValue ?>"<?php echo $envelopes->LitigantID->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_LitigantID">
		<td class="<?php echo $envelopes_search->TableLeftColumnClass ?>"><span id="elh_envelopes_LitigantID"><?php echo $envelopes->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 $envelopes->LitigantID->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_envelopes_LitigantID">
<input type="text" data-table="envelopes" data-field="x_LitigantID" name="x_LitigantID" id="x_LitigantID" size="30" placeholder="<?php echo HtmlEncode($envelopes->LitigantID->getPlaceHolder()) ?>" value="<?php echo $envelopes->LitigantID->EditValue ?>"<?php echo $envelopes->LitigantID->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($envelopes_search->IsMobileOrModal) { ?>
</div><!-- /page* -->
<?php } else { ?>
</table><!-- /table* -->
<?php } ?>
<?php if (!$envelopes_search->IsModal) { ?>
<div class="form-group row"><!-- buttons .form-group -->
	<div class="<?php echo $envelopes_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 (!$envelopes_search->IsMobileOrModal) { ?>
</div><!-- /desktop -->
<?php } ?>
</form>
<?php
$envelopes_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
$envelopes_search->terminate();
?>
