<!-- BEGIN: MAIN -->
<!-- IF {PHP.a} == 'check' -->
<div class="violator__header">
  <span class="violator__title">Список нарушений</span>
  <div class="violator__user">
    <a href="{BANLIST_USER_DETAILSLINK}" class="violator__avatar" style="background-image: url({BANLIST_USER_AVATAR_SRC});"></a>
    <div class="violator__info">
      <span class="violator__info-title">Нарушитель</span>
      <a href="{BANLIST_USER_DETAILSLINK}" class="violator__name">
       <!-- IF {BANLIST_USER_FNAME} OR {BANLIST_USER_LNAME} -->{BANLIST_USER_FNAME} {BANLIST_USER_LNAME}<!-- ELSE -->{BANLIST_USER_NICKNAME}<!-- ENDIF -->
      </a>
    </div>
  </div>
</div>
<div class="violator__content">
  <!-- IF {BANS_COUNT} == 0 -->
  <div class="violator__item">
    <span class="violator__item-date">{PHP.sys.now|cot_date('d M ‘y', $this)}</span>
    <div class="violator__item-content">
      <div class="violator__item-desc">
        <p>Без нарушений</p>
      </div>
    </div>
  </div>
  <!-- ENDIF -->
  <!-- BEGIN: BANS_ROW -->
  <div class="violator__item">
    <span class="violator__item-date">{BANLIST_ROW_DATE|cot_date('d M ‘y', $this)}</span>
    <div class="violator__item-content">
      <div class="violator__item-header">
        <span class="violator__item-title"><!-- IF {BANLIST_ROW_ISWARNING} == 1 -->Нарушение<!-- ELSE -->Бан<!-- ENDIF --></span>
        <span class="violator__item-subtitle"><!-- IF {BANLIST_ROW_EXPIRE} -->Истекает {BANLIST_ROW_EXPIRE}<!-- ENDIF --></span>
      </div>
      <div class="violator__item-desc">
        <p>{BANLIST_ROW_REASON}</p>
      </div>
    </div>
  </div>
  <!-- END: BANS_ROW -->
</div>
<!-- ENDIF -->
<!-- END: MAIN -->