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

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

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

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

// Page Rendering event
$tmp_error_list->Page_Render();
?>
<?php include_once "header.php" ?>
<?php if (!$tmp_error->isExport()) { ?>
<script>

// Form object
currentPageID = ew.PAGE_ID = "list";
var ftmp_errorlist = currentForm = new ew.Form("ftmp_errorlist", "list");
ftmp_errorlist.formKeyCountName = '<?php echo $tmp_error_list->FormKeyCountName ?>';

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

// Dynamic selection lists
// Form object for search

</script>
<script src="phpjs/ewscrolltable.js"></script>
<style type="text/css">
.ew-table-preview-row { /* main table preview row color */
	background-color: #FFFFFF; /* preview row color */
}
.ew-table-preview-row .ew-grid {
	display: table;
}
</style>
<div id="ew-preview" class="d-none"><!-- preview -->
	<div class="ew-nav-tabs"><!-- .ew-nav-tabs -->
		<ul class="nav nav-tabs"></ul>
		<div class="tab-content"><!-- .tab-content -->
			<div class="tab-pane fade active show"></div>
		</div><!-- /.tab-content -->
	</div><!-- /.ew-nav-tabs -->
</div><!-- /preview -->
<script src="phpjs/ewpreview.js"></script>
<script>
ew.PREVIEW_PLACEMENT = ew.CSS_FLIP ? "left" : "right";
ew.PREVIEW_SINGLE_ROW = false;
ew.PREVIEW_OVERLAY = true;
</script>
<script>

// Write your client script here, no need to add script tags.
</script>
<?php } ?>
<?php if (!$tmp_error->isExport()) { ?>
<div class="btn-toolbar ew-toolbar">
<?php if ($tmp_error_list->TotalRecs > 0 && $tmp_error_list->ExportOptions->visible()) { ?>
<?php $tmp_error_list->ExportOptions->render("body") ?>
<?php } ?>
<?php if ($tmp_error_list->ImportOptions->visible()) { ?>
<?php $tmp_error_list->ImportOptions->render("body") ?>
<?php } ?>
<div class="clearfix"></div>
</div>
<?php } ?>
<?php
$tmp_error_list->renderOtherOptions();
?>
<?php $tmp_error_list->showPageHeader(); ?>
<?php
$tmp_error_list->showMessage();
?>
<?php if ($tmp_error_list->TotalRecs > 0 || $tmp_error->CurrentAction) { ?>
<div class="card ew-card ew-grid<?php if ($tmp_error_list->isAddOrEdit()) { ?> ew-grid-add-edit<?php } ?> tmp_error">
<?php if (!$tmp_error->isExport()) { ?>
<div class="card-header ew-grid-upper-panel">
<?php if (!$tmp_error->isGridAdd()) { ?>
<form name="ew-pager-form" class="form-inline ew-form ew-pager-form" action="<?php echo CurrentPageName() ?>">
<?php if (!isset($tmp_error_list->Pager)) $tmp_error_list->Pager = new PrevNextPager($tmp_error_list->StartRec, $tmp_error_list->DisplayRecs, $tmp_error_list->TotalRecs, $tmp_error_list->AutoHidePager) ?>
<?php if ($tmp_error_list->Pager->RecordCount > 0 && $tmp_error_list->Pager->Visible) { ?>
<div class="ew-pager">
<span><?php echo $Language->Phrase("Page") ?>&nbsp;</span>
<div class="ew-prev-next"><div class="input-group input-group-sm">
<div class="input-group-prepend">
<!-- first page button -->
	<?php if ($tmp_error_list->Pager->FirstButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerFirst") ?>" href="<?php echo $tmp_error_list->pageUrl() ?>start=<?php echo $tmp_error_list->Pager->FirstButton->Start ?>"><i class="icon-first ew-icon"></i></a>
	<?php } else { ?>
	<a class="btn btn-default disabled" title="<?php echo $Language->phrase("PagerFirst") ?>"><i class="icon-first ew-icon"></i></a>
	<?php } ?>
<!-- previous page button -->
	<?php if ($tmp_error_list->Pager->PrevButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerPrevious") ?>" href="<?php echo $tmp_error_list->pageUrl() ?>start=<?php echo $tmp_error_list->Pager->PrevButton->Start ?>"><i class="icon-prev ew-icon"></i></a>
	<?php } else { ?>
	<a class="btn btn-default disabled" title="<?php echo $Language->phrase("PagerPrevious") ?>"><i class="icon-prev ew-icon"></i></a>
	<?php } ?>
</div>
<!-- current page number -->
	<input class="form-control" type="text" name="<?php echo TABLE_PAGE_NO ?>" value="<?php echo $tmp_error_list->Pager->CurrentPage ?>">
<div class="input-group-append">
<!-- next page button -->
	<?php if ($tmp_error_list->Pager->NextButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerNext") ?>" href="<?php echo $tmp_error_list->pageUrl() ?>start=<?php echo $tmp_error_list->Pager->NextButton->Start ?>"><i class="icon-next ew-icon"></i></a>
	<?php } else { ?>
	<a class="btn btn-default disabled" title="<?php echo $Language->phrase("PagerNext") ?>"><i class="icon-next ew-icon"></i></a>
	<?php } ?>
<!-- last page button -->
	<?php if ($tmp_error_list->Pager->LastButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerLast") ?>" href="<?php echo $tmp_error_list->pageUrl() ?>start=<?php echo $tmp_error_list->Pager->LastButton->Start ?>"><i class="icon-last ew-icon"></i></a>
	<?php } else { ?>
	<a class="btn btn-default disabled" title="<?php echo $Language->phrase("PagerLast") ?>"><i class="icon-last ew-icon"></i></a>
	<?php } ?>
</div>
</div>
</div>
<span>&nbsp;<?php echo $Language->Phrase("of") ?>&nbsp;<?php echo $tmp_error_list->Pager->PageCount ?></span>
<div class="clearfix"></div>
</div>
<?php } ?>
<?php if ($tmp_error_list->Pager->RecordCount > 0) { ?>
<div class="ew-pager ew-rec">
	<span><?php echo $Language->Phrase("Record") ?>&nbsp;<?php echo $tmp_error_list->Pager->FromIndex ?>&nbsp;<?php echo $Language->Phrase("To") ?>&nbsp;<?php echo $tmp_error_list->Pager->ToIndex ?>&nbsp;<?php echo $Language->Phrase("Of") ?>&nbsp;<?php echo $tmp_error_list->Pager->RecordCount ?></span>
</div>
<?php } ?>
<?php if ($tmp_error_list->TotalRecs > 0 && (!$tmp_error_list->AutoHidePageSizeSelector || $tmp_error_list->Pager->Visible)) { ?>
<div class="ew-pager">
<input type="hidden" name="t" value="tmp_error">
<select name="<?php echo TABLE_REC_PER_PAGE ?>" class="form-control form-control-sm ew-tooltip" title="<?php echo $Language->phrase("RecordsPerPage") ?>" onchange="this.form.submit();">
<option value="5"<?php if ($tmp_error_list->DisplayRecs == 5) { ?> selected<?php } ?>>5</option>
<option value="10"<?php if ($tmp_error_list->DisplayRecs == 10) { ?> selected<?php } ?>>10</option>
<option value="20"<?php if ($tmp_error_list->DisplayRecs == 20) { ?> selected<?php } ?>>20</option>
<option value="30"<?php if ($tmp_error_list->DisplayRecs == 30) { ?> selected<?php } ?>>30</option>
<option value="40"<?php if ($tmp_error_list->DisplayRecs == 40) { ?> selected<?php } ?>>40</option>
<option value="50"<?php if ($tmp_error_list->DisplayRecs == 50) { ?> selected<?php } ?>>50</option>
<option value="100"<?php if ($tmp_error_list->DisplayRecs == 100) { ?> selected<?php } ?>>100</option>
<option value="200"<?php if ($tmp_error_list->DisplayRecs == 200) { ?> selected<?php } ?>>200</option>
<option value="500"<?php if ($tmp_error_list->DisplayRecs == 500) { ?> selected<?php } ?>>500</option>
<option value="ALL"<?php if ($tmp_error->getRecordsPerPage() == -1) { ?> selected<?php } ?>><?php echo $Language->Phrase("AllRecords") ?></option>
</select>
</div>
<?php } ?>
</form>
<?php } ?>
<div class="ew-list-other-options">
<?php $tmp_error_list->OtherOptions->render("body") ?>
</div>
<div class="clearfix"></div>
</div>
<?php } ?>
<form name="ftmp_errorlist" id="ftmp_errorlist" class="form-inline ew-form ew-list-form" action="<?php echo CurrentPageName() ?>" method="post">
<?php if ($tmp_error_list->CheckToken) { ?>
<input type="hidden" name="<?php echo TOKEN_NAME ?>" value="<?php echo $tmp_error_list->Token ?>">
<?php } ?>
<input type="hidden" name="t" value="tmp_error">
<div id="gmp_tmp_error" class="<?php if (IsResponsiveLayout()) { ?>table-responsive <?php } ?>card-body ew-grid-middle-panel">
<?php if ($tmp_error_list->TotalRecs > 0 || $tmp_error->isGridEdit()) { ?>
<table id="tbl_tmp_errorlist" class="table ew-table"><!-- .ew-table ##-->
<thead>
	<tr class="ew-table-header">
<?php

// Header row
$tmp_error_list->RowType = ROWTYPE_HEADER;

// Render list options
$tmp_error_list->renderListOptions();

// Render list options (header, left)
$tmp_error_list->ListOptions->render("header", "left");
?>
<?php if ($tmp_error->id->Visible) { // id ?>
	<?php if ($tmp_error->sortUrl($tmp_error->id) == "") { ?>
		<th data-name="id" class="<?php echo $tmp_error->id->headerCellClass() ?>"><div id="elh_tmp_error_id" class="tmp_error_id"><div class="ew-table-header-caption"><?php echo $tmp_error->id->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="id" class="<?php echo $tmp_error->id->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event,'<?php echo $tmp_error->SortUrl($tmp_error->id) ?>',2);"><div id="elh_tmp_error_id" class="tmp_error_id">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $tmp_error->id->caption() ?></span><span class="ew-table-header-sort"><?php if ($tmp_error->id->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($tmp_error->id->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($tmp_error->error_date->Visible) { // error_date ?>
	<?php if ($tmp_error->sortUrl($tmp_error->error_date) == "") { ?>
		<th data-name="error_date" class="<?php echo $tmp_error->error_date->headerCellClass() ?>"><div id="elh_tmp_error_error_date" class="tmp_error_error_date"><div class="ew-table-header-caption"><?php echo $tmp_error->error_date->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="error_date" class="<?php echo $tmp_error->error_date->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event,'<?php echo $tmp_error->SortUrl($tmp_error->error_date) ?>',2);"><div id="elh_tmp_error_error_date" class="tmp_error_error_date">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $tmp_error->error_date->caption() ?></span><span class="ew-table-header-sort"><?php if ($tmp_error->error_date->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($tmp_error->error_date->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($tmp_error->audit_time->Visible) { // audit_time ?>
	<?php if ($tmp_error->sortUrl($tmp_error->audit_time) == "") { ?>
		<th data-name="audit_time" class="<?php echo $tmp_error->audit_time->headerCellClass() ?>"><div id="elh_tmp_error_audit_time" class="tmp_error_audit_time"><div class="ew-table-header-caption"><?php echo $tmp_error->audit_time->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="audit_time" class="<?php echo $tmp_error->audit_time->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event,'<?php echo $tmp_error->SortUrl($tmp_error->audit_time) ?>',2);"><div id="elh_tmp_error_audit_time" class="tmp_error_audit_time">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $tmp_error->audit_time->caption() ?></span><span class="ew-table-header-sort"><?php if ($tmp_error->audit_time->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($tmp_error->audit_time->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php

// Render list options (header, right)
$tmp_error_list->ListOptions->render("header", "right");
?>
	</tr>
</thead>
<tbody>
<?php
if ($tmp_error->ExportAll && $tmp_error->isExport()) {
	$tmp_error_list->StopRec = $tmp_error_list->TotalRecs;
} else {

	// Set the last record to display
	if ($tmp_error_list->TotalRecs > $tmp_error_list->StartRec + $tmp_error_list->DisplayRecs - 1)
		$tmp_error_list->StopRec = $tmp_error_list->StartRec + $tmp_error_list->DisplayRecs - 1;
	else
		$tmp_error_list->StopRec = $tmp_error_list->TotalRecs;
}
$tmp_error_list->RecCnt = $tmp_error_list->StartRec - 1;
if ($tmp_error_list->Recordset && !$tmp_error_list->Recordset->EOF) {
	$tmp_error_list->Recordset->moveFirst();
	$selectLimit = $tmp_error_list->UseSelectLimit;
	if (!$selectLimit && $tmp_error_list->StartRec > 1)
		$tmp_error_list->Recordset->move($tmp_error_list->StartRec - 1);
} elseif (!$tmp_error->AllowAddDeleteRow && $tmp_error_list->StopRec == 0) {
	$tmp_error_list->StopRec = $tmp_error->GridAddRowCount;
}

// Initialize aggregate
$tmp_error->RowType = ROWTYPE_AGGREGATEINIT;
$tmp_error->resetAttributes();
$tmp_error_list->renderRow();
while ($tmp_error_list->RecCnt < $tmp_error_list->StopRec) {
	$tmp_error_list->RecCnt++;
	if ($tmp_error_list->RecCnt >= $tmp_error_list->StartRec) {
		$tmp_error_list->RowCnt++;

		// Set up key count
		$tmp_error_list->KeyCount = $tmp_error_list->RowIndex;

		// Init row class and style
		$tmp_error->resetAttributes();
		$tmp_error->CssClass = "";
		if ($tmp_error->isGridAdd()) {
		} else {
			$tmp_error_list->loadRowValues($tmp_error_list->Recordset); // Load row values
		}
		$tmp_error->RowType = ROWTYPE_VIEW; // Render view

		// Set up row id / data-rowindex
		$tmp_error->RowAttrs = array_merge($tmp_error->RowAttrs, array('data-rowindex'=>$tmp_error_list->RowCnt, 'id'=>'r' . $tmp_error_list->RowCnt . '_tmp_error', 'data-rowtype'=>$tmp_error->RowType));

		// Render row
		$tmp_error_list->renderRow();

		// Render list options
		$tmp_error_list->renderListOptions();
?>
	<tr<?php echo $tmp_error->rowAttributes() ?>>
<?php

// Render list options (body, left)
$tmp_error_list->ListOptions->render("body", "left", $tmp_error_list->RowCnt);
?>
	<?php if ($tmp_error->id->Visible) { // id ?>
		<td data-name="id"<?php echo $tmp_error->id->cellAttributes() ?>>
<span id="el<?php echo $tmp_error_list->RowCnt ?>_tmp_error_id" class="tmp_error_id">
<span<?php echo $tmp_error->id->viewAttributes() ?>>
<?php echo $tmp_error->id->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($tmp_error->error_date->Visible) { // error_date ?>
		<td data-name="error_date"<?php echo $tmp_error->error_date->cellAttributes() ?>>
<span id="el<?php echo $tmp_error_list->RowCnt ?>_tmp_error_error_date" class="tmp_error_error_date">
<span<?php echo $tmp_error->error_date->viewAttributes() ?>>
<?php echo $tmp_error->error_date->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($tmp_error->audit_time->Visible) { // audit_time ?>
		<td data-name="audit_time"<?php echo $tmp_error->audit_time->cellAttributes() ?>>
<span id="el<?php echo $tmp_error_list->RowCnt ?>_tmp_error_audit_time" class="tmp_error_audit_time">
<span<?php echo $tmp_error->audit_time->viewAttributes() ?>>
<?php echo $tmp_error->audit_time->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
<?php

// Render list options (body, right)
$tmp_error_list->ListOptions->render("body", "right", $tmp_error_list->RowCnt);
?>
	</tr>
<?php
	}
	if (!$tmp_error->isGridAdd())
		$tmp_error_list->Recordset->moveNext();
}
?>
</tbody>
</table><!-- /.ew-table -->
<?php } ?>
<?php if (!$tmp_error->CurrentAction) { ?>
<input type="hidden" name="action" id="action" value="">
<?php } ?>
</div><!-- /.ew-grid-middle-panel -->
</form><!-- /.ew-list-form -->
<?php

// Close recordset
if ($tmp_error_list->Recordset)
	$tmp_error_list->Recordset->Close();
?>
<?php if (!$tmp_error->isExport()) { ?>
<div class="card-footer ew-grid-lower-panel">
<?php if (!$tmp_error->isGridAdd()) { ?>
<form name="ew-pager-form" class="form-inline ew-form ew-pager-form" action="<?php echo CurrentPageName() ?>">
<?php if (!isset($tmp_error_list->Pager)) $tmp_error_list->Pager = new PrevNextPager($tmp_error_list->StartRec, $tmp_error_list->DisplayRecs, $tmp_error_list->TotalRecs, $tmp_error_list->AutoHidePager) ?>
<?php if ($tmp_error_list->Pager->RecordCount > 0 && $tmp_error_list->Pager->Visible) { ?>
<div class="ew-pager">
<span><?php echo $Language->Phrase("Page") ?>&nbsp;</span>
<div class="ew-prev-next"><div class="input-group input-group-sm">
<div class="input-group-prepend">
<!-- first page button -->
	<?php if ($tmp_error_list->Pager->FirstButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerFirst") ?>" href="<?php echo $tmp_error_list->pageUrl() ?>start=<?php echo $tmp_error_list->Pager->FirstButton->Start ?>"><i class="icon-first ew-icon"></i></a>
	<?php } else { ?>
	<a class="btn btn-default disabled" title="<?php echo $Language->phrase("PagerFirst") ?>"><i class="icon-first ew-icon"></i></a>
	<?php } ?>
<!-- previous page button -->
	<?php if ($tmp_error_list->Pager->PrevButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerPrevious") ?>" href="<?php echo $tmp_error_list->pageUrl() ?>start=<?php echo $tmp_error_list->Pager->PrevButton->Start ?>"><i class="icon-prev ew-icon"></i></a>
	<?php } else { ?>
	<a class="btn btn-default disabled" title="<?php echo $Language->phrase("PagerPrevious") ?>"><i class="icon-prev ew-icon"></i></a>
	<?php } ?>
</div>
<!-- current page number -->
	<input class="form-control" type="text" name="<?php echo TABLE_PAGE_NO ?>" value="<?php echo $tmp_error_list->Pager->CurrentPage ?>">
<div class="input-group-append">
<!-- next page button -->
	<?php if ($tmp_error_list->Pager->NextButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerNext") ?>" href="<?php echo $tmp_error_list->pageUrl() ?>start=<?php echo $tmp_error_list->Pager->NextButton->Start ?>"><i class="icon-next ew-icon"></i></a>
	<?php } else { ?>
	<a class="btn btn-default disabled" title="<?php echo $Language->phrase("PagerNext") ?>"><i class="icon-next ew-icon"></i></a>
	<?php } ?>
<!-- last page button -->
	<?php if ($tmp_error_list->Pager->LastButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerLast") ?>" href="<?php echo $tmp_error_list->pageUrl() ?>start=<?php echo $tmp_error_list->Pager->LastButton->Start ?>"><i class="icon-last ew-icon"></i></a>
	<?php } else { ?>
	<a class="btn btn-default disabled" title="<?php echo $Language->phrase("PagerLast") ?>"><i class="icon-last ew-icon"></i></a>
	<?php } ?>
</div>
</div>
</div>
<span>&nbsp;<?php echo $Language->Phrase("of") ?>&nbsp;<?php echo $tmp_error_list->Pager->PageCount ?></span>
<div class="clearfix"></div>
</div>
<?php } ?>
<?php if ($tmp_error_list->Pager->RecordCount > 0) { ?>
<div class="ew-pager ew-rec">
	<span><?php echo $Language->Phrase("Record") ?>&nbsp;<?php echo $tmp_error_list->Pager->FromIndex ?>&nbsp;<?php echo $Language->Phrase("To") ?>&nbsp;<?php echo $tmp_error_list->Pager->ToIndex ?>&nbsp;<?php echo $Language->Phrase("Of") ?>&nbsp;<?php echo $tmp_error_list->Pager->RecordCount ?></span>
</div>
<?php } ?>
<?php if ($tmp_error_list->TotalRecs > 0 && (!$tmp_error_list->AutoHidePageSizeSelector || $tmp_error_list->Pager->Visible)) { ?>
<div class="ew-pager">
<input type="hidden" name="t" value="tmp_error">
<select name="<?php echo TABLE_REC_PER_PAGE ?>" class="form-control form-control-sm ew-tooltip" title="<?php echo $Language->phrase("RecordsPerPage") ?>" onchange="this.form.submit();">
<option value="5"<?php if ($tmp_error_list->DisplayRecs == 5) { ?> selected<?php } ?>>5</option>
<option value="10"<?php if ($tmp_error_list->DisplayRecs == 10) { ?> selected<?php } ?>>10</option>
<option value="20"<?php if ($tmp_error_list->DisplayRecs == 20) { ?> selected<?php } ?>>20</option>
<option value="30"<?php if ($tmp_error_list->DisplayRecs == 30) { ?> selected<?php } ?>>30</option>
<option value="40"<?php if ($tmp_error_list->DisplayRecs == 40) { ?> selected<?php } ?>>40</option>
<option value="50"<?php if ($tmp_error_list->DisplayRecs == 50) { ?> selected<?php } ?>>50</option>
<option value="100"<?php if ($tmp_error_list->DisplayRecs == 100) { ?> selected<?php } ?>>100</option>
<option value="200"<?php if ($tmp_error_list->DisplayRecs == 200) { ?> selected<?php } ?>>200</option>
<option value="500"<?php if ($tmp_error_list->DisplayRecs == 500) { ?> selected<?php } ?>>500</option>
<option value="ALL"<?php if ($tmp_error->getRecordsPerPage() == -1) { ?> selected<?php } ?>><?php echo $Language->Phrase("AllRecords") ?></option>
</select>
</div>
<?php } ?>
</form>
<?php } ?>
<div class="ew-list-other-options">
<?php $tmp_error_list->OtherOptions->render("body", "bottom") ?>
</div>
<div class="clearfix"></div>
</div>
<?php } ?>
</div><!-- /.ew-grid -->
<?php } ?>
<?php if ($tmp_error_list->TotalRecs == 0 && !$tmp_error->CurrentAction) { // Show other options ?>
<div class="ew-list-other-options">
<?php $tmp_error_list->OtherOptions->render("body") ?>
</div>
<div class="clearfix"></div>
<?php } ?>
<?php
$tmp_error_list->showPageFooter();
if (DEBUG_ENABLED)
	echo GetDebugMessage();
?>
<?php if (!$tmp_error->isExport()) { ?>
<script>

// Write your table-specific startup script here
// document.write("page loaded");

</script>
<?php if (!$tmp_error->isExport()) { ?>
<script>
ew.scrollableTable("gmp_tmp_error", "", "");
</script>
<?php } ?>
<?php } ?>
<?php include_once "footer.php" ?>
<?php
$tmp_error_list->terminate();
?>
