<!DOCTYPE html>
<html>
<head>
  <meta charset="<?php echo $cfg_soft_lang; ?>">
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  <title>安装支付接口</title>
  <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  <link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<style>
  .npvar {
    width: 90%
  }
</style>
<body>
  <center>
    <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
      <tr>
        <td bgcolor="#f8f8f8"><a href="sys_payment.php">支付接口列表</a> &gt; 安装支付接口</td>
      </tr>
      <tr>
        <td>
          <table width="100%" cellspacing="4" cellpadding="4" class="table table-borderless">
            <form action="sys_payment.php" method="post" enctype="multipart/form-data" name="form1">
              <input type="hidden" name="pid" value="<?php echo $row['id']; ?>">
              <input type="hidden" name="pm" value="<?php echo $pm; ?>">
              <input type="hidden" name="dopost" value="config">
              <tr>
                <td width="15%"  align="center">支付名称：</td>
                <td width="85%"><input type="text" name="pay_name" id="pay_name" value="<?php echo $row['name']; ?>" size="30"></td>
              </tr>
              <tr>
                <td align="center">支付描述：</td>
                <td><textarea name="pay_desc" cols="60" id="pay_desc" style="height:100px"><?php echo $row['description']; ?></textarea></td>
              </tr>
              <?php echo $reval ?>
              <tr>
                <td align="center">手续费：</td>
                <td><input type="text" name="pay_fee" id="pay_fee" size="10" value="<?php echo $row['fee']; ?>"> 元</td>
              </tr>
              <tr>
                <td align="center">货到付款：</td>
                <td><?php echo ($row['cod']==0)? '否':'是'; ?></td>
              </tr>
              <tr>
                <td align="center">在线支付：</td>
                <td><?php echo ($row['online']==0)? '否':'是'; ?></td>
              </tr>
              <tr>
                <td colspan="2" align="center" class="py-3"><button type="submit" class="btn btn-success btn-sm">保存</button></td>
              </tr>
            </form>
          </table>
        </td>
      </tr>
    </table>
  </center>
</body>
</html>