<!-- BEGIN: MAIN -->
  <!-- BEGIN: REVIEWS_ROWS -->
  <li class="clearfix mb25 pb20">
    <div itemprop="review" itemscope itemtype="http://schema.org/Review" style="display: none;">
      <span itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
        <meta itemprop="bestRating" content="5">
        <meta itemprop="worstRating" content="1">
        <meta itemprop="ratingValue" content="<!-- IF {REVIEW_ROW_SCORE} -->5<!-- ELSE -->2<!-- ENDIF -->">
      </span>
      <span itemprop="name">{PRD_ROW_SHORTTITLE}</span>
      <span itemprop="author" itemscope itemtype="http://schema.org/Person">
        <span itemprop="name">{REVIEW_ROW_OWNER_NICKNAME}</span>
      </span>
      <meta itemprop="datePublished" content="{REVIEW_ROW_DATE|cot_date('Y-m-d', $this)}">
      <div itemprop="reviewBody">{REVIEW_ROW_TEXT}</div>
    </div>
    <div class="fs16 mb10"><a href="{PRD_ROW_URL}">{PRD_ROW_SHORTTITLE}</a></div>
    <div class="clearfix"></div>
    <span class="review-avatar">
       <img src="<!-- IF {REVIEW_ROW_OWNER_AVATAR_SRC} -->{REVIEW_ROW_OWNER_AVATAR_SRC}<!-- ELSE -->themes/itbirja/files/avatar/big/noprofilepicture.gif<!-- ENDIF -->" width="50" class="rounded" alt="{REVIEW_ROW_OWNER_NICKNAME}">
    </span>
    <span class="comment comment_with-portfolio">
      <span class="comment-meta">
        <a href="{REVIEW_ROW_OWNER_DETAILSLINK}" class="fs16">{REVIEW_ROW_OWNER_NICKNAME}</a>
         <!-- IF {REVIEW_ROW_SCORE} -->
          <i class="ico-green-circle smile dib"></i>
        <!-- ELSE -->
          <i class="ico-red-circle smile dib"></i>
        <!-- ENDIF -->
        <span class="ml8 fs13">{REVIEW_ROW_TIMEAGO}</span>
      </span>
      <span class="comment-comment lh22 fs14">{REVIEW_ROW_TEXT|cot_mk_msg_html($this)}</span>
      <!-- BEGIN: REV_ANSWER -->
      <span>
        <span class="db mt30">
          <span class="review-avatar t-align-r">
            <img src="<!-- IF {USERS_DETAILS_AVATAR_SRC} -->{USERS_DETAILS_AVATAR_SRC}<!-- ELSE -->themes/itbirja/files/avatar/big/noprofilepicture.gif<!-- ENDIF -->" class="mw50px rounded" alt="{USERS_DETAILS_NICKNAME}">
          </span>
          <span class="f14 comment">
            <span class="comment-meta">
              <a href="{USERS_DETAILS_DETAILSLINK}">{USERS_DETAILS_NICKNAME}</a>
              <span class="ml8 f13">{REVIEW_ANSW_TIMEAGO}</span>
            </span>
            <span class="comment-comment lh22 f13">{REVIEW_ANSW_TEXT|cot_mk_msg_html($this)}</span>
            <!-- BEGIN: CAN_EDIT -->
              <a onclick="$(this).parent().find('.editForm').toggle();" class="mb10" style="cursor:pointer; display:block;">Редактировать</a>
              <form action="index.php?r=reviews&{PHP|cot_xg()}" method="post" style="display:none;" class="editForm">
                {PHP|cot_xg()}
                <input type="hidden" name="action" value="edit_review_comment">
                <input type="hidden" name="AID" value="{REVIEW_ANSW_ID}">
                <textarea id="message_body1" name="message" class="styled-input db wMax mh115 mt15" required="">{REVIEW_ANSW_TEXT}</textarea>
                <input type="submit" class="hugeGreenBtn hoverMe GreenBtnStyle h50 w210 mt20 mb15 pull-reset " value="Сохранить">
              </form>
            <!-- END: CAN_EDIT -->
          </span>
        </span>
      </span>
      <!-- END: REV_ANSWER -->
      <!-- BEGIN: CAN_ANSWER -->
        <span>
          <a onclick="$(this).parent().find('.answerForm').toggle();" class="mb10" style="cursor:pointer; display:block;">Ответить</a>
          <form action="index.php?r=reviews&{PHP|cot_xg()}" method="post" style="display:none;" class="answerForm">
            <input type="hidden" name="action" value="answer_to_review">
            <input type="hidden" name="RID" value="{REVIEW_ROW_ID}">
            <textarea id="message_body1" name="message" class="styled-input db wMax mh115 mt15" required=""></textarea>
            <input type="submit" class="hugeGreenBtn hoverMe GreenBtnStyle h50 w210 mt20 mb15 pull-reset " value="Отправить">
          </form>
        </span>
      <!-- END: CAN_ANSWER -->
    </span>
  </li>
  <!-- END: REVIEWS_ROWS -->
<!-- END: MAIN -->