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/crm/contract/view/sendmail.html.php
<?php
/**
 * The send mail view file of contract 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      Gang Liu <liugang@cnezsoft.com>
 * @package     contract
 * @version     $Id$
 * @link        http://www.zdoo.com
 */
?>
<?php $mailLink  = $this->loadModel('common')->getSysURL() . rtrim($config->webRoot, '/') . inlink('confirmTeam', "contractID={$contract->id}");?>
<?php $mailTitle = html::a($mailLink, $lang->contract->common . str_replace('(%)', '', $this->lang->contract->team->contribution) . '#' . $contract->id . ' ' . $this->app->user->realname . ' - ' . $contract->name);?>
<?php include '../../../sys/common/view/mail.header.html.php';?>
<tr>
  <td>
    <table cellpadding='0' cellspacing='0' width='600' style='border: none; border-collapse: collapse;'>
      <tr>
        <td style='padding: 10px; background-color: #F8FAFE; border: none; font-size: 14px; font-weight: 500; border-bottom: 1px solid #e5e5e5;'>
          <?php echo $mailTitle;?>
        </td>
      </tr>
    </table>
  </td>
</tr>
<tr>
  <td style='padding: 10px; border: none;'>
    <table style="font-size: 13px; width: 100%; text-align: center;">
      <thead>
        <tr>
          <th style='width: 80px'><?php echo $lang->contract->team->account;?></th>
          <th style='width: 120px'><?php echo $lang->contract->team->contribution;?></th>
          <th style='width: 120px'><?php echo $lang->contract->team->money;?></th>
          <th style='width: 80px'><?php echo $lang->contract->team->status;?></th>
        </tr>
      </thead>
      <?php foreach($members as $member):?>
      <tr>
        <td><?php echo zget($users, $member->account);?></td>
        <td><?php echo $member->contribution == 0 ? '' : $member->contribution;?></td>
        <td><?php echo round($contract->amount * $member->contribution / 100, 2);?></td>
        <td><?php echo zget($lang->contract->team->statusList, $member->status);?></td>
      </tr>
      <?php endforeach;?>
    </table>
  </td>
</tr>
<?php include '../../../sys/common/view/mail.footer.html.php';?>