{% include 'header.twig' %}


<main id="notLogin">
            <section id="signUp">
  <div class="container">
    <div class="row">
      <div class="col-md-12">
        <div class="sigup_title">
          <h1>Signup Now</h1>
        </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">
          <button type="button" class="close" data-dismiss="alert">&times;</button>
          {{ errorText }}
        </div>
      {% endif %}
      {% if successText %}
        <div class="alert alert-dismissible alert-success">
          <button type="button" class="close" data-dismiss="alert">&times;</button>
          {{ successText }}
        </div>
      {% endif %}
  
            <form  action="" 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="{{ data['username'] }}" name="username">
              </div>
                             {% if settings['name_fileds']  ==  1 %}  <div class="form-group mb-3">
                  <label for="firstname" class="control-label mb-1">
                    <span class="icon">
                      <svg xmlns="http://www.w3.org/2000/svg" height="14" width="17.5" viewBox="0 0 640 512"><!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c1.8 0 3.5-.2 5.3-.5c-76.3-55.1-99.8-141-103.1-200.2c-16.1-4.8-33.1-7.3-50.7-7.3l-91.4 0zm308.8-78.3l-120 48C358 277.4 352 286.2 352 296c0 63.3 25.9 168.8 134.8 214.2c5.9 2.5 12.6 2.5 18.5 0C614.1 464.8 640 359.3 640 296c0-9.8-6-18.6-15.1-22.3l-120-48c-5.7-2.3-12.1-2.3-17.8 0zM591.4 312c-3.9 50.7-27.2 116.7-95.4 149.7l0-187.8L591.4 312z"/></svg>
                    </span> 
                    <span class="name">
                      First name
                    </span>
                   </label>
                  <input type="text" class="form-control" id="firstname" value="{{ data['name'] }}" name="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>
                            <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>
                            {% if captcha %}
            <div class="form-group">
              <div class="g-recaptcha" data-sitekey="{{ captchaKey }}"></div>
            </div>
          {% endif %}
            
             <div class="checkbox">
            <label>
              <input type="checkbox" name="terms" value="1"> {{ lang['signup.accept_terms_text'] }}
            </label>
          </div>
            
              <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>
          

    

{% include 'footer.twig' %}
