<?php
/**
 * The view file of thread module of ZDOO.
 *
 * @copyright   Copyright 2009-2018 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPL (http://zpl.pub/page/zplv12.html)
 * @author      Chunsheng Wang <chunsheng@cnezsoft.com>
 * @package     thread
 * @version     $Id: view.html.php 4029 2016-08-26 06:50:41Z liugang $
 * @link        http://www.zdoo.com
 */
include '../../common/view/header.html.php';
include '../../../sys/common/view/kindeditor.html.php';
js::set('boardID', $board->id);
?>
<div class='main-row'>
  <?php include './side.html.php';?>
  <div class='main-col col-9'>
    <?php
    if($pager->pageID == 1) include './thread.html.php';
    if(!$thread->readonly)  include './reply.html.php';
    else echo "<div class='text-warning'>{$lang->thread->readonlyMessage}</div>";
    ?>
  </div>
</div>
<?php include '../../common/view/footer.html.php';?>
