<div class="tab-pane fade" id="pills-settings" role="tabpanel" aria-labelledby="pills-settings-tab">

  <div class="row">
    <div class="col-xl-4 col-lg-6 col-md-12 mb-3">
      <form id="discard_pass">
        <div class="form-group mb-1">
          <label for="old_pass">Старый пароль</label>
          <input type="password" class="form-control" name="old_pass" id="old_pass" placeholder="Пароль от аккаунта" required>
        </div>
        <div class="form-group mb-1">
          <label for="new_pass">Новый пароль</label>
          <input type="password" class="form-control" name="new_pass" id="new_pass" placeholder="От 3 до 16 симоволов" required>
        </div>
        <div class="form-group mt-3">
          <button class="cabinet-button" type="button" onclick="discard_pass();">Сменить пароль</button>
        </div>
      </form>
    </div>
    {if $upload_hd_skin == '0' || $upload_hd_cloak == '0'}
    <div class="col-xl-4 col-lg-6 col-md-12 mb-3">
      <div class="form-group mb-1">
        <label for="old_pass">Возможности</label>
      </div>
      <ul class="cabinet-opp-list">
        {if $upload_hd_skin == '0'}
        <li class="cabinet-opp-item">
          <div class="cabinet-opp-item__icon"><i data-feather="image"></i></div>
          <div class="cabinet-opp-item__desc">Возможность загружать HD скин</div>
          <div class="cabinet-opp-item__button cabinet-opp-item_hd_skin" onclick="buy_opp('hd_skin');">Купить за {$upload_hd_skin_price}</div>
        </li>
        {/if}
        {if $upload_hd_cloak == '0'}
        <li class="cabinet-opp-item">
          <div class="cabinet-opp-item__icon"><i data-feather="image"></i></div>
          <div class="cabinet-opp-item__desc">Возможность загружать HD плащ</div>
          <div class="cabinet-opp-item__button cabinet-opp-item_hd_cloak" onclick="buy_opp('hd_cloak');">Купить за {$upload_hd_cloak_price}</div>
        </li>
        {/if}
      </ul>
    </div>
    {/if}
    <div class="col-xl-4 col-lg-6 col-md-12 mb-3">
      <div class="form-group mb-1">
        <label for="new_pass">Возможности</label>
      </div>
      <button class="cabinet-button mb-2" type="button" onclick="view_gifts( 'create' )">Создать gift-код</button>
      <button class="cabinet-button mb-2" type="button" onclick="view_gifts( 'activate' )">Активировать gift-код</button>
      <button class="cabinet-button mb-2" type="button" onclick="view_gifts( 'list' )">Список gift-кодов</button>
      {if $user_group == '1'}
        {include 'admin/panel.tpl'}
      {/if}
    </div>
  </div>

</div>
