<?php /* Smarty version 3.1.27, created on 2026-03-22 09:06:51
         compiled from "/home/crystala/veltrixholdingsltd.com/tmpl/after_registration.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:116652287369bfb12b9e1c43_19167069%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e4d92b9df2ba4dabb9e3d8f5e7a5e07ce173b0e4' => 
    array (
      0 => '/home/crystala/veltrixholdingsltd.com/tmpl/after_registration.tpl',
      1 => 1694506413,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '116652287369bfb12b9e1c43_19167069',
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_69bfb12ba10520_63819241',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_69bfb12ba10520_63819241')) {
function content_69bfb12ba10520_63819241 ($_smarty_tpl) {

$_smarty_tpl->properties['nocache_hash'] = '116652287369bfb12b9e1c43_19167069';
echo $_smarty_tpl->getSubTemplate ("header1.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
?>


    <section id = "rating-header">
    <div class="header-image">
                    
    </div>
    <div class="content-div">
        <div class="container-fluid">
            <div class="row">
                <div class="col-12 col-md-12 col-lg-7">
                    <h1>Registration completed</h1>
                    <p>Site Name rates traders based on their performance in the markets, so our clients can replicate the actions of other trading experts. Select your preferred trader and copy their positions to make profits!</p>
                </div>
            
            </div>
        </div>
    </div>

</section>

        <style>
        @import  url("https://fonts.googleapis.com/css2?family=Roboto+Condensed&display=swap");

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

h1 {
  font-weight: 500;
  font-family: "Oswald", "Neo Sans Arabic", "Microsoft YaHei New", "Microsoft YaHei", Helvetica, Arial, sans-serif;
}

[dir] h1 {
  margin: 0;
}

h2,
h3,
h4,
h5,
h6 {
  font-family: "Oswald", "Neo Sans Arabic", "Microsoft YaHei New", "Microsoft YaHei", Helvetica, Arial, sans-serif;
  font-weight: 500;
}

[dir] h2,
[dir] h3,
[dir] h4,
[dir] h5,
[dir] h6 {
  margin: 0;
}

p {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: normal;
}

[dir] p {
  margin: 0;
}

body {
  color: #FFFFFF;
  font-family: "Roboto Condensed", "Neo Sans Arabic", "Microsoft YaHei New", "Microsoft YaHei", sans-serif;
  max-width: 100%;
}

[dir] body {
  margin: 0;
}

[dir] .container-fluid {
  padding: 0 12.75rem;
}

@media (max-width: 1440px) {
  [dir] .container-fluid {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

@media (max-width: 1200px) {
  [dir] .container-fluid {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (max-width: 767px) {
  [dir] .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 991px) {
  .container {
    max-width: 92%;
  }
}

@media (max-width: 800px) {
  .container {
    max-width: 100%;
  }
}

[dir] #rating-header {
  background: -webkit-gradient(linear, left bottom, left top, from(#05137D), color-stop(67%, #00073C), to(#000730));
  background: linear-gradient(0deg, #05137D 0%, #00073C 67%, #000730 100%);
}

#rating-header .header-image {
  position: absolute;
  width: 54%;
  height: 50%;
  top: 12%;
  overflow: hidden;
}

[dir=ltr] #rating-header .header-image {
  background: url("assets/newfront/images/leaderboard/img-globebg.png") no-repeat 92% 82%;
  right: 5%;
}

[dir=rtl] #rating-header .header-image {
  background: url("assets/newfront/images/leaderboard/img-globebg.png") no-repeat 8% 82%;
  left: 5%;
}

[dir] #rating-header .header-image {
  background-size: contain !important;
}

@media (max-width: 2560px) {
  [dir=ltr] #rating-header .header-image {
    background: url("assets/newfront/images/leaderboard/img-globebg.png") no-repeat 93% 32%;
  }

  [dir=rtl] #rating-header .header-image {
    background: url("assets/newfront/images/leaderboard/img-globebg.png") no-repeat 7% 32%;
  }
}

@media (max-width: 768px) {
  #rating-header .header-image {
    width: 79%;
    height: 50%;
    top: 5%;
  }

  [dir=ltr] #rating-header .header-image {
    background: url("assets/newfront/images/leaderboard/img-globebg.png") no-repeat 92% 49%;
  }

  [dir=rtl] #rating-header .header-image {
    background: url("assets/newfront/images/leaderboard/img-globebg.png") no-repeat 8% 49%;
  }
}

#rating-header .content-div {
  position: relative;
}

[dir] #rating-header .content-div {
  padding: 3.125rem 0;
}

#rating-header .content-div h1 {
  font-family: "Oswald", "Neo Sans Arabic", "Microsoft YaHei New", "Microsoft YaHei", Helvetica, Arial, sans-serif;
  font-weight: medium;
  display: inline-block;
  line-height: 1.3333;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0;
  font-size: 1.75rem;
  text-transform: uppercase;
  color: #BB914A;
  letter-spacing: 0px;
  text-transform: uppercase;
  opacity: 1;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

[dir] #rating-header .content-div h1 {
  margin: 0 0 0.9375rem 0;
  -webkit-background-clip: text;
}

[dir=ltr] #rating-header .content-div h1 {
  background-image: -webkit-gradient(linear, left top, right top, from(#a0762f), color-stop(51%, #dec481), to(#a0762f));
  background-image: linear-gradient(90deg, #a0762f 0%, #dec481 51%, #a0762f 100%);
}

[dir=rtl] #rating-header .content-div h1 {
  background-image: -webkit-gradient(linear, right top, left top, from(#a0762f), color-stop(51%, #dec481), to(#a0762f));
  background-image: linear-gradient(-90deg, #a0762f 0%, #dec481 51%, #a0762f 100%);
}

@media (min-width: 768px) {
  #rating-header .content-div h1 {
    font-size: 2.25rem;
  }

  [dir] #rating-header .content-div h1 {
    margin: 0 0 0.9375rem 0;
  }
}

@media (min-width: 992px) {
  #rating-header .content-div h1 {
    font-size: 2rem;
  }

  [dir] #rating-header .content-div h1 {
    margin: 0 0 1.25rem 0;
  }
}

@media (min-width: 1200px) {
  #rating-header .content-div h1 {
    font-size: 3.25rem;
  }

  [dir] #rating-header .content-div h1 {
    margin: 0 0 0.875rem 0;
  }
}

#rating-header .content-div p {
  color: #fff;
  font-family: "Roboto Condensed", "Neo Sans Arabic", "Microsoft YaHei New", "Microsoft YaHei", sans-serif;
  font-weight: normal;
  letter-spacing: 0.00625rem;
  font-size: 1.25rem;
  line-height: 1.875rem;
}

[dir] #rating-header .content-div p {
  margin: 0 0 0.9375rem 0;
}

@media (max-width: 767px) {
  #rating-header .content-div p {
    font-size: 0.9375rem;
    line-height: 1.375rem;
  }
}

[dir] a {
  cursor: pointer;
}</style>
    
        <?php echo '<script'; ?>
>"use strict";

function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@iterator"] != null) return Array.from(iter); }
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
$(document).ready(function () {
  var isInitialized = false;
  var toJson = function toJson(response) {
    if (response.status !== 200) {
      throw new Error("Error Status Code: " + response.status);
    }
    return response.json();
  };
  function isElementInViewport(el) {
    if (typeof jQuery === "function" && el instanceof jQuery) {
      el = el[0];
    }
    var rect = el.getBoundingClientRect();
    return rect.top >= 0 && rect.left >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) /* or $(window).height() */ && rect.right <= (window.innerWidth || document.documentElement.clientWidth) /* or $(window).width() */;
  }

  //var for storing card svg elements
  var svgArr = [];
  var socialUrl = function () {
    if (window.location.host === "mexgroup.com") {
      return "https://social.mexgroup.com/portal/registration/subscription?provider=";
    }
    return "https://social.multibankfx.com/portal/registration/subscription?provider=";
  }();

  //first fetch for card data

  fetch("https://ratings.multibankfx.com/api/rating/2?%24top=10&%24skip=0&%24orderby=rank%20asc&%24count=false&widget_key=social_platform_ratings").then(toJson).then(function (data) {
    var ratingContainer = document.getElementById("rating-id");
    ratingContainer.innerHTML = "";
    var items = data.items;
    var _iterator = _createForOfIteratorHelper(items),
      _step;
    try {
      var _loop = function _loop() {
        var rating = _step.value;
        {
          rating.returnMonth = rating.returnMonth == null ? "-" : rating.returnMonth;
          var imgRes;
          //set avatar image based on response
          // async function fetchAvatarImage(id) {
          //   imgRes = await fetch(
          //     `https://ratings.multibankfx.com/widgets/assets/avatars/${id}.jpg`
          //   );
          //   if (imgRes.status === 200)
          //     return `https://ratings.multibankfx.com/widgets/assets/avatars/${id}.jpg`;
          //   if (imgRes.status === 404)
          //     return "/public_files/images/social_trading/new/svgs/3d-gold.png";
          // }
          // let imgPath = await fetchAvatarImage(rating.accountId);
          var countryCode = rating.account.countryCode.toLowerCase();
          var profitValue = rating.maxDrawdown + "%";
          // rating.totalProfit < 0
          //   ? "-$" + -rating.totalProfit
          //   : "$" + rating.totalProfit;

          var avatarUrl = rating["public"].avatarPath === "" ? "https://ratings.multibankfx.com/widgets/assets/avatars/".concat(rating.accountId, ".jpg") : rating["public"].avatarPath;
          var element = $("<div class=\"swiper-slide d-none\" onclick=\"window.location='social-trading/leaderboard/widget?id=".concat(rating.profileId, "'\"  style=\"cursor: pointer;\"\n            tabindex=\"1\">\n            <div class=\"flexed-div\">\n            <div class=\"flex-col\">\n            <div class=\"avatar-img\"> <img id =\"avatar-img-src\" src=\"").concat(avatarUrl, "\" onerror=\"this.onerror=null;this.src='/public_files/images/social_trading/new/svgs/3d-gold.png';\"\n            alt=\"avatar\">\n            </div>\n            <div class=\"country-flag\"><img src='https://ratings.multibankfx.com/widgets/").concat(countryCode, ".svg'></div>         \n            </div>\n            <div class=\"flex-col\"><a href=\"").concat(socialUrl).concat(rating.accountId, "\" class=\"gold-border-btn follow-btn\">").concat(copyTranslation, "</a></div>\n            </div>\n            <div class=\"main-content\">\n            <h4>").concat(rating.accountName, "</h4>\n            <p>").concat(rating.server.name, "</p>\n            </div>\n            <div class=\"graph-div\">\n            <div class=\"svg-image\" class=\"swiper-lazy\">\n            <svg viewBox=\"0 0 290 150\" >                              \n            <g>\n            <defs>\n            <linearGradient id=\"MyGradient\" gradientTransform=\"rotate(90)\">\n            <stop offset=\"5%\" stop-color=\"#114DCE65\" />\n            <stop offset=\"95%\" stop-color=\"#114DCE26\" />\n            </linearGradient>\n            </defs>                 \n            <!-- The rectangle is filled using a radial gradient paint server -->\n            <polyline class=\"polyline-stroke\"fill=\"url(#MyGradient)\" stroke=\"#1039AF\" stroke-width=\"1.5\"  width=\"100%\" height=\"100%\"\n            points=\"\"/>\n            </g>\n            </svg>\n            </div>\n            </div>\n            <div class=\"card-footer\">\n            <div class=\"content\">\n            <h5>").concat(tradersTranslations, "</h5>\n            <p>").concat(profitValue, "</p>\n            </div>\n            <div class=\"arrow\">\n            <a href=\"\"><i class=\"bi bi-chevron-right\"></i></a>\n            </div>\n            </div>\n            </div>"));
          $(ratingContainer).append(element);
          svgArr.push(element);

          //check if language is enat; change link of follow button if yes
          if (language === "enat") {
            $(".follow-btn").attr("href", "https://social.multibankfx.com/portal/registration/subscription?provider=" + rating.accountId);
            $(".leader-board-row a").attr("href", "https://ratings.multibankfx.com/widgets/ratings?widgetKey=social_platform_ratings");
          }
          //second fetch for graph data
          fetch("https://ratings.multibankfx.com/api/history/".concat(rating.accountId, "/charts?detalization=Daily&widget_key=social_platform_ratings")).then(toJson).then(function (data) {
            var returns = data.map(function (item) {
              return item.rt;
            });
            var max = Math.max.apply(Math, _toConsumableArray(returns));
            var min = Math.min.apply(Math, _toConsumableArray(returns));
            var points = returns.reduce(function (acc, curr, index) {
              return acc + "".concat(index / (returns.length - 1) * 290, ",").concat(150 - (curr - min) / (max - min) * 150, " ");
            }, "").trim();
            element.find("svg polyline ").attr("points", points);
            element.find("svg polyline ").attr("points", "0,150 ".concat(points, " 290,150"));
            element.find("svg .max-text").text(Math.round(max));
            element.find("svg .min-text").text(Math.round(min));
            $(".svg-image", element).removeClass("active");
            setTimeout(function () {
              return $(".svg-image", element).addClass("active");
            }, 100);
          });
        }
      };
      for (_iterator.s(); !(_step = _iterator.n()).done;) {
        _loop();
      }
    } catch (err) {
      _iterator.e(err);
    } finally {
      _iterator.f();
    }
  })["finally"](function () {
    setTimeout(function () {
      $(".top-traders .candles-loader-overlay-1").css("display", "none");
      $(".top-trader-gradient-overlay").css("display", "block");
      $("#skeleton-placeholder").remove();
      $("#skeleton-div").remove();
      $(".top-traders").css("overflow", "hidden");
      $(".swiper-slide").removeClass("d-none");
      initializeSlider();
    }, 800);
  })["catch"](function (err) {
    console.log("Fetch Error ", err);
  });

  //swiper function
  function initializeSlider() {
    var tabsSwiper = new Swiper(document.querySelector(".dynamic-card"), {
      rtl: document.documentElement.dir === "rtl",
      slidesPerView: 1.5,
      spaceBetween: 15,
      centeredSlides: true,
      loop: true,
      // checkInView: true,
      autoplay: {
        delay: 2000
      },
      breakpoints: {
        1500: {
          slidesPerView: 5.55,
          spaceBetween: 50
        },
        1024: {
          slidesPerView: 3.5,
          spaceBetween: 10
        },
        991: {
          slidesPerView: 2.5,
          spaceBetween: 10
        },
        767: {
          slidesPerView: 2.25,
          spaceBetween: 15,
          autoplay: false
          // loop: false,
        }
      },

      pagination: {
        el: document.querySelector(".top-trade-pagination"),
        clickable: true
      }
    });
    isInitialized = true;
    tabsSwiper.on('slideChange', function () {
      $(".container-fluid-custom").css("padding", "0");
    });
  }
  function isInViewport(element) {
    var elementTop = $(element).offset();
    var elementBottom = elementTop + $(element).outerHeight();
    var viewportTop = $(window).scrollTop();
    var viewportBottom = viewportTop + $(window).height();
    return elementBottom > viewportTop && elementTop < viewportBottom;
  }
  var isFocused = false;
  var isSvgRemoved = false;

  //function to show SVG based on view
  function checkShowSVG() {
    if (isInViewport($(".swiper-slide .graph-div .svg-image svg")) && isFocused) {
      isFocused = true;
      isSvgRemoved = false;
      for (var i = 0; i < svgArr.length; i++) {
        var svgContainer = $(".svg-image svg", svgArr[i]);
        if (isElementInViewport(svgContainer[0])) {
          svgContainer.addClass("active");
        }
      }
    } else {
      isFocused = false;
      if (!isSvgRemoved) {
        for (var _i = 0; _i < svgArr.length; _i++) {
          var _svgContainer = $(".svg-image svg", svgArr[_i]);
          if (!isElementInViewport(_svgContainer[0])) {
            _svgContainer.removeClass("active");
          }
        }
        isSvgRemoved = true;
      }
    }
  }

  //window resize
  $(window).on("resize", function () {
    if ($(window).width() >= 992) {
      checkShowSVG();
    }
  });
  if ($(window).width() < 992) {
    for (var i = 0; i < svgArr.length; i++) {
      var svgContainer = $(".svg-image", svgArr[i]);
      if (isElementInViewport(svgContainer[0])) {
        svgContainer.addClass("active");
      }
    }
  }
});
var tabsSwiper = new Swiper(document.querySelector(".dynamic-card-skeleton"), {
  rtl: document.documentElement.dir === "rtl",
  slidesPerView: 1.5,
  spaceBetween: 15,
  centeredSlides: true,
  loop: true,
  checkInView: true,
  autoplay: false,
  breakpoints: {
    1500: {
      slidesPerView: 5.55,
      spaceBetween: 50
    },
    1024: {
      slidesPerView: 3.5,
      spaceBetween: 10
    },
    991: {
      slidesPerView: 2.5,
      spaceBetween: 10
    },
    767: {
      slidesPerView: 2.25,
      spaceBetween: 15,
      autoplay: false
      // loop: false,
    }
  }
});

if (ejsLang === "ar") {
  $(".top-traders .dynamic-card .card-footer .arrow i").removeClass('bi bi-chevron-right').addClass('bi bi-chevron-left');
} else {
  $(".top-traders .dynamic-card .card-footer .arrow i").removeClass('bi bi-chevron-left').addClass('bi bi-chevron-right');
}
if ($('html').attr('lang') === 'ar') {
  $(".top-traders .dynamic-card .card-footer .arrow i").removeClass('bi bi-chevron-right').addClass('bi bi-chevron-left');
} else {
  $(".top-traders .dynamic-card .card-footer .arrow i").removeClass('bi bi-chevron-left').addClass('bi bi-chevron-right');
}<?php echo '</script'; ?>
>


    <section class="leaderboard-section">
    <div class="container-fluid" style="
    color: #111;
"><br>
<br>
<h3>Registration completed:</h3><br>

Thank you for joining our program.<br>
You are now an official member of this program. You can login to your account to start investing with us and use all the services that are available for our members.
<br>
<br>

<b>Important:</b> Do not provide your login and password to anyone!<br>
<br>
</div>

</section>
<?php echo $_smarty_tpl->getSubTemplate ("footer1.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
?>

<?php }
}
?>