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

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

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

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

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

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

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

// Dynamic selection lists
fclientadditinalinfolist.lists["x_ClientID"] = <?php echo $clientadditinalinfo_list->ClientID->Lookup->toClientList() ?>;
fclientadditinalinfolist.lists["x_ClientID"].options = <?php echo JsonEncode($clientadditinalinfo_list->ClientID->lookupOptions()) ?>;
fclientadditinalinfolist.lists["x_MaritalStatusID"] = <?php echo $clientadditinalinfo_list->MaritalStatusID->Lookup->toClientList() ?>;
fclientadditinalinfolist.lists["x_MaritalStatusID"].options = <?php echo JsonEncode($clientadditinalinfo_list->MaritalStatusID->lookupOptions()) ?>;

// Form object for search
var fclientadditinalinfolistsrch = currentSearchForm = new ew.Form("fclientadditinalinfolistsrch");

// Filters
fclientadditinalinfolistsrch.filterList = <?php echo $clientadditinalinfo_list->getFilterList() ?>;
</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 (!$clientadditinalinfo->isExport()) { ?>
<div class="btn-toolbar ew-toolbar">
<?php if ($clientadditinalinfo_list->TotalRecs > 0 && $clientadditinalinfo_list->ExportOptions->visible()) { ?>
<?php $clientadditinalinfo_list->ExportOptions->render("body") ?>
<?php } ?>
<?php if ($clientadditinalinfo_list->ImportOptions->visible()) { ?>
<?php $clientadditinalinfo_list->ImportOptions->render("body") ?>
<?php } ?>
<?php if ($clientadditinalinfo_list->SearchOptions->visible()) { ?>
<?php $clientadditinalinfo_list->SearchOptions->render("body") ?>
<?php } ?>
<?php if ($clientadditinalinfo_list->FilterOptions->visible()) { ?>
<?php $clientadditinalinfo_list->FilterOptions->render("body") ?>
<?php } ?>
<div class="clearfix"></div>
</div>
<?php } ?>
<?php if (!$clientadditinalinfo->isExport() || EXPORT_MASTER_RECORD && $clientadditinalinfo->isExport("print")) { ?>
<?php
if ($clientadditinalinfo_list->DbMasterFilter <> "" && $clientadditinalinfo->getCurrentMasterTable() == "clients") {
	if ($clientadditinalinfo_list->MasterRecordExists) {
		include_once "clientsmaster.php";
	}
}
?>
<?php } ?>
<?php
$clientadditinalinfo_list->renderOtherOptions();
?>
<?php if ($Security->CanSearch()) { ?>
<?php if (!$clientadditinalinfo->isExport() && !$clientadditinalinfo->CurrentAction) { ?>
<form name="fclientadditinalinfolistsrch" id="fclientadditinalinfolistsrch" class="form-inline ew-form ew-ext-search-form" action="<?php echo CurrentPageName() ?>">
<?php $searchPanelClass = ($clientadditinalinfo_list->SearchWhere <> "") ? " show" : " show"; ?>
<div id="fclientadditinalinfolistsrch-search-panel" class="ew-search-panel collapse<?php echo $searchPanelClass ?>">
<input type="hidden" name="cmd" value="search">
<input type="hidden" name="t" value="clientadditinalinfo">
	<div class="ew-basic-search">
<div id="xsr_1" class="ew-row d-sm-flex">
	<div class="ew-quick-search input-group">
		<input type="text" name="<?php echo TABLE_BASIC_SEARCH ?>" id="<?php echo TABLE_BASIC_SEARCH ?>" class="form-control" value="<?php echo HtmlEncode($clientadditinalinfo_list->BasicSearch->getKeyword()) ?>" placeholder="<?php echo HtmlEncode($Language->phrase("Search")) ?>">
		<input type="hidden" name="<?php echo TABLE_BASIC_SEARCH_TYPE ?>" id="<?php echo TABLE_BASIC_SEARCH_TYPE ?>" value="<?php echo HtmlEncode($clientadditinalinfo_list->BasicSearch->getType()) ?>">
		<div class="input-group-append">
			<button class="btn btn-primary" name="btn-submit" id="btn-submit" type="submit"><?php echo $Language->phrase("SearchBtn") ?></button>
			<button type="button" data-toggle="dropdown" class="btn btn-primary dropdown-toggle dropdown-toggle-split" aria-haspopup="true" aria-expanded="false"><span id="searchtype"><?php echo $clientadditinalinfo_list->BasicSearch->getTypeNameShort() ?></span></button>
			<div class="dropdown-menu dropdown-menu-right">
				<a class="dropdown-item<?php if ($clientadditinalinfo_list->BasicSearch->getType() == "") echo " active"; ?>" href="javascript:void(0);" onclick="ew.setSearchType(this)"><?php echo $Language->phrase("QuickSearchAuto") ?></a>
				<a class="dropdown-item<?php if ($clientadditinalinfo_list->BasicSearch->getType() == "=") echo " active"; ?>" href="javascript:void(0);" onclick="ew.setSearchType(this,'=')"><?php echo $Language->phrase("QuickSearchExact") ?></a>
				<a class="dropdown-item<?php if ($clientadditinalinfo_list->BasicSearch->getType() == "AND") echo " active"; ?>" href="javascript:void(0);" onclick="ew.setSearchType(this,'AND')"><?php echo $Language->phrase("QuickSearchAll") ?></a>
				<a class="dropdown-item<?php if ($clientadditinalinfo_list->BasicSearch->getType() == "OR") echo " active"; ?>" href="javascript:void(0);" onclick="ew.setSearchType(this,'OR')"><?php echo $Language->phrase("QuickSearchAny") ?></a>
			</div>
		</div>
	</div>
</div>
	</div>
</div>
</form>
<?php } ?>
<?php } ?>
<?php $clientadditinalinfo_list->showPageHeader(); ?>
<?php
$clientadditinalinfo_list->showMessage();
?>
<?php if ($clientadditinalinfo_list->TotalRecs > 0 || $clientadditinalinfo->CurrentAction) { ?>
<div class="card ew-card ew-grid<?php if ($clientadditinalinfo_list->isAddOrEdit()) { ?> ew-grid-add-edit<?php } ?> clientadditinalinfo">
<?php if (!$clientadditinalinfo->isExport()) { ?>
<div class="card-header ew-grid-upper-panel">
<?php if (!$clientadditinalinfo->isGridAdd()) { ?>
<form name="ew-pager-form" class="form-inline ew-form ew-pager-form" action="<?php echo CurrentPageName() ?>">
<?php if (!isset($clientadditinalinfo_list->Pager)) $clientadditinalinfo_list->Pager = new PrevNextPager($clientadditinalinfo_list->StartRec, $clientadditinalinfo_list->DisplayRecs, $clientadditinalinfo_list->TotalRecs, $clientadditinalinfo_list->AutoHidePager) ?>
<?php if ($clientadditinalinfo_list->Pager->RecordCount > 0 && $clientadditinalinfo_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 ($clientadditinalinfo_list->Pager->FirstButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerFirst") ?>" href="<?php echo $clientadditinalinfo_list->pageUrl() ?>start=<?php echo $clientadditinalinfo_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 ($clientadditinalinfo_list->Pager->PrevButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerPrevious") ?>" href="<?php echo $clientadditinalinfo_list->pageUrl() ?>start=<?php echo $clientadditinalinfo_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 $clientadditinalinfo_list->Pager->CurrentPage ?>">
<div class="input-group-append">
<!-- next page button -->
	<?php if ($clientadditinalinfo_list->Pager->NextButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerNext") ?>" href="<?php echo $clientadditinalinfo_list->pageUrl() ?>start=<?php echo $clientadditinalinfo_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 ($clientadditinalinfo_list->Pager->LastButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerLast") ?>" href="<?php echo $clientadditinalinfo_list->pageUrl() ?>start=<?php echo $clientadditinalinfo_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 $clientadditinalinfo_list->Pager->PageCount ?></span>
<div class="clearfix"></div>
</div>
<?php } ?>
<?php if ($clientadditinalinfo_list->Pager->RecordCount > 0) { ?>
<div class="ew-pager ew-rec">
	<span><?php echo $Language->Phrase("Record") ?>&nbsp;<?php echo $clientadditinalinfo_list->Pager->FromIndex ?>&nbsp;<?php echo $Language->Phrase("To") ?>&nbsp;<?php echo $clientadditinalinfo_list->Pager->ToIndex ?>&nbsp;<?php echo $Language->Phrase("Of") ?>&nbsp;<?php echo $clientadditinalinfo_list->Pager->RecordCount ?></span>
</div>
<?php } ?>
<?php if ($clientadditinalinfo_list->TotalRecs > 0 && (!$clientadditinalinfo_list->AutoHidePageSizeSelector || $clientadditinalinfo_list->Pager->Visible)) { ?>
<div class="ew-pager">
<input type="hidden" name="t" value="clientadditinalinfo">
<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 ($clientadditinalinfo_list->DisplayRecs == 5) { ?> selected<?php } ?>>5</option>
<option value="10"<?php if ($clientadditinalinfo_list->DisplayRecs == 10) { ?> selected<?php } ?>>10</option>
<option value="20"<?php if ($clientadditinalinfo_list->DisplayRecs == 20) { ?> selected<?php } ?>>20</option>
<option value="30"<?php if ($clientadditinalinfo_list->DisplayRecs == 30) { ?> selected<?php } ?>>30</option>
<option value="40"<?php if ($clientadditinalinfo_list->DisplayRecs == 40) { ?> selected<?php } ?>>40</option>
<option value="50"<?php if ($clientadditinalinfo_list->DisplayRecs == 50) { ?> selected<?php } ?>>50</option>
<option value="100"<?php if ($clientadditinalinfo_list->DisplayRecs == 100) { ?> selected<?php } ?>>100</option>
<option value="200"<?php if ($clientadditinalinfo_list->DisplayRecs == 200) { ?> selected<?php } ?>>200</option>
<option value="500"<?php if ($clientadditinalinfo_list->DisplayRecs == 500) { ?> selected<?php } ?>>500</option>
<option value="ALL"<?php if ($clientadditinalinfo->getRecordsPerPage() == -1) { ?> selected<?php } ?>><?php echo $Language->Phrase("AllRecords") ?></option>
</select>
</div>
<?php } ?>
</form>
<?php } ?>
<div class="ew-list-other-options">
<?php $clientadditinalinfo_list->OtherOptions->render("body") ?>
</div>
<div class="clearfix"></div>
</div>
<?php } ?>
<form name="fclientadditinalinfolist" id="fclientadditinalinfolist" class="form-inline ew-form ew-list-form" action="<?php echo CurrentPageName() ?>" method="post">
<?php if ($clientadditinalinfo_list->CheckToken) { ?>
<input type="hidden" name="<?php echo TOKEN_NAME ?>" value="<?php echo $clientadditinalinfo_list->Token ?>">
<?php } ?>
<input type="hidden" name="t" value="clientadditinalinfo">
<?php if ($clientadditinalinfo->getCurrentMasterTable() == "clients" && $clientadditinalinfo->CurrentAction) { ?>
<input type="hidden" name="<?php echo TABLE_SHOW_MASTER ?>" value="clients">
<input type="hidden" name="fk_ClientID" value="<?php echo $clientadditinalinfo->ClientID->getSessionValue() ?>">
<?php } ?>
<div id="gmp_clientadditinalinfo" class="<?php if (IsResponsiveLayout()) { ?>table-responsive <?php } ?>card-body ew-grid-middle-panel">
<?php if ($clientadditinalinfo_list->TotalRecs > 0 || $clientadditinalinfo->isGridEdit()) { ?>
<table id="tbl_clientadditinalinfolist" class="table ew-table"><!-- .ew-table ##-->
<thead>
	<tr class="ew-table-header">
<?php

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

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

// Render list options (header, left)
$clientadditinalinfo_list->ListOptions->render("header", "left");
?>
<?php if ($clientadditinalinfo->ClientID->Visible) { // ClientID ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->ClientID) == "") { ?>
		<th data-name="ClientID" class="<?php echo $clientadditinalinfo->ClientID->headerCellClass() ?>"><div id="elh_clientadditinalinfo_ClientID" class="clientadditinalinfo_ClientID"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->ClientID->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="ClientID" class="<?php echo $clientadditinalinfo->ClientID->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event,'<?php echo $clientadditinalinfo->SortUrl($clientadditinalinfo->ClientID) ?>',2);"><div id="elh_clientadditinalinfo_ClientID" class="clientadditinalinfo_ClientID">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->ClientID->caption() ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->ClientID->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->ClientID->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->MaritalStatusID->Visible) { // MaritalStatusID ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->MaritalStatusID) == "") { ?>
		<th data-name="MaritalStatusID" class="<?php echo $clientadditinalinfo->MaritalStatusID->headerCellClass() ?>"><div id="elh_clientadditinalinfo_MaritalStatusID" class="clientadditinalinfo_MaritalStatusID"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->MaritalStatusID->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="MaritalStatusID" class="<?php echo $clientadditinalinfo->MaritalStatusID->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event,'<?php echo $clientadditinalinfo->SortUrl($clientadditinalinfo->MaritalStatusID) ?>',2);"><div id="elh_clientadditinalinfo_MaritalStatusID" class="clientadditinalinfo_MaritalStatusID">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->MaritalStatusID->caption() ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->MaritalStatusID->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->MaritalStatusID->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->CivilStatus23->Visible) { // CivilStatus# ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->CivilStatus23) == "") { ?>
		<th data-name="CivilStatus23" class="<?php echo $clientadditinalinfo->CivilStatus23->headerCellClass() ?>"><div id="elh_clientadditinalinfo_CivilStatus23" class="clientadditinalinfo_CivilStatus23"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->CivilStatus23->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="CivilStatus23" class="<?php echo $clientadditinalinfo->CivilStatus23->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event,'<?php echo $clientadditinalinfo->SortUrl($clientadditinalinfo->CivilStatus23) ?>',2);"><div id="elh_clientadditinalinfo_CivilStatus23" class="clientadditinalinfo_CivilStatus23">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->CivilStatus23->caption() ?><?php echo $Language->phrase("SrchLegend") ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->CivilStatus23->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->CivilStatus23->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->CivilStatusPlace->Visible) { // CivilStatusPlace ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->CivilStatusPlace) == "") { ?>
		<th data-name="CivilStatusPlace" class="<?php echo $clientadditinalinfo->CivilStatusPlace->headerCellClass() ?>"><div id="elh_clientadditinalinfo_CivilStatusPlace" class="clientadditinalinfo_CivilStatusPlace"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->CivilStatusPlace->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="CivilStatusPlace" class="<?php echo $clientadditinalinfo->CivilStatusPlace->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event,'<?php echo $clientadditinalinfo->SortUrl($clientadditinalinfo->CivilStatusPlace) ?>',2);"><div id="elh_clientadditinalinfo_CivilStatusPlace" class="clientadditinalinfo_CivilStatusPlace">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->CivilStatusPlace->caption() ?><?php echo $Language->phrase("SrchLegend") ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->CivilStatusPlace->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->CivilStatusPlace->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->IdCard23->Visible) { // IdCard# ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->IdCard23) == "") { ?>
		<th data-name="IdCard23" class="<?php echo $clientadditinalinfo->IdCard23->headerCellClass() ?>"><div id="elh_clientadditinalinfo_IdCard23" class="clientadditinalinfo_IdCard23"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->IdCard23->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="IdCard23" class="<?php echo $clientadditinalinfo->IdCard23->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event,'<?php echo $clientadditinalinfo->SortUrl($clientadditinalinfo->IdCard23) ?>',2);"><div id="elh_clientadditinalinfo_IdCard23" class="clientadditinalinfo_IdCard23">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->IdCard23->caption() ?><?php echo $Language->phrase("SrchLegend") ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->IdCard23->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->IdCard23->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->NationalId23->Visible) { // NationalId# ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->NationalId23) == "") { ?>
		<th data-name="NationalId23" class="<?php echo $clientadditinalinfo->NationalId23->headerCellClass() ?>"><div id="elh_clientadditinalinfo_NationalId23" class="clientadditinalinfo_NationalId23"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->NationalId23->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="NationalId23" class="<?php echo $clientadditinalinfo->NationalId23->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event,'<?php echo $clientadditinalinfo->SortUrl($clientadditinalinfo->NationalId23) ?>',2);"><div id="elh_clientadditinalinfo_NationalId23" class="clientadditinalinfo_NationalId23">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->NationalId23->caption() ?><?php echo $Language->phrase("SrchLegend") ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->NationalId23->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->NationalId23->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Nationality1->Visible) { // Nationality1 ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->Nationality1) == "") { ?>
		<th data-name="Nationality1" class="<?php echo $clientadditinalinfo->Nationality1->headerCellClass() ?>"><div id="elh_clientadditinalinfo_Nationality1" class="clientadditinalinfo_Nationality1"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->Nationality1->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="Nationality1" class="<?php echo $clientadditinalinfo->Nationality1->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event,'<?php echo $clientadditinalinfo->SortUrl($clientadditinalinfo->Nationality1) ?>',2);"><div id="elh_clientadditinalinfo_Nationality1" class="clientadditinalinfo_Nationality1">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->Nationality1->caption() ?><?php echo $Language->phrase("SrchLegend") ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->Nationality1->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->Nationality1->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Nationality2->Visible) { // Nationality2 ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->Nationality2) == "") { ?>
		<th data-name="Nationality2" class="<?php echo $clientadditinalinfo->Nationality2->headerCellClass() ?>"><div id="elh_clientadditinalinfo_Nationality2" class="clientadditinalinfo_Nationality2"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->Nationality2->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="Nationality2" class="<?php echo $clientadditinalinfo->Nationality2->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event,'<?php echo $clientadditinalinfo->SortUrl($clientadditinalinfo->Nationality2) ?>',2);"><div id="elh_clientadditinalinfo_Nationality2" class="clientadditinalinfo_Nationality2">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->Nationality2->caption() ?><?php echo $Language->phrase("SrchLegend") ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->Nationality2->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->Nationality2->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Nationality3->Visible) { // Nationality3 ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->Nationality3) == "") { ?>
		<th data-name="Nationality3" class="<?php echo $clientadditinalinfo->Nationality3->headerCellClass() ?>"><div id="elh_clientadditinalinfo_Nationality3" class="clientadditinalinfo_Nationality3"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->Nationality3->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="Nationality3" class="<?php echo $clientadditinalinfo->Nationality3->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event,'<?php echo $clientadditinalinfo->SortUrl($clientadditinalinfo->Nationality3) ?>',2);"><div id="elh_clientadditinalinfo_Nationality3" class="clientadditinalinfo_Nationality3">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->Nationality3->caption() ?><?php echo $Language->phrase("SrchLegend") ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->Nationality3->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->Nationality3->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->DriverLicense23->Visible) { // DriverLicense# ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->DriverLicense23) == "") { ?>
		<th data-name="DriverLicense23" class="<?php echo $clientadditinalinfo->DriverLicense23->headerCellClass() ?>"><div id="elh_clientadditinalinfo_DriverLicense23" class="clientadditinalinfo_DriverLicense23"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->DriverLicense23->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="DriverLicense23" class="<?php echo $clientadditinalinfo->DriverLicense23->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event,'<?php echo $clientadditinalinfo->SortUrl($clientadditinalinfo->DriverLicense23) ?>',2);"><div id="elh_clientadditinalinfo_DriverLicense23" class="clientadditinalinfo_DriverLicense23">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->DriverLicense23->caption() ?><?php echo $Language->phrase("SrchLegend") ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->DriverLicense23->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->DriverLicense23->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->SocialSecurity23->Visible) { // SocialSecurity# ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->SocialSecurity23) == "") { ?>
		<th data-name="SocialSecurity23" class="<?php echo $clientadditinalinfo->SocialSecurity23->headerCellClass() ?>"><div id="elh_clientadditinalinfo_SocialSecurity23" class="clientadditinalinfo_SocialSecurity23"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->SocialSecurity23->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="SocialSecurity23" class="<?php echo $clientadditinalinfo->SocialSecurity23->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event,'<?php echo $clientadditinalinfo->SortUrl($clientadditinalinfo->SocialSecurity23) ?>',2);"><div id="elh_clientadditinalinfo_SocialSecurity23" class="clientadditinalinfo_SocialSecurity23">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->SocialSecurity23->caption() ?><?php echo $Language->phrase("SrchLegend") ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->SocialSecurity23->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->SocialSecurity23->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Financial23->Visible) { // Financial# ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->Financial23) == "") { ?>
		<th data-name="Financial23" class="<?php echo $clientadditinalinfo->Financial23->headerCellClass() ?>"><div id="elh_clientadditinalinfo_Financial23" class="clientadditinalinfo_Financial23"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->Financial23->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="Financial23" class="<?php echo $clientadditinalinfo->Financial23->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event,'<?php echo $clientadditinalinfo->SortUrl($clientadditinalinfo->Financial23) ?>',2);"><div id="elh_clientadditinalinfo_Financial23" class="clientadditinalinfo_Financial23">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->Financial23->caption() ?><?php echo $Language->phrase("SrchLegend") ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->Financial23->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->Financial23->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Extra23->Visible) { // Extra# ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->Extra23) == "") { ?>
		<th data-name="Extra23" class="<?php echo $clientadditinalinfo->Extra23->headerCellClass() ?>"><div id="elh_clientadditinalinfo_Extra23" class="clientadditinalinfo_Extra23"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->Extra23->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="Extra23" class="<?php echo $clientadditinalinfo->Extra23->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event,'<?php echo $clientadditinalinfo->SortUrl($clientadditinalinfo->Extra23) ?>',2);"><div id="elh_clientadditinalinfo_Extra23" class="clientadditinalinfo_Extra23">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->Extra23->caption() ?><?php echo $Language->phrase("SrchLegend") ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->Extra23->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->Extra23->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Field1->Visible) { // Field1 ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->Field1) == "") { ?>
		<th data-name="Field1" class="<?php echo $clientadditinalinfo->Field1->headerCellClass() ?>"><div id="elh_clientadditinalinfo_Field1" class="clientadditinalinfo_Field1"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->Field1->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="Field1" class="<?php echo $clientadditinalinfo->Field1->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event,'<?php echo $clientadditinalinfo->SortUrl($clientadditinalinfo->Field1) ?>',2);"><div id="elh_clientadditinalinfo_Field1" class="clientadditinalinfo_Field1">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->Field1->caption() ?><?php echo $Language->phrase("SrchLegend") ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->Field1->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->Field1->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Field2->Visible) { // Field2 ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->Field2) == "") { ?>
		<th data-name="Field2" class="<?php echo $clientadditinalinfo->Field2->headerCellClass() ?>"><div id="elh_clientadditinalinfo_Field2" class="clientadditinalinfo_Field2"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->Field2->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="Field2" class="<?php echo $clientadditinalinfo->Field2->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event,'<?php echo $clientadditinalinfo->SortUrl($clientadditinalinfo->Field2) ?>',2);"><div id="elh_clientadditinalinfo_Field2" class="clientadditinalinfo_Field2">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->Field2->caption() ?><?php echo $Language->phrase("SrchLegend") ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->Field2->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->Field2->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Field3->Visible) { // Field3 ?>
	<?php if ($clientadditinalinfo->sortUrl($clientadditinalinfo->Field3) == "") { ?>
		<th data-name="Field3" class="<?php echo $clientadditinalinfo->Field3->headerCellClass() ?>"><div id="elh_clientadditinalinfo_Field3" class="clientadditinalinfo_Field3"><div class="ew-table-header-caption"><?php echo $clientadditinalinfo->Field3->caption() ?></div></div></th>
	<?php } else { ?>
		<th data-name="Field3" class="<?php echo $clientadditinalinfo->Field3->headerCellClass() ?>"><div class="ew-pointer" onclick="ew.sort(event,'<?php echo $clientadditinalinfo->SortUrl($clientadditinalinfo->Field3) ?>',2);"><div id="elh_clientadditinalinfo_Field3" class="clientadditinalinfo_Field3">
			<div class="ew-table-header-btn"><span class="ew-table-header-caption"><?php echo $clientadditinalinfo->Field3->caption() ?><?php echo $Language->phrase("SrchLegend") ?></span><span class="ew-table-header-sort"><?php if ($clientadditinalinfo->Field3->getSort() == "ASC") { ?><i class="fa fa-sort-up"></i><?php } elseif ($clientadditinalinfo->Field3->getSort() == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?></span></div>
		</div></div></th>
	<?php } ?>
<?php } ?>
<?php

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

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

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

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

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

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

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

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

// Render list options (body, left)
$clientadditinalinfo_list->ListOptions->render("body", "left", $clientadditinalinfo_list->RowCnt);
?>
	<?php if ($clientadditinalinfo->ClientID->Visible) { // ClientID ?>
		<td data-name="ClientID"<?php echo $clientadditinalinfo->ClientID->cellAttributes() ?>>
<span id="el<?php echo $clientadditinalinfo_list->RowCnt ?>_clientadditinalinfo_ClientID" class="clientadditinalinfo_ClientID">
<span<?php echo $clientadditinalinfo->ClientID->viewAttributes() ?>>
<?php echo $clientadditinalinfo->ClientID->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->MaritalStatusID->Visible) { // MaritalStatusID ?>
		<td data-name="MaritalStatusID"<?php echo $clientadditinalinfo->MaritalStatusID->cellAttributes() ?>>
<span id="el<?php echo $clientadditinalinfo_list->RowCnt ?>_clientadditinalinfo_MaritalStatusID" class="clientadditinalinfo_MaritalStatusID">
<span<?php echo $clientadditinalinfo->MaritalStatusID->viewAttributes() ?>>
<?php echo $clientadditinalinfo->MaritalStatusID->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->CivilStatus23->Visible) { // CivilStatus# ?>
		<td data-name="CivilStatus23"<?php echo $clientadditinalinfo->CivilStatus23->cellAttributes() ?>>
<span id="el<?php echo $clientadditinalinfo_list->RowCnt ?>_clientadditinalinfo_CivilStatus23" class="clientadditinalinfo_CivilStatus23">
<span<?php echo $clientadditinalinfo->CivilStatus23->viewAttributes() ?>>
<?php echo $clientadditinalinfo->CivilStatus23->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->CivilStatusPlace->Visible) { // CivilStatusPlace ?>
		<td data-name="CivilStatusPlace"<?php echo $clientadditinalinfo->CivilStatusPlace->cellAttributes() ?>>
<span id="el<?php echo $clientadditinalinfo_list->RowCnt ?>_clientadditinalinfo_CivilStatusPlace" class="clientadditinalinfo_CivilStatusPlace">
<span<?php echo $clientadditinalinfo->CivilStatusPlace->viewAttributes() ?>>
<?php echo $clientadditinalinfo->CivilStatusPlace->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->IdCard23->Visible) { // IdCard# ?>
		<td data-name="IdCard23"<?php echo $clientadditinalinfo->IdCard23->cellAttributes() ?>>
<span id="el<?php echo $clientadditinalinfo_list->RowCnt ?>_clientadditinalinfo_IdCard23" class="clientadditinalinfo_IdCard23">
<span<?php echo $clientadditinalinfo->IdCard23->viewAttributes() ?>>
<?php echo $clientadditinalinfo->IdCard23->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->NationalId23->Visible) { // NationalId# ?>
		<td data-name="NationalId23"<?php echo $clientadditinalinfo->NationalId23->cellAttributes() ?>>
<span id="el<?php echo $clientadditinalinfo_list->RowCnt ?>_clientadditinalinfo_NationalId23" class="clientadditinalinfo_NationalId23">
<span<?php echo $clientadditinalinfo->NationalId23->viewAttributes() ?>>
<?php echo $clientadditinalinfo->NationalId23->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->Nationality1->Visible) { // Nationality1 ?>
		<td data-name="Nationality1"<?php echo $clientadditinalinfo->Nationality1->cellAttributes() ?>>
<span id="el<?php echo $clientadditinalinfo_list->RowCnt ?>_clientadditinalinfo_Nationality1" class="clientadditinalinfo_Nationality1">
<span<?php echo $clientadditinalinfo->Nationality1->viewAttributes() ?>>
<?php echo $clientadditinalinfo->Nationality1->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->Nationality2->Visible) { // Nationality2 ?>
		<td data-name="Nationality2"<?php echo $clientadditinalinfo->Nationality2->cellAttributes() ?>>
<span id="el<?php echo $clientadditinalinfo_list->RowCnt ?>_clientadditinalinfo_Nationality2" class="clientadditinalinfo_Nationality2">
<span<?php echo $clientadditinalinfo->Nationality2->viewAttributes() ?>>
<?php echo $clientadditinalinfo->Nationality2->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->Nationality3->Visible) { // Nationality3 ?>
		<td data-name="Nationality3"<?php echo $clientadditinalinfo->Nationality3->cellAttributes() ?>>
<span id="el<?php echo $clientadditinalinfo_list->RowCnt ?>_clientadditinalinfo_Nationality3" class="clientadditinalinfo_Nationality3">
<span<?php echo $clientadditinalinfo->Nationality3->viewAttributes() ?>>
<?php echo $clientadditinalinfo->Nationality3->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->DriverLicense23->Visible) { // DriverLicense# ?>
		<td data-name="DriverLicense23"<?php echo $clientadditinalinfo->DriverLicense23->cellAttributes() ?>>
<span id="el<?php echo $clientadditinalinfo_list->RowCnt ?>_clientadditinalinfo_DriverLicense23" class="clientadditinalinfo_DriverLicense23">
<span<?php echo $clientadditinalinfo->DriverLicense23->viewAttributes() ?>>
<?php echo $clientadditinalinfo->DriverLicense23->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->SocialSecurity23->Visible) { // SocialSecurity# ?>
		<td data-name="SocialSecurity23"<?php echo $clientadditinalinfo->SocialSecurity23->cellAttributes() ?>>
<span id="el<?php echo $clientadditinalinfo_list->RowCnt ?>_clientadditinalinfo_SocialSecurity23" class="clientadditinalinfo_SocialSecurity23">
<span<?php echo $clientadditinalinfo->SocialSecurity23->viewAttributes() ?>>
<?php echo $clientadditinalinfo->SocialSecurity23->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->Financial23->Visible) { // Financial# ?>
		<td data-name="Financial23"<?php echo $clientadditinalinfo->Financial23->cellAttributes() ?>>
<span id="el<?php echo $clientadditinalinfo_list->RowCnt ?>_clientadditinalinfo_Financial23" class="clientadditinalinfo_Financial23">
<span<?php echo $clientadditinalinfo->Financial23->viewAttributes() ?>>
<?php echo $clientadditinalinfo->Financial23->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->Extra23->Visible) { // Extra# ?>
		<td data-name="Extra23"<?php echo $clientadditinalinfo->Extra23->cellAttributes() ?>>
<span id="el<?php echo $clientadditinalinfo_list->RowCnt ?>_clientadditinalinfo_Extra23" class="clientadditinalinfo_Extra23">
<span<?php echo $clientadditinalinfo->Extra23->viewAttributes() ?>>
<?php echo $clientadditinalinfo->Extra23->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->Field1->Visible) { // Field1 ?>
		<td data-name="Field1"<?php echo $clientadditinalinfo->Field1->cellAttributes() ?>>
<span id="el<?php echo $clientadditinalinfo_list->RowCnt ?>_clientadditinalinfo_Field1" class="clientadditinalinfo_Field1">
<span<?php echo $clientadditinalinfo->Field1->viewAttributes() ?>>
<?php echo $clientadditinalinfo->Field1->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->Field2->Visible) { // Field2 ?>
		<td data-name="Field2"<?php echo $clientadditinalinfo->Field2->cellAttributes() ?>>
<span id="el<?php echo $clientadditinalinfo_list->RowCnt ?>_clientadditinalinfo_Field2" class="clientadditinalinfo_Field2">
<span<?php echo $clientadditinalinfo->Field2->viewAttributes() ?>>
<?php echo $clientadditinalinfo->Field2->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
	<?php if ($clientadditinalinfo->Field3->Visible) { // Field3 ?>
		<td data-name="Field3"<?php echo $clientadditinalinfo->Field3->cellAttributes() ?>>
<span id="el<?php echo $clientadditinalinfo_list->RowCnt ?>_clientadditinalinfo_Field3" class="clientadditinalinfo_Field3">
<span<?php echo $clientadditinalinfo->Field3->viewAttributes() ?>>
<?php echo $clientadditinalinfo->Field3->getViewValue() ?></span>
</span>
</td>
	<?php } ?>
<?php

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

// Close recordset
if ($clientadditinalinfo_list->Recordset)
	$clientadditinalinfo_list->Recordset->Close();
?>
<?php if (!$clientadditinalinfo->isExport()) { ?>
<div class="card-footer ew-grid-lower-panel">
<?php if (!$clientadditinalinfo->isGridAdd()) { ?>
<form name="ew-pager-form" class="form-inline ew-form ew-pager-form" action="<?php echo CurrentPageName() ?>">
<?php if (!isset($clientadditinalinfo_list->Pager)) $clientadditinalinfo_list->Pager = new PrevNextPager($clientadditinalinfo_list->StartRec, $clientadditinalinfo_list->DisplayRecs, $clientadditinalinfo_list->TotalRecs, $clientadditinalinfo_list->AutoHidePager) ?>
<?php if ($clientadditinalinfo_list->Pager->RecordCount > 0 && $clientadditinalinfo_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 ($clientadditinalinfo_list->Pager->FirstButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerFirst") ?>" href="<?php echo $clientadditinalinfo_list->pageUrl() ?>start=<?php echo $clientadditinalinfo_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 ($clientadditinalinfo_list->Pager->PrevButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerPrevious") ?>" href="<?php echo $clientadditinalinfo_list->pageUrl() ?>start=<?php echo $clientadditinalinfo_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 $clientadditinalinfo_list->Pager->CurrentPage ?>">
<div class="input-group-append">
<!-- next page button -->
	<?php if ($clientadditinalinfo_list->Pager->NextButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerNext") ?>" href="<?php echo $clientadditinalinfo_list->pageUrl() ?>start=<?php echo $clientadditinalinfo_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 ($clientadditinalinfo_list->Pager->LastButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerLast") ?>" href="<?php echo $clientadditinalinfo_list->pageUrl() ?>start=<?php echo $clientadditinalinfo_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 $clientadditinalinfo_list->Pager->PageCount ?></span>
<div class="clearfix"></div>
</div>
<?php } ?>
<?php if ($clientadditinalinfo_list->Pager->RecordCount > 0) { ?>
<div class="ew-pager ew-rec">
	<span><?php echo $Language->Phrase("Record") ?>&nbsp;<?php echo $clientadditinalinfo_list->Pager->FromIndex ?>&nbsp;<?php echo $Language->Phrase("To") ?>&nbsp;<?php echo $clientadditinalinfo_list->Pager->ToIndex ?>&nbsp;<?php echo $Language->Phrase("Of") ?>&nbsp;<?php echo $clientadditinalinfo_list->Pager->RecordCount ?></span>
</div>
<?php } ?>
<?php if ($clientadditinalinfo_list->TotalRecs > 0 && (!$clientadditinalinfo_list->AutoHidePageSizeSelector || $clientadditinalinfo_list->Pager->Visible)) { ?>
<div class="ew-pager">
<input type="hidden" name="t" value="clientadditinalinfo">
<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 ($clientadditinalinfo_list->DisplayRecs == 5) { ?> selected<?php } ?>>5</option>
<option value="10"<?php if ($clientadditinalinfo_list->DisplayRecs == 10) { ?> selected<?php } ?>>10</option>
<option value="20"<?php if ($clientadditinalinfo_list->DisplayRecs == 20) { ?> selected<?php } ?>>20</option>
<option value="30"<?php if ($clientadditinalinfo_list->DisplayRecs == 30) { ?> selected<?php } ?>>30</option>
<option value="40"<?php if ($clientadditinalinfo_list->DisplayRecs == 40) { ?> selected<?php } ?>>40</option>
<option value="50"<?php if ($clientadditinalinfo_list->DisplayRecs == 50) { ?> selected<?php } ?>>50</option>
<option value="100"<?php if ($clientadditinalinfo_list->DisplayRecs == 100) { ?> selected<?php } ?>>100</option>
<option value="200"<?php if ($clientadditinalinfo_list->DisplayRecs == 200) { ?> selected<?php } ?>>200</option>
<option value="500"<?php if ($clientadditinalinfo_list->DisplayRecs == 500) { ?> selected<?php } ?>>500</option>
<option value="ALL"<?php if ($clientadditinalinfo->getRecordsPerPage() == -1) { ?> selected<?php } ?>><?php echo $Language->Phrase("AllRecords") ?></option>
</select>
</div>
<?php } ?>
</form>
<?php } ?>
<div class="ew-list-other-options">
<?php $clientadditinalinfo_list->OtherOptions->render("body", "bottom") ?>
</div>
<div class="clearfix"></div>
</div>
<?php } ?>
</div><!-- /.ew-grid -->
<?php } ?>
<?php if ($clientadditinalinfo_list->TotalRecs == 0 && !$clientadditinalinfo->CurrentAction) { // Show other options ?>
<div class="ew-list-other-options">
<?php $clientadditinalinfo_list->OtherOptions->render("body") ?>
</div>
<div class="clearfix"></div>
<?php } ?>
<?php
$clientadditinalinfo_list->showPageFooter();
if (DEBUG_ENABLED)
	echo GetDebugMessage();
?>
<?php if (!$clientadditinalinfo->isExport()) { ?>
<script>

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

</script>
<?php if (!$clientadditinalinfo->isExport()) { ?>
<script>
ew.scrollableTable("gmp_clientadditinalinfo", "1250px", "");
</script>
<?php } ?>
<?php } ?>
<?php include_once "footer.php" ?>
<?php
$clientadditinalinfo_list->terminate();
?>
