groupbuy_order.html 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <table width="100%" border="0" cellspacing="0" cellpadding="0" class="dsg-buyer">
  2. <thead>
  3. <tr>
  4. <th width="25%">{$Think.lang.text_buyer}</th>
  5. <th width="15%">{$Think.lang.text_buy_count}</th>
  6. <th width="15%">{$Think.lang.text_unit_price}</th>
  7. <th>{$Think.lang.text_buy_time}</th>
  8. </tr>
  9. </thead>
  10. {notempty name="order_goods_list"}
  11. <tbody>
  12. {foreach name="order_goods_list" item="order" }
  13. <tr>
  14. <td>
  15. {if $order.buyer_name}{$order.buyer_name}{else/}{$order_list[$order['order_id']]['buyer_name']}{/if}
  16. </td>
  17. <td>{$order.goods_num}</td>
  18. <td>{$Think.lang.currency}{$order.goods_price}</td>
  19. <td>{php}echo $order['add_time'] ? date('Y-m-d H:i:s', $order['add_time']) : date('Y-m-d H:i:s', $order_list[$order['order_id']]['add_time']);{/php}</td>
  20. </tr>
  21. {/foreach}
  22. </tbody>
  23. <tfoot>
  24. <tr>
  25. <td colspan="10">
  26. <div class="pagination"> {$show_page|raw}</div>
  27. </td>
  28. </tr>
  29. </tfoot>
  30. {else /}
  31. <tbody>
  32. <tr><td colspan="20"><p class="no-buyer">{$Think.lang.no_purchase}</p></td></tr>
  33. </tbody>
  34. {/notempty}
  35. </table>
  36. <script type="text/javascript">
  37. $(document).ready(function(){
  38. $('#groupbuy_order').find('ul.pagination li a').ajaxContent({
  39. event:'click',
  40. loaderType:"img",
  41. loadingMsg:"{$Think.HOME_SITE_ROOT}/images/treetable/transparent.gif",
  42. target:'#groupbuy_order'
  43. });
  44. });
  45. </script>