pay_stat.tpl.php 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?php
  2. defined('IN_ADMIN') or exit('No permission resources.');
  3. include $this->admin_tpl('header','admin');
  4. ?>
  5. <div class="pad_10">
  6. <div class="table-list">
  7. <form name="searchform" action="" method="get" >
  8. <input type="hidden" value="pay" name="m">
  9. <input type="hidden" value="payment" name="c">
  10. <input type="hidden" value="pay_stat" name="a">
  11. <input type="hidden" value="<?php echo $_GET['menuid']?>" name="menuid">
  12. <div class="explain-col search-form">
  13. <?php echo L('username')?> <input type="text" value="<?php echo $username?>" class="input-text" name="info[username]">
  14. <?php echo L('addtime')?> <?php echo form::date('info[start_addtime]',$start_addtime)?><?php echo L('to')?> <?php echo form::date('info[end_addtime]',$end_addtime)?>
  15. <?php echo form::select($trade_status,$status,'name="info[status]"', L('all_status'))?>
  16. <input type="submit" value="<?php echo L('search')?>" class="button" name="dosubmit">
  17. </div>
  18. </form>
  19. <fieldset>
  20. <legend><?php echo L('finance').L('totalize')?></legend>
  21. <table width="100%" class="table_form">
  22. <tbody>
  23. <tr>
  24. <th width="80"><?php echo L('total').L('transactions')?></th>
  25. <td class="y-bg"><?php echo L('money')?>&nbsp;&nbsp;<span class="font-fixh green"><?php echo $total_amount_num?></span> <?php echo L('bi')?>(<?php echo L('trade_succ').L('trade')?>&nbsp;&nbsp;<span class="font-fixh"><?php echo $total_amount_num_succ?></span> <?php echo L('bi')?>)<br/><?php echo L('point')?>&nbsp;&nbsp;<span class="font-fixh green"><?php echo $total_point_num?></span> <?php echo L('bi')?>(<?php echo L('trade_succ').L('trade')?>&nbsp;&nbsp;<span class="font-fixh"><?php echo $total_point_num_succ?></span> <?php echo L('bi')?>)</td>
  26. </tr>
  27. <tr>
  28. <th width="80"><?php echo L('total').L('amount')?></th>
  29. <td class="y-bg"><span class="font-fixh green"><?php echo $total_amount?></span> <?php echo L('yuan')?>(<?php echo L('trade_succ').L('trade')?>&nbsp;&nbsp;<span class="font-fixh"><?php echo $total_amount_succ?></span><?php echo L('yuan')?>)<br/><span class="font-fixh green"><?php echo $total_point?></span><?php echo L('dian')?>(<?php echo L('trade_succ').L('trade')?>&nbsp;&nbsp;<span class="font-fixh"><?php echo $total_point_succ?></span><?php echo L('dian')?>)</td>
  30. </tr>
  31. </table>
  32. </fieldset>
  33. <div class="bk10"></div>
  34. <fieldset>
  35. <legend><?php echo L('query_stat')?></legend>
  36. <table width="100%" class="table_form">
  37. <tbody>
  38. <?php if($num) {?>
  39. <tr>
  40. <th width="80"><?php echo L('total_transactions')?>:</th>
  41. <td class="y-bg"><?php echo L('money')?>:<span class="font-fixh green"><?php echo $amount_num?></span> <?php echo L('bi')?>(<?php echo L('transactions_success')?>:<span class="font-fixh"><?php echo $amount_num_succ?></span> <?php echo L('bi')?>)<br/><?php echo L('point')?>:<span class="font-fixh green"><?php echo $point_num?></span> <?php echo L('bi')?>(<?php echo L('transactions_success')?>:<span class="font-fixh"><?php echo $point_num_succ?></span> <?php echo L('bi')?>)</td>
  42. </tr>
  43. <tr>
  44. <th width="80"><?php echo L('total').L('amount')?>:</th>
  45. <td class="y-bg"><span class="font-fixh green"><?php echo $amount?></span><?php echo L('yuan')?>(<?php echo L('transactions_success')?>:<span class="font-fixh"><?php echo $amount_succ?></span><?php echo L('yuan')?>)<br/><span class="font-fixh green"><?php echo $point?></span><?php echo L('dian')?>(<?php echo L('transactions_success')?>:<span class="font-fixh"><?php echo $point_succ?></span><?php echo L('dian')?>)</td>
  46. </tr>
  47. <?php }?>
  48. </table>
  49. </fieldset>
  50. </div>
  51. </div>
  52. </form>
  53. </body>
  54. </html>
  55. <script type="text/javascript">
  56. <!--
  57. function discount(id, name) {
  58. window.top.art.dialog({title:'<?php echo L('discount')?>--'+name, id:'discount', iframe:'?m=pay&c=payment&a=public_discount&id='+id ,width:'500px',height:'200px'}, function(){var d = window.top.art.dialog({id:'discount'}).data.iframe;
  59. var form = d.document.getElementById('dosubmit');form.click();return false;}, function(){window.top.art.dialog({id:'discount'}).close()});
  60. }
  61. function detail(id, name) {
  62. window.top.art.dialog({title:'<?php echo L('discount')?>--'+name, id:'discount', iframe:'?m=pay&c=payment&a=public_pay_detail&id='+id ,width:'500px',height:'550px'});
  63. }
  64. //-->
  65. </script>