{source}<?php
//Menu
$cwd = getcwd();
$part = explode('/', $cwd);
$test1 = $part[1];
$test2 = $part[2];
$test3 = $part[3];

include '/'.$test1.'/'.$test2.'/bin/felds2.php';
$prefx = $tblprefix.'_pageorder';
include '/'.$test1.'/'.$test2.'/bin/menuinfo.php';
include '/'.$test1.'/'.$test2.'/bin/menutabs.php';
?>


<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container-fluid">

<button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#navbarCollapse">
<span class="navbar-toggler-icon" style="margin-top: -4px; font-weight: 900"></span>
</button>

<div id="navbarCollapse" class="collapse navbar-collapse navbardrop <?php echo $cb_menualign; ?>">
<ul class="nav navbar-nav">

<li class="nav-item">
<a href="/home" class="nav-link">Home</a>
</li>

<?php if ($cb_showmenuenrollment == "1") { echo $showenroll; } ?>
<?php //echo $showenroll; ?>
<?php echo $showmedical; ?>
<?php echo $showdental; ?>
<?php echo $showvision; ?>

<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" id="dropdownMenu1" data-bs-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">

Additional Benefits
</a>

<div class="dropdown-menu dropdown" aria-labelledby="dropdownMenu1">
<div class="container col-md-1 col-sm-1" style="width: max-content; max-width: 460px;">
<div class="row">
<div class="col-sm-1 col-md-1 offset-md-1"
style="min-width: 6rem; margin-right: 0; margin-left: 0; margin-bottom: 0.5rem;">


<?php
//if ($cb_menutab06 > "0"){ echo $menutab06; }
if (stripos($cb_menutab04, 'hsa') !== false) {echo $menutab04;}
if (stripos($cb_menutab05, 'hsa') !== false) {echo $menutab05;}
//if (stripos($cb_menutab06, 'hsa') !== false) {echo $menutab06;}

if ($cb_menutab06 > "0"){ echo $menutab06; }
if ($cb_menutab07 > "0"){ echo $menutab07; }
if ($cb_menutab08 > "0"){ echo $menutab08; }
if ($cb_menutab09 > "0"){ echo $menutab09; }
if ($cb_menutab10 > "0"){ echo $menutab10; }
if ($cb_menutab11 > "0"){ echo $menutab11; }
if ($cb_menutab12 > "0"){ echo $menutab12; }
if ($cb_menutab13 > "0"){ echo $menutab13; }
if ($cb_menutab14 > "0"){ echo $menutab14; }
if ($cb_menutab15 > "0"){ echo $menutab15; }
if ($cb_menutab16 > "0"){ echo $menutab16; }
if ($cb_menutab17 > "0"){ echo $menutab17; }
if ($cb_menutab18 > "0"){ echo $menutab18; }
if ($cb_menutab19 > "0"){ echo $menutab19; }
if ($cb_menutab20 > "0"){ echo $menutab20; }
if ($cb_menutab21 > "0"){ echo $menutab21; }
if ($cb_menutab22 > "0"){ echo $menutab22; }
if ($cb_menutab23 > "0"){ echo $menutab23; }
if ($cb_menutab24 > "0"){ echo $menutab24; }
if ($cb_menutab25 > "0"){ echo $menutab25; }
?>


</div>
</div>
</div>
</div>
</li>

<?php if ($cb_showmenunewhire == "1") { echo $shownewhire; } ?>
<?php //echo $shownewhire; ?>

<?php if ($cb_showhrsection == "1") { echo $showadditional; } ?>

<li class="nav-item">
<a href="/documents" class="nav-link">Documents</a>
</li>

<li class="nav-item">
<a href="/contact" class="nav-link">Contact</a>
</li>

<?php echo $showresources; ?>
<?php if ($cb_showmenuhelp == "1") { echo $showhelp; } ?>
<?php //echo $showhelp; ?>

</ul>
</div>

</div>
</nav>
{/source}
{source}<?php
//Menu Top
$cwd = getcwd();
$part = explode('/', $cwd);
$test1 = $part[1];
$test2 = $part[2];
$test3 = $part[3];
include '/'.$test1.'/'.$test2.'/bin/felds2.php';
$prefx = $tblprefix.'_pageorder';
include '/'.$test1.'/'.$test2.'/bin/menuinfo.php';
include '/'.$test1.'/'.$test2.'/bin/menutabs.php';
$cb_menuheight1 = $cb_menuheight * 0.7;
if ($cb_logoposition < 1) { $cb_logoposition = "0"; }
$cb_logopositionlogo = $cb_logoposition - 5;
?>


<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container-fluid" style="width: 100%; margin: 0;">

<?php
if ($cb_logo_rightleft === 'left') {
echo '
<div class="col-lg-3 col-md-3 col-sm-4 text-center logomargin">
<a href="/">
<img class="logoposition logoheight invisiblelink" border="0"
src="https://'.$basesiteaddress.'/'.$basedomain.'/images/comprofiler/'.$avatar.'"
alt="'.$cb_companyshortname.'" title="'.$cb_companyshortname.'"
style="text-align: center; margin-left: '.$cb_logomargin.'px;">

</a>
</div>';
}
?>


<button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#navbarCollapse">
<span class="navbar-toggler-icon" style="margin-top: -5px; font-weight: 900"></span>
</button>

<div id="navbarCollapse" class="collapse navbar-collapse navbardrop <?php echo $cb_menualign; ?>">
<ul class="nav navbar-nav">

<li class="nav-item">
<a href="/home" class="nav-link">Home</a>
</li>

<?php if ($cb_showmenuenrollment == "1") { echo $showenroll; } ?>
<?php echo $showmedical; ?>
<?php echo $showdental; ?>
<?php echo $showvision; ?>

<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" id="dropdownMenu1" data-bs-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">

Additional Benefits
</a>

<div class="dropdown-menu dropdown" aria-labelledby="dropdownMenu1">
<div class="container col-md-1 col-sm-1" style="width: max-content; max-width: 460px;">
<div class="row">
<div class="col-sm-1 col-md-1 offset-md-1"
style="min-width: 200px; margin-right: auto; margin-left: 0;">


<?php
if (stripos($cb_menutab04, 'hsa') !== false) {echo $menutab04;}
if (stripos($cb_menutab05, 'hsa') !== false) {echo $menutab05;}
//if (stripos($cb_menutab06, 'hsa') !== false) {echo $menutab06;}

if ($cb_menutab06 > "0"){ echo $menutab06; }
if ($cb_menutab07 > "0"){ echo $menutab07; }
if ($cb_menutab08 > "0"){ echo $menutab08; }
if ($cb_menutab09 > "0"){ echo $menutab09; }
if ($cb_menutab10 > "0"){ echo $menutab10; }
if ($cb_menutab11 > "0"){ echo $menutab11; }
if ($cb_menutab12 > "0"){ echo $menutab12; }
if ($cb_menutab13 > "0"){ echo $menutab13; }
if ($cb_menutab14 > "0"){ echo $menutab14; }
if ($cb_menutab15 > "0"){ echo $menutab15; }
if ($cb_menutab16 > "0"){ echo $menutab16; }
if ($cb_menutab17 > "0"){ echo $menutab17; }
if ($cb_menutab18 > "0"){ echo $menutab18; }
if ($cb_menutab19 > "0"){ echo $menutab19; }
if ($cb_menutab20 > "0"){ echo $menutab20; }
if ($cb_menutab21 > "0"){ echo $menutab21; }
if ($cb_menutab22 > "0"){ echo $menutab22; }
if ($cb_menutab23 > "0"){ echo $menutab23; }
if ($cb_menutab24 > "0"){ echo $menutab24; }
if ($cb_menutab25 > "0"){ echo $menutab25; }
?>


</div>
</div>
</div>
</div>
</li>

<?php if ($cb_showmenunewhire == "1") { echo $shownewhire; } ?>
<?php if ($cb_showhrsection == "1") { echo $showadditional; } ?>

<li class="nav-item">
<a href="/documents" class="nav-link">Documents</a>
</li>

<li class="nav-item">
<a href="/contact" class="nav-link">Contact</a>
</li>

<?php echo $showresources; ?>
<?php if ($cb_showmenuhelp == "1") { echo $showhelp; } ?>

</ul>
</div>

<?php
if ($cb_logo_rightleft === "right") {
echo '
<style>
.invisiblelink { margin-right: '.$cb_logomargin.'px !important; }
</style>
<div class="col-lg-3 col-md-3 col-sm-4 text-center logomargin">
<a href="/">
<img class="logoposition logoheight invisiblelink" border="0"
src="https://'.$basesiteaddress.'/'.$basedomain.'/images/comprofiler/'.$avatar.'"
alt="'.$cb_companyshortname.'" title="'.$cb_companyshortname.'"
style="text-align: center;">

</a>
</div>';
}
?>


</div>
</nav>
{/source}
{source}<?php
//KAMELYAN
$cwd = getcwd();
$part = explode('/', $cwd);
$test1 = $part[1];
$test2 = $part[2];
$test3 = $part[3];
$test4 = $part[4];

include '/'.$test1.'/'.$test2.'/bin/lginagency.php';
include '/'.$test1.'/'.$test2.'/bin/felds2.php';

$users1 = '_users';
$comprofiler = '_comprofiler';
$jtable = $tblprefix.$comprofiler;
$jutable = $tblprefix.$users1;

$uppercase = 'text-transform: uppercase';

$pagedesig = $_SERVER['REQUEST_URI'];
// if ($pagedesig === '/p06') { }

$app11 = JFactory::getApplication();
$menu = $app11->getMenu();
$menuname = $menu->getActive()->title;
$lccurrentmenuname = strtolower($menuname);

// Set Up Title from Menu Label from Control Panel
$menulabel1 = "cb_menulabel";
$menulabel2 = $menulabel1.$lccurrentmenuname;

if ($menuname !== "Home") {
if ($menuname !== "Documents") {
if ($menuname !== "Contact") {
$con = mysqli_connect("$basesiteaddress","$slash1","$slash2","$slash3");
$result = mysqli_query($con, "SELECT * FROM $jtable WHERE cb_ebsitename = '$slash5'");
while($row = mysqli_fetch_array($result)) {
$menulabel = $row[$menulabel2];
}
mysqli_close($con);
}
}
}

if ($menuname == "Home") {$cb_menulabel = "";}
if ($menuname == "Documents") {$cb_menulabel = "Documents";}
if ($menuname == "Contact") {$cb_menulabel = "Contact";}
if ($menuname == "Contact") {$cb_menulabelcontact = "Contact";}
if ($menuname == "additional") {$cb_menulabel = "";}
//END KAMELYAN

$subtract = '10';
$cb_headerheight1 = $cb_headerheight - $subtract;

$subtract1 = $cb_headerheight * .4;
$cb_headerheight2 = $cb_headerheight - $subtract1;

if ($cb_logo_rightleft === "right") {
echo '
<div class="container-not d-none d-lg-block">
<div class="row" style="height: '.$cb_headerheight.'px;">
<div class="col align-middle " style="vertical-align: middle; text-align:left;">
<table style="height: '.$cb_headerheight1.'px; text-align:left; float: left;" class="justify-content-start">
<tr>
<td style="vertical-align: middle; text-align: left; padding: 0 0 0 2rem" class="h1 fw-bold text-start justify-content-start art-headline">'.$cb_menulabel.'</td>
</tr>
</table>
</div>
<div class="col-lg-5 col-md-5 col-sm-4 text-center logomarginheader">
<a href="/">
<img class="logoposition invisiblelink" border="0" src="https://'.$basesiteaddress.'/'.$basedomain.'/images/comprofiler/'.$avatar.'" alt="'.$cb_companyshortname.'" title="'.$cb_companyshortname.'" style="text-align: center;margin-right: '.$cb_logomargin.'px;">
</a>
</div>
</div>
</div>

<div class="container-tablet d-lg-none">
<div class="row" style="height: '.$cb_headerheight2.'px;">
<div class="col align-middle " style="vertical-align: middle;">
<table style="height: '.$cb_headerheight2.'px; float: left; margin-left: 10px;" class="justify-content-end">
<tr>
<td style="vertical-align: middle" class="h5 fw-bold text-start">'.$cb_menulabel.'</td>
</tr>
</table>
</div>
<div class=" text-end logomarginheader me-1">
<a class="invisiblelink" href="/" style="text-align: right; margin: 0 10px 0 0 ;">
<img border="0" src="https://'.$basesiteaddress.'/'.$basedomain.'/images/comprofiler/'.$avatar.'" alt="'.$cb_companyshortname.'" title="'.$cb_companyshortname.'" style="max-height: '.$cb_headerheight2.'px;">
</a>
</div>
</div>
</div>';
}

if ($cb_logo_rightleft === "left") {
echo '
<div class="container-not d-none d-lg-block">
<div class="row" style="height: '.$cb_headerheight.'px;">
<div class="col-lg-5 col-md-5 col-sm-4 text-center logomarginheader">
<a href="/">
<img class="logoposition invisiblelink" border="0" src="https://'.$basesiteaddress.'/'.$basedomain.'/images/comprofiler/'.$avatar.'" alt="'.$cb_companyshortname.'" title="'.$cb_companyshortname.'" style="text-align: center;margin-left: '.$cb_logomargin.'px;">
</a>
</div>
<div class="col align-middle " style="vertical-align: middle; text-align:left;">
<table style="height: '.$cb_headerheight1.'px; text-align:left; float: right;" class="justify-content-start">
<tr>
<td style="vertical-align: middle; text-align: left; padding: 0 2rem 0 10px" class="h1 fw-bold text-end justify-content-end art-headline">'.$cb_menulabel.'</td>
</tr>
</table>
</div>
</div>
</div>

<div class="container-tablet d-lg-none">
<div class="row" style="height: '.$cb_headerheight2.'px;">
<div class=" text-start logomarginheader">
<a class="invisiblelink" href="/" style="text-align: right; margin: 0 10px 0 0 ;">
<img border="0" src="https://'.$basesiteaddress.'/'.$basedomain.'/images/comprofiler/'.$avatar.'" alt="'.$cb_companyshortname.'" title="'.$cb_companyshortname.'" style="max-height: '.$cb_headerheight2.'px;">
</a>
</div>
<div class="col align-middle " style="vertical-align: middle;">
<table style="height: '.$cb_headerheight2.'px; float: right; margin-right: 1rem;" class="justify-content-end">
<tr>
<td style="vertical-align: middle" class="h5 fw-bold text-end">'.$cb_menulabel.'</td>
</tr>
</table>
</div>
</div>
</div>';
}
?>
{/source}
{source}<?php
$cwd = getcwd();
$part = explode('/', $cwd);
$test1 = $part[1];
$test2 = $part[2];
$test3 = $part[3];
include '/'.$test1.'/'.$test2.'/bin/felds2.php';
echo '
<style>
.container-banner { margin: 0 0 -2rem;}';
if ($cb_bannerhoriz === "left"){echo '.bannerquote {min-width: 20vw !important; width: fit-content; margin-left: -10pc; margin-right: auto; padding: 10px 0 10px 0;opacity: 0.8; text-align: right;}}';}
if ($cb_bannerhoriz === "right"){echo '.bannerquote {min-width: 20vw !important; width: fit-content; margin-right: -10pc; margin-left: auto; padding: 10px 0 10px 0;opacity: 0.8; text-align: right;}}';}
if ($cb_bannerhoriz === "center"){echo '.bannerquote {min-width: 20vw !important; width: fit-content; margin-right: auto; margin-left: auto; padding: 10px 0 10px 0;opacity: 0.8; text-align: right;}';}
echo '
@media only screen and (max-width: 940px) {
.bannerquote {font-size: 1.25em !important;}
}
</style>
';
echo'
<div id="carouselExampleCaptions" class="carousel slide carousel-fade" data-bs-ride="carousel" data-bs-pause="false">
<div class="carousel-inner">
<div class="carousel-item active">
<img src="https://'.$basesiteaddress.'/control/images/comprofiler/'.$cb_banner1.'" class="d-block w-100" alt="...">
<div class="carousel-caption d-none d-md-block bannerquote" style="background: '.$cb_bannercolor1.'; ">
<h3 style="opacity: 1 !Important; color: '.$cb_bannerquotecolor.' !Important;;">'.$cb_bannerquote1.'</h3>
</div>
</div>
<div class="carousel-item">
<img src="https://'.$basesiteaddress.'/control/images/comprofiler/'.$cb_banner2.'" class="d-block w-100" alt="...">
<div class="carousel-caption d-none d-md-block bannerquote" style="background: '.$cb_bannercolor2.';">
<h3 style="opacity: 1 !Important; color: '.$cb_bannerquotecolor.' !Important;">'.$cb_bannerquote2.'</h3>
</div>
</div>
<div class="carousel-item">
<img src="https://'.$basesiteaddress.'/control/images/comprofiler/'.$cb_banner3.'" class="d-block w-100" alt="...">
<div class="carousel-caption d-none d-md-block bannerquote" style="background: '.$cb_bannercolor1.'; ">
<h3 style="opacity: 1 !Important; color: '.$cb_bannerquotecolor.' !Important;">'.$cb_bannerquote3.'</h3>
</div>
</div>
<div class="carousel-item">
<img src="https://'.$basesiteaddress.'/control/images/comprofiler/'.$cb_banner4.'" class="d-block w-100" alt="...">
<div class="carousel-caption d-none d-md-block bannerquote" style="background: '.$cb_bannercolor2.'; ">
<h3 style="opacity: 1 !Important; color: '.$cb_bannerquotecolor.' !Important;">'.$cb_bannerquote4.'</h3>
</div>
</div>
</div>
<!--
<button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
-->
</div>
';
?>
{/source}
{source}<?php
$cwd = getcwd();
$part = explode('/', $cwd);
$test1 = $part[1];
$test2 = $part[2];
$test3 = $part[3];

include '/' . $test1 . '/' . $test2 . '/bin/felds2.php';

// RESTRICT PAGE
if (str_contains($cb_restrictpages, 'Home')) {
$valid_passwords = array($cb_restrictusername => $cb_restrictpassword);
$valid_users = array_keys($valid_passwords);

$user = $_SERVER['PHP_AUTH_USER'] ?? '';
$pass = $_SERVER['PHP_AUTH_PW'] ?? '';

$validated = in_array($user, $valid_users) && ($pass == $valid_passwords[$user]);

if (!$validated) {
header('WWW-Authenticate: Basic realm="Administrator"');
header('HTTP/1.0 401 Unauthorized');
die('
<div style="font-family: Arial; text-align: center;">
<h3 style="margin-top: 20px; margin-bottom: 20px;">
This page is password protected. You must log in first.
</h3>
<a href="/" style="font-weight: bold; font-size: 18px;">CLICK TO LOGIN</a>
</div>
');
}
}

echo '<br><br><div class="row mt-1 mb-4 ms-0 me-0">';

// CASE 1: left + right exist
if ($cb_homeleft != "" && $cb_homeright != "") {
echo '
<div class="col order-lg-2 mb-n5" style="margin-bottom: -5rem">
<div>' . $cb_home . '<br /></div>
{source}getMenu(); $menuname = $menu->getActive()->title; $lccurrentmenuname = strtolower($menuname); //RESTRICT PAGE // if ($lccurrentmenuname == "documents"){ if (str_contains($cb_restrictpages, 'home') == false) { echo '
Collapse All
Expand All
Filename
explore subfolder image Main Documents
An Adobe Acrobat file Online Archive.pdf
'; } if (str_contains($cb_restrictpages, 'home') == true && str_contains($cb_restrictpages, 'Documents') == true) { echo '
Collapse All
Expand All
Filename
explore subfolder image Main Documents
An Adobe Acrobat file Online Archive.pdf
'; } } // if ($lccurrentmenuname !== "documents"){ echo '
Collapse All
Expand All
Filename
explore subfolder image Main Documents
An Adobe Acrobat file Online Archive.pdf

'; } ?>{/source}

<br clear="all">
</div>

<div class="col-lg-3 order-lg-1 ms-1 me-1">
<div>' . $cb_homeleft . '<br /></div>
</div>

<div class="col-lg-3 order-lg-3 me-2">
<div>' . $cb_homeright . '</div>
</div>
';
}

// CASE 2: left exists, right empty
if ($cb_homeleft != "" && $cb_homeright == "") {
echo '
<div class="col order-lg-2 mb-n5" style="margin-bottom: -5rem">
<div>' . $cb_home . '</div>
{source}getMenu(); $menuname = $menu->getActive()->title; $lccurrentmenuname = strtolower($menuname); //RESTRICT PAGE // if ($lccurrentmenuname == "documents"){ if (str_contains($cb_restrictpages, 'home') == false) { echo '
Collapse All
Expand All
Filename
explore subfolder image Main Documents
An Adobe Acrobat file Online Archive.pdf
'; } if (str_contains($cb_restrictpages, 'home') == true && str_contains($cb_restrictpages, 'Documents') == true) { echo '
Collapse All
Expand All
Filename
explore subfolder image Main Documents
An Adobe Acrobat file Online Archive.pdf
'; } } // if ($lccurrentmenuname !== "documents"){ echo '
Collapse All
Expand All
Filename
explore subfolder image Main Documents
An Adobe Acrobat file Online Archive.pdf

'; } ?>{/source}

<br clear="all">
</div>

<div class="col-lg-3 order-lg-1 ms-1 me-1">
<div>' . $cb_homeleft . '<br /></div>
</div>
';
}

// CASE 3: left empty, right exists
if ($cb_homeleft == "" && $cb_homeright != "") {
echo '
<div class="col order-lg-1 mb-n5" style="margin-bottom: -5rem">
<div>' . $cb_home . '</div>
{source}getMenu(); $menuname = $menu->getActive()->title; $lccurrentmenuname = strtolower($menuname); //RESTRICT PAGE // if ($lccurrentmenuname == "documents"){ if (str_contains($cb_restrictpages, 'home') == false) { echo '
Collapse All
Expand All
Filename
explore subfolder image Main Documents
An Adobe Acrobat file Online Archive.pdf
'; } if (str_contains($cb_restrictpages, 'home') == true && str_contains($cb_restrictpages, 'Documents') == true) { echo '
Collapse All
Expand All
Filename
explore subfolder image Main Documents
An Adobe Acrobat file Online Archive.pdf
'; } } // if ($lccurrentmenuname !== "documents"){ echo '
Collapse All
Expand All
Filename
explore subfolder image Main Documents
An Adobe Acrobat file Online Archive.pdf

'; } ?>{/source}

<br clear="all">
</div>

<div class="col-lg-3 order-lg-3 me-2">
<div>' . $cb_homeright . '</div>
</div>
';
}

// CASE 4: both empty
if ($cb_homeleft == "" && $cb_homeright == "") {
echo '
<div class="col ms-0 me-0">
<div>' . $cb_home . '</div>
<div>
{source}getMenu(); $menuname = $menu->getActive()->title; $lccurrentmenuname = strtolower($menuname); //RESTRICT PAGE // if ($lccurrentmenuname == "documents"){ if (str_contains($cb_restrictpages, 'home') == false) { echo '
Collapse All
Expand All
Filename
explore subfolder image Main Documents
An Adobe Acrobat file Online Archive.pdf
'; } if (str_contains($cb_restrictpages, 'home') == true && str_contains($cb_restrictpages, 'Documents') == true) { echo '
Collapse All
Expand All
Filename
explore subfolder image Main Documents
An Adobe Acrobat file Online Archive.pdf
'; } } // if ($lccurrentmenuname !== "documents"){ echo '
Collapse All
Expand All
Filename
explore subfolder image Main Documents
An Adobe Acrobat file Online Archive.pdf

'; } ?>{/source}
</div>
<br clear="all">
</div>
';
}

echo '</div>';

?>
{/source}

{source css="https://cdn.jsdelivr.net/npm/This email address is being protected from spambots. You need JavaScript enabled to view it..3/font/bootstrap-icons.css"}{/source}