sms_buy_history.tpl.php 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. defined('IN_ADMIN') or exit('No permission resources.');
  3. include $this->admin_tpl('header', 'admin');
  4. ?>
  5. <form name="myform" action="?m=admin&c=position&a=listorder" method="post">
  6. <div class="pad_10">
  7. <div class="table-list">
  8. <table width="100%" cellspacing="0">
  9. <thead>
  10. <tr>
  11. <th width="5%" align="left"><?php echo L('productid')?></th>
  12. <th width="15%"><?php echo L('product_name')?></th>
  13. <th width="30%"><?php echo L('product_description')?></th>
  14. <th width="10%"><?php echo L('totalnum')?></th>
  15. <th width="10%"><?php echo L('give_away')?></th>
  16. <th width="10%"><?php echo L('product_price').L('yuan')?></th>
  17. <th width="20%"><?php echo L('recharge_time')?></th>
  18. </tr>
  19. </thead>
  20. <tbody>
  21. <?php
  22. if(is_array($payinfo_arr)) foreach($payinfo_arr as $info){
  23. ?>
  24. <tr>
  25. <td width="5%"><?php echo $info['sms_pid']?></td>
  26. <td width="15%" align="center"><?php if(CHARSET=='gbk') {echo iconv('utf-8','gbk',$info['name']);}else{ echo $info['name'];}?></td>
  27. <td width="10%" align="center"><?php if(CHARSET=='gbk') {echo iconv('utf-8','gbk',$info['description']);}else{ echo $info['description'];}?></td>
  28. <td width="10%" align="center"><?php echo $info['totalnum']?></td>
  29. <td width="15%" align="center"><?php echo $info['give_away']?></td>
  30. <td width="10%" align="center"><?php echo $info['price']?></td>
  31. <td width="20%" align="center"><?php echo format::date($info['recharge_time'],1)?></td>
  32. </tr>
  33. <?php
  34. }
  35. ?>
  36. </tbody>
  37. </table>
  38. <div class="btn"></div> </div>
  39. <div id="pages"> <?php echo $pages?></div>
  40. </div>
  41. </div>
  42. </form>
  43. </body>
  44. <a href="javascript:edit(<?php echo $v['siteid']?>, '<?php echo $v['name']?>')">
  45. </html>