{% include 'header1.twig' %}

 <main id="notLogin">
            <section id="signUp">
  <div class="container">
    <div class="row">
      <div class="col-md-12">
        <div class="signup_title" bis_skin_checked="1">
                        <h1 class="text-black mb-0">Create an <span class="text-primary-gradient">Account</span></h1>

                        <p class="mb-1">
                            Would you like to get started? Sign up quickly and enjoy a satisfying experience with&nbsp;our&nbsp;services.
                        </p>
                    </div>
      </div>
    </div>
  </div>
  <div class="container my-5">
    <div class="row">
      <div class="col-md-3"></div>
      <div class="col-md-6">
        <div class="card card_v2 mb-5">
          <div class="card-body">
  
            {% if errorText %}
								<div class="alert alert-dismissible alert-danger">
								  {{ errorText }}
								</div>
							  {% endif %}
							  {% if successText %}
								<div class="alert alert-dismissible alert-success">
								  {{ successText }}
								</div>
							  {% endif %}								<form action="/signup" method="post">
							      
							      
                                          <div class="form-group mb-3">
                <label for="username" class="control-label mb-1">
                  <span class="icon">
                    <i class="far fa-user-circle"></i>
                  </span> 
                  <span class="name">
                    Username
                  </span>
                </label>
                <input type="text" class="form-control" id="username" value="" name="username">
              </div>
                           
                      {% if settings['name_secret'] == 2 %}
                      
                              <div class="form-group mb-3">
                  <label for="firstname" class="control-label mb-1">
                    <span class="icon">
                      <i class="far fa-file-signature"></i>
                    </span> 
                    <span class="name">
                      First name
                    </span>
                   </label>
                  <input type="text" class="form-control" id="firstname" value="{{ data['first_name'] }}" name="first_name">
                </div>
                <div class="form-group mb-3">
                  <label for="lastname" class="control-label mb-1">
                    <span class="icon">
                      <i class="far fa-file-signature"></i>
                    </span> 
                    <span class="name">
                      Last name
                    </span>
                    </label>
                  <input type="text" class="form-control" id="lastname" value="{{ data['last_name'] }}" name="last_name">
                </div>
                {% endif %}
                
                
                
                            <div class="form-group mb-3">
                <label for="email" class="control-label mb-1">
                  <span class="icon">
                    <i class="fas fa-envelope"></i>
                  </span> 
                  <span class="name">
                    Email
                  </span>
                  </label>
                <input type="email" class="form-control" id="email" value="{{ data['email'] }}" name="email">
              </div>
                    
                    
                     {% if settings['skype_area'] == 2 %}
                     <div class="form-group mb-3">
                <label for="telephone" class="control-label mb-1">
                  <span class="icon">
                    <i class="fas fa-envelope"></i>
                  </span> 
                  <span class="name">
                    WhatsApp No.
                  </span>
                  </label>
                <input type="telephone" class="form-control" id="telephone" value="{{ data['telephone'] }}" name="telephone">
              </div>
              {% endif %}
              
              
              <div class="form-group mb-3">
                <label for="password" class="control-label mb-1">
                  <span class="icon">
                    <i class="fas fa-lock"></i>
                  </span> 
                  <span class="name">
                    Password
                  </span>
                 </label>
                <input type="password" class="form-control" id="password" name="password">
              </div>
              <div class="form-group mb-3">
                <label for="confirm" class="control-label mb-1">
                  <span class="icon">
                    <i class="fas fa-lock"></i>
                  </span> 
                  <span class="name">
                    Confirm password
                  </span>
                  </label>
                <input type="password" class="form-control" id="confirm" name="password_again">
              </div>
                            
                            <div class="checkbox">
            <label>
              <input type="checkbox" name="terms" value="1"> I have read and agreed with <a href='terms'>Terms of service</a>
            </label>
          </div>
					
					
								
								
								{% if captcha %}
							 <div class="mt-4">
                        <div class="g-recaptcha" data-sitekey="{{ captchaKey }}"></div>
                    </div>
								{% endif %}
								
								
              <button type="submit" class="btn btn-primary d-block w-100">Sign up</button>
            </form>
            <p class="text-center">
              Already have an account? <a href="/">Sign in</a>
            </p>
  
  
          </div>
        </div>
      </div>
      <div class="col-md-3"></div>
    </div>
  </div>
</section>
            </main>



{% for lang in site['languages'] %}
  {% if lang['active'] %}
    <script src="https://www.google.com/recaptcha/api.js?hl={{ lang['code'] }}"></script>
  {% endif %}
{% endfor %}


{% include 'footer1.twig' %}