<!-- BEGIN: MAIN -->
<div class="row mb-5">
  <div class="col my-3">
    <h1 class="text-muted mt-3 mb-3">
      Форум
    </h1>
    <p class="lead">
      {FORUMS_POSTS_PAGETITLE}
    </p>
  </div>
</div>
</div>
</div>
<div class="container">
 <div>
  <!-- BEGIN: FORUMS_POSTS_TOPICPRIVATE -->
	 <div class="lead pb-5">{PHP.L.forums_privatetopic}</div>
  <!-- END: FORUMS_POSTS_TOPICPRIVATE -->

  <!-- BEGIN: FORUMS_POSTS_ADMIN -->
    <div class="bg-sky p-3 mb-5">
			<form id="movetopic" action="{FORUMS_POSTS_MOVE_URL}" method="post" class="marginbottom10">
				<table class="flat">
					<tr>
						<td class="textright width10">{PHP.L.forums_topicoptions}:</td>
						<td class="width90">
							<a href="{FORUMS_POSTS_BUMP_URL}" title="{PHP.L.forums_explainbump}">{PHP.L.forums_bump}</a> {PHP.cfg.separator}
							<a href="{FORUMS_POSTS_LOCK_URL}" title="{PHP.L.forums_explainlock}">{PHP.L.Lock}</a> {PHP.cfg.separator}
							<a href="{FORUMS_POSTS_STICKY_URL}" title="{PHP.L.forums_explainsticky}">{PHP.L.forums_makesticky}</a> {PHP.cfg.separator}
							<a href="{FORUMS_POSTS_ANNOUNCE_URL}" title="{PHP.L.forums_explainannounce}">{PHP.L.forums_announcement}</a> {PHP.cfg.separator}
							<a href="{FORUMS_POSTS_PRIVATE_URL}" title="{PHP.L.forums_explainprivate}">{PHP.L.forums_private} (#)</a> {PHP.cfg.separator}
							<a href="{FORUMS_POSTS_CLEAR_URL}" title="{PHP.L.forums_explaindefault}">{PHP.L.Default}</a> {PHP.cfg.separator}
							<a href="{FORUMS_POSTS_DELETE_URL}" title="{PHP.L.forums_explaindelete}" class="confirmLink">{PHP.L.Delete}</a>
						</td>
					</tr>
					<tr>
						<td class="textright">{PHP.L.Move}:</td>
						<td>
              {FORUMS_POSTS_MOVEBOX_SELECT}<span class="small spaced">{FORUMS_POSTS_MOVEBOX_KEEP} {PHP.L.forums_keepmovedlink}</span>
              <br>
              <button type="submit">{PHP.L.Move}</button>
            </td>
					</tr>
				</table>
			</form>
    </div>
  <!-- END: FORUMS_POSTS_ADMIN -->

    <div>
      <h1 class="mb-4">Сообщения</h1>
		  <!-- BEGIN: FORUMS_POSTS_ROW -->
        <div class="media mb-4" id="{FORUMS_POSTS_ROW_POSTID}">
          <div class="d-flex mr-3">
            <!-- IF !{FORUMS_POSTS_ROW_USERAVATAR} -->{FORUMS_POSTS_ROW_USERAVATAR}<!-- ELSE --><img src="datas/defaultav/blank.png"><!-- ENDIF -->
          </div>
          <div class="media-body bg-sky p-3">
            <h5 class="mt-0">
                {FORUMS_POSTS_ROW_USERNAME|cot_rc_modify($this, 'class="active"')}
                <small>{FORUMS_POSTS_ROW_USERONLINETITLE}</small>
                <small class="pull-right">[{FORUMS_POSTS_ROW_CREATION}] <!-- IF {FORUMS_POSTS_ROW_QUOTE} -->{FORUMS_POSTS_ROW_QUOTE}<!-- ENDIF --><!-- IF {FORUMS_POSTS_ROW_EDIT} --><span class="spaced">{PHP.cfg.separator}</span>{FORUMS_POSTS_ROW_EDIT}<!-- ENDIF --><!-- IF {FORUMS_POSTS_ROW_DELETE} --><span class="spaced">{PHP.cfg.separator}</span>{FORUMS_POSTS_ROW_DELETE}<!-- ENDIF --></small>
            </h5>
            {FORUMS_POSTS_ROW_TEXT}
						{FORUMS_POSTS_ROW_UPDATEDBY}
          </div>
        </div>
				<!-- END: FORUMS_POSTS_ROW -->
			</table>
			<!-- IF {FORUMS_POSTS_PAGES} --><p class="pagination"><ul>{FORUMS_POSTS_PAGEPREV}{FORUMS_POSTS_PAGENEXT}{FORUMS_POSTS_PAGES}</ul></p><!-- ENDIF -->
		</div>

    <!-- BEGIN: FORUMS_POSTS_TOPICLOCKED -->
		  <div class="lead">{FORUMS_POSTS_TOPICLOCKED_BODY}</div>
    <!-- END: FORUMS_POSTS_TOPICLOCKED -->

    <!-- BEGIN: FORUMS_POSTS_ANTIBUMP -->
		  <div>{FORUMS_POSTS_ANTIBUMP_BODY}</div>
    <!-- END: FORUMS_POSTS_ANTIBUMP -->

    {FILE "{PHP.cfg.themes_dir}/{PHP.cfg.defaulttheme}/warnings.tpl"}

    <!-- BEGIN: FORUMS_POSTS_NEWPOST -->
    <div class="bg-sky p-3 my-5">
      <h1 class="mb-4">Отправить сообщение</h1>
  		<form action="{FORUMS_POSTS_NEWPOST_SEND}" method="post" name="newpost">
  		  {FORUMS_POSTS_NEWPOST_TEXT}</td>
  			<div class="pt-3 text-right">
  				<button type="submit" class="btn btn-warning">{PHP.L.Reply}</button>
  			</div>
  		</form>
    </div>
    <!-- END: FORUMS_POSTS_NEWPOST -->

{PHP|ckeditor_init()}

<!-- END: MAIN -->