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

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

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

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

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

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

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

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

fagendasearch.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 $agenda_search->showPageHeader(); ?>
<?php
$agenda_search->showMessage();
?>
<form name="fagendasearch" id="fagendasearch" class="<?php echo $agenda_search->FormClassName ?>" action="<?php echo CurrentPageName() ?>" method="post">
<?php if ($agenda_search->CheckToken) { ?>
<input type="hidden" name="<?php echo TOKEN_NAME ?>" value="<?php echo $agenda_search->Token ?>">
<?php } ?>
<input type="hidden" name="t" value="agenda">
<input type="hidden" name="action" id="action" value="search">
<input type="hidden" name="modal" value="<?php echo (int)$agenda_search->IsModal ?>">
<?php if (!$agenda_search->IsMobileOrModal) { ?>
<div class="ew-desktop"><!-- desktop -->
<?php } ?>
<?php if ($agenda_search->IsMobileOrModal) { ?>
<div class="ew-search-div"><!-- page* -->
<?php } else { ?>
<table id="tbl_agendasearch" class="table table-striped table-sm ew-desktop-table"><!-- table* -->
<?php } ?>
<?php if ($agenda->CaseNumber->Visible) { // CaseNumber ?>
<?php if ($agenda_search->IsMobileOrModal) { ?>
	<div id="r_CaseNumber" class="form-group row">
		<label for="x_CaseNumber" class="<?php echo $agenda_search->LeftColumnClass ?>"><span id="elh_agenda_CaseNumber"><?php echo $agenda->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 $agenda_search->RightColumnClass ?>"><div<?php echo $agenda->CaseNumber->cellAttributes() ?>>
			<span id="el_agenda_CaseNumber">
<input type="text" data-table="agenda" data-field="x_CaseNumber" name="x_CaseNumber" id="x_CaseNumber" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($agenda->CaseNumber->getPlaceHolder()) ?>" value="<?php echo $agenda->CaseNumber->EditValue ?>"<?php echo $agenda->CaseNumber->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_CaseNumber">
		<td class="<?php echo $agenda_search->TableLeftColumnClass ?>"><span id="elh_agenda_CaseNumber"><?php echo $agenda->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 $agenda->CaseNumber->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_agenda_CaseNumber">
<input type="text" data-table="agenda" data-field="x_CaseNumber" name="x_CaseNumber" id="x_CaseNumber" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($agenda->CaseNumber->getPlaceHolder()) ?>" value="<?php echo $agenda->CaseNumber->EditValue ?>"<?php echo $agenda->CaseNumber->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($agenda->FileNumber->Visible) { // FileNumber ?>
<?php if ($agenda_search->IsMobileOrModal) { ?>
	<div id="r_FileNumber" class="form-group row">
		<label for="x_FileNumber" class="<?php echo $agenda_search->LeftColumnClass ?>"><span id="elh_agenda_FileNumber"><?php echo $agenda->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 $agenda_search->RightColumnClass ?>"><div<?php echo $agenda->FileNumber->cellAttributes() ?>>
			<span id="el_agenda_FileNumber">
<input type="text" data-table="agenda" data-field="x_FileNumber" name="x_FileNumber" id="x_FileNumber" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($agenda->FileNumber->getPlaceHolder()) ?>" value="<?php echo $agenda->FileNumber->EditValue ?>"<?php echo $agenda->FileNumber->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_FileNumber">
		<td class="<?php echo $agenda_search->TableLeftColumnClass ?>"><span id="elh_agenda_FileNumber"><?php echo $agenda->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 $agenda->FileNumber->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_agenda_FileNumber">
<input type="text" data-table="agenda" data-field="x_FileNumber" name="x_FileNumber" id="x_FileNumber" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($agenda->FileNumber->getPlaceHolder()) ?>" value="<?php echo $agenda->FileNumber->EditValue ?>"<?php echo $agenda->FileNumber->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($agenda->EnvelopeNumber->Visible) { // EnvelopeNumber ?>
<?php if ($agenda_search->IsMobileOrModal) { ?>
	<div id="r_EnvelopeNumber" class="form-group row">
		<label for="x_EnvelopeNumber" class="<?php echo $agenda_search->LeftColumnClass ?>"><span id="elh_agenda_EnvelopeNumber"><?php echo $agenda->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 $agenda_search->RightColumnClass ?>"><div<?php echo $agenda->EnvelopeNumber->cellAttributes() ?>>
			<span id="el_agenda_EnvelopeNumber">
<input type="text" data-table="agenda" data-field="x_EnvelopeNumber" name="x_EnvelopeNumber" id="x_EnvelopeNumber" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($agenda->EnvelopeNumber->getPlaceHolder()) ?>" value="<?php echo $agenda->EnvelopeNumber->EditValue ?>"<?php echo $agenda->EnvelopeNumber->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_EnvelopeNumber">
		<td class="<?php echo $agenda_search->TableLeftColumnClass ?>"><span id="elh_agenda_EnvelopeNumber"><?php echo $agenda->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 $agenda->EnvelopeNumber->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_agenda_EnvelopeNumber">
<input type="text" data-table="agenda" data-field="x_EnvelopeNumber" name="x_EnvelopeNumber" id="x_EnvelopeNumber" size="30" maxlength="30" placeholder="<?php echo HtmlEncode($agenda->EnvelopeNumber->getPlaceHolder()) ?>" value="<?php echo $agenda->EnvelopeNumber->EditValue ?>"<?php echo $agenda->EnvelopeNumber->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($agenda->FileLocation->Visible) { // FileLocation ?>
<?php if ($agenda_search->IsMobileOrModal) { ?>
	<div id="r_FileLocation" class="form-group row">
		<label for="x_FileLocation" class="<?php echo $agenda_search->LeftColumnClass ?>"><span id="elh_agenda_FileLocation"><?php echo $agenda->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 $agenda_search->RightColumnClass ?>"><div<?php echo $agenda->FileLocation->cellAttributes() ?>>
			<span id="el_agenda_FileLocation">
<input type="text" data-table="agenda" data-field="x_FileLocation" name="x_FileLocation" id="x_FileLocation" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($agenda->FileLocation->getPlaceHolder()) ?>" value="<?php echo $agenda->FileLocation->EditValue ?>"<?php echo $agenda->FileLocation->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_FileLocation">
		<td class="<?php echo $agenda_search->TableLeftColumnClass ?>"><span id="elh_agenda_FileLocation"><?php echo $agenda->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 $agenda->FileLocation->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_agenda_FileLocation">
<input type="text" data-table="agenda" data-field="x_FileLocation" name="x_FileLocation" id="x_FileLocation" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($agenda->FileLocation->getPlaceHolder()) ?>" value="<?php echo $agenda->FileLocation->EditValue ?>"<?php echo $agenda->FileLocation->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($agenda->_Case->Visible) { // Case ?>
<?php if ($agenda_search->IsMobileOrModal) { ?>
	<div id="r__Case" class="form-group row">
		<label for="x__Case" class="<?php echo $agenda_search->LeftColumnClass ?>"><span id="elh_agenda__Case"><?php echo $agenda->_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 $agenda_search->RightColumnClass ?>"><div<?php echo $agenda->_Case->cellAttributes() ?>>
			<span id="el_agenda__Case">
<input type="text" data-table="agenda" data-field="x__Case" name="x__Case" id="x__Case" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($agenda->_Case->getPlaceHolder()) ?>" value="<?php echo $agenda->_Case->EditValue ?>"<?php echo $agenda->_Case->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r__Case">
		<td class="<?php echo $agenda_search->TableLeftColumnClass ?>"><span id="elh_agenda__Case"><?php echo $agenda->_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 $agenda->_Case->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_agenda__Case">
<input type="text" data-table="agenda" data-field="x__Case" name="x__Case" id="x__Case" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($agenda->_Case->getPlaceHolder()) ?>" value="<?php echo $agenda->_Case->EditValue ?>"<?php echo $agenda->_Case->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($agenda->CaseEn->Visible) { // CaseEn ?>
<?php if ($agenda_search->IsMobileOrModal) { ?>
	<div id="r_CaseEn" class="form-group row">
		<label for="x_CaseEn" class="<?php echo $agenda_search->LeftColumnClass ?>"><span id="elh_agenda_CaseEn"><?php echo $agenda->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 $agenda_search->RightColumnClass ?>"><div<?php echo $agenda->CaseEn->cellAttributes() ?>>
			<span id="el_agenda_CaseEn">
<input type="text" data-table="agenda" data-field="x_CaseEn" name="x_CaseEn" id="x_CaseEn" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($agenda->CaseEn->getPlaceHolder()) ?>" value="<?php echo $agenda->CaseEn->EditValue ?>"<?php echo $agenda->CaseEn->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_CaseEn">
		<td class="<?php echo $agenda_search->TableLeftColumnClass ?>"><span id="elh_agenda_CaseEn"><?php echo $agenda->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 $agenda->CaseEn->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_agenda_CaseEn">
<input type="text" data-table="agenda" data-field="x_CaseEn" name="x_CaseEn" id="x_CaseEn" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($agenda->CaseEn->getPlaceHolder()) ?>" value="<?php echo $agenda->CaseEn->EditValue ?>"<?php echo $agenda->CaseEn->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($agenda->CaseType->Visible) { // CaseType ?>
<?php if ($agenda_search->IsMobileOrModal) { ?>
	<div id="r_CaseType" class="form-group row">
		<label for="x_CaseType" class="<?php echo $agenda_search->LeftColumnClass ?>"><span id="elh_agenda_CaseType"><?php echo $agenda->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 $agenda_search->RightColumnClass ?>"><div<?php echo $agenda->CaseType->cellAttributes() ?>>
			<span id="el_agenda_CaseType">
<input type="text" data-table="agenda" data-field="x_CaseType" name="x_CaseType" id="x_CaseType" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($agenda->CaseType->getPlaceHolder()) ?>" value="<?php echo $agenda->CaseType->EditValue ?>"<?php echo $agenda->CaseType->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_CaseType">
		<td class="<?php echo $agenda_search->TableLeftColumnClass ?>"><span id="elh_agenda_CaseType"><?php echo $agenda->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 $agenda->CaseType->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_agenda_CaseType">
<input type="text" data-table="agenda" data-field="x_CaseType" name="x_CaseType" id="x_CaseType" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($agenda->CaseType->getPlaceHolder()) ?>" value="<?php echo $agenda->CaseType->EditValue ?>"<?php echo $agenda->CaseType->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($agenda->ClientName->Visible) { // ClientName ?>
<?php if ($agenda_search->IsMobileOrModal) { ?>
	<div id="r_ClientName" class="form-group row">
		<label for="x_ClientName" class="<?php echo $agenda_search->LeftColumnClass ?>"><span id="elh_agenda_ClientName"><?php echo $agenda->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 $agenda_search->RightColumnClass ?>"><div<?php echo $agenda->ClientName->cellAttributes() ?>>
			<span id="el_agenda_ClientName">
<input type="text" data-table="agenda" data-field="x_ClientName" name="x_ClientName" id="x_ClientName" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($agenda->ClientName->getPlaceHolder()) ?>" value="<?php echo $agenda->ClientName->EditValue ?>"<?php echo $agenda->ClientName->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_ClientName">
		<td class="<?php echo $agenda_search->TableLeftColumnClass ?>"><span id="elh_agenda_ClientName"><?php echo $agenda->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 $agenda->ClientName->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_agenda_ClientName">
<input type="text" data-table="agenda" data-field="x_ClientName" name="x_ClientName" id="x_ClientName" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($agenda->ClientName->getPlaceHolder()) ?>" value="<?php echo $agenda->ClientName->EditValue ?>"<?php echo $agenda->ClientName->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($agenda->LitigantName->Visible) { // LitigantName ?>
<?php if ($agenda_search->IsMobileOrModal) { ?>
	<div id="r_LitigantName" class="form-group row">
		<label for="x_LitigantName" class="<?php echo $agenda_search->LeftColumnClass ?>"><span id="elh_agenda_LitigantName"><?php echo $agenda->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 $agenda_search->RightColumnClass ?>"><div<?php echo $agenda->LitigantName->cellAttributes() ?>>
			<span id="el_agenda_LitigantName">
<input type="text" data-table="agenda" data-field="x_LitigantName" name="x_LitigantName" id="x_LitigantName" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($agenda->LitigantName->getPlaceHolder()) ?>" value="<?php echo $agenda->LitigantName->EditValue ?>"<?php echo $agenda->LitigantName->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_LitigantName">
		<td class="<?php echo $agenda_search->TableLeftColumnClass ?>"><span id="elh_agenda_LitigantName"><?php echo $agenda->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 $agenda->LitigantName->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_agenda_LitigantName">
<input type="text" data-table="agenda" data-field="x_LitigantName" name="x_LitigantName" id="x_LitigantName" size="30" maxlength="200" placeholder="<?php echo HtmlEncode($agenda->LitigantName->getPlaceHolder()) ?>" value="<?php echo $agenda->LitigantName->EditValue ?>"<?php echo $agenda->LitigantName->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($agenda->Notes->Visible) { // Notes ?>
<?php if ($agenda_search->IsMobileOrModal) { ?>
	<div id="r_Notes" class="form-group row">
		<label for="x_Notes" class="<?php echo $agenda_search->LeftColumnClass ?>"><span id="elh_agenda_Notes"><?php echo $agenda->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 $agenda_search->RightColumnClass ?>"><div<?php echo $agenda->Notes->cellAttributes() ?>>
			<span id="el_agenda_Notes">
<input type="text" data-table="agenda" data-field="x_Notes" name="x_Notes" id="x_Notes" size="35" placeholder="<?php echo HtmlEncode($agenda->Notes->getPlaceHolder()) ?>" value="<?php echo $agenda->Notes->EditValue ?>"<?php echo $agenda->Notes->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_Notes">
		<td class="<?php echo $agenda_search->TableLeftColumnClass ?>"><span id="elh_agenda_Notes"><?php echo $agenda->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 $agenda->Notes->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_agenda_Notes">
<input type="text" data-table="agenda" data-field="x_Notes" name="x_Notes" id="x_Notes" size="35" placeholder="<?php echo HtmlEncode($agenda->Notes->getPlaceHolder()) ?>" value="<?php echo $agenda->Notes->EditValue ?>"<?php echo $agenda->Notes->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($agenda_search->IsMobileOrModal) { ?>
</div><!-- /page* -->
<?php } else { ?>
</table><!-- /table* -->
<?php } ?>
<?php if (!$agenda_search->IsModal) { ?>
<div class="form-group row"><!-- buttons .form-group -->
	<div class="<?php echo $agenda_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 (!$agenda_search->IsMobileOrModal) { ?>
</div><!-- /desktop -->
<?php } ?>
</form>
<?php
$agenda_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
$agenda_search->terminate();
?>
