[not-available=allnews]
<div class="preview-block">
  <a class="preview-block-link" href="{full-link}">
   [xfgiven_poster]<img class="preview-img" src="[xfvalue_poster]" loading="lazy" alt=""/>[/xfgiven_poster]
   </a>
  <div class="preview-info-block custom-scroll">
    <a href="{full-link}" class="preview-title" title="{title}">{title}</a> [rating]
    <div class="rating-info">
      [rating-type-1]
      <span class="main-rating">{ratingscore}</span>
      <span class="main-rating-info"><span>Голосов&nbsp;</span>{vote-num}</span>
      [/rating-type-1]
    </div>
    [/rating]
    <ul class="content-main-info">
      [xfgiven_status]
      <li><span>Статус:</span> [if xfield_status = "Релиз"] <span class="badge">[xfvalue_status]</span> [/if] [if xfield_status = "Онгоинг"] <span class="badge attention">[xfvalue_status]</span> [/if]
      </li>
      [/xfgiven_status]
      <li>
        [xfgiven_year] [xfvalue_year] [/xfgiven_year] | [xfgiven_video_type] <span id="animeTypeT">[xfvalue_video_type]</span> [/xfgiven_video_type] [xfgiven_last_episode] | Серий: [xfvalue_last_episode][/xfgiven_last_episode]
      </li>
      [xfgiven_genres]
      <li class="categories-list">
        <span>Жанры:</span> [xfvalue_genres]
      </li>[/xfgiven_genres]
    </ul>
  </div>
</div>
[/not-available]

[available=allnews]
<div class="preview-block">
  <a class="preview-block-link" href="{full-link}">
   [xfgiven_poster]<img class="allnews-img" data-src="[xfvalue_poster]" loading="lazy" alt=""/>[/xfgiven_poster]
   [xfgiven_poster-blog]<img class="allnews-img" data-src="[xfvalue_image_url_poster-blog]" alt=""/>[/xfgiven_poster-blog]
   </a>
  <div class="preview-info-block custom-scroll">
    <a href="{full-link}" class="preview-title" title="{title}">{title}</a>
    <ul class="content-main-info">
        
	  [if category = "3"]
      <span class="badge">
        {category}
      </span>
      [/if] [if category = "1"]
      <span class="badge attention">
        {category}
      </span>
      [/if]
      [if category = "2"]
      <span class="badge attention">
        {category}
      </span>
      [/if]
        

      </li>
    </ul>
  </div>
</div>
[/available]