<?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, "utf-8");

// Create page object
$clientadditinalinfo_preview = new clientadditinalinfo_preview();

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

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

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

// Page Rendering event
$clientadditinalinfo_preview->Page_Render();
?>
<?php $clientadditinalinfo_preview->showPageHeader(); ?>
<div class="card ew-grid clientadditinalinfo"><!-- .card -->
<?php if ($clientadditinalinfo_preview->TotalRecs > 0) { ?>
<div class="<?php if (IsResponsiveLayout()) { ?>table-responsive <?php } ?>card-body ew-grid-middle-panel"><!-- .table-responsive -->
<table class="table ew-table ew-preview-table"><!-- .table -->
	<thead><!-- Table header -->
		<tr class="ew-table-header">
<?php

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

// Render list options (header, left)
$clientadditinalinfo_preview->ListOptions->render("header", "left");
?>
<?php if ($clientadditinalinfo->ClientID->Visible) { // ClientID ?>
	<?php if ($clientadditinalinfo->SortUrl($clientadditinalinfo->ClientID) == "") { ?>
		<th class="<?php echo $clientadditinalinfo->ClientID->headerCellClass() ?>"><?php echo $clientadditinalinfo->ClientID->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientadditinalinfo->ClientID->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientadditinalinfo->ClientID->Name ?>" data-sort-order="<?php echo $clientadditinalinfo_preview->SortField == $clientadditinalinfo->ClientID->Name && $clientadditinalinfo_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><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_preview->SortField == $clientadditinalinfo->ClientID->Name) { ?><?php if ($clientadditinalinfo_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientadditinalinfo_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->MaritalStatusID->Visible) { // MaritalStatusID ?>
	<?php if ($clientadditinalinfo->SortUrl($clientadditinalinfo->MaritalStatusID) == "") { ?>
		<th class="<?php echo $clientadditinalinfo->MaritalStatusID->headerCellClass() ?>"><?php echo $clientadditinalinfo->MaritalStatusID->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientadditinalinfo->MaritalStatusID->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientadditinalinfo->MaritalStatusID->Name ?>" data-sort-order="<?php echo $clientadditinalinfo_preview->SortField == $clientadditinalinfo->MaritalStatusID->Name && $clientadditinalinfo_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><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_preview->SortField == $clientadditinalinfo->MaritalStatusID->Name) { ?><?php if ($clientadditinalinfo_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientadditinalinfo_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->CivilStatus23->Visible) { // CivilStatus# ?>
	<?php if ($clientadditinalinfo->SortUrl($clientadditinalinfo->CivilStatus23) == "") { ?>
		<th class="<?php echo $clientadditinalinfo->CivilStatus23->headerCellClass() ?>"><?php echo $clientadditinalinfo->CivilStatus23->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientadditinalinfo->CivilStatus23->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientadditinalinfo->CivilStatus23->Name ?>" data-sort-order="<?php echo $clientadditinalinfo_preview->SortField == $clientadditinalinfo->CivilStatus23->Name && $clientadditinalinfo_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientadditinalinfo->CivilStatus23->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientadditinalinfo_preview->SortField == $clientadditinalinfo->CivilStatus23->Name) { ?><?php if ($clientadditinalinfo_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientadditinalinfo_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->CivilStatusPlace->Visible) { // CivilStatusPlace ?>
	<?php if ($clientadditinalinfo->SortUrl($clientadditinalinfo->CivilStatusPlace) == "") { ?>
		<th class="<?php echo $clientadditinalinfo->CivilStatusPlace->headerCellClass() ?>"><?php echo $clientadditinalinfo->CivilStatusPlace->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientadditinalinfo->CivilStatusPlace->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientadditinalinfo->CivilStatusPlace->Name ?>" data-sort-order="<?php echo $clientadditinalinfo_preview->SortField == $clientadditinalinfo->CivilStatusPlace->Name && $clientadditinalinfo_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientadditinalinfo->CivilStatusPlace->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientadditinalinfo_preview->SortField == $clientadditinalinfo->CivilStatusPlace->Name) { ?><?php if ($clientadditinalinfo_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientadditinalinfo_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->IdCard23->Visible) { // IdCard# ?>
	<?php if ($clientadditinalinfo->SortUrl($clientadditinalinfo->IdCard23) == "") { ?>
		<th class="<?php echo $clientadditinalinfo->IdCard23->headerCellClass() ?>"><?php echo $clientadditinalinfo->IdCard23->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientadditinalinfo->IdCard23->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientadditinalinfo->IdCard23->Name ?>" data-sort-order="<?php echo $clientadditinalinfo_preview->SortField == $clientadditinalinfo->IdCard23->Name && $clientadditinalinfo_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientadditinalinfo->IdCard23->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientadditinalinfo_preview->SortField == $clientadditinalinfo->IdCard23->Name) { ?><?php if ($clientadditinalinfo_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientadditinalinfo_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->NationalId23->Visible) { // NationalId# ?>
	<?php if ($clientadditinalinfo->SortUrl($clientadditinalinfo->NationalId23) == "") { ?>
		<th class="<?php echo $clientadditinalinfo->NationalId23->headerCellClass() ?>"><?php echo $clientadditinalinfo->NationalId23->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientadditinalinfo->NationalId23->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientadditinalinfo->NationalId23->Name ?>" data-sort-order="<?php echo $clientadditinalinfo_preview->SortField == $clientadditinalinfo->NationalId23->Name && $clientadditinalinfo_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientadditinalinfo->NationalId23->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientadditinalinfo_preview->SortField == $clientadditinalinfo->NationalId23->Name) { ?><?php if ($clientadditinalinfo_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientadditinalinfo_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Nationality1->Visible) { // Nationality1 ?>
	<?php if ($clientadditinalinfo->SortUrl($clientadditinalinfo->Nationality1) == "") { ?>
		<th class="<?php echo $clientadditinalinfo->Nationality1->headerCellClass() ?>"><?php echo $clientadditinalinfo->Nationality1->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientadditinalinfo->Nationality1->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientadditinalinfo->Nationality1->Name ?>" data-sort-order="<?php echo $clientadditinalinfo_preview->SortField == $clientadditinalinfo->Nationality1->Name && $clientadditinalinfo_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientadditinalinfo->Nationality1->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientadditinalinfo_preview->SortField == $clientadditinalinfo->Nationality1->Name) { ?><?php if ($clientadditinalinfo_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientadditinalinfo_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Nationality2->Visible) { // Nationality2 ?>
	<?php if ($clientadditinalinfo->SortUrl($clientadditinalinfo->Nationality2) == "") { ?>
		<th class="<?php echo $clientadditinalinfo->Nationality2->headerCellClass() ?>"><?php echo $clientadditinalinfo->Nationality2->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientadditinalinfo->Nationality2->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientadditinalinfo->Nationality2->Name ?>" data-sort-order="<?php echo $clientadditinalinfo_preview->SortField == $clientadditinalinfo->Nationality2->Name && $clientadditinalinfo_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientadditinalinfo->Nationality2->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientadditinalinfo_preview->SortField == $clientadditinalinfo->Nationality2->Name) { ?><?php if ($clientadditinalinfo_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientadditinalinfo_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Nationality3->Visible) { // Nationality3 ?>
	<?php if ($clientadditinalinfo->SortUrl($clientadditinalinfo->Nationality3) == "") { ?>
		<th class="<?php echo $clientadditinalinfo->Nationality3->headerCellClass() ?>"><?php echo $clientadditinalinfo->Nationality3->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientadditinalinfo->Nationality3->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientadditinalinfo->Nationality3->Name ?>" data-sort-order="<?php echo $clientadditinalinfo_preview->SortField == $clientadditinalinfo->Nationality3->Name && $clientadditinalinfo_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientadditinalinfo->Nationality3->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientadditinalinfo_preview->SortField == $clientadditinalinfo->Nationality3->Name) { ?><?php if ($clientadditinalinfo_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientadditinalinfo_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->DriverLicense23->Visible) { // DriverLicense# ?>
	<?php if ($clientadditinalinfo->SortUrl($clientadditinalinfo->DriverLicense23) == "") { ?>
		<th class="<?php echo $clientadditinalinfo->DriverLicense23->headerCellClass() ?>"><?php echo $clientadditinalinfo->DriverLicense23->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientadditinalinfo->DriverLicense23->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientadditinalinfo->DriverLicense23->Name ?>" data-sort-order="<?php echo $clientadditinalinfo_preview->SortField == $clientadditinalinfo->DriverLicense23->Name && $clientadditinalinfo_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientadditinalinfo->DriverLicense23->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientadditinalinfo_preview->SortField == $clientadditinalinfo->DriverLicense23->Name) { ?><?php if ($clientadditinalinfo_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientadditinalinfo_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->SocialSecurity23->Visible) { // SocialSecurity# ?>
	<?php if ($clientadditinalinfo->SortUrl($clientadditinalinfo->SocialSecurity23) == "") { ?>
		<th class="<?php echo $clientadditinalinfo->SocialSecurity23->headerCellClass() ?>"><?php echo $clientadditinalinfo->SocialSecurity23->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientadditinalinfo->SocialSecurity23->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientadditinalinfo->SocialSecurity23->Name ?>" data-sort-order="<?php echo $clientadditinalinfo_preview->SortField == $clientadditinalinfo->SocialSecurity23->Name && $clientadditinalinfo_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientadditinalinfo->SocialSecurity23->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientadditinalinfo_preview->SortField == $clientadditinalinfo->SocialSecurity23->Name) { ?><?php if ($clientadditinalinfo_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientadditinalinfo_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Financial23->Visible) { // Financial# ?>
	<?php if ($clientadditinalinfo->SortUrl($clientadditinalinfo->Financial23) == "") { ?>
		<th class="<?php echo $clientadditinalinfo->Financial23->headerCellClass() ?>"><?php echo $clientadditinalinfo->Financial23->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientadditinalinfo->Financial23->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientadditinalinfo->Financial23->Name ?>" data-sort-order="<?php echo $clientadditinalinfo_preview->SortField == $clientadditinalinfo->Financial23->Name && $clientadditinalinfo_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientadditinalinfo->Financial23->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientadditinalinfo_preview->SortField == $clientadditinalinfo->Financial23->Name) { ?><?php if ($clientadditinalinfo_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientadditinalinfo_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Extra23->Visible) { // Extra# ?>
	<?php if ($clientadditinalinfo->SortUrl($clientadditinalinfo->Extra23) == "") { ?>
		<th class="<?php echo $clientadditinalinfo->Extra23->headerCellClass() ?>"><?php echo $clientadditinalinfo->Extra23->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientadditinalinfo->Extra23->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientadditinalinfo->Extra23->Name ?>" data-sort-order="<?php echo $clientadditinalinfo_preview->SortField == $clientadditinalinfo->Extra23->Name && $clientadditinalinfo_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientadditinalinfo->Extra23->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientadditinalinfo_preview->SortField == $clientadditinalinfo->Extra23->Name) { ?><?php if ($clientadditinalinfo_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientadditinalinfo_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Field1->Visible) { // Field1 ?>
	<?php if ($clientadditinalinfo->SortUrl($clientadditinalinfo->Field1) == "") { ?>
		<th class="<?php echo $clientadditinalinfo->Field1->headerCellClass() ?>"><?php echo $clientadditinalinfo->Field1->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientadditinalinfo->Field1->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientadditinalinfo->Field1->Name ?>" data-sort-order="<?php echo $clientadditinalinfo_preview->SortField == $clientadditinalinfo->Field1->Name && $clientadditinalinfo_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientadditinalinfo->Field1->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientadditinalinfo_preview->SortField == $clientadditinalinfo->Field1->Name) { ?><?php if ($clientadditinalinfo_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientadditinalinfo_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Field2->Visible) { // Field2 ?>
	<?php if ($clientadditinalinfo->SortUrl($clientadditinalinfo->Field2) == "") { ?>
		<th class="<?php echo $clientadditinalinfo->Field2->headerCellClass() ?>"><?php echo $clientadditinalinfo->Field2->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientadditinalinfo->Field2->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientadditinalinfo->Field2->Name ?>" data-sort-order="<?php echo $clientadditinalinfo_preview->SortField == $clientadditinalinfo->Field2->Name && $clientadditinalinfo_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientadditinalinfo->Field2->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientadditinalinfo_preview->SortField == $clientadditinalinfo->Field2->Name) { ?><?php if ($clientadditinalinfo_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientadditinalinfo_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientadditinalinfo->Field3->Visible) { // Field3 ?>
	<?php if ($clientadditinalinfo->SortUrl($clientadditinalinfo->Field3) == "") { ?>
		<th class="<?php echo $clientadditinalinfo->Field3->headerCellClass() ?>"><?php echo $clientadditinalinfo->Field3->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientadditinalinfo->Field3->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientadditinalinfo->Field3->Name ?>" data-sort-order="<?php echo $clientadditinalinfo_preview->SortField == $clientadditinalinfo->Field3->Name && $clientadditinalinfo_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientadditinalinfo->Field3->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientadditinalinfo_preview->SortField == $clientadditinalinfo->Field3->Name) { ?><?php if ($clientadditinalinfo_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientadditinalinfo_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php

// Render list options (header, right)
$clientadditinalinfo_preview->ListOptions->render("header", "right");
?>
		</tr>
	</thead>
	<tbody><!-- Table body -->
<?php
$clientadditinalinfo_preview->RecCount = 0;
$clientadditinalinfo_preview->RowCnt = 0;
while ($clientadditinalinfo_preview->Recordset && !$clientadditinalinfo_preview->Recordset->EOF) {

	// Init row class and style
	$clientadditinalinfo_preview->RecCount++;
	$clientadditinalinfo_preview->RowCnt++;
	$clientadditinalinfo_preview->CssStyle = "";
	$clientadditinalinfo_preview->loadListRowValues($clientadditinalinfo_preview->Recordset);

	// Render row
	$clientadditinalinfo_preview->RowType = ROWTYPE_PREVIEW; // Preview record
	$clientadditinalinfo_preview->resetAttributes();
	$clientadditinalinfo_preview->renderListRow();

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

// Render list options (body, left)
$clientadditinalinfo_preview->ListOptions->render("body", "left", $clientadditinalinfo_preview->RowCnt);
?>
<?php if ($clientadditinalinfo->ClientID->Visible) { // ClientID ?>
		<!-- ClientID -->
		<td<?php echo $clientadditinalinfo->ClientID->cellAttributes() ?>>
<span<?php echo $clientadditinalinfo->ClientID->viewAttributes() ?>>
<?php echo $clientadditinalinfo->ClientID->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientadditinalinfo->MaritalStatusID->Visible) { // MaritalStatusID ?>
		<!-- MaritalStatusID -->
		<td<?php echo $clientadditinalinfo->MaritalStatusID->cellAttributes() ?>>
<span<?php echo $clientadditinalinfo->MaritalStatusID->viewAttributes() ?>>
<?php echo $clientadditinalinfo->MaritalStatusID->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientadditinalinfo->CivilStatus23->Visible) { // CivilStatus# ?>
		<!-- CivilStatus# -->
		<td<?php echo $clientadditinalinfo->CivilStatus23->cellAttributes() ?>>
<span<?php echo $clientadditinalinfo->CivilStatus23->viewAttributes() ?>>
<?php echo $clientadditinalinfo->CivilStatus23->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientadditinalinfo->CivilStatusPlace->Visible) { // CivilStatusPlace ?>
		<!-- CivilStatusPlace -->
		<td<?php echo $clientadditinalinfo->CivilStatusPlace->cellAttributes() ?>>
<span<?php echo $clientadditinalinfo->CivilStatusPlace->viewAttributes() ?>>
<?php echo $clientadditinalinfo->CivilStatusPlace->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientadditinalinfo->IdCard23->Visible) { // IdCard# ?>
		<!-- IdCard# -->
		<td<?php echo $clientadditinalinfo->IdCard23->cellAttributes() ?>>
<span<?php echo $clientadditinalinfo->IdCard23->viewAttributes() ?>>
<?php echo $clientadditinalinfo->IdCard23->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientadditinalinfo->NationalId23->Visible) { // NationalId# ?>
		<!-- NationalId# -->
		<td<?php echo $clientadditinalinfo->NationalId23->cellAttributes() ?>>
<span<?php echo $clientadditinalinfo->NationalId23->viewAttributes() ?>>
<?php echo $clientadditinalinfo->NationalId23->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientadditinalinfo->Nationality1->Visible) { // Nationality1 ?>
		<!-- Nationality1 -->
		<td<?php echo $clientadditinalinfo->Nationality1->cellAttributes() ?>>
<span<?php echo $clientadditinalinfo->Nationality1->viewAttributes() ?>>
<?php echo $clientadditinalinfo->Nationality1->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientadditinalinfo->Nationality2->Visible) { // Nationality2 ?>
		<!-- Nationality2 -->
		<td<?php echo $clientadditinalinfo->Nationality2->cellAttributes() ?>>
<span<?php echo $clientadditinalinfo->Nationality2->viewAttributes() ?>>
<?php echo $clientadditinalinfo->Nationality2->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientadditinalinfo->Nationality3->Visible) { // Nationality3 ?>
		<!-- Nationality3 -->
		<td<?php echo $clientadditinalinfo->Nationality3->cellAttributes() ?>>
<span<?php echo $clientadditinalinfo->Nationality3->viewAttributes() ?>>
<?php echo $clientadditinalinfo->Nationality3->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientadditinalinfo->DriverLicense23->Visible) { // DriverLicense# ?>
		<!-- DriverLicense# -->
		<td<?php echo $clientadditinalinfo->DriverLicense23->cellAttributes() ?>>
<span<?php echo $clientadditinalinfo->DriverLicense23->viewAttributes() ?>>
<?php echo $clientadditinalinfo->DriverLicense23->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientadditinalinfo->SocialSecurity23->Visible) { // SocialSecurity# ?>
		<!-- SocialSecurity# -->
		<td<?php echo $clientadditinalinfo->SocialSecurity23->cellAttributes() ?>>
<span<?php echo $clientadditinalinfo->SocialSecurity23->viewAttributes() ?>>
<?php echo $clientadditinalinfo->SocialSecurity23->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientadditinalinfo->Financial23->Visible) { // Financial# ?>
		<!-- Financial# -->
		<td<?php echo $clientadditinalinfo->Financial23->cellAttributes() ?>>
<span<?php echo $clientadditinalinfo->Financial23->viewAttributes() ?>>
<?php echo $clientadditinalinfo->Financial23->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientadditinalinfo->Extra23->Visible) { // Extra# ?>
		<!-- Extra# -->
		<td<?php echo $clientadditinalinfo->Extra23->cellAttributes() ?>>
<span<?php echo $clientadditinalinfo->Extra23->viewAttributes() ?>>
<?php echo $clientadditinalinfo->Extra23->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientadditinalinfo->Field1->Visible) { // Field1 ?>
		<!-- Field1 -->
		<td<?php echo $clientadditinalinfo->Field1->cellAttributes() ?>>
<span<?php echo $clientadditinalinfo->Field1->viewAttributes() ?>>
<?php echo $clientadditinalinfo->Field1->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientadditinalinfo->Field2->Visible) { // Field2 ?>
		<!-- Field2 -->
		<td<?php echo $clientadditinalinfo->Field2->cellAttributes() ?>>
<span<?php echo $clientadditinalinfo->Field2->viewAttributes() ?>>
<?php echo $clientadditinalinfo->Field2->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientadditinalinfo->Field3->Visible) { // Field3 ?>
		<!-- Field3 -->
		<td<?php echo $clientadditinalinfo->Field3->cellAttributes() ?>>
<span<?php echo $clientadditinalinfo->Field3->viewAttributes() ?>>
<?php echo $clientadditinalinfo->Field3->getViewValue() ?></span>
</td>
<?php } ?>
<?php

// Render list options (body, right)
$clientadditinalinfo_preview->ListOptions->render("body", "right", $clientadditinalinfo_preview->RowCnt);
?>
	</tr>
<?php
	$clientadditinalinfo_preview->Recordset->MoveNext();
}
?>
	</tbody>
</table><!-- /.table -->
</div><!-- /.table-responsive -->
<?php } ?>
<div class="card-footer ew-grid-lower-panel ew-preview-lower-panel"><!-- .card-footer -->
<?php if ($clientadditinalinfo_preview->TotalRecs > 0) { ?>
<?php if (!isset($clientadditinalinfo_preview->Pager)) $clientadditinalinfo_preview->Pager = new PrevNextPager($clientadditinalinfo_preview->StartRec, $clientadditinalinfo_preview->DisplayRecs, $clientadditinalinfo_preview->TotalRecs) ?>
<?php if ($clientadditinalinfo_preview->Pager->RecordCount > 0 && $clientadditinalinfo_preview->Pager->Visible) { ?>
<div class="ew-pager"><div class="ew-prev-next"><div class="btn-group btn-group-sm ew-btn-group">
<!--first page button-->
	<?php if ($clientadditinalinfo_preview->Pager->FirstButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerFirst") ?>" data-start="<?php echo $clientadditinalinfo_preview->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_preview->Pager->PrevButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerPrevious") ?>" data-start="<?php echo $clientadditinalinfo_preview->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 } ?>
<!--next page button-->
	<?php if ($clientadditinalinfo_preview->Pager->NextButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerNext") ?>" data-start="<?php echo $clientadditinalinfo_preview->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_preview->Pager->LastButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerLast") ?>" data-start="<?php echo $clientadditinalinfo_preview->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>
<div class="ew-pager ew-rec">
	<span><?php echo $Language->phrase("Record") ?>&nbsp;<?php echo $clientadditinalinfo_preview->Pager->FromIndex ?>&nbsp;<?php echo $Language->phrase("To") ?>&nbsp;<?php echo $clientadditinalinfo_preview->Pager->ToIndex ?>&nbsp;<?php echo $Language->phrase("Of") ?>&nbsp;<?php echo $clientadditinalinfo_preview->Pager->RecordCount ?></span>
</div>
<?php } ?>
<?php } else { ?>
<div class="ew-detail-count"><?php echo $Language->Phrase("NoRecord") ?></div>
<?php } ?>
<div class="ew-preview-other-options">
<?php
	foreach ($clientadditinalinfo_preview->OtherOptions as &$option)
		$option->render("body");
?>
</div>
<div class="clearfix"></div>
</div><!-- /.card-footer -->
</div><!-- /.card -->
<?php
$clientadditinalinfo_preview->showPageFooter();
if (DEBUG_ENABLED)
	echo GetDebugMessage();
?>
<?php
if ($clientadditinalinfo_preview->Recordset)
	$clientadditinalinfo_preview->Recordset->Close();

// Output
$content = ob_get_contents();
ob_end_clean();
echo ConvertToUtf8($content);
?>
<?php
$clientadditinalinfo_preview->terminate();
?>
