<!-- BEGIN: MAIN -->
<!-- BEGIN: INBOX -->
<div class="conversation-message conversation-message_in unread" data-mid="{DS_ROW_ID}" data-track-id="{DS_ROW_ID}">
  <li class="dib wMax mb0" id="message_{DS_ROW_ID}">
    <div class="message-head_wrap">
      <div class="message-icons floatright">
        <div class="floatright">
          <!-- IF {DS_ROW_USER_ID} != {PHP.usr.id} -->
          <a href="javascript:complainConversationMessage({DS_ROW_ID});" class="mr5 dib" title="Пожаловаться">
          <i class="icon ico-complain"></i>
          </a>
          <!-- ENDIF -->
          <svg title="Пометить как важное" class="message__star" onclick="var tmstar=$(this);$.get('index.php?e=ds&m=impotrant&id={DS_ROW_ID}',function(data){if(data=='2'){tmstar.closest('[data-mid]').addClass('_msg_in_star');}else{tmstar.closest('[data-mid]').removeClass('_msg_in_star');}});" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="18" height="18" viewBox="0 0 18 18">
            <defs>
              <path id="uo60a" d="M534.33 442.2l1.78 4.43 4.56.41c.32.03.45.44.2.66l-3.45 3.15 1.03 4.69c.08.32-.26.58-.53.4l-3.92-2.48-3.92 2.48c-.27.18-.6-.08-.53-.4l1.03-4.69-3.46-3.15c-.24-.22-.1-.63.2-.66l4.57-.41 1.78-4.43c.12-.3.54-.3.66 0z"/>
            </defs>
            <g>
              <g transform="translate(-525 -440)">
                <use fill="#d7d7db" xlink:href="#uo60a"/>
              </g>
            </g>
          </svg>
          <a role="button" data-href="{DS_ROW_ID|cot_url('ds', 'm=list&resend='$this)}" title="Переслать сообщение" class="im-mess--reply mr5" data-replymsd="{DS_ROW_ID}" onclick="cot_resendmsg($(this));"></a>
        </div>
      </div>
    </div>
    <div class="clearfix">
      <span class="review-avatar">
      <a href="{DS_ROW_USER_DETAILSLINK}" title="{DS_ROW_USER_NICKNAME}">
      <img alt="{DS_ROW_USER_NICKNAME}" src="<!-- IF {DS_ROW_USER_AVATAR_SRC} -->{DS_ROW_USER_AVATAR_SRC}<!-- ELSE -->themes/itbirja/files/avatar/medium/noprofilepicture.gif<!-- ENDIF -->" class="rounded" alt=""/>
      </a>
      </span>
      <span class="comment">
        <div class="clearfix">
          <div class="f14 color-gray font-OpenSans floatright comment-time mr10">{DS_ROW_DATE}</div>
          <span class="comment-meta">
            <span data-is-online="{DS_ROW_USER_ONLINE}" data-darktheme="true" data-user-id="{DS_ROW_USER_ID}">
              <i class="icon ico-<!-- IF {DS_ROW_USER_ONLINE} -->online<!-- ELSE -->offlineDark<!-- ENDIF -->"></i>
            </span>
            <a href="{DS_ROW_USER_DETAILSLINK}" class="username font-OpenSans">
              {DS_ROW_USER_NICKNAME} {DS_ROW_MODER_GROUP}
            </a>
          </span>
        </div>
        <div class="message-main-content">
          <!-- IF {DS_ROW_MTYPE} == 1 -->
            <div class="t-align-c">
              <i class="ico-quest-info"></i>
              <h3 class="font-OpenSansSemi mb15 js-message-text">Запрос {PHP|cot_sitename('padeg_individ', 'r')}</h3>
                Покупатель {DS_ROW_USER_NICKNAME} прислал запрос на {PHP|cot_sitename('padeg_individ', 'v')}. Пожалуйста, ответьте покупателю как можно скорее<br>
            </div>
          <!-- ENDIF -->
          <!-- IF {DS_ROW_MTYPE} == 2 -->
            <div class="t-align-c">
              <i class="ico-green-extras"></i>
              <h3 class="font-OpenSansSemi mb15 js-message-text">Предложение {PHP|cot_sitename('padeg_individ', 'r')}</h3>
            </div>
            <table class='order-info' style='width:100%;border-spacing:0px;table-layout:fixed;'>
              <thead style="background-color:#f0f0f0;color:#000">
                <tr>
                  <td style='padding:10px 20px;width:49%;' class="font-OpenSansSemi">Услуги</td>
                  <td class="ta-center nowrap" style='width:14%;padding:10px 10px;'>Кол-во</td>
                  <td class="ta-center nowrap" style='width:14%;padding:10px 10px;'>Срок</td>
                  <td class="ta-center" style='width:23%;padding:10px 10px;'>Стоимость</td>
                </tr>
              </thead>
              <tbody>
                <tr class="font-OpenSans prd">
                  <td style='padding:10px 20px;width: 100%;' class="order-info_services">
                    <span class="f15 track-description-spoiler font-OpenSans link-color cur break-word" onclick="showDodjiDescription($(this));">
                    {DS_ROW_MDATA.name}<img src="themes/itbirja/images/arrow_right_blue.png" width="9" alt=""/>
                    </span>
                  </td>
                  <td class="nowrap" style="text-align:right;padding:10px 20px">1</td>
                  <td class="nowrap" style="text-align:right;padding:10px 20px">1 день</td>
                  <td class="nowrap" style="text-align:right;padding:10px 20px;color:#009900;">
                    {DS_ROW_MDATA.price|number_format($this, 2, '.', ' ')} &nbsp;<span class="rouble">Р</span>
                  </td>
                </tr>
                <tr class="track-order_description" style="display: none;">
                  <td colspan="4" style='padding:10px 20px;' class="p10">
                    <div class="shortened-url-track">
                      <span class='bold db'>Описание {PHP|cot_sitename('padeg', 'r')}</span>
                      <p>{DS_ROW_MDATA.desc}</p>
                    </div>
                    <div class="mt10" onclick="hideDodjiDescription($(this));">
                      <a class="dib mt5 m-hidden" style="cursor:pointer;">
                      Свернуть<img src="/images/arrow_right_blue.png" class="rotate180" width="9" alt=""/>
                      </a>
                    </div>
                  </td>
                </tr>
                <tr class="m-hidden">
                  <td colspan="4" style="margin:0px;padding:0px;">
                    <div style="margin:5px 15px;background-color:#EAEAEA;height:1px;"></div>
                  </td>
                </tr>
                <tr class="m-text-center">
                  <td class="nowrap f14 font-OpenSansSemi p10 m-text-center t-align-l" style="padding:10px 20px">
                    <form action="send_mk" method="post" id="ds_mk_msgtype_2_id_{DS_ROW_ID}" class="">
                      <input type="hidden" name="action" value="ds_mk_msgtype_buy">
                      <input type="hidden" name="msgId" value="{DS_ROW_ID}">
                      <input type="hidden" name="accept" value="0">
                    </form>
                    <a role="button" class="green-btn mr2" onclick="event.preventDefault();$('#ds_mk_msgtype_2_id_{DS_ROW_ID} input[name=accept]').val(1);$('#ds_mk_msgtype_2_id_{DS_ROW_ID}').addClass('ds_mk_msgtype_send').submit();">Принять</a>
                      &nbsp;
                    <a role="button" class="white-btn mr2" onclick="event.preventDefault();var tmpform = $('#ds_mk_msgtype_2_id_{DS_ROW_ID}'); tmpform.find('input[name=accept]').val(0);$.post(tmpform.attr('action'), tmpform.serialize(), function() { tmpform.parent().html('Вы отказались').css('background-color', '#f24c4cf2'); });">Отказаться</a>
                  </td>
                  <td class='nowrap f14 font-OpenSansSemi p10 m-text-cente t-align-r' style="padding:10px 20px;">Итого:</td>
                  <td class='nowrap f14 font-OpenSansSemi p10 m-text-center t-align-r' style="padding:10px 20px">{DS_ROW_MDATA.duration|cot_declension($this, 'день,дня,дней')} </td>
                  <td class='nowrap f14 font-OpenSansSemi p10 m-text-center t-align-c' style="padding:10px 0">
                    <span class="f20" style="color:#009900;">
                    {DS_ROW_MDATA.price|number_format($this, 2, '.', ' ')} &nbsp;<span class="rouble">Р</span>
                    </span>
                  </td>
                </tr>
              </tbody>
            </table>
          <!-- ENDIF -->
          <!-- IF {DS_ROW_MTYPE} == 3 -->
            <div class="t-align-c">
                <i class="ico-green-extras"></i>
                <h3 class="font-OpenSansSemi mb15 js-message-text">Предложение {PHP|cot_sitename('padeg_individ', 'r')}</h3>
              </div>
              <table class='order-info' style='width:100%;border-spacing:0px;table-layout:fixed;'>
                <thead style="background-color:#f0f0f0;color:#000">
                  <tr>
                    <td style='padding:10px 20px;width:49%;' class="font-OpenSansSemi">Услуги</td>
                    <td class="ta-center nowrap" style='width:14%;padding:10px 10px;'>Кол-во</td>
                    <td class="ta-center nowrap" style='width:14%;padding:10px 10px;'>Срок</td>
                    <td class="ta-center" style='width:23%;padding:10px 10px;'>Стоимость</td>
                  </tr>
                </thead>
                <tbody>
                  <tr class="font-OpenSans prd">
                    <td style='padding:10px 20px;width: 100%;' class="order-info_services">
                      <span class="f15 track-description-spoiler font-OpenSans link-color cur break-word" onclick="showDodjiDescription($(this));">
                      {DS_ROW_MDATA.name}<img src="themes/itbirja/images/arrow_right_blue.png" width="9" alt=""/>
                      </span>
                    </td>
                    <td class="nowrap" style="text-align:right;padding:10px 20px">{DS_ROW_MDATA.count}</td>
                    <td class="nowrap" style="text-align:right;padding:10px 20px">{DS_ROW_COSTPLAN.days_format}</td>
                    <td class="nowrap" style="text-align:right;padding:10px 20px;color:#009900;">
                      {DS_ROW_COSTPLAN.price_format} &nbsp;<span class="rouble">Р</span>
                    </td>
                  </tr>
                  <tr class="track-order_description" style="display: none;">
                    <td colspan="4" style='padding:10px 20px;' class="p10">
                      <div class="shortened-url-track">
                        <span class='bold db'>Описание {PHP|cot_sitename('padeg', 'r')}</span>
                        <p>{DS_ROW_MDATA.desc}</p>
                      </div>
                      <div class="mt10" onclick="hideDodjiDescription($(this));">
                        <a class="dib mt5 m-hidden" style="cursor:pointer;">
                        Свернуть<img src="/images/arrow_right_blue.png" class="rotate180" width="9" alt=""/>
                        </a>
                      </div>
                    </td>
                  </tr>
                  <!-- BEGIN: DS_TYPE3_PACKAGE -->
                  <tr class="font-OpenSans prd">
                    <td style='padding:10px 20px;width: 100%;' class="font-OpenSans break-word">
                      <img class="dib mr10" src="themes/itbirja/images/ico-ok.png" alt="ОК">
                      {DS_PACKAGE_DATA.name}
                    </td>
                    <td class="nowrap" style="text-align:right;padding:10px 20px">
                      <!-- IF {DS_PACKAGE_DATA.type} == 'text' -->
                        {DS_PACKAGE_DATA.value}
                      <!-- ELSE -->
                        {DS_ROW_MDATA.count}
                      <!-- ENDIF -->
                    </td>
                    <td class="nowrap" style="text-align:right;padding:10px 20px"></td>
                    <td class="nowrap" style="text-align:right;padding:10px 20px;"></td>
                  </tr>
                  <!-- END: DS_TYPE3_PACKAGE -->
                  <!-- BEGIN: DS_TYPE3_GEXTRAS -->
                  <tr class="font-OpenSans prd">
                    <td style='padding:10px 20px;width: 100%;' class="order-info_services">
                      <span class="f15 track-description-spoiler font-OpenSans break-word">
                        {DS_GEXTRAS_DATA.name}
                      </span>
                    </td>
                    <td class="nowrap" style="text-align:right;padding:10px 20px">{DS_GEXTRAS_DATA.count}</td>
                    <td class="nowrap" style="text-align:right;padding:10px 20px">{DS_GEXTRAS_DATA.duration|cot_declension($this, 'день,дня,дней')}</td>
                    <td class="nowrap" style="text-align:right;padding:10px 20px;color:#009900;">
                      {DS_GEXTRAS_DATA.price|number_format($this, 2, '.', ' ')} &nbsp;<span class="rouble">Р</span>
                    </td>
                  </tr>
                  <!-- END: DS_TYPE3_GEXTRAS -->
                  <tr class="m-hidden">
                    <td colspan="4" style="margin:0px;padding:0px;">
                      <div style="margin:5px 15px;background-color:#EAEAEA;height:1px;"></div>
                    </td>
                  </tr>
                  <tr class="m-text-center">
                    <td class="nowrap f14 font-OpenSansSemi p10 m-text-center t-align-l" style="padding:10px 20px;">
                      <form action="send_mk" method="post" id="ds_mk_msgtype_2_id_{DS_ROW_ID}" class="">
                        <input type="hidden" name="action" value="ds_mk_msgtype_buy">
                        <input type="hidden" name="msgId" value="{DS_ROW_ID}">
                        <input type="hidden" name="accept" value="0">
                      </form>
                      <a role="button" class="green-btn mr2" onclick="event.preventDefault();$('#ds_mk_msgtype_2_id_{DS_ROW_ID} input[name=accept]').val(1);$('#ds_mk_msgtype_2_id_{DS_ROW_ID}').addClass('ds_mk_msgtype_send').submit();">Принять</a>
                        &nbsp;
                      <a role="button" class="white-btn mr2" onclick="event.preventDefault();var tmpform = $('#ds_mk_msgtype_2_id_{DS_ROW_ID}'); tmpform.find('input[name=accept]').val(0);$.post(tmpform.attr('action'), tmpform.serialize(), function() { tmpform.parent().html('Вы отказались').css('background-color', '#f24c4cf2'); });">Отказаться</a>
                    </td>
                    <td class='nowrap f14 font-OpenSansSemi p10 m-text-cente t-align-r' style="padding:10px 20px;">Итого:</td>
                    <td class='nowrap f14 font-OpenSansSemi p10 m-text-center t-align-r' style="padding:10px 20px">{DS_ROW_MDATA.duration|cot_declension($this, 'день,дня,дней')} </td>
                    <td class='nowrap f14 font-OpenSansSemi p10 m-text-center t-align-c' style="padding:10px 0">
                      <span class="f20" style="color:#009900;">
                      {DS_ROW_MDATA.price|number_format($this, 2, '.', ' ')} &nbsp;<span class="rouble">Р</span>
                      </span>
                    </td>
                  </tr>
                </tbody>
              </table>
          <!-- ENDIF -->
          <!-- IF {DS_ROW_MTYPE} == 4 -->
          <div class="t-align-c">
            <i class="ico-more-info"></i>
            <h3 class="font-OpenSansSemi mb15 js-message-text">Заказ создан</h3>
          </div>
          <div style="padding-top:15px;">
            Заказ {DS_ROW_MDATA.order_id} создан. <a href="{DS_ROW_MDATA.order_id|cot_url('plug', 'e=marketorders&id='$this)}">Перейти к заказу</a>
          </div>
          <!-- ENDIF -->
          <!-- IF {DS_ROW_PRETEXT} -->
          <div>{DS_ROW_PRETEXT}</div>
          <!-- ENDIF -->
          <span class="comment-comment breakwords m-ml15">{DS_ROW_TEXT}</span>
          <div class="conversation-message-file-wrap" data-json-files='null'>
            <!-- IF {DS_MAVATARS.MAVATARCOUNT} > 0 -->
            <!-- FOR {KEY}, {VALUE} IN {DS_MAVATARS.MAVATAR} -->
            <div id="id{VALUE.ID}" class="mb5 file-item file-item-conversations">
              <a href="{VALUE.FILE}" target="_blank" class="color-text">
              <i class="ico-file-{VALUE.FILEEXTICON} dib v-align-m"></i>
              <span class="v-align-m ml10 mw80p">{VALUE.FILEORIGNAME}.{VALUE.FILEEXT}</span>
              </a>
            </div>
            <!-- ENDFOR -->
            <!-- ENDIF -->
          </div>
          {DS_ROW_RESEND}
          <!-- IF {DS_ROW_ISSOPPORTCHAT} AND {DS_ROW_TOUSER} > 0 AND {DS_ROW_FRUSER} > 0 -->
            <hr class="gray m0">
            <div class="score-block mb10" data-score-block="{DS_ROW_ID}">
              <div class="rating-block-toggle">
                <span class="f13">Оцените работу специалиста: </span>
                <div class="stars-container dib ml15 lh20">
                  <input type="radio" name="score_{DS_ROW_ID}" class="rating score_input hidden" value="1">
                  <input type="radio" name="score_{DS_ROW_ID}" class="rating score_input hidden" value="2">
                  <input type="radio" name="score_{DS_ROW_ID}" class="rating score_input hidden" value="3">
                  <input type="radio" name="score_{DS_ROW_ID}" class="rating score_input hidden" value="4">
                  <input type="radio" name="score_{DS_ROW_ID}" class="rating score_input hidden" value="5">
                </div>
                <span class="fs13 dib color-gray span-score"></span>
                <div id="check-block" class="pt5 color-gray fs13">
                  <span>Оценку видит: </span>
                  <input type="checkbox" id="check-admin_{DS_ROW_ID}" class="styled-checkbox check-admin" checked disabled>
                  <label for="check-admin_{DS_ROW_ID}">администрация</label>
                  <input type="checkbox" id="check-support_{DS_ROW_ID}" class="styled-checkbox check-support" checked>
                  <label for="check-support_{DS_ROW_ID}">специалист службы поддержки</label>
                </div>
              </div>
              <div class="h55 lh55 rating-block-toggle" style="display:none">
                <span class="f13">Оценка принята. </span>
                <a href="javascript: void(0)" class="requiredInfo-attention-link cur rating_show-link-js f13">Изменить?</a>
              </div>
            </div>
            <script>
            	$('.score-block[data-score-block="{DS_ROW_ID}"] .rating_show-link-js').on('click', function () {
            		ratingToggle(this);
            	});

            	$('.score-block[data-score-block="{DS_ROW_ID}"] .stars-container').rating();
            </script>
          <!-- ENDIF -->

          <!-- IF {DS_ROW_MTYPE} == 1 -->
            Бюджет: <!-- IF {DS_ROW_MDATA.budget} --><b>{DS_ROW_MDATA.budget} <span class="rouble">Р</span></b><!-- ELSE -->не указан<!-- ENDIF --><br>
            Сроки: <!-- IF {DS_ROW_MDATA.prd_duration} --><b>{DS_ROW_MDATA.prd_duration}</b><!-- ELSE -->не указаны<!-- ENDIF --><br>
          <!-- ENDIF -->
          <!-- IF {DS_ROW_MTYPE} == 1 OR {DS_ROW_MTYPE} == 5 -->
            <!-- IF {DS_ROW_USER_ID} != {PHP.usr.id} -->
            <div class="request-not-correspond request-not-correspond_theme_track">
              <div class="request-not-correspond__title bold" onclick="$(this).next().toggle();">
                Запрос покупателя не соответствует {PHP|cot_sitename('padeg', 'd')}?<i class="ico-arrow-down request-not-correspond__title-icon"></i>
              </div>
              <div class="request-not-correspond__more-text">
                <p>
                  {PHP|cot_sitename('name_en')} лучше ранжирует и чаще показывает покупателям {PHP|cot_sitename('padeg', '_i')}, по которым совершено больше покупок. <span class="request-not-correspond__warning">Отказываясь от заказа, вы теряете возможность повысить конверсию и уступаете место другим продавцам.</span>
                </p>
                <p>
                  <b>Что делать?</b>
                </p>
                <ol class="request-not-correspond__list">
                  <li class="request-not-correspond__list-item">Создайте новые опции в {PHP|cot_sitename('phrases', 'svoey')} и предложите их покупателю. Покупатели приветствуют принцип «любой каприз за ваши деньги».</li>
                  <li class="request-not-correspond__list-item">Создайте {PHP|cot_sitename('phrases', 'novyu')}, {PHP|cot_sitename('phrases', 'novyu_kotoraya')} покрывает задачу покупателя. Возможно и другие покупатели в будущем закажут его.</li>
                  <li class="request-not-correspond__list-item">
                    Предложите {PHP|cot_sitename('padeg_individ', 'i')}
                    под задачу покупателя.
                  </li>
                </ol>
              </div>
            </div>
            <!-- ENDIF -->
          <!-- ENDIF -->
        </div>
      </span>
    </div>
    <div class="clear"></div>
  </li>
</div>
<!-- END: INBOX -->
<!-- BEGIN: OUTBOX -->
<div class="conversation-message conversation-message_out out unread" data-mid="{DS_ROW_ID}" data-track-id="{DS_ROW_ID}">
  <li class="dib wMax mb0" id="message_{DS_ROW_ID}">
    <div class="message-head_wrap">
      <div class="message-icons floatright">
        <div class="floatright">
          <a href="javascript:editConversationMessage({DS_ROW_ID});" class="mr5 dib" title="Редактировать сообщение" data-editemsg="{DS_ROW_ID}">
            <i class="icon ico-edit" style="height: 18px;"></i>
          </a>
          <a role="button" class="mr5 dib" title="Удалить сообщение" data-deletemsg="{DS_ROW_ID}" onclick="$.get('index.php?e=ds&m=delete&x={PHP.sys.xk}&mid={DS_ROW_ID}', function(data) { $('#message_{DS_ROW_ID} .message-main-content').html(data); }); $(this).remove();">
            <i class="icon ico-trash-18" style="height: 18px;"></i>
          </a>
          <svg title="Пометить как важное" class="message__star" onclick="var tmstar=$(this);$.get('index.php?e=ds&m=impotrant&id={DS_ROW_ID}',function(data){if(data=='2'){tmstar.addClass('_msg_in_star');}else{tmstar.closest('[data-mid]').removeClass('_msg_in_star');}});" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="18" height="18" viewBox="0 0 18 18">
            <defs>
              <path id="uo60a" d="M534.33 442.2l1.78 4.43 4.56.41c.32.03.45.44.2.66l-3.45 3.15 1.03 4.69c.08.32-.26.58-.53.4l-3.92-2.48-3.92 2.48c-.27.18-.6-.08-.53-.4l1.03-4.69-3.46-3.15c-.24-.22-.1-.63.2-.66l4.57-.41 1.78-4.43c.12-.3.54-.3.66 0z"/>
            </defs>
            <g>
              <g transform="translate(-525 -440)">
                <use fill="#d7d7db" xlink:href="#uo60a"/>
              </g>
            </g>
          </svg>
          <a role="button" data-href="{DS_ROW_ID|cot_url('ds', 'm=list&resend='$this)}" title="Переслать сообщение" class="im-mess--reply mr5" data-replymsd="{DS_ROW_ID}" onclick="cot_resendmsg($(this));"></a>
        </div>
      </div>
    </div>
    <div class="clearfix">
      <span class="review-avatar">
      <a href="{DS_ROW_USER_DETAILSLINK}" title="{DS_ROW_USER_NICKNAME}">
      <img alt="{DS_ROW_USER_NICKNAME}" src="<!-- IF {DS_ROW_USER_AVATAR_SRC} -->{DS_ROW_USER_AVATAR_SRC}<!-- ELSE -->themes/itbirja/files/avatar/medium/noprofilepicture.gif<!-- ENDIF -->" class="rounded" alt=""/>
      </a>
      </span>
      <span class="comment">
        <div class="clearfix">
          <div class="f14 color-gray font-OpenSans floatright comment-time mr10">{DS_ROW_DATE}</div>
          <span class="comment-meta">
            <span data-is-online="{DS_ROW_USER_ONLINE}" data-darktheme="true" data-user-id="{DS_ROW_USER_ID}">
              <i class="icon ico-online"></i>
            </span>
            <a href="{DS_ROW_USER_DETAILSLINK}" class="username font-OpenSans">
              {DS_ROW_USER_NICKNAME}
            </a>
          </span>
        </div>
        <div class="message-main-content">
          <!-- IF {DS_ROW_MTYPE} == 1 -->
            <div class="t-align-c">
              <i class="ico-quest-info"></i>
              <h3 class="font-OpenSansSemi mb15 js-message-text">Запрос {PHP|cot_sitename('padeg_individ', 'r')}</h3>
            </div>
          <!-- ENDIF -->
          <!-- IF {DS_ROW_MTYPE} == 2 -->
            <div class="t-align-c">
              <i class="ico-green-extras"></i>
              <h3 class="font-OpenSansSemi mb15 js-message-text">Предложение {PHP|cot_sitename('padeg_individ', 'r')}</h3>
            </div>
            <table class='order-info' style='width:100%;border-spacing:0px;table-layout:fixed;'>
              <thead style="background-color:#f0f0f0;color:#000">
                <tr>
                  <td style='padding:10px 20px;width:49%;' class="font-OpenSansSemi">Услуги</td>
                  <td class="ta-center nowrap" style='width:14%;padding:10px 10px;'>Кол-во</td>
                  <td class="ta-center nowrap" style='width:14%;padding:10px 10px;'>Срок</td>
                  <td class="ta-center" style='width:23%;padding:10px 10px;'>Стоимость</td>
                </tr>
              </thead>
              <tbody>
                <tr class="font-OpenSans prd">
                  <td style='padding:10px 20px;width: 100%;' class="order-info_services">
                    <span class="f15 track-description-spoiler font-OpenSans link-color cur break-word" onclick="showDodjiDescription($(this));">
                    {DS_ROW_MDATA.name}<img src="themes/itbirja/images/arrow_right_blue.png" width="9" alt=""/>
                    </span>
                  </td>
                  <td class="nowrap" style="text-align:right;padding:10px 20px">1</td>
                  <td class="nowrap" style="text-align:right;padding:10px 20px">1 день</td>
                  <td class="nowrap" style="text-align:right;padding:10px 20px;color:#009900;">
                    {DS_ROW_MDATA.price|number_format($this, 2, '.', ' ')} &nbsp;<span class="rouble">Р</span>
                  </td>
                </tr>
                <tr class="track-order_description" style="display: none;">
                  <td colspan="4" style='padding:10px 20px;' class="p10">
                    <div class="shortened-url-track">
                      <span class='bold db'>Описание {PHP|cot_sitename('padeg', 'r')}</span>
                      <p>{DS_ROW_MDATA.desc}</p>
                    </div>
                    <div class="mt10" onclick="hideDodjiDescription($(this));">
                      <a class="dib mt5 m-hidden" style="cursor:pointer;">
                      Свернуть<img src="/images/arrow_right_blue.png" class="rotate180" width="9" alt=""/>
                      </a>
                    </div>
                  </td>
                </tr>
                <tr class="m-hidden">
                  <td colspan="4" style="margin:0px;padding:0px;">
                    <div style="margin:5px 15px;background-color:#EAEAEA;height:1px;"></div>
                  </td>
                </tr>
                <tr class="m-text-center">
                  <td class="nowrap f14 font-OpenSansSemi p10 m-text-center t-align-l" style="padding:10px 20px"></td>
                  <td class='nowrap f14 font-OpenSansSemi p10 m-text-cente t-align-r' style="padding:10px 20px;">Итого:</td>
                  <td class='nowrap f14 font-OpenSansSemi p10 m-text-center t-align-r' style="padding:10px 20px">{DS_ROW_MDATA.duration|cot_declension($this, 'день,дня,дней')} </td>
                  <td class='nowrap f14 font-OpenSansSemi p10 m-text-center t-align-c' style="padding:10px 0">
                    <span class="f20" style="color:#009900;">
                    {DS_ROW_MDATA.price|number_format($this, 2, '.', ' ')} &nbsp;<span class="rouble">Р</span>
                    </span>
                  </td>
                </tr>
              </tbody>
            </table>
          <!-- ENDIF -->
          <!-- IF {DS_ROW_MTYPE} == 3 -->
            <div class="t-align-c">
                <i class="ico-green-extras"></i>
                <h3 class="font-OpenSansSemi mb15 js-message-text">Предложение {PHP|cot_sitename('padeg_individ', 'r')}</h3>
              </div>
              <table class='order-info' style='width:100%;border-spacing:0px;table-layout:fixed;'>
                <thead style="background-color:#f0f0f0;color:#000">
                  <tr>
                    <td style='padding:10px 20px;width:49%;' class="font-OpenSansSemi">Услуги</td>
                    <td class="ta-center nowrap" style='width:14%;padding:10px 10px;'>Кол-во</td>
                    <td class="ta-center nowrap" style='width:14%;padding:10px 10px;'>Срок</td>
                    <td class="ta-center" style='width:23%;padding:10px 10px;'>Стоимость</td>
                  </tr>
                </thead>
                <tbody>
                  <tr class="font-OpenSans prd">
                    <td style='padding:10px 20px;width: 100%;' class="order-info_services">
                      <span class="f15 track-description-spoiler font-OpenSans link-color cur break-word" onclick="showDodjiDescription($(this));">
                      {DS_ROW_MDATA.name}<img src="themes/itbirja/images/arrow_right_blue.png" width="9" alt=""/>
                      </span>
                    </td>
                    <td class="nowrap" style="text-align:right;padding:10px 20px">{DS_ROW_MDATA.count}</td>
                    <td class="nowrap" style="text-align:right;padding:10px 20px">{DS_ROW_COSTPLAN.days_format}</td>
                    <td class="nowrap" style="text-align:right;padding:10px 20px;color:#009900;">
                      {DS_ROW_COSTPLAN.price_format} &nbsp;<span class="rouble">Р</span>
                    </td>
                  </tr>
                  <tr class="track-order_description" style="display: none;">
                    <td colspan="4" style='padding:10px 20px;' class="p10">
                      <div class="shortened-url-track">
                        <span class='bold db'>Описание {PHP|cot_sitename('padeg', 'r')}</span>
                        <p>{DS_ROW_MDATA.desc}</p>
                      </div>
                      <div class="mt10" onclick="hideDodjiDescription($(this));">
                        <a class="dib mt5 m-hidden" style="cursor:pointer;">
                        Свернуть<img src="/images/arrow_right_blue.png" class="rotate180" width="9" alt=""/>
                        </a>
                      </div>
                    </td>
                  </tr>
                  <!-- BEGIN: DS_TYPE3_PACKAGE -->
                  <tr class="font-OpenSans prd">
                    <td style='padding:10px 20px;width: 100%;' class="font-OpenSans break-word">
                      <img class="dib mr10" src="themes/itbirja/images/ico-ok.png" alt="ОК">
                      {DS_PACKAGE_DATA.name}
                    </td>
                    <td class="nowrap" style="text-align:right;padding:10px 20px">
                      <!-- IF {DS_PACKAGE_DATA.type} == 'text' -->
                        {DS_PACKAGE_DATA.value}
                      <!-- ELSE -->
                        {DS_ROW_MDATA.count}
                      <!-- ENDIF -->
                    </td>
                    <td class="nowrap" style="text-align:right;padding:10px 20px"></td>
                    <td class="nowrap" style="text-align:right;padding:10px 20px;"></td>
                  </tr>
                  <!-- END: DS_TYPE3_PACKAGE -->
                  <!-- BEGIN: DS_TYPE3_GEXTRAS -->
                  <tr class="font-OpenSans prd">
                    <td style='padding:10px 20px;width: 100%;' class="order-info_services">
                      <span class="f15 track-description-spoiler font-OpenSans break-word">
                        {DS_GEXTRAS_DATA.name}
                      </span>
                    </td>
                    <td class="nowrap" style="text-align:right;padding:10px 20px">{DS_GEXTRAS_DATA.count}</td>
                    <td class="nowrap" style="text-align:right;padding:10px 20px">{DS_GEXTRAS_DATA.duration|cot_declension($this, 'день,дня,дней')}</td>
                    <td class="nowrap" style="text-align:right;padding:10px 20px;color:#009900;">
                      {DS_GEXTRAS_DATA.price|number_format($this, 2, '.', ' ')} &nbsp;<span class="rouble">Р</span>
                    </td>
                  </tr>
                  <!-- END: DS_TYPE3_GEXTRAS -->
                  <tr class="m-hidden">
                    <td colspan="4" style="margin:0px;padding:0px;">
                      <div style="margin:5px 15px;background-color:#EAEAEA;height:1px;"></div>
                    </td>
                  </tr>
                  <tr class="m-text-center">
                    <td class="nowrap f14 font-OpenSansSemi p10 m-text-center t-align-l" style="padding:10px 20px;"></td>
                    <td class='nowrap f14 font-OpenSansSemi p10 m-text-cente t-align-r' style="padding:10px 20px;">Итого:</td>
                    <td class='nowrap f14 font-OpenSansSemi p10 m-text-center t-align-r' style="padding:10px 20px">{DS_ROW_MDATA.duration|cot_declension($this, 'день,дня,дней')} </td>
                    <td class='nowrap f14 font-OpenSansSemi p10 m-text-center t-align-c' style="padding:10px 0">
                      <span class="f20" style="color:#009900;">
                      {DS_ROW_MDATA.price|number_format($this, 2, '.', ' ')} &nbsp;<span class="rouble">Р</span>
                      </span>
                    </td>
                  </tr>
                </tbody>
              </table>
          <!-- ENDIF -->
          <!-- IF {DS_ROW_MTYPE} == 4 -->
          <div class="t-align-c">
            <i class="ico-more-info"></i>
            <h3 class="font-OpenSansSemi mb15 js-message-text">Заказ создан</h3>
          </div>
          <div style="padding-top:15px;">
            Заказ {DS_ROW_MDATA.order_id} создан. <a href="{DS_ROW_MDATA.order_id|cot_url('plug', 'e=marketorders&id='$this)}">Перейти к заказу</a>
          </div>
          <!-- ENDIF -->
          <!-- IF {DS_ROW_PRETEXT} -->
          <div>{DS_ROW_PRETEXT}</div>
          <!-- ENDIF -->
          <span class="comment-comment breakwords m-ml15">{DS_ROW_TEXT}</span>
          <div class="conversation-message-file-wrap" data-json-files='null'>
            <!-- IF {DS_MAVATARS.MAVATARCOUNT} > 0 -->
            <!-- FOR {KEY}, {VALUE} IN {DS_MAVATARS.MAVATAR} -->
            <div id="id{VALUE.ID}" class="mb5 file-item file-item-conversations">
              <a href="{VALUE.FILE}" target="_blank" class="color-text">
              <i class="ico-file-{VALUE.FILEEXTICON} dib v-align-m"></i>
              <span class="v-align-m ml10 mw80p">{VALUE.FILEORIGNAME}.{VALUE.FILEEXT}</span>
              </a>
            </div>
            <!-- ENDFOR -->
            <!-- ENDIF -->
          </div>
          {DS_ROW_RESEND}

          <!-- IF {DS_ROW_MTYPE} == 1 -->
            Бюджет: <!-- IF {DS_ROW_MDATA.budget} --><b>{DS_ROW_MDATA.budget} <span class="rouble">Р</span></b><!-- ELSE -->не указан<!-- ENDIF --><br>
            Сроки: <!-- IF {DS_ROW_MDATA.prd_duration} --><b>{DS_ROW_MDATA.prd_duration}</b><!-- ELSE -->не указаны<!-- ENDIF --><br>
          <!-- ENDIF -->
        </div>
      </span>
    </div>
    <div class="clear"></div>
  </li>
</div>
<!-- END: OUTBOX -->
<!-- BEGIN: ERROR -->
<div data-dserror="">
  {ERROR_MSG}
</div>
<!-- END: ERROR -->
<!-- BEGIN: RESEND -->
<div class="conversation-message_resend" data-rmid="{DS_RESEND_ID}">
    <div class="clearfix">
      <span title="Пересылаемое сообщение сообщение" class="im-mess--reply mr10"></span>
      <span class="comment">
        <div class="clearfix">
          <div class="f12 color-gray font-OpenSans floatright comment-time">{DS_RESEND_DATE}</div>
          <span class="comment-meta">
            <a href="{DS_RESEND_USER_DETAILSLINK}" class="username font-OpenSans">
              {DS_RESEND_USER_NICKNAME}
            </a>
          </span>
        </div>
        <div class="message-main-content">
          <span class="comment-comment breakwords m-ml15">{DS_RESEND_TEXT}</span>
          <div class="conversation-message-file-wrap" data-json-files='null'>
            <!-- IF {DS_RESEND_MAVATARS.MAVATARCOUNT} > 0 -->
            <!-- FOR {KEY}, {VALUE} IN {DS_RESEND_MAVATARS.MAVATAR} -->
            <div id="id{VALUE.ID}" class="mt5 file-item file-item-conversations">
              <a href="{VALUE.FILE}" target="_blank" class="color-text">
              <i class="ico-file-{VALUE.FILEEXTICON} dib v-align-m"></i>
              <span class="v-align-m ml10 mw80p">{VALUE.FILEORIGNAME}.{VALUE.FILEEXT}</span>
              </a>
            </div>
            <!-- ENDFOR -->
            <!-- ENDIF -->
          </div>
          {DS_RESEND_RESEND}
        </div>
      </span>
    </div>
    <div class="clear"></div>
</div>
<!-- END: RESEND -->
<!-- END: MAIN -->