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/cash/depositor/view/view.html.php
<?php
/**
 * The detail view file of depositor module of ZDOO.
 *
 * @copyright   Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPL (http://zpl.pub/page/zplv12.html)
 * @author      Tingting Dai <daitingting@xirangit.com>
 * @package     depositor
 * @version     $Id$
 * @link        http://www.zdoo.com
 */
?>
<?php include $app->getModuleRoot() . 'common/view/header.html.php'; ?>
<div id='mainTitle' class='clearfix'>
  <div class='btn-toolbar pull-left'>
    <?php if(!isonlybody()):?>
    <?php echo html::a("javascript:history.go(-1);", '<i class="icon icon-back icon-sm"></i> ' . $lang->goback, "class='btn btn-back'");?>
    <div class="divider"></div>
    <?php endif;?>
    <div class="page-title">
      <span class="label label-id"><?php echo $depositor->id?></span>
      <span class="text" title='<?php echo $depositor->abbr;?>'><?php echo $depositor->abbr;?></span>
      <span class='label label-info'> <?php echo zget($lang->depositor->publicList, $depositor->public, '');?></span>
    </div>
  </div>
</div>
<div class='main-row'>
  <div class='main-col col-8'>
    <?php echo $this->fetch('action', 'history', "objectType=depositor&objectID={$depositor->id}");?>
    <div class='main-actions'>
      <div class='btn-toolbar'>
      <?php
      echo html::backButton();
      echo "<div class='divider'></div>";
      commonModel::printLink('depositor', 'edit',   "depositorID=$depositor->id", $this->lang->edit,   "class='btn btn-default' data-toggle='modal' data-width='500'");
      commonModel::printLink('depositor', 'check', "depositorID=$depositor->id", $lang->depositor->check, "class='btn btn-default'");
      if($depositor->status == 'normal') commonModel::printLink('depositor', 'forbid', "depositorID=$depositor->id", $lang->depositor->forbid, "class='btn btn-default' data-toggle=modal");
      if($depositor->status == 'disable') commonModel::printLink('depositor', 'activate', "depositorID=$depositor->id", $lang->depositor->activate, "class='btn btn-default' data-toggle=modal");
      commonModel::printLink('balance', 'browse', "depositorID=$depositor->id", $lang->depositor->balance, "class='btn btn-default' data-toggle='modal'");
      echo "<div class='divider'></div>";
      if(empty($depositors[$depositor->id])) commonModel::printLink('depositor', 'delete', "depositorID=$depositor->id", $lang->delete, "class='btn btn-default' class='deleter'");
      ?>
      </div>
    </div>
  </div>
  <div class='side-col col-4'>
    <div class='panel panel-block'>
      <div class='panel-heading'><strong><?php echo $lang->depositor->basicInfo;?></strong></div>
      <div class='panel-body'>
        <table class='table table-data table-basic'>
          <tr>
            <th class='w-80px'><?php echo $lang->depositor->type;?></th>
            <td><?php echo zget($lang->depositor->typeList, $depositor->type);?></td>
          </tr>

          <?php if($depositor->type != 'cash'):?>
          <tr>
            <th class='w-80px'><?php echo $lang->depositor->title;?></th>
            <td>
              <?php echo $depositor->title;?>
            </td>
          </tr>
          <tr>
            <th><?php echo $depositor->type == 'online' ? $lang->depositor->serviceProvider : $lang->depositor->bankProvider;?></th>
            <td><?php echo zget($lang->depositor->providerList, $depositor->provider);?> </td>
          </tr>
          <tr>
            <th><?php echo $lang->depositor->account;?></th>
            <td><?php echo $depositor->account;?></td>
          </tr>
          <?php endif;?>

          <?php if($depositor->type == 'bank'):?>
          <tr>
            <th><?php echo $lang->depositor->bankcode;?></th>
            <td><?php echo $depositor->bankcode;?></td>
          </tr>
          <?php endif;?>

          <tr>
            <th><?php echo $lang->depositor->currency;?></th>
            <td><?php echo zget($this->lang->currencyList, $depositor->currency);?></td>
          </tr>
          <tr>
            <th><?php echo $lang->depositor->status;?></th>
            <td><?php echo zget($lang->depositor->statusList, $depositor->status);?></td>
          </tr>
          <tr>
            <th><?php echo $lang->depositor->tags;?></th>
            <td><?php echo $depositor->tags;?></td>
          </tr>
          <tr>
            <th><?php echo $lang->depositor->createdBy;?></th>
            <td><?php echo zget($users, $depositor->createdBy) . $lang->at . formatTime($depositor->createdDate, DT_DATETIME1);?></td>
          </tr>
          <tr>
            <th><?php echo $lang->depositor->editedBy;?></th>
            <td><?php echo $depositor->editedBy ? zget($users, $depositor->editedBy) . $lang->at . formatTime($depositor->editedDate, DT_DATETIME1) : '';?></td>
          </tr>
        </table>
      </div>
    </div> 
  </div>
</div>
<?php include '../../common/view/footer.html.php';?>