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

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

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

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

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

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

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

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

fjudgetypesearch.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 $judgetype_search->showPageHeader(); ?>
<?php
$judgetype_search->showMessage();
?>
<form name="fjudgetypesearch" id="fjudgetypesearch" class="<?php echo $judgetype_search->FormClassName ?>" action="<?php echo CurrentPageName() ?>" method="post">
<?php if ($judgetype_search->CheckToken) { ?>
<input type="hidden" name="<?php echo TOKEN_NAME ?>" value="<?php echo $judgetype_search->Token ?>">
<?php } ?>
<input type="hidden" name="t" value="judgetype">
<input type="hidden" name="action" id="action" value="search">
<input type="hidden" name="modal" value="<?php echo (int)$judgetype_search->IsModal ?>">
<?php if (!$judgetype_search->IsMobileOrModal) { ?>
<div class="ew-desktop"><!-- desktop -->
<?php } ?>
<?php if ($judgetype_search->IsMobileOrModal) { ?>
<div class="ew-search-div"><!-- page* -->
<?php } else { ?>
<table id="tbl_judgetypesearch" class="table table-striped table-sm ew-desktop-table"><!-- table* -->
<?php } ?>
<?php if ($judgetype->JudgeTypeID->Visible) { // JudgeTypeID ?>
<?php if ($judgetype_search->IsMobileOrModal) { ?>
	<div id="r_JudgeTypeID" class="form-group row">
		<label class="<?php echo $judgetype_search->LeftColumnClass ?>"><span id="elh_judgetype_JudgeTypeID"><?php echo $judgetype->JudgeTypeID->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_JudgeTypeID" id="z_JudgeTypeID" value="="></span>
		</label>
		<div class="<?php echo $judgetype_search->RightColumnClass ?>"><div<?php echo $judgetype->JudgeTypeID->cellAttributes() ?>>
			<span id="el_judgetype_JudgeTypeID">
<input type="text" data-table="judgetype" data-field="x_JudgeTypeID" name="x_JudgeTypeID" id="x_JudgeTypeID" placeholder="<?php echo HtmlEncode($judgetype->JudgeTypeID->getPlaceHolder()) ?>" value="<?php echo $judgetype->JudgeTypeID->EditValue ?>"<?php echo $judgetype->JudgeTypeID->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_JudgeTypeID">
		<td class="<?php echo $judgetype_search->TableLeftColumnClass ?>"><span id="elh_judgetype_JudgeTypeID"><?php echo $judgetype->JudgeTypeID->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("=") ?><input type="hidden" name="z_JudgeTypeID" id="z_JudgeTypeID" value="="></span></td>
		<td<?php echo $judgetype->JudgeTypeID->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_judgetype_JudgeTypeID">
<input type="text" data-table="judgetype" data-field="x_JudgeTypeID" name="x_JudgeTypeID" id="x_JudgeTypeID" placeholder="<?php echo HtmlEncode($judgetype->JudgeTypeID->getPlaceHolder()) ?>" value="<?php echo $judgetype->JudgeTypeID->EditValue ?>"<?php echo $judgetype->JudgeTypeID->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($judgetype->JudgeType->Visible) { // JudgeType ?>
<?php if ($judgetype_search->IsMobileOrModal) { ?>
	<div id="r_JudgeType" class="form-group row">
		<label for="x_JudgeType" class="<?php echo $judgetype_search->LeftColumnClass ?>"><span id="elh_judgetype_JudgeType"><?php echo $judgetype->JudgeType->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_JudgeType" id="z_JudgeType" value="LIKE"></span>
		</label>
		<div class="<?php echo $judgetype_search->RightColumnClass ?>"><div<?php echo $judgetype->JudgeType->cellAttributes() ?>>
			<span id="el_judgetype_JudgeType">
<input type="text" data-table="judgetype" data-field="x_JudgeType" name="x_JudgeType" id="x_JudgeType" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($judgetype->JudgeType->getPlaceHolder()) ?>" value="<?php echo $judgetype->JudgeType->EditValue ?>"<?php echo $judgetype->JudgeType->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_JudgeType">
		<td class="<?php echo $judgetype_search->TableLeftColumnClass ?>"><span id="elh_judgetype_JudgeType"><?php echo $judgetype->JudgeType->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_JudgeType" id="z_JudgeType" value="LIKE"></span></td>
		<td<?php echo $judgetype->JudgeType->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_judgetype_JudgeType">
<input type="text" data-table="judgetype" data-field="x_JudgeType" name="x_JudgeType" id="x_JudgeType" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($judgetype->JudgeType->getPlaceHolder()) ?>" value="<?php echo $judgetype->JudgeType->EditValue ?>"<?php echo $judgetype->JudgeType->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($judgetype->JudgeTypeEn->Visible) { // JudgeTypeEn ?>
<?php if ($judgetype_search->IsMobileOrModal) { ?>
	<div id="r_JudgeTypeEn" class="form-group row">
		<label for="x_JudgeTypeEn" class="<?php echo $judgetype_search->LeftColumnClass ?>"><span id="elh_judgetype_JudgeTypeEn"><?php echo $judgetype->JudgeTypeEn->caption() ?></span>
		<span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_JudgeTypeEn" id="z_JudgeTypeEn" value="LIKE"></span>
		</label>
		<div class="<?php echo $judgetype_search->RightColumnClass ?>"><div<?php echo $judgetype->JudgeTypeEn->cellAttributes() ?>>
			<span id="el_judgetype_JudgeTypeEn">
<input type="text" data-table="judgetype" data-field="x_JudgeTypeEn" name="x_JudgeTypeEn" id="x_JudgeTypeEn" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($judgetype->JudgeTypeEn->getPlaceHolder()) ?>" value="<?php echo $judgetype->JudgeTypeEn->EditValue ?>"<?php echo $judgetype->JudgeTypeEn->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_JudgeTypeEn">
		<td class="<?php echo $judgetype_search->TableLeftColumnClass ?>"><span id="elh_judgetype_JudgeTypeEn"><?php echo $judgetype->JudgeTypeEn->caption() ?></span></td>
		<td class="w-col-1"><span class="ew-search-operator"><?php echo $Language->phrase("LIKE") ?><input type="hidden" name="z_JudgeTypeEn" id="z_JudgeTypeEn" value="LIKE"></span></td>
		<td<?php echo $judgetype->JudgeTypeEn->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_judgetype_JudgeTypeEn">
<input type="text" data-table="judgetype" data-field="x_JudgeTypeEn" name="x_JudgeTypeEn" id="x_JudgeTypeEn" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($judgetype->JudgeTypeEn->getPlaceHolder()) ?>" value="<?php echo $judgetype->JudgeTypeEn->EditValue ?>"<?php echo $judgetype->JudgeTypeEn->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($judgetype->Notes->Visible) { // Notes ?>
<?php if ($judgetype_search->IsMobileOrModal) { ?>
	<div id="r_Notes" class="form-group row">
		<label for="x_Notes" class="<?php echo $judgetype_search->LeftColumnClass ?>"><span id="elh_judgetype_Notes"><?php echo $judgetype->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 $judgetype_search->RightColumnClass ?>"><div<?php echo $judgetype->Notes->cellAttributes() ?>>
			<span id="el_judgetype_Notes">
<input type="text" data-table="judgetype" data-field="x_Notes" name="x_Notes" id="x_Notes" size="30" maxlength="100" placeholder="<?php echo HtmlEncode($judgetype->Notes->getPlaceHolder()) ?>" value="<?php echo $judgetype->Notes->EditValue ?>"<?php echo $judgetype->Notes->editAttributes() ?>>
</span>
		</div></div>
	</div>
<?php } else { ?>
	<tr id="r_Notes">
		<td class="<?php echo $judgetype_search->TableLeftColumnClass ?>"><span id="elh_judgetype_Notes"><?php echo $judgetype->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 $judgetype->Notes->cellAttributes() ?>>
			<div class="text-nowrap">
				<span id="el_judgetype_Notes">
<input type="text" data-table="judgetype" data-field="x_Notes" name="x_Notes" id="x_Notes" size="30" maxlength="100" placeholder="<?php echo HtmlEncode($judgetype->Notes->getPlaceHolder()) ?>" value="<?php echo $judgetype->Notes->EditValue ?>"<?php echo $judgetype->Notes->editAttributes() ?>>
</span>
			</div>
		</td>
	</tr>
<?php } ?>
<?php } ?>
<?php if ($judgetype_search->IsMobileOrModal) { ?>
</div><!-- /page* -->
<?php } else { ?>
</table><!-- /table* -->
<?php } ?>
<?php if (!$judgetype_search->IsModal) { ?>
<div class="form-group row"><!-- buttons .form-group -->
	<div class="<?php echo $judgetype_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 (!$judgetype_search->IsMobileOrModal) { ?>
</div><!-- /desktop -->
<?php } ?>
</form>
<?php
$judgetype_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
$judgetype_search->terminate();
?>
