<?php
session_start();
date_default_timezone_set("Africa/Lagos");
require_once '../include/Constants.php';
require_once "../vendor/autoload.php";
require_once "../include/DatabaseConn.php";
require_once "../models/User.php";
require_once '../models/USettings.php';
require_once '../include/GoogleAuthenticator.php';
require_once '../models/Settings.php';
require_once '../models/Investment.php';

$db = new DatabaseConn();
$link = $db->connect();

$user = User::getCurrentUser($link);
if (is_null($user)) {
    $url = $_SERVER['REQUEST_URI'];
    header("location: ../login?" . RETURN_URL . "=" . $url);
    die();
}

$settings = USettings::getSystemSettings($link, $user->getEmail());
if ($settings->getTwofa() && is_null($user->getFa())) {
    header("location: add-2fa");
    die();
}

if (isset($_POST[PACKAGE])) {
    $package = filter_input(INPUT_POST, PACKAGE, FILTER_SANITIZE_STRING);
    if (is_null($package) || is_bool($package) || empty($package) || strtolower($package) === NONE) {
        $error = "Please select a package";
    } else {
        header("location: investment-plans?plan=" . $package);
        die();
    }
} else if (isset($_POST["package_type"])) {
    
    $package_type = filter_input(INPUT_POST, "package_type", FILTER_SANITIZE_STRING);
    if (is_null($package_type) || is_bool($package_type) || empty($package_type) || strtolower($package_type) === NONE) {
        $error = "Please select a plan";
    } else {
        header("location: payment-options?gae=" . $package_type);
        die();
    }
}
$groups = Investment::getInvesmentGroup($link);
if (is_null($groups)) {
    header("location: investment-groups");
    die();
}
?>
	<!DOCTYPE html>
	<html lang="en">

	<head>
		<?php require_once './partials/head.php'; ?>
		<link href="https://cdn.jsdelivr.net/npm/select2@4.0.13/dist/css/select2.min.css" rel="stylesheet" type="text/css" media="all" />
         <style>
            /*!
             * Bootstrap v4.4.1 (https://getbootstrap.com/)
             * Copyright 2011-2019 The Bootstrap Authors
             * Copyright 2011-2019 Twitter, Inc.
             * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
             */[tabindex="-1"]:focus:not(:focus-visible){outline:0!important}h5{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}ul{margin-top:0;margin-bottom:1rem}label{display:inline-block;margin-bottom:.5rem}input{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}input{overflow:visible}[type=submit]{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox]{box-sizing:border-box;padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}h5{margin-bottom:.5rem;font-weight:500;line-height:1.2}h5{font-size:1.25rem}.container-fluid{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}.col-lg-9,.col-md-12{position:relative;width:100%;padding-right:15px;padding-left:15px}@media (min-width:768px){.col-md-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}}@media (min-width:992px){.col-lg-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}}.custom-control-input.is-valid:focus:not(:checked)~.custom-control-label::before,.was-validated .custom-control-input:valid:focus:not(:checked)~.custom-control-label::before{border-color:#28a745}.custom-control-input.is-invalid:focus:not(:checked)~.custom-control-label::before,.was-validated .custom-control-input:invalid:focus:not(:checked)~.custom-control-label::before{border-color:#dc3545}.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active{color:#fff;background-color:#0062cc;border-color:#005cbf}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus{box-shadow:0 0 0 .2rem rgba(38,143,255,.5)}.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active{color:#fff;background-color:#545b62;border-color:#4e555b}.btn-secondary:not(:disabled):not(.disabled).active:focus,.btn-secondary:not(:disabled):not(.disabled):active:focus{box-shadow:0 0 0 .2rem rgba(130,138,145,.5)}.btn-success:not(:disabled):not(.disabled).active,.btn-success:not(:disabled):not(.disabled):active{color:#fff;background-color:#1e7e34;border-color:#1c7430}.btn-success:not(:disabled):not(.disabled).active:focus,.btn-success:not(:disabled):not(.disabled):active:focus{box-shadow:0 0 0 .2rem rgba(72,180,97,.5)}.btn-info:not(:disabled):not(.disabled).active,.btn-info:not(:disabled):not(.disabled):active{color:#fff;background-color:#117a8b;border-color:#10707f}.btn-info:not(:disabled):not(.disabled).active:focus,.btn-info:not(:disabled):not(.disabled):active:focus{box-shadow:0 0 0 .2rem rgba(58,176,195,.5)}.btn-warning:not(:disabled):not(.disabled).active,.btn-warning:not(:disabled):not(.disabled):active{color:#212529;background-color:#d39e00;border-color:#c69500}.btn-warning:not(:disabled):not(.disabled).active:focus,.btn-warning:not(:disabled):not(.disabled):active:focus{box-shadow:0 0 0 .2rem rgba(222,170,12,.5)}.btn-danger:not(:disabled):not(.disabled).active,.btn-danger:not(:disabled):not(.disabled):active{color:#fff;background-color:#bd2130;border-color:#b21f2d}.btn-danger:not(:disabled):not(.disabled).active:focus,.btn-danger:not(:disabled):not(.disabled):active:focus{box-shadow:0 0 0 .2rem rgba(225,83,97,.5)}.btn-light:not(:disabled):not(.disabled).active,.btn-light:not(:disabled):not(.disabled):active{color:#212529;background-color:#dae0e5;border-color:#d3d9df}.btn-light:not(:disabled):not(.disabled).active:focus,.btn-light:not(:disabled):not(.disabled):active:focus{box-shadow:0 0 0 .2rem rgba(216,217,219,.5)}.btn-dark:not(:disabled):not(.disabled).active,.btn-dark:not(:disabled):not(.disabled):active{color:#fff;background-color:#1d2124;border-color:#171a1d}.btn-dark:not(:disabled):not(.disabled).active:focus,.btn-dark:not(:disabled):not(.disabled):active:focus{box-shadow:0 0 0 .2rem rgba(82,88,93,.5)}.btn-outline-primary:not(:disabled):not(.disabled).active,.btn-outline-primary:not(:disabled):not(.disabled):active{color:#fff;background-color:#007bff;border-color:#007bff}.btn-outline-primary:not(:disabled):not(.disabled).active:focus,.btn-outline-primary:not(:disabled):not(.disabled):active:focus{box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}.btn-outline-secondary:not(:disabled):not(.disabled).active,.btn-outline-secondary:not(:disabled):not(.disabled):active{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,.btn-outline-secondary:not(:disabled):not(.disabled):active:focus{box-shadow:0 0 0 .2rem rgba(108,117,125,.5)}.btn-outline-success:not(:disabled):not(.disabled).active,.btn-outline-success:not(:disabled):not(.disabled):active{color:#fff;background-color:#28a745;border-color:#28a745}.btn-outline-success:not(:disabled):not(.disabled).active:focus,.btn-outline-success:not(:disabled):not(.disabled):active:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-outline-info:not(:disabled):not(.disabled).active,.btn-outline-info:not(:disabled):not(.disabled):active{color:#fff;background-color:#17a2b8;border-color:#17a2b8}.btn-outline-info:not(:disabled):not(.disabled).active:focus,.btn-outline-info:not(:disabled):not(.disabled):active:focus{box-shadow:0 0 0 .2rem rgba(23,162,184,.5)}.btn-outline-warning:not(:disabled):not(.disabled).active,.btn-outline-warning:not(:disabled):not(.disabled):active{color:#212529;background-color:#ffc107;border-color:#ffc107}.btn-outline-warning:not(:disabled):not(.disabled).active:focus,.btn-outline-warning:not(:disabled):not(.disabled):active:focus{box-shadow:0 0 0 .2rem rgba(255,193,7,.5)}.btn-outline-danger:not(:disabled):not(.disabled).active,.btn-outline-danger:not(:disabled):not(.disabled):active{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-outline-danger:not(:disabled):not(.disabled).active:focus,.btn-outline-danger:not(:disabled):not(.disabled):active:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.5)}.btn-outline-light:not(:disabled):not(.disabled).active,.btn-outline-light:not(:disabled):not(.disabled):active{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:not(:disabled):not(.disabled).active:focus,.btn-outline-light:not(:disabled):not(.disabled):active:focus{box-shadow:0 0 0 .2rem rgba(248,249,250,.5)}.btn-outline-dark:not(:disabled):not(.disabled).active,.btn-outline-dark:not(:disabled):not(.disabled):active{color:#fff;background-color:#343a40;border-color:#343a40}.btn-outline-dark:not(:disabled):not(.disabled).active:focus,.btn-outline-dark:not(:disabled):not(.disabled):active:focus{box-shadow:0 0 0 .2rem rgba(52,58,64,.5)}.custom-control{position:relative;display:block;min-height:1.5rem;padding-left:1.5rem}.custom-control-input{position:absolute;left:0;z-index:-1;width:1rem;height:1.25rem;opacity:0}.custom-control-input:checked~.custom-control-label::before{color:#fff;border-color:#007bff;background-color:#007bff}.custom-control-input:focus~.custom-control-label::before{box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}.custom-control-input:focus:not(:checked)~.custom-control-label::before{border-color:#80bdff}.custom-control-input:not(:disabled):active~.custom-control-label::before{color:#fff;background-color:#b3d7ff;border-color:#b3d7ff}.custom-control-input:disabled~.custom-control-label{color:#6c757d}.custom-control-input:disabled~.custom-control-label::before{background-color:#e9ecef}.custom-control-label{position:relative;margin-bottom:0;vertical-align:top}.custom-control-label::before{position:absolute;top:.25rem;left:-1.5rem;display:block;width:1rem;height:1rem;pointer-events:none;content:"";background-color:#fff;border:#adb5bd solid 1px}.custom-control-label::after{position:absolute;top:.25rem;left:-1.5rem;display:block;width:1rem;height:1rem;content:"";background:no-repeat 50%/50% 50%}.custom-switch{padding-left:2.25rem}.custom-switch .custom-control-label::before{left:-2.25rem;width:1.75rem;pointer-events:all;border-radius:.5rem}.custom-switch .custom-control-label::after{top:calc(.25rem + 2px);left:calc(-2.25rem + 2px);width:calc(1rem - 4px);height:calc(1rem - 4px);background-color:#adb5bd;border-radius:.5rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-transform .15s ease-in-out;transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-transform .15s ease-in-out}@media (prefers-reduced-motion:reduce){.custom-switch .custom-control-label::after{transition:none}}.custom-switch .custom-control-input:checked~.custom-control-label::after{background-color:#fff;-webkit-transform:translateX(.75rem);transform:translateX(.75rem)}.custom-switch .custom-control-input:disabled:checked~.custom-control-label::before{background-color:rgba(0,123,255,.5)}.custom-control-label::before{transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.custom-control-label::before{transition:none}}.card{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0,0,0,.125);border-radius:.25rem}.card-body{-ms-flex:1 1 auto;flex:1 1 auto;min-height:1px;padding:1.25rem}.card-title{margin-bottom:.75rem}.close:not(:disabled):not(.disabled):focus,.close:not(:disabled):not(.disabled):hover{opacity:.75}@supports ((position:-webkit-sticky) or (position:sticky)){}@media print{*,::after,::before{text-shadow:none!important;box-shadow:none!important}p{orphans:3;widows:3}@page{size:a3}body{min-width:992px!important}}
            /*# sourceMappingURL=bootstrap.min.css.map */
            .mtb15 {
                margin: 15px 0;
            }

            .mt15 {
                margin-top: 15px;
            }

            .mb15 {
                margin-bottom: 15px;
            }

            .ml15 {
                margin-left: 15px;
            }

            .mr15 {
                margin-right: 15px;
            }

            .ptb70 {
                padding: 70px 0;
            }

            .pt70 {
                padding-top: 70px;
            }

            .pb40 {
                padding-bottom: 40px;
            }
            .custom-control-input:focus ~ .custom-control-label::before {
                box-shadow: none;
            }

            .settings .card {
                box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 14px -6px;
                border-radius: 5px;
                border: none;
                margin-bottom: 15px;
            }

            .settings .card-title {
                font-size: 16px;
                margin-bottom: 30px;
            }

            .settings-profile input {
                border: 1px solid #e0e3eb;
                border-radius: 5px;
                font-size: 14px;
                height: 45px;
            }

            .settings-profile input[type="submit"] {
                background: #ffcd05;
                color: #fff;
                font-weight: 600;
                padding: 10px 25px;
                height: inherit;
                font-size: 16px;
                margin-top: 10px;
            }

            .settings-notification li {
                display: flex;
                justify-content: space-between;
                padding: 15px 0;
                border-bottom: 1px solid #f0f3fa;
                align-items: center;
            }

            .settings-notification li:first-child {
                padding-top: 0;
            }

            .settings-notification li:last-child {
                padding-bottom: 0;
                border-bottom: 0;
            }

            .settings-notification li span {
                color: #18214d59;
            }

            .settings-notification li p {
                margin-bottom: 0;
            }

            .settings .custom-control-label {
                cursor: pointer;
            }


            #dark .custom-control-input:checked ~ .custom-control-label::before {
                color: #fff;
                border-color: #ffcd05;
                background-color: #ffcd05;
            }

            #dark .settings .card {
                background: #1e222d;
            }

            #dark .settings .card-title {
                color: #fff;
            }

            #dark .settings-notification li {
                border-bottom: 1px solid #2a2e39;
            }

            #dark .settings-notification li:last-child {
                border-bottom: 0;
            }

            #dark .settings-notification p {
                color: #ffffff;
            }

            #dark .settings-notification span {
                color: #4f5966;
            }

            #dark .settings label {
                color: #fff;
            }

            #dark .settings-profile input[type="submit"] {
                border: 1px solid #ffcd05;
            }
            #dark .custom-control-input:checked ~ .custom-control-label::before {
                color: #fff;
                border-color: #31b993;
                background-color: #31b993;
            }
            #dark .settings-profile input[type="submit"] {
                border: 1px solid #31b993;
            }
            .settings-profile input[type="submit"] {
                background: #31b993;
            }
            #dark .settings .card {
                background: #232629;
            }
            /*# sourceMappingURL=style.css.map */
        </style>
      
	</head>

	<body class="ltr en">
		<div ui-view="" id="app" ng-class="{'app-mobile' : app.isMobile, 'app-invest' : app.isInvest, 'app-navbar-fixed' : app.layout.isNavbarFixed,
     'app-sidebar-fixed' : app.layout.isSidebarFixed, 'app-footer-fixed':app.layout.isFooterFixed}" class="ng-scope app-navbar-fixed app-sidebar-fixed" style="">
			<?php require_once './partials/sidebar.php'; ?>
				<div class="app-content ng-scope" ng-class="{loading: loading}">
					<!-- ngInclude: 'assets/views/partials/top-navbar.html' -->
					<?php require_once './partials/header_.php'; ?>
						<div data-ng-controller="PageCtrl" class="ng-scope">
						    
							<div data-ng-include=" 'assets/views/partials/main-content.html'" id="main_content" class="main-content ng-scope" ng-class="{'hidden' : hidePageContent, 'wrap-content-dashboard' : (currentPageId == 'app.dashboard')}" style="">
								<!-- uiView:  -->
								<div ui-view="" class="wrap-content container fade-in-up ng-scope" id="container">
									<!-- uiView:  -->
									<div ui-view="" class="smooth ng-scope">
										<!-- uiView:  -->
										<div ui-view="" class="ng-scope">
											<!-- ngInclude: undefined -->
											<data-ng-include src="'assets/views/partials/title.html'" style="margin-top: 10px" class="ng-scope">
											    <div data-ng-include=" 'assets/views/partials/alerts.html'" style="margin-top: 61px;" class="ng-scope">
											<div ng-controller="AlertCtrl" class="PopupAlertDiv ng-scope">
												<div class="container-fluid mt20" ng-show="alertsLen > 0">
													<div class="row">
														<div class="col-sm-12">
															<!-- ngRepeat: (id, alert) in alerts track by $index -->
															<div ng-repeat="(id, alert) in alerts track by $index" class="alert alert-block alert-success alert-type--welcome fade in" id="notice_20300006" data-ng-init="setNoticeAsShown(alert.id)">
																<!-- ngIf: alert.is_closable -->
																<button ng-hide="getInclude(alert.type) == 'alert-prompt.html'" data-ct-dismiss="alert" class="close ng-scope" ng-if="alert.is_closable" type="button" ng-click="profileAlertClose(alert)"></button>
																<!-- end ngIf: alert.is_closable -->
																<div class="PopupAlertDiv__content">
																	<!-- ngInclude: 'assets/views/tpl/' + getInclude(alert.type) --><span ng-include="'assets/views/tpl/' + getInclude(alert.type)" class="ng-scope"><div class="ng-scope">
                                                                            <h4 class="alert-heading margin-bottom-10">
                                                                                <span class="success-title ng-binding" ng-bind-html="('welcome_to_myfxtm' | translate)">Welcome to Ozz Capital - your personal client area.</span> </h4>
																	<p class="m0"> <b class="ng-binding">Your referral ID:  <a class="upgrade-to-text" style="cursor: pointer" data-clipboard-text="https://ozzcapital.com/?referral=irsgmyleigsuc@baybabes.com">
                                                                                        <span>Click to copy referral link</span>
                                                                                    </a> </b>
																		<br> </p>
																	<!-- ngIf: alert.data['30PctBonusAvailable'] || alert.data.switchToFxTmBonusAvailable -->
																</div>
																</span>
															</div>
														</div>
														<!-- end ngRepeat: (id, alert) in alerts track by $index -->
													</div>
												</div>
											</div>
										</div>
								</div>
												<div ng-hide="currentPageId === 'app.dashboard'" class="ng-scope">
													<section id="page-title" class="padding-top-15 padding-bottom-0 ng-scope" ng-controller="TitleCtrl">
														<div class="container-fluid">
															<div class="row">
																<div class="col-xs-12">
																	<h1 class="mainTitle">
                                                                <span ng-bind="title | translate" class="ng-binding">Change Password</span>
                                                                <!-- ngIf: openAccount.account_group === 'investor' --><!-- ngIf: subtitle -->
                                                            </h1> </div>
															</div>
														</div>
													</section>
												</div>
											</data-ng-include>
											<div class="container-fluid bg-white ng-scope" data-ng-controller="ProactiveChatOpenAccountCtrl">
												<div class="row">
													<div class="col-xs-12">
														<!-- ngIf: ::showMeHowForPage.videos.length -->
													</div>
												</div>
												<!-- Enter Mini -->
										<div class="profile-item container-fluid">
                            <div class="settings  settings-profile mtb15" style="margin-left: 25px;margin-right: 25px;">
                                <div class="container-fluid">
                                    <div class="row">
                                        <style>
                                            div.hxDscV {
                                                position: relative;
                                                padding: 24px !important;
                                                border-radius: 8px;
                                                border: 1px solid rgb(80, 89, 107);
                                                width: 275px;
                                                margin-bottom: 24px;
                                            }
                                            .bsHJrx {
                                                display: flex;
                                                flex-direction: column;
                                                -moz-box-pack: justify;
                                                justify-content: space-between;
                                            }
                                            .cTvbwF {
                                                display: flex;
                                                flex-direction: row;
                                                -moz-box-pack: center;
                                                justify-content: center;
                                                -moz-box-align: center;
                                                align-items: center;
                                                width: auto;
                                                min-width: 140px;
                                                height: 40px;
                                                padding: 10px 15px;
                                                box-sizing: border-box;
                                                user-select: none;
                                                text-align: center;
                                                text-decoration: none;
                                                vertical-align: middle;
                                                letter-spacing: normal;
                                                transition: all 0.2s ease-in-out 0s;
                                                white-space: nowrap;
                                                line-height: 1;
                                                text-transform: none;
                                                font-size: 14px;
                                                font-weight: 600;
                                                cursor: pointer;
                                                opacity: 1;
                                                color: rgb(28, 28, 28);
                                                background-color: rgb(12, 108, 242);
                                                border-radius: 8px;
                                                border-style: solid;
                                                border-width: 1px;
                                                border-color: rgb(12, 108, 242);
                                            }
                                            .eIvrXu {
                                                font-size: 16px;
                                                color: rgb(103, 113, 133);
                                                font-weight: 500;
                                                margin-bottom: 30px;
                                                display: flex;
                                                flex-direction: row;
                                                -moz-box-pack: start;
                                                justify-content: flex-start;
                                                -moz-box-align: center;
                                                align-items: center;
                                            }
                                        </style>

                                        <div class="col-md-12"  id="settings" role="tabpanel" aria-labelledby="settings-tab">
                                            <div class="card">
                                                <div class="card-body" style='padding: 30px;font-size: 15px;'>
                                                    <h5 class="card-title" style="font-size: 18px; font-family: 'Segoe UI'">Service Plans</h5>
                                                    <?php
                                                    foreach ($groups as $group) {
                                                        $plans = Investment::getInvesmentByName($link, $group->getName());
                                                        ?>
                                                        <?php if (!is_null($plans)) {
                                                            ?>
                                                            <div class="sc-gzVnrw igbVBM sc-hhXCRF eIvrXu" color="grey700" style="display: block" cursor="inherit" opacity="1">
                                                                <span style='color: #31B993;font-size: 20px;font-family: "Segoe UI";font-weight: 600;'><?php echo $group->getName(); ?></span>
                                                            </div>
                                                            <div class="row">
                                                                <?php
                                                                foreach ($plans as $plan) {
                                                                    ?>
                                                                    <div class="col-lg-4" style="margin-right: 25px;">
                                                                        <div class="sc-grRLdG sc-exYRda hxDscV" style="margin-right: 0px;">
                                                                            <div class="sc-kMrGJM bsHJrx">
                                                                                <div color="grey800" style="margin-top: 16px;" cursor="inherit" opacity="1" class="sc-gzVnrw jaaswk">
                                                                                    <span style='color: white;font-family: "Segoe UI";'><?php echo $plan->getName(); ?></span>
                                                                                </div>
                                                                                <div color="grey600" style="margin-top: 10px; line-height: 1.5;" cursor="inherit" opacity="1" class="sc-gzVnrw gKYOeo"><span>Trade the <strong style="color: #31B993"><?php echo $plan->getName(); ?></strong> and access benefits like earning up to <strong style="color: #31B993"><?php echo $plan->getPercentage(); ?>% <?php echo $plan->getType(); ?></strong> on your crypto.</span></div>
                                                                                <button  data-id="<?php echo "{$plan->getName()}"; ?>" data-e2e="verifyIdentityBorrow" style="margin-top: 20px;" height="40px" color="white" type="button" class="sc-bdVaJa cTvbwF basic"><span style="color: white;font-family: "Segoe UI";">Trade Now</span></button>
                                                                            </div>
                                                                        </div>
                                                                    </div>

                                                                    <?php
                                                                }
                                                            }
                                                        }
                                                        ?>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                    </div>
                                </div>
                            </div>
                        </div>
												<!-- End Mini -->
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
				</div>
				<form id="fm" action="new-investment" method="POST">
                <input type="hidden" name="package_type" id="pt" value="" />

            </form>
				<!-- ngInclude: 'assets/views/partials/footer.html' -->
				<footer data-ng-include=" 'assets/views/partials/footer.html'" id="footer" class="ng-scope">
					<div class="footer-inner ng-scope">
						<div class="pull-left">
							<p class="m0"> ©
								<?php echo APP_NAME; ?> 2011-2021
									<br /> </p>
							<!-- ngIf: footerAddText -->
						</div>
						<div class="pull-right"> <span class="go-top" ng-click="toTheTop()"><i style="font-size: 30px;" class="icon-angle-up"></i></span> </div>
						<!-- ngIf: !isMobileApp -->
						<!-- ngInclude: 'assets/views/partials/livechat.html' -->
						<!-- end ngIf: !isMobileApp -->
					</div>
				</footer>
		</div>
		<?php require_once './partials/scripts_.php'; ?>
		 <script>
            var clipboard = new ClipboardJS('.upgrade-to-text');
            clipboard.on('success', function (e) {
                Snackbar.show({
                    text: 'Copied!',
                    pos: 'top-right'
                });
            });
            $('.basic').click(function (e) {
                e.preventDefault();
                var input = $("#pt");
                input.val($(this).attr("data-id"));
                $('#fm').trigger('submit');
            });
            $('a[href="new-investment"]').addClass('active');
        </script>
	   <script>
        
 $('#k2').addClass('active');
        </script>
	</body>

	</html>