<!-- BEGIN: MAIN -->

<div class="moderation-page centerwrap clearfix pt30 pb20 page-offer">
  <div class="" style="margin: auto">
    <h1 class="semibold font-OpenSans f32">
      Модерация
    </h1>

    <div class="query-card white-bg-border">
      <h2>Просмотр диалога #{PHP.chat}</h2>

      <div id="listcertificates">
        <table class="table-style">
          <tbody>
            <!-- BEGIN: DS_ROW -->
						<tr>
							<td style="width: 30px;">
                <img class="rounded" alt="{DS_ROW_USER_NICKNAME}" src="<!-- IF {DS_ROW_USER_AVATAR_SRC} -->{DS_ROW_USER_AVATAR_SRC}<!-- ELSE -->themes/itbirja/files/avatar/big/noprofilepicture.gif<!-- ENDIF -->" width="30" style="vertical-align: middle;"/>
              </td>
							<td id="{DS_ROW_ID}" style="<!-- IF {DS_ROW_READSTATUS} --> background: #F3F3F3;<!-- ENDIF -->">
                <span class="pull-right">{DS_ROW_WHODELETE} {DS_ROW_DATE}</span>
                  {DS_ROW_USER_NAME}<br />
                <span class="<!-- IF !{DS_ROW_READSTATUS} --> read<!-- ENDIF -->">
                  {DS_ROW_TEXT}
                </span>
              </td>
						</tr>
            <!-- END: DS_ROW -->
            <!-- IF {PAGENAV_COUNT} == 0 -->
            <tr>
              <td colspan="2">Сообщений нет</td>
            </tr>
            <!-- ENDIF -->
          </tbody>
        </table>
      </div>

      <!-- IF {PAGENAV_COUNT} > 0 -->
        <div class="t-align-c mt5">Всего сообщений: {PAGENAV_COUNT}</div>
        <div class="paging">
          <div class="p1">
            <ul>{PAGENAV_PAGES}</ul>
          </div>
        </div>
      <!-- ENDIF -->

    </div>

  </div>
</div>

<script>
  $('.moderation-page').find('input[type="text"], select').addClass('input-styled');
</script>

<!-- END: MAIN -->