<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  <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 background='../static/web/img/allbg.gif' leftmargin='8' topmargin='8'>
  <center>
    <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable table-bordered mt-3">
      <tr>
        <td height="26" background="../static/web/img/tbg.gif" colspan="5" class="table table-borderless">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td style="padding-left:10px">支付接口列表</td>
              <td align="right">&nbsp;<span><a href="https://www.dedebiz.com/help" target="_blank">[查看更多接口]</a></span>
              </td>
            </tr>
          </table>
        </td>
      </tr>
      <tr align="center" bgcolor="#FBFCE2" height="26">
        <td width="20%">支付方式</td>
        <td width="40%">描述</td>
        <td width="10%">排序</td>
        <td width="20%">管理</td>
      </tr>
      {dede:datalist empty='<tr><td colspan="4"><center>暂无内容</center></td></tr>'}
      <tr align="center" bgcolor="#FFFFFF" height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';">
        <td>{dede:field.name /}</td>
        <td align="left">{dede:field.description /}</td>
        <td>{dede:field.rank /}</td>
        <td>
          <?php
        if($fields['enabled'] == 0) {
        ?>
          <a href='sys_payment.php?dopost=install&pid={dede:field.id /}'>[安装]</a>
          <?php
        }
        if($fields['enabled'] == 1) {
        ?>
          <a href='sys_payment.php?dopost=install&pid={dede:field.id /}&pm=edit'>[修改]</a>
          <a href='sys_payment.php?dopost=uninstall&pid={dede:field.id /}'>[删除]</a>
          <?php
        }
        ?>
        </td>
      </tr>
      {/dede:datalist}
      <tr align="center" bgcolor="#f8f8f8" height="26">
        <td colspan="4"> {dede:pagelist listsize=5/} </td>
      </tr>
    </table>
    </td>
    </tr>
    </table>
  </center>
</body>
</html>