      <div class="col-lg-2 my">
        <div class="card w-100 mb15 brd">
          <div class="card-body poster2">
            [xfvalue_poster]
          </div>
          <div class="card-footer text-muted text-center troe" style="padding: 5px;">
            {include file="engine/modules/showattach/showattach.php?news_id={news-id}"}
          </div>
        </div>
      </div>

      <div class="col-lg-10 my">
        <div class="card w-100 mb15 brd">
          <div class="card-header">

<div class="btn-group float-right" role="group" aria-label="Basic example">
  <button onclick="history.back();return false;" type="button" class="btn btn-secondary" style="padding: 5px 10px 4px 10px;
    font-size: 92%;" data-toggle="tooltip" title="Назад"><i class="icon-action-undo" aria-hidden="true"></i></button>
    [edit]
    <button type="button" class="btn btn-secondary btn-sm" data-toggle="tooltip" title="Редактировать"><i class="icon-pencil" aria-hidden="true"></i></button>
    [/edit]
    [add-favorites]
    <button type="button" class="btn btn-secondary btn-sm" data-toggle="tooltip" title="Добавить в закладки"><i class="fa fa-bookmark-o" aria-hidden="true"></i></button>
    [/add-favorites]
    [del-favorites]
    <button type="button" class="btn btn-secondary btn-sm" data-toggle="tooltip" title="Статья сохраненра в закладках. Желаете удалить?"><i class="fa fa-bookmark" aria-hidden="true"></i></button>
    [/del-favorites]
    [rating]
    [rating-type-2]
    <div class="rate_like" data-toggle="tooltip" title="Мне нравится">
    [rating-plus]
      <button class="btn btn-secondary" style="margin: 0px;padding: 5px 10px 4px 10px;" aria-pressed="true" >
        <span class="icon-like" style="font-weight: bold;font-size: 13px;color: #E9573F;"></span> <span id="f90">{rating}</span></button>
    [/rating-plus]
    </div>
    [/rating-type-2]
  [/rating]
</div>

            <h4 class="card-title" style="margin:0px;">{title}</h4>
          </div>
          <div class="card-body">
            <div class="row" style="color:#758498;font-size: 96%; ">
              <div class="col-lg-4 rborder">
                <ul class="list-unstyled lts w-100" style="margin: 0px;">
                  <li>Версия [xfgiven_version]<span>[xfvalue_version]</span>[/xfgiven_version]</li>
                  <li>Русский язык [xfgiven_russ]<span>[xfvalue_russ]</span>[/xfgiven_russ]</li>
                  <li>Обновлено <span>{date}</span></li>
                </ul>
              </div>
              <div class="col-lg-4 rborder"> 
                <ul class="list-unstyled lts w-100" style="margin: 0px;">
                  <li>Google Play [xfgiven_gplay]<span><a class="text-dark" href="[xfvalue_gplay]">Перейти</a></span>[/xfgiven_gplay]</li>
                  <li>Версия Android [xfgiven_anv]<span>[xfvalue_anv]</span>[/xfgiven_anv]</li>
                  <li>Распространяется [xfgiven_given]<span>[xfvalue_given]</span>[/xfgiven_given]</li>
                </ul>
              </div>
              <div class="col-lg-4">
                [xfgiven_file][xfvalue_file][/xfgiven_file]

                [xfnotgiven_file]
                <ul class="list-inline w-100">
                  <li class="list-inline-item"><i class="fa fa-times" style="color: #FC6E51;"></i></li>
                  <li class="list-inline-item">Ошибка!</li>
                </ul>
                
                <div class="alert alert-warning" role="alert" style="margin:0px; ">
                  Информация о файле отсутствует.
                </div>
                [/xfnotgiven_file]
              </div>
            </div>
            
          </div>
        </div>
      </div>

<div class="col-lg-12 my">
<div class="card mb15 w-100 brd">
  <div class="card-header">
    [fixed]
    <span class="badge badge-warning badge-pill float-right" style="z-index: 9;font-size: 12px;padding: 3px 6px 3px 6px;"><span class="icon-fire"></span> Важно!</span>
    [/fixed]
<ul class="list-inline" style="margin:0px;">
  <li class="list-inline-item"><i class="fa fa-check" style="color: #8CC152;"></i></li>
  <li class="list-inline-item">Описание</li>
</ul>
  </div>
  <div class="card-body">
    <p class="card-text">{full-story}<br>{poll}</p>
<ul class="list-inline">
  <li class="list-inline-item">
    [xfgiven_skr]<i class="fa fa-check" style="color: #8CC152;"></i>[/xfgiven_skr]
    [xfnotgiven_skr]<i class="fa fa-times" style="color: #FC6E51;"></i>[/xfnotgiven_skr]</li>
  <li class="list-inline-item">[xfgiven_skr]<div id="result"></div>[/xfgiven_skr][xfnotgiven_skr]Ошибка![/xfnotgiven_skr]</li>
</ul>
<div class="pan clearfix">
  [xfgiven_skr]
    [xfvalue_skr]
  [/xfgiven_skr]
  [xfnotgiven_skr]
<div class="alert alert-warning" role="alert" style="margin:0px; ">
  Автор публикации не загрузил скриншоты!
</div>
    [/xfnotgiven_skr]
</div>

     [pages]{pages}[/pages]
    [edit-date]<div class="alert alert-warning" role="alert" style="margin-top: 10px;margin-bottom:0px; font-size: 83%;">
      <i class="fa fa-magic reda" aria-hidden="true" style="font-size: 20px;"></i>
                  <p class="editdate" style="margin:0px;">Новость отредактировал: <b>{editor}</b> - {edit-date}<br>
                  [edit-reason]Причина: <b>{edit-reason}</b>[/edit-reason]</p>
               </div>
    [/edit-date]
  </div>
</div>
</div>

<div class="col-lg-12 my">
<div class="card mb15 w-100">
  <div class="card-header">
  </div>
  <div class="card-body">
    [xfnotgiven_skr]
<div class="alert alert-warning" role="alert" style="margin:0px; ">
  Автор публикации не загрузил скриншоты!
</div>
    [/xfnotgiven_skr]
    
<script>
function pluralizeRus(n, forms) {
  return n % 10 == 1 && n % 100 != 11
        ? forms[0]
        : (n % 10 >= 2 && n % 10 <= 4
        && (n % 100 < 10
            || n % 100 >= 20) ? forms[1] : forms[2]);
}
var numberOfLis = document.getElementById('list').children.length; 
document.getElementById('result').textContent = numberOfLis + ' Скриншот' + pluralizeRus(numberOfLis, ['', 'а', 'ов']);
</script>
  </div>
</div>
</div>
[related-news]

<div class="col-lg-12 my">
<div class="row row-flex my">
    {related-news}
</div>
</div>
[/related-news]
<div class="col-lg-12 my">
<div class="card mb15" style="width:100%;background: #ffffff7a;">
  <div class="card-body" style="padding: 10px;"> 
  <div class="share float-right" style="margin: 2px 0px 0 0;">
    <script src="//yastatic.net/es5-shims/0.0.2/es5-shims.min.js"></script>
    <script src="//yastatic.net/share2/share.js"></script>
    <div class="ya-share2" data-services="vkontakte,facebook,twitter,whatsapp,skype"></div>
  </div>

    <ul class="list-inline" style="margin:0px;font-size: 80%;margin: 4px 10px 0px 10px;font-weight: bold;color: #c2c7d8;">
      <li class="list-inline-item"><img cass="hidden-sm" src="{foto}" onclick="ShowProfile('{login}', '/user/{login}', '1'); return false;" alt="{login}" style="width: 22px;height: 22px;margin: -13px 5px -10px 0px;border-radius: 5px;object-fit: cover;" /> <span class="short-title hidden-xs" style="font-size: 13px;">{author}</span></li>
      <li class="list-inline-item gf"><span class="icon-folder" style="font-weight: bold;font-size: 13px;"></span> <span class="short-title" style="font-size: 13px;">{link-category}</span></li>
      <li class="list-inline-item"><span class="fa fa-calendar-o" style="font-weight: bold;font-size: 13px;"></span> <time datetime="{date=Y-m-d}T{date=H:i:s}" class="ago" data-toggle="tooltip" title="{date}">{date=Y-m-d}</time></li>
    <li class="list-inline-item"><span class="icon-eye" style="font-weight: bold;font-size: 13px;"></span> {views}</li>
    <li class="list-inline-item"><span class="icon-bubble" style="font-weight: bold;font-size: 13px;"></span> {comments-num}</li>
    </ul>
  </div>

</div>
</div>
[comments]

<div class="col-lg-12 my" style="width: 100%;">

<div class="card mb15" style="width: 100%;background: #ffffff7a;">
  <div class="card-header">
   <span class="icon-bubbles" style="font-weight: bold;"></span> Комментариев {comments-num}
  </div>
  <div class="card-body" style="padding: 15px 7px 15px 7px;">
    {comments}
    {navigation}
  </div>
</div>

</div>
  [/comments]
  [not-comments]
  <div class="col-lg-12 my">
  
    {comments}
  
  </div>
  [/not-comments]
  {addcomments}
