index.html 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {include file="public/header" /}
  2. <div class="page">
  3. <div class="fixed-bar">
  4. <div class="item-title">
  5. <div class="subject">
  6. <h3>{$Think.lang.ds_payment}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <table class="ds-default-table">
  13. <thead>
  14. <tr>
  15. <th width="10%">{$Think.lang.payment_index_name}</th>
  16. <th width="10%">{$Think.lang.payment_index_enable}</th>
  17. <th width="10%">{$Think.lang.payment_index_platform}</th>
  18. <th width="20%">{$Think.lang.payment_index_desc}</th>
  19. <th>{$Think.lang.ds_handle}</th>
  20. </tr>
  21. </thead>
  22. <tbody>
  23. {foreach name="payment_list" item="payment"}
  24. <tr>
  25. <td>{$payment.payment_name}</td>
  26. <td>{if $payment.payment_state eq '1'}{$Think.lang.payment_index_enable_ing}{else}{$Think.lang.payment_index_disable_ing}{/if}</td>
  27. <td>{$payment.payment_platform}</td>
  28. <td>{$payment.payment_desc}</td>
  29. <td>
  30. {if $payment.install == '1'}
  31. <a href="javascript:dsLayerOpen('{:url('Payment/edit',['payment_code'=>$payment.payment_code])}','{$Think.lang.ds_configure}-{$payment.payment_name}')" class="dsui-btn-edit"><i class="iconfont"></i>{$Think.lang.ds_configure}</a>
  32. <a href="javascript:dsLayerConfirm('{:url('Payment/del',['payment_code'=>$payment.payment_code])}','{$Think.lang.ds_ensure_del}')" class="dsui-btn-del"><i class="iconfont"></i>{$Think.lang.ds_uninstall}</a>
  33. {else/}
  34. <a href="javascript:dsLayerConfirm('{:url('Payment/install',['payment_code'=>$payment.payment_code])}','{$Think.lang.ds_ensure_install}')" class="dsui-btn-add"><i class="iconfont"></i>{$Think.lang.ds_install}</a>
  35. {/if}
  36. </td>
  37. </tr>
  38. {/foreach}
  39. </tbody>
  40. </table>
  41. </div>