

<!DOCTYPE html>
<html lang="en">
<head>
    <!-- Useful meta tags -->
<title>{$settings.site_name}</title>
<meta charset="UTF-8" />

<meta name="robots" content="index, follow, noodp" />
<meta name="googlebot" content="index, follow" />
<meta name="google" content="notranslate" />

<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />

<meta property="og:type" content="website">

<link rel="apple-touch-icon" sizes="180x180" href="favicons/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="favicons/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="favicons/favicon-16x16.png" />
<link rel="manifest" href="favicons/site.webmanifest" />
<link rel="mask-icon" href="favicons/safari-pinned-tab.svg" color="#5bbad5" />
<meta name="msapplication-TileColor" content="#da532c" />
<meta name="theme-color" content="#ffffff" />

<link rel="stylesheet" href="libs/flag-icon/css/flag-icon.min.css" />
<link rel="stylesheet" href="libs/ResponsiveTables/ng_responsive_tables.css" />
<link rel="stylesheet" href="libs/bootstrap-sweetalert/sweetalert.css" />
<link rel="stylesheet" href="libs/slick/slick.css" />
<link rel="stylesheet" href="libs/slick/slick-theme.css" />
<link rel="stylesheet" href="libs/fontawesome/css/all.min.css" />
<link rel="stylesheet" href="libs/magnific-popup/magnific-popup.css" />
<link rel="stylesheet" href="libs/liMarquee/liMarquee.css" />
<link rel="stylesheet" href="libs/aos/aos.css" />
<link rel="stylesheet" href="libs/jquery-ui-1.12.1/jquery-ui.min.css" />
<link rel="stylesheet" href="libs/jquery-ui-1.12.1/jquery-ui.theme.min.css" />
<link rel="stylesheet" href="libs/circliful/jquery.circliful.css" />
<link rel="stylesheet" href="css/main.css" />
<link rel="stylesheet" href="libs/wow/animate.css" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous" />
<link rel="stylesheet" href="libs/jQueryFormStyler/jquery.formstyler.css"/>
<link rel="stylesheet" href="libs/jQueryFormStyler/jquery.formstyler.theme.css"/>
<link rel="stylesheet" href="libs/microtip/microtip.min.css"/>
<link rel="stylesheet" href="css/custom.css" />
</head>
<body>
    <div class="contact-line">
    <div class="container">
        <div class="row">
            <div class="col-lg-8">
				<div class="contact-line-grid">
					<div class="contact-line-grid__item">
						<a href="mailto:support@sitename.com" class="mail-contact">support@sitename.com</a>
					</div>
					<div class="contact-line-grid__item">
						<div class="soc-contact">We are in social networks: <span class="contact-logo"></span>
                                                                                    <a class="tg" href="https://twitter.com/" target="_blank">
                                <i class="fab fa-twitter"></i>
                            </a>
                                                                                    <a class="inst" href="https://www.instagram.com/" target="_blank">
                                <i class="fab fa-instagram"></i>
                            </a>
                                                                                    <a class="tg" href="https://t.me/" target="_blank">
                                <i class="fab fa-telegram-plane"></i>
                            </a>
                                                                                    <a class="tg" href="https://www.youtube.com/channel/UCz01ggRqDmdOReWOZHBXz2g" target="_blank">
                                <i class="fab fa-youtube"></i>
                            </a>
                            						</div>
					</div>
				</div>
			</div>
			<div class="col-lg-4">
				<div class="contact-line-grid align--right">
					<div class="contact-line-grid__item">
                        						<div class="user-links">
							<ul>
								<li>
									<a href="?a=login">
										<i class="far fa-user"></i>
										Sign In									</a>
								</li>
								<li>
									<a href="?a=signup">
										<i class="fas fa-user-lock"></i>
										Sing Up									</a>
								</li>
							</ul>
						</div>
                                                					</div>
					<div class="contact-line-grid__item">
						<div class="language-block">
                            							<div class="language">
                                <div class="selected-lang">
                                    <span class="selected-lang__icon">
                                        <i class="fal fa-angle-down"></i>
                                    </span>
                                    <span class="selected-lang__value">
                                        <span>
                                            <i class="flag-icon flag-icon-us" aria-hidden="true"></i>
                                        </span>
                                    </span>
                                </div>
                                <ul class="lang-list">
                                                                        <li class=" active">
                                        <a href="/change_language/set/en">
                                            <i class="flag-icon flag-icon-us" aria-hidden="true"></i>
                                        </a>
                                    </li>
                                                                        <li class="">
                                        <a href="/change_language/set/ru">
                                            <i class="flag-icon flag-icon-ru" aria-hidden="true"></i>
                                        </a>
                                    </li>
                                                                    </ul>
							</div>
						</div>
					</div>
				</div>				
			</div>
        </div>
    </div>
</div>
<div class="navigation">
    <div class="container">
        <div class="row nav-w">
            <div class="logowrap">
                <a href="?a=" class="logo"><img src="img/images/logo.png" alt=""></a>
                <a href="/" class="open"><i class="fa fa-bars" aria-hidden="true"></i></a>
            </div>
            <div class="nav-wrapper">
                <a href="?a=home" class="nav-item nav-item8 ">
					<div class="icon"></div>
					<h3 class="nav-title">Home</h3>
				</a>
                <a href="?a=about-us" class="nav-item nav-item1  active">
                    <div class="icon"></div>
                    <h3 class="nav-title">About Us</h3>
                </a>
                <a href="?a=news" class="nav-item nav-item2  ">
                    <div class="icon"></div>
                    <h3 class="nav-title">News</h3>
                </a>
                <a href="?a=for-investors" class="nav-item nav-item3 ">
                    <div class="icon"></div>
                    <h3 class="nav-title">Investments</h3>
                </a>
                <a href="?a=for-partners" class="nav-item nav-item4 ">
                    <div class="icon"></div>
                    <h3 class="nav-title">Affiliate program</h3>
                </a>
                <a href="?a=faq" class="nav-item nav-item5 ">
                    <div class="icon"></div>
                    <h3 class="nav-title">FAQ</h3>
                </a>
                <a href="?a=rules" class="nav-item nav-item6 ">
                    <div class="icon"></div>
                    <h3 class="nav-title">Rules</h3>
                </a>
                <a href="?a=support" class="nav-item nav-item7 ">
                    <div class="icon"></div>
                    <h3 class="nav-title">Contacts</h3>
                </a>
            </div>
        </div>
    </div>
</div>
<div class="mobile-menu">
    <ul>
        <div class="logomenu">
            <a href="?a=home"><img src="img/images/logo.png" alt=""></a>
            <a href="/" class="close"><i class="fas fa-times"></i></a>
        </div>
        <li><a href="?a=about-us">About Us</a></li>
        <li><a href="?a=news">News</a></li>
        <li><a href="?a=for-investors">Investments</a></li>
        <li><a href="?a=for-partners">Affiliate program</a></li>
        <li><a href="?a=faq">FAQ</a></li>
        <li><a href="?a=rules">Rules</a></li>
        <li><a href="?a=support">Contacts</a></li>
    </ul>
</div>

<section class="reg-form">
	<div class="container">
		<div class="form-user-block">
			<h1 class="form-user-block__title">Registration</h1>
            
{if $deny_registration}
 We are closed for new registrations now.
{elseif $settings.use_referal_program && $settings.force_upline && !$referer && !$settings.get_rand_ref}
 You  do not have a upline. Our system require a upline for each user.
{else}
 {literal}

 <script language=javascript>
 function checkform() {
  if (document.regform.fullname.value == '') {
    alert("Please enter your full name!");
    document.regform.fullname.focus();
    return false;
  }
 {/literal}
 {if $settings.use_user_location == 1}
 {literal}
  if (document.regform.address.value == '') {
    alert("Please enter your address!");
    document.regform.address.focus();
    return false;
  }
  if (document.regform.city.value == '') {
    alert("Please enter your city!");
    document.regform.city.focus();
    return false;
  }
  if (document.regform.state.value == '') {
    alert("Please enter your state!");
    document.regform.state.focus();
    return false;
  }
  if (document.regform.zip.value == '') {
    alert("Please enter your ZIP!");
    document.regform.zip.focus();
    return false;
  }
  if (document.regform.country.options[document.regform.country.selectedIndex].text == '--SELECT--') {
    alert("Please choose your country!");
    document.regform.country.focus();
    return false;
  }
 {/literal}
 {/if}
 {literal}
  if (document.regform.username.value == '') {
    alert("Please enter your username!");
    document.regform.username.focus();
    return false;
  }
  if (!document.regform.username.value.match(/^[A-Za-z0-9_\-]+$/)) {
    alert("For username you should use English letters and digits only!");
    document.regform.username.focus();
    return false;
  }
  if (document.regform.password.value == '') {
    alert("Please enter your password!");
    document.regform.password.focus();
    return false;
  }
  if (document.regform.password.value != document.regform.password2.value) {
    alert("Please check your password!");
    document.regform.password2.focus();
    return false;
  }
 {/literal}
 {if $settings.use_transaction_code}
 {literal}
  if (document.regform.transaction_code.value == '') {
    alert("Please enter your transaction code!");
    document.regform.transaction_code.focus();
    return false;
  }
  if (document.regform.transaction_code.value != document.regform.transaction_code2.value) {
    alert("Please check your transaction code!");
    document.regform.transaction_code2.focus();
    return false;
  }
 {/literal}
 {/if}
 {literal}
  if (document.regform.email.value == '') {
    alert("Please enter your e-mail address!");
    document.regform.email.focus();
    return false;
  }
  if (document.regform.email.value != document.regform.email1.value) {
    alert("Please retupe your e-mail!");
    document.regform.email.focus();
    return false;
  }

  for (i in document.regform.elements) {
    f = document.regform.elements[i];
    if (f.name && f.name.match(/^pay_account/)) {
      if (f.value == '') continue;
      var notice = f.getAttribute('data-validate-notice');
      var invalid = 0;
      if (f.getAttribute('data-validate') == 'regexp') {
        var re = new RegExp(f.getAttribute('data-validate-regexp'));
        if (!f.value.match(re)) {
          invalid = 1;
        }
      } else if (f.getAttribute('data-validate') == 'email') {
        var re = /^[^\@]+\@[^\@]+\.\w{2,4}$/;
        if (!f.value.match(re)) {
          invalid = 1;
        }
      }
      if (invalid) {
        alert('Invalid account format. Expected '+notice);
        f.focus();
        return false;
      }
    }
  }

  if (document.regform.agree.checked == false) {
    alert("You have to agree with the Terms and Conditions!");
    return false;
  }

  return true;
 }

 function IsNumeric(sText) {
  var ValidChars = "0123456789";
  var IsNumber=true;
  var Char;
  if (sText == '') return false;
  for (i = 0; i < sText.length && IsNumber == true; i++) { 
    Char = sText.charAt(i); 
    if (ValidChars.indexOf(Char) == -1) {
      IsNumber = false;
    }
  }
  return IsNumber;
 }
 </script>
 {/literal}
 
 {if $errors}
  <ul style="color:red">
  {section name=e loop=$errors} 
   {if $errors[e] eq 'full_name'}
    <li>Please enter your full name!
   {/if}
   {if $errors[e] eq 'address'}
    <li>Please enter your address!
   {/if}
   {if $errors[e] eq 'city'}
    <li>Please enter your city!
   {/if}
   {if $errors[e] eq 'state'}
    <li>Please enter your state!
   {/if}
   {if $errors[e] eq 'zip'}
    <li>Please enter your zip!
   {/if}
   {if $errors[e] eq 'country'}
    <li>Please choose your country!
   {/if}
   {if $errors[e] eq 'username'}
    <li>Please enter valid username! It should contains English letters and digits only.
   {/if}
   {if $errors[e] eq 'username_exists'}
    <li>Sorry, such user already exists! Please try another username. 
   {/if}
   {if $errors[e] eq 'email_exists'}
    <li>Sorry, such email already exists! Please try another email. 
   {/if} 
   {if $errors[e] eq 'password'} 
    <li>Please enter a password!
   {/if}
   {if $errors[e] eq 'password_confirm'}
    <li>Please check your password!
   {/if}
   {if $errors[e] eq 'password_too_small'}
    <li>The password you provided is too small, please enter at least {$settings.min_user_password_length} characters!
   {/if} 
   {if $errors[e] eq 'transaction_code'} 
    <li>Please enter the Transaction Code!
   {/if} 
   {if $errors[e] eq 'transaction_code_confirm'} 
    <li>Please check your Transaction Code!
   {/if}
   {if $errors[e] eq 'transaction_code_too_small'}
    <li>The Transaction Code you provided is too small, please enter at least {$settings.min_user_password_length} characters!
   {/if}
   {if $errors[e] eq 'transaction_code_vs_password'} 
    <li>The Transaction Code should differ from the Password!
   {/if}
   {if $errors[e] eq 'email'} 
    <li>Please enter your e-mail!
   {/if}
   {if $errors[e] eq 'email2'} 
    <li>Please check your email!
   {/if}
   {if $errors[e] eq 'agree'}
    <li>You have to agree with the Terms and Conditions!
   {/if}
   {if $errors[e] eq 'turing_image'}
    <li>Enter the verification code as it is shown in the corresponding box.
   {/if} 
   {if $errors[e] eq 'no_upline'}
    <li>The system requires an upline to register. {if $settings.get_rand_ref}You have to be agreed to random one or found a referral link in the net.{/if}
   {/if} 
   {if $errors[e] eq 'ip_exists_in_database'}
    <li>Your IP already exists in our database. Sorry, but registration impossible.
   {/if}

   {if $errors[e] eq 'invalid_account_format'}
    {foreach from=$account_errors item=err}
    <li>{$err}
    {/foreach}
   {/if}

   <br> 
  {/section}
  </ul>
 {/if} 
<form method=post onsubmit="return checkform()" name="regform">
<input type=hidden name=a value="signup">
<input type=hidden name=action value="signup">
<table cellspacing=0 cellpadding=2 border=0>
<div class="form-item">
					<label class="label-form"><span class="label-title">Full Name</span>
<input type=text name=fullname value='{$frm.fullname|escape:"quotes"}' class="input-form input-icon" size=30>
</label>
				</div>
{if $settings.use_user_location}
<tr>
 <td>Your Address:</td>
 <td><input type=text name=address value='{$frm.address|escape:"quotes"}' class="input-form input-icon" size=30></td>
</tr>
<tr>
 <td>Your City:</td>
 <td><input type=text name=city value='{$frm.city|escape:"quotes"}' class="input-form input-icon" size=30></td>
</tr>
<tr>
 <td>Your State:</td>
 <td><input type=text name=state value='{$frm.state|escape:"quotes"}' class="input-form input-icon" size=30></td>
</tr>
<tr>
 <td>Your Zip:</td>
 <td><input type=text name=zip value='{$frm.zip|escape:"quotes"}' class="input-form input-icon" size=30></td>
</tr>
<tr>
 <td>Your Country:</td>
 <td>
  <select name=country class="input-form input-icon">
<option value="">--SELECT--</option>
{section name=c loop=$countries}
<option {if $countries[c].name eq $frm.country}selected{/if}>{$countries[c].name|escape:"quotes"}</option>
{/section}
  </select>
 </td>
</tr>
{/if}
<div class="form-item">
					<label class="label-form"><span class="label-title">Username</span>
     <input type=text name=username value='{$frm.username|escape:"quotes"}' class="input-form input-icon" size=30>
</label>
				</div>
<div class="form-item">
					<label class="label-form"><span class="label-title">Password</span>
     <input type=password name=password value='{$frm.password|escape:"quotes"}' class="input-form input-icon" size=30>
</label>
				</div>
<div class="form-item">
					<label class="label-form"><span class="label-title">Retype Password</span>
     <input type=password name=password2 value='{$frm.password2|escape:"quotes"}' class="input-form input-icon" size=30>
</label>
				</div>
{if $settings.use_transaction_code}
<tr>
 <td>Define Transaction Code:</td>
 <td><input type=password name=transaction_code value='{$frm.transaction_code|escape:"quotes"}' class="input-form input-icon" size=30></td>
</tr><tr>
 <td>Retype Transaction Code:</td>
 <td><input type=password name=transaction_code2 value='{$frm.transaction_code2|escape:"quotes"}' class="input-form input-icon" size=30></td>
</tr>
{/if}
{foreach from=$pay_accounts item=ps}
<div class="form-item">
					<label class="label-form"><span class="label-title">{$ps.name} Account</span>
  <input type=text class="input-form input-icon" size=30 name=pay_account[{$ps.id}] value="{$ps.account|escape:html}" data-validate="{$ps.validate.func}" data-validate-{$ps.validate.func}="{$ps.validate[$ps.validate.func]}" data-validate-notice="{$ps.validate.notification|escape:html}" placeholder="{$ps.validate.placeholder|escape:html}">
</label>
				</div>
{/foreach}
{foreach item=p from=$mpay_accounts}
{foreach item=ps from=$p.accounts}
<div class="form-item">
					<label class="label-form"><span class="label-title">{$p.name} {$ps.name}</span>
 <input type=text class="input-form input-icon" size=30 name="pay_account[{$p.id}][{$ps.name|escape:html}]" value="{$ps.value|escape:html}">
</label>
				</div>
{/foreach}
{/foreach}
<div class="form-item">
					<label class="label-form"><span class="label-title">Email</span>
     <input type=text name=email value='{$frm.email|escape:"quotes"}' class="input-form input-icon" size=30>
</label>
				</div>
<div class="form-item">
					<label class="label-form"><span class="label-title">Retype Email</span>
     <input type=text name=email1 value='{$frm.email1|escape:"quotes"}' class="input-form input-icon" size=30>
</label>
				</div>
<div class="form-item">
					<label class="label-form"><span class="label-title">Secret question</span>
     <input type=text name=sq value='{$frm.sq|escape:"quotes"}' class="input-form input-icon" size=30>
</label>
				</div>
<div class="form-item">
					<label class="label-form"><span class="label-title">Secret answer</span>
<input type=text name=sa value='{$frm.sa|escape:"quotes"}' class="input-form input-icon" size=30>
</label>
				</div>

{if $settings.use_referal_program}
{if $referer}
<tr>
 <td>Your Upline:</td>
 <td>{*<a href="mailto:{$referer.email}">*}{$referer.name}{*</a>*} ({$referer.username|escape:html})</td>
</tr>
{else}
{if $settings.force_upline}
 {if $settings.get_rand_ref}
  <tr>
   <td colspan=2>
    You do not have an upline. Our system requires an upline for each user. You'll have to agree to get a random one or find a referral link on the net.
    <input type=checkbox name="rand_ref" value=1>
   </td>
  </tr>
 {else}
  <tr>
   <td colspan=2>
    You do not have an upline. Our system requires an upline for each user.
   </td>
  </tr>
 {/if}
{/if}
{/if}
{/if}


				<div class="form-user-checkbox-wrap">
					<div class="form-user-checkbox">
     <input id="chk1" type=checkbox name=agree value=1 {if $frm.agree}checked{/if} >
<label for="chk1"><span class="check-icon"></span>I agree with							<a href="{"?a=rules"|encurl}">Terms and conditions</a>
						</label>
					</div>
				</div>
{if $ti.check.signup}
<tr>
 <td class=menutxt align=right><img src="{"?a=show_validation_image&`$ti.session.name`=`$ti.session.id`&rand=`$ti.session.rand`"|encurl}"></td>
 <td><input type=text name=validation_number class="input-form input-icon" size=15></td>
</tr>
{/if}
<div class="form-user__button">
					<button class="btn" value="Register" type="submit">Registration</button>
				</div>
</table>
</form>
{/if}
</div>
	</div>
</section>
{include file="footer.tpl"}
