HEX
Server: nginx/1.22.1
System: Linux VM-16-9-centos 3.10.0-1160.99.1.el7.x86_64 #1 SMP Wed Sep 13 14:19:20 UTC 2023 x86_64
User: www (1001)
PHP: 7.3.31
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/oa.sanjiangapp.com/app/team/thread/view/thread.html.php
<div class='panel thread'>
  <div class='panel-heading'>
    <i class='icon-comment-alt pull-left'></i>
    <div class='panel-actions pull-right'>
      <?php if($thread->readonly) echo "<span class='label'><i class='icon-lock'></i> " . $lang->thread->readonly . "</span> &nbsp;"; ?>
    </div>
    <strong><?php $common->printForum($board, $thread);?></strong>
    <div class='text-muted'><?php echo formatTime($thread->createdDate, DT_DATETIME1);?></div>
  </div>
  <div>
    <table class='table'>
      <tr>
        <td class='speaker'>
         <?php
         if(isset($speakers[$thread->author]))
         {
             $this->thread->printSpeaker($speakers[$thread->author]);
         }
         else
         {
             echo $thread->author;
         }
         ?>
        </td>
        <td id='<?php echo $thread->id;?>' class='thread-wrapper'>
          <div class='thread-content ariticle-content'><?php echo $thread->content;?></div>
          <?php $this->thread->printFiles($thread, $this->thread->canManage($board->id, $thread->author));?>
        </td>
      </tr>
    </table>
  </div>
  <div class='thread-foot'>
    <?php if($thread->editor): ?>
    <small class='text-muted'><?php printf($lang->thread->lblEdited, $thread->editorRealname, formatTime($thread->editedDate, DT_DATETIME1)); ?></small>
    <?php endif; ?>
    <div class='pull-right thread-actions'>
      <?php if($this->app->user->account != 'guest'): ?>
        <?php if($this->thread->canManage($board->id)): ?>
        <span class='dropdown dropup'>
          <a data-toggle='dropdown' href='###'><i class='icon-flag-alt'></i> <?php echo $lang->thread->sticks[$thread->stick]; ?> <span class='caret'></span></a>
          <ul class='dropdown-menu' role='menu' aria-labelledby='dLabel'>
          <?php
          foreach($lang->thread->sticks as $stick => $label)
          {
              if($thread->stick != $stick)
              {
                  commonModel::printLink('thread', 'stick', "thread=$thread->id&stick=$stick", $label, "class='jsoner'", '', '', 'li');
              }
              else
              {
                  echo '<li class="active"><a href="###">' . $label . '</a></li>';
              }
          }
          ?>
          </ul>
        </span>
        <?php
        if($thread->hidden)
        {
            commonModel::printLink('thread', 'switchStatus', "threadID=$thread->id", '<i class="icon-eye-open"></i> ' . $lang->thread->show, "class='switcher'");
        }
        else
        {
            commonModel::printLink('thread', 'switchStatus', "threadID=$thread->id", '<i class="icon-eye-close"></i> ' . $lang->thread->hide, "class='switcher'");
        }
        commonModel::printLink('thread', 'delete', "threadID=$thread->id", '<i class="icon-trash"></i> ' . $lang->delete, "class='deleter'");
        ?>
        <?php endif; ?>
      <?php if($this->thread->canManage($board->id, $thread->author)) commonModel::printLink('thread', 'edit', "threadID=$thread->id", '<i class="icon-pencil"></i> ' . $lang->edit); ?>
      <a href='#reply' class='thread-reply-btn<?php echo ($thread->readonly ? ' disabled' : '');?>'><i class='icon-reply'></i> <?php echo $lang->reply->common; ?></a>
      <?php else: ?>
      <a href="<?php echo $this->createLink('user', 'login', 'referer=' . helper::safe64Encode($this->app->getURI(true))); ?>#reply" class="thread-reply-btn"><i class="icon-reply"></i> <?php echo $lang->reply->common; ?></a>
      <?php endif; ?>
    </div>
  </div>
</div>