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/sys/schema/view/edit.html.php
<?php 
/**
 * The edit view file of schema 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      Yidong Wang <yidong@cnezsoft.com>
 * @package     schema 
 * @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="text" title='<?php echo $schema->name;?>'><?php echo $lang->schema->edit . $schema->name;?></span>
    </div>
  </div>
</div>
<div class='panel'>
  <div class='panel-body'>
    <form method='post' id='ajaxForm'>
      <table class='table table-form w-p40'>
        <tr>
          <th class='w-100px'><?php echo $lang->schema->name;?></th>
          <td><?php echo html::input('name', $schema->name, "class='form-control'");?></td>
        </tr>
        <tr>
          <th><?php echo $lang->trade->otherDepositor;?></th>
          <td><?php echo html::input('otherDepositor', $schema->otherDepositor, "class='form-control' placeholder='{$lang->schema->placeholder->common}'");?></td>
        </tr>
        <tr>
          <th><?php echo $lang->trade->category;?></th>
          <td><?php echo html::input('category', $schema->category, "class='form-control' placeholder='{$lang->schema->placeholder->common}'");?></td>
        </tr>
        <tr>
          <th><?php echo $lang->trade->dept;?></th>
          <td><?php echo html::input('dept', $schema->dept, "class='form-control' placeholder='{$lang->schema->placeholder->common}'");?></td>
        </tr>
        <tr>
          <th><?php echo $lang->trade->trader;?></th>
          <td><?php  echo html::input('trader', $schema->trader, "class='form-control' placeholder='{$lang->schema->placeholder->common}'");?></td>
        </tr>
        <?php
        $diffCol = strpos($schema->money, ',') !== false ? true : false;
        $in = $out = '';
        if($diffCol)
        {
            list($in, $out) = explode(',', $schema->money);
            $schema->money = '';
        }
        ?>
        <tr>
          <th><?php echo $lang->trade->money;?></th>
          <td>
            <div class='input-group'>
              <?php echo html::input('money', $schema->money, "class='form-control' placeholder='{$lang->schema->placeholder->common}'");?>
              <div class='input-group-addon'><?php echo html::checkbox('diffCol', array(1 => $lang->schema->diffCol), $diffCol ? 1 : '')?></div>
            </div>
          </td>
        </tr>
        <tr class='out'>
          <th><?php echo $lang->trade->typeList['out'];?></th>
          <td>
            <div class='required required-wrapper'></div>
            <?php echo html::input('out', $out, "class='form-control' placeholder='{$lang->schema->placeholder->out}'");?>
          </td>
        </tr>
        <tr class='in'>
          <th><?php echo $lang->trade->typeList['in'];?></th>
          <td>
            <div class='required required-wrapper'></div>
            <?php echo html::input('in', $in, "class='form-control' placeholder='{$lang->schema->placeholder->in}'");?>
          </td>
        </tr>
        <tr>
          <th><?php echo $lang->trade->type;?></th>
          <td><?php echo html::input('type', $schema->type, "class='form-control' placeholder='{$lang->schema->placeholder->type}'");?></td>
        </tr>
        <tr>
          <th><?php echo $lang->trade->date;?></th>
          <td><?php echo html::input('date', $schema->date, "class='form-control' placeholder='{$lang->schema->placeholder->date}'");?></td>
        </tr>
        <tr>
          <th><?php echo $lang->trade->product;?></th>
          <td><?php echo html::input('product', $schema->product, "class='form-control' placeholder='{$lang->schema->placeholder->product}'");?></td>
        </tr>
        <tr>
          <th><?php echo $lang->trade->handlers;?></th>
          <td><?php echo html::input('handlers', $schema->handlers, "class='form-control' placeholder='{$lang->schema->placeholder->handlers}'");?></td>
        </tr>
        <tr>
          <th><?php echo $lang->trade->desc;?></th>
          <td><?php echo html::input('desc', $schema->desc, "class='form-control' placeholder='{$lang->schema->placeholder->desc}'");?></td>
        </tr>
        <tr>
          <th><?php echo $lang->trade->fee;?></th>
          <td>
            <div class='input-group'>
              <?php echo html::input('fee', $schema->fee, "class='form-control' placeholder='{$lang->schema->placeholder->common}'");?>
              <div class='input-group-addon'><?php echo html::checkbox('feeRow', array(1 => $lang->schema->feeRow), $schema->fee ? '' : 1)?></div>
            </div>
          </td>
        </tr>
        <tr>
          <th></th>
          <td><div class='alert alert-warning'><?php echo $lang->trade->transferTip;?></div></td>
        </tr>
        <tr>
          <th></th>
          <td class='form-actions'><?php echo html::submitButton();?></td>
        </tr>
      </table>
    </form>
  </div>
</div>
<?php include '../../common/view/footer.html.php';?>