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

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

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

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

// Page Rendering event
$clientpartners_preview->Page_Render();
?>
<?php $clientpartners_preview->showPageHeader(); ?>
<div class="card ew-grid clientpartners"><!-- .card -->
<?php if ($clientpartners_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
$clientpartners_preview->renderListOptions();

// Render list options (header, left)
$clientpartners_preview->ListOptions->render("header", "left");
?>
<?php if ($clientpartners->ClientID->Visible) { // ClientID ?>
	<?php if ($clientpartners->SortUrl($clientpartners->ClientID) == "") { ?>
		<th class="<?php echo $clientpartners->ClientID->headerCellClass() ?>"><?php echo $clientpartners->ClientID->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientpartners->ClientID->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientpartners->ClientID->Name ?>" data-sort-order="<?php echo $clientpartners_preview->SortField == $clientpartners->ClientID->Name && $clientpartners_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientpartners->ClientID->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientpartners_preview->SortField == $clientpartners->ClientID->Name) { ?><?php if ($clientpartners_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientpartners_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientpartners->TitleID->Visible) { // TitleID ?>
	<?php if ($clientpartners->SortUrl($clientpartners->TitleID) == "") { ?>
		<th class="<?php echo $clientpartners->TitleID->headerCellClass() ?>"><?php echo $clientpartners->TitleID->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientpartners->TitleID->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientpartners->TitleID->Name ?>" data-sort-order="<?php echo $clientpartners_preview->SortField == $clientpartners->TitleID->Name && $clientpartners_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientpartners->TitleID->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientpartners_preview->SortField == $clientpartners->TitleID->Name) { ?><?php if ($clientpartners_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientpartners_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientpartners->FirstName->Visible) { // FirstName ?>
	<?php if ($clientpartners->SortUrl($clientpartners->FirstName) == "") { ?>
		<th class="<?php echo $clientpartners->FirstName->headerCellClass() ?>"><?php echo $clientpartners->FirstName->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientpartners->FirstName->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientpartners->FirstName->Name ?>" data-sort-order="<?php echo $clientpartners_preview->SortField == $clientpartners->FirstName->Name && $clientpartners_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientpartners->FirstName->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientpartners_preview->SortField == $clientpartners->FirstName->Name) { ?><?php if ($clientpartners_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientpartners_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientpartners->MiddleName->Visible) { // MiddleName ?>
	<?php if ($clientpartners->SortUrl($clientpartners->MiddleName) == "") { ?>
		<th class="<?php echo $clientpartners->MiddleName->headerCellClass() ?>"><?php echo $clientpartners->MiddleName->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientpartners->MiddleName->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientpartners->MiddleName->Name ?>" data-sort-order="<?php echo $clientpartners_preview->SortField == $clientpartners->MiddleName->Name && $clientpartners_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientpartners->MiddleName->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientpartners_preview->SortField == $clientpartners->MiddleName->Name) { ?><?php if ($clientpartners_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientpartners_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientpartners->LastName->Visible) { // LastName ?>
	<?php if ($clientpartners->SortUrl($clientpartners->LastName) == "") { ?>
		<th class="<?php echo $clientpartners->LastName->headerCellClass() ?>"><?php echo $clientpartners->LastName->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientpartners->LastName->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientpartners->LastName->Name ?>" data-sort-order="<?php echo $clientpartners_preview->SortField == $clientpartners->LastName->Name && $clientpartners_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientpartners->LastName->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientpartners_preview->SortField == $clientpartners->LastName->Name) { ?><?php if ($clientpartners_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientpartners_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientpartners->JobTitle->Visible) { // JobTitle ?>
	<?php if ($clientpartners->SortUrl($clientpartners->JobTitle) == "") { ?>
		<th class="<?php echo $clientpartners->JobTitle->headerCellClass() ?>"><?php echo $clientpartners->JobTitle->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientpartners->JobTitle->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientpartners->JobTitle->Name ?>" data-sort-order="<?php echo $clientpartners_preview->SortField == $clientpartners->JobTitle->Name && $clientpartners_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientpartners->JobTitle->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientpartners_preview->SortField == $clientpartners->JobTitle->Name) { ?><?php if ($clientpartners_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientpartners_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientpartners->Photo->Visible) { // Photo ?>
	<?php if ($clientpartners->SortUrl($clientpartners->Photo) == "") { ?>
		<th class="<?php echo $clientpartners->Photo->headerCellClass() ?>"><?php echo $clientpartners->Photo->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientpartners->Photo->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientpartners->Photo->Name ?>" data-sort-order="<?php echo $clientpartners_preview->SortField == $clientpartners->Photo->Name && $clientpartners_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientpartners->Photo->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientpartners_preview->SortField == $clientpartners->Photo->Name) { ?><?php if ($clientpartners_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientpartners_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientpartners->BirthDate->Visible) { // BirthDate ?>
	<?php if ($clientpartners->SortUrl($clientpartners->BirthDate) == "") { ?>
		<th class="<?php echo $clientpartners->BirthDate->headerCellClass() ?>"><?php echo $clientpartners->BirthDate->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientpartners->BirthDate->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientpartners->BirthDate->Name ?>" data-sort-order="<?php echo $clientpartners_preview->SortField == $clientpartners->BirthDate->Name && $clientpartners_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientpartners->BirthDate->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientpartners_preview->SortField == $clientpartners->BirthDate->Name) { ?><?php if ($clientpartners_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientpartners_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientpartners->MaritalStatusID->Visible) { // MaritalStatusID ?>
	<?php if ($clientpartners->SortUrl($clientpartners->MaritalStatusID) == "") { ?>
		<th class="<?php echo $clientpartners->MaritalStatusID->headerCellClass() ?>"><?php echo $clientpartners->MaritalStatusID->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientpartners->MaritalStatusID->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientpartners->MaritalStatusID->Name ?>" data-sort-order="<?php echo $clientpartners_preview->SortField == $clientpartners->MaritalStatusID->Name && $clientpartners_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientpartners->MaritalStatusID->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientpartners_preview->SortField == $clientpartners->MaritalStatusID->Name) { ?><?php if ($clientpartners_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientpartners_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientpartners->CivilStatus23->Visible) { // CivilStatus# ?>
	<?php if ($clientpartners->SortUrl($clientpartners->CivilStatus23) == "") { ?>
		<th class="<?php echo $clientpartners->CivilStatus23->headerCellClass() ?>"><?php echo $clientpartners->CivilStatus23->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientpartners->CivilStatus23->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientpartners->CivilStatus23->Name ?>" data-sort-order="<?php echo $clientpartners_preview->SortField == $clientpartners->CivilStatus23->Name && $clientpartners_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientpartners->CivilStatus23->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientpartners_preview->SortField == $clientpartners->CivilStatus23->Name) { ?><?php if ($clientpartners_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientpartners_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientpartners->CivilStatusPlace->Visible) { // CivilStatusPlace ?>
	<?php if ($clientpartners->SortUrl($clientpartners->CivilStatusPlace) == "") { ?>
		<th class="<?php echo $clientpartners->CivilStatusPlace->headerCellClass() ?>"><?php echo $clientpartners->CivilStatusPlace->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientpartners->CivilStatusPlace->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientpartners->CivilStatusPlace->Name ?>" data-sort-order="<?php echo $clientpartners_preview->SortField == $clientpartners->CivilStatusPlace->Name && $clientpartners_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientpartners->CivilStatusPlace->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientpartners_preview->SortField == $clientpartners->CivilStatusPlace->Name) { ?><?php if ($clientpartners_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientpartners_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientpartners->IdCard23->Visible) { // IdCard# ?>
	<?php if ($clientpartners->SortUrl($clientpartners->IdCard23) == "") { ?>
		<th class="<?php echo $clientpartners->IdCard23->headerCellClass() ?>"><?php echo $clientpartners->IdCard23->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientpartners->IdCard23->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientpartners->IdCard23->Name ?>" data-sort-order="<?php echo $clientpartners_preview->SortField == $clientpartners->IdCard23->Name && $clientpartners_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientpartners->IdCard23->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientpartners_preview->SortField == $clientpartners->IdCard23->Name) { ?><?php if ($clientpartners_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientpartners_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientpartners->Nationality1->Visible) { // Nationality1 ?>
	<?php if ($clientpartners->SortUrl($clientpartners->Nationality1) == "") { ?>
		<th class="<?php echo $clientpartners->Nationality1->headerCellClass() ?>"><?php echo $clientpartners->Nationality1->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientpartners->Nationality1->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientpartners->Nationality1->Name ?>" data-sort-order="<?php echo $clientpartners_preview->SortField == $clientpartners->Nationality1->Name && $clientpartners_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientpartners->Nationality1->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientpartners_preview->SortField == $clientpartners->Nationality1->Name) { ?><?php if ($clientpartners_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientpartners_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientpartners->Nationality2->Visible) { // Nationality2 ?>
	<?php if ($clientpartners->SortUrl($clientpartners->Nationality2) == "") { ?>
		<th class="<?php echo $clientpartners->Nationality2->headerCellClass() ?>"><?php echo $clientpartners->Nationality2->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientpartners->Nationality2->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientpartners->Nationality2->Name ?>" data-sort-order="<?php echo $clientpartners_preview->SortField == $clientpartners->Nationality2->Name && $clientpartners_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientpartners->Nationality2->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientpartners_preview->SortField == $clientpartners->Nationality2->Name) { ?><?php if ($clientpartners_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientpartners_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php if ($clientpartners->Extra23->Visible) { // Extra# ?>
	<?php if ($clientpartners->SortUrl($clientpartners->Extra23) == "") { ?>
		<th class="<?php echo $clientpartners->Extra23->headerCellClass() ?>"><?php echo $clientpartners->Extra23->caption() ?></th>
	<?php } else { ?>
		<th class="<?php echo $clientpartners->Extra23->headerCellClass() ?>"><div class="ew-pointer" data-sort="<?php echo $clientpartners->Extra23->Name ?>" data-sort-order="<?php echo $clientpartners_preview->SortField == $clientpartners->Extra23->Name && $clientpartners_preview->SortOrder == "ASC" ? "DESC" : "ASC" ?>"><div class="ew-table-header-btn">
		<span class="ew-table-header-caption"><?php echo $clientpartners->Extra23->caption() ?></span>
		<span class="ew-table-header-sort"><?php if ($clientpartners_preview->SortField == $clientpartners->Extra23->Name) { ?><?php if ($clientpartners_preview->SortOrder == "ASC") { ?><i class="fa fa-sort-up ew-sort-up"></span><?php } elseif ($clientpartners_preview->SortOrder == "DESC") { ?><i class="fa fa-sort-down"></i><?php } ?><?php } ?></span>
	</div></div></th>
	<?php } ?>
<?php } ?>
<?php

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

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

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

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

// Render list options (body, left)
$clientpartners_preview->ListOptions->render("body", "left", $clientpartners_preview->RowCnt);
?>
<?php if ($clientpartners->ClientID->Visible) { // ClientID ?>
		<!-- ClientID -->
		<td<?php echo $clientpartners->ClientID->cellAttributes() ?>>
<span<?php echo $clientpartners->ClientID->viewAttributes() ?>>
<?php echo $clientpartners->ClientID->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientpartners->TitleID->Visible) { // TitleID ?>
		<!-- TitleID -->
		<td<?php echo $clientpartners->TitleID->cellAttributes() ?>>
<span<?php echo $clientpartners->TitleID->viewAttributes() ?>>
<?php echo $clientpartners->TitleID->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientpartners->FirstName->Visible) { // FirstName ?>
		<!-- FirstName -->
		<td<?php echo $clientpartners->FirstName->cellAttributes() ?>>
<span<?php echo $clientpartners->FirstName->viewAttributes() ?>>
<?php echo $clientpartners->FirstName->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientpartners->MiddleName->Visible) { // MiddleName ?>
		<!-- MiddleName -->
		<td<?php echo $clientpartners->MiddleName->cellAttributes() ?>>
<span<?php echo $clientpartners->MiddleName->viewAttributes() ?>>
<?php echo $clientpartners->MiddleName->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientpartners->LastName->Visible) { // LastName ?>
		<!-- LastName -->
		<td<?php echo $clientpartners->LastName->cellAttributes() ?>>
<span<?php echo $clientpartners->LastName->viewAttributes() ?>>
<?php echo $clientpartners->LastName->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientpartners->JobTitle->Visible) { // JobTitle ?>
		<!-- JobTitle -->
		<td<?php echo $clientpartners->JobTitle->cellAttributes() ?>>
<span<?php echo $clientpartners->JobTitle->viewAttributes() ?>>
<?php echo $clientpartners->JobTitle->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientpartners->Photo->Visible) { // Photo ?>
		<!-- Photo -->
		<td<?php echo $clientpartners->Photo->cellAttributes() ?>>
<span>
<?php echo GetFileViewTag($clientpartners->Photo, $clientpartners->Photo->getViewValue()) ?>
</span>
</td>
<?php } ?>
<?php if ($clientpartners->BirthDate->Visible) { // BirthDate ?>
		<!-- BirthDate -->
		<td<?php echo $clientpartners->BirthDate->cellAttributes() ?>>
<span<?php echo $clientpartners->BirthDate->viewAttributes() ?>>
<?php echo $clientpartners->BirthDate->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientpartners->MaritalStatusID->Visible) { // MaritalStatusID ?>
		<!-- MaritalStatusID -->
		<td<?php echo $clientpartners->MaritalStatusID->cellAttributes() ?>>
<span<?php echo $clientpartners->MaritalStatusID->viewAttributes() ?>>
<?php echo $clientpartners->MaritalStatusID->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientpartners->CivilStatus23->Visible) { // CivilStatus# ?>
		<!-- CivilStatus# -->
		<td<?php echo $clientpartners->CivilStatus23->cellAttributes() ?>>
<span<?php echo $clientpartners->CivilStatus23->viewAttributes() ?>>
<?php echo $clientpartners->CivilStatus23->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientpartners->CivilStatusPlace->Visible) { // CivilStatusPlace ?>
		<!-- CivilStatusPlace -->
		<td<?php echo $clientpartners->CivilStatusPlace->cellAttributes() ?>>
<span<?php echo $clientpartners->CivilStatusPlace->viewAttributes() ?>>
<?php echo $clientpartners->CivilStatusPlace->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientpartners->IdCard23->Visible) { // IdCard# ?>
		<!-- IdCard# -->
		<td<?php echo $clientpartners->IdCard23->cellAttributes() ?>>
<span<?php echo $clientpartners->IdCard23->viewAttributes() ?>>
<?php echo $clientpartners->IdCard23->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientpartners->Nationality1->Visible) { // Nationality1 ?>
		<!-- Nationality1 -->
		<td<?php echo $clientpartners->Nationality1->cellAttributes() ?>>
<span<?php echo $clientpartners->Nationality1->viewAttributes() ?>>
<?php echo $clientpartners->Nationality1->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientpartners->Nationality2->Visible) { // Nationality2 ?>
		<!-- Nationality2 -->
		<td<?php echo $clientpartners->Nationality2->cellAttributes() ?>>
<span<?php echo $clientpartners->Nationality2->viewAttributes() ?>>
<?php echo $clientpartners->Nationality2->getViewValue() ?></span>
</td>
<?php } ?>
<?php if ($clientpartners->Extra23->Visible) { // Extra# ?>
		<!-- Extra# -->
		<td<?php echo $clientpartners->Extra23->cellAttributes() ?>>
<span<?php echo $clientpartners->Extra23->viewAttributes() ?>>
<?php echo $clientpartners->Extra23->getViewValue() ?></span>
</td>
<?php } ?>
<?php

// Render list options (body, right)
$clientpartners_preview->ListOptions->render("body", "right", $clientpartners_preview->RowCnt);
?>
	</tr>
<?php
	$clientpartners_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 ($clientpartners_preview->TotalRecs > 0) { ?>
<?php if (!isset($clientpartners_preview->Pager)) $clientpartners_preview->Pager = new PrevNextPager($clientpartners_preview->StartRec, $clientpartners_preview->DisplayRecs, $clientpartners_preview->TotalRecs) ?>
<?php if ($clientpartners_preview->Pager->RecordCount > 0 && $clientpartners_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 ($clientpartners_preview->Pager->FirstButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerFirst") ?>" data-start="<?php echo $clientpartners_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 ($clientpartners_preview->Pager->PrevButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerPrevious") ?>" data-start="<?php echo $clientpartners_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 ($clientpartners_preview->Pager->NextButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerNext") ?>" data-start="<?php echo $clientpartners_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 ($clientpartners_preview->Pager->LastButton->Enabled) { ?>
	<a class="btn btn-default" title="<?php echo $Language->phrase("PagerLast") ?>" data-start="<?php echo $clientpartners_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 $clientpartners_preview->Pager->FromIndex ?>&nbsp;<?php echo $Language->phrase("To") ?>&nbsp;<?php echo $clientpartners_preview->Pager->ToIndex ?>&nbsp;<?php echo $Language->phrase("Of") ?>&nbsp;<?php echo $clientpartners_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 ($clientpartners_preview->OtherOptions as &$option)
		$option->render("body");
?>
</div>
<div class="clearfix"></div>
</div><!-- /.card-footer -->
</div><!-- /.card -->
<?php
$clientpartners_preview->showPageFooter();
if (DEBUG_ENABLED)
	echo GetDebugMessage();
?>
<?php
if ($clientpartners_preview->Recordset)
	$clientpartners_preview->Recordset->Close();

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