goods.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. {// 引入标签库 }
  2. <tagLib name="html" />
  3. <include file="Public:header" />
  4. <include file="Public:new" />
  5. <load href='__TMPL__Common/js/jquery.bgiframe.js' />
  6. <load href='__TMPL__Common/js/jquery.weebox.js' />
  7. <load href='__TMPL__Common/js/user.js' />
  8. <load href='__TMPL__Common/style/weebox.css' />
  9. <script type="text/javascript" src="__TMPL__Common/js/calendar/calendar.php?lang=zh-cn" ></script>
  10. <load href='__TMPL__Common/js/calendar/calendar.css' />
  11. <load href='__TMPL__Common/js/calendar/calendar.js' />
  12. <div class="main">
  13. <div class="main_title_list"><div class="list-line-ico"></div>虚拟商品订单列表</div>
  14. <php>
  15. function get_weibo_type($type){
  16. switch($type){
  17. case 'imagetext':
  18. return '图文动态';
  19. case 'video':
  20. return '视频动态';
  21. case 'weixin':
  22. return '微信账号';
  23. case 'goods':
  24. return '虚拟商品动态';
  25. case 'red_photo':
  26. return '红包图片动态';
  27. case 'photo':
  28. return '写真动态';
  29. case 'reward':
  30. return '打赏';
  31. case 'chat':
  32. return '聊天';
  33. }
  34. }
  35. function get_nickname($id){
  36. $get_nickname=$GLOBALS['db']->getOne("select nick_name from ".DB_PREFIX."user where id=".$id);
  37. return emoji_decode($get_nickname);
  38. }
  39. function screenshot($screenshot){
  40. return "<img src='".$screenshot."' style='height:35px;width:35px;'/>";
  41. }
  42. function get_order_status($status){
  43. switch($status){
  44. case 0:
  45. return '支付中';
  46. case 1:
  47. return '支付成功';
  48. case 2:
  49. return '申述中';
  50. case 3:
  51. return '退款成功';
  52. }
  53. }
  54. </php>
  55. <div class="button_row">
  56. <!--<input type="button" class="button" value="{%ADD}" onclick="add();" />-->
  57. </div>
  58. <div class="search_row">
  59. <form name="search" action="__APP__" method="get" class="clearfix">
  60. <div>动态ID:<input type="text" class="textbox" name="weibo_id" value="{:trim($_REQUEST['weibo_id'])}" style="width:100px;" /></div>
  61. <div>支付人ID:<input type="text" class="textbox" name="user_id" value="{:trim($_REQUEST['user_id'])}" style="width:100px;" /></div>
  62. <div>支付状态:<select name="sattus" style="width:100px;">
  63. <option value="">全部</option>
  64. <option value="0" <if condition="$_REQUEST['sattus'] eq '0'">selected="selected"</if>>支付中</option>
  65. <option value="1" <if condition="$_REQUEST['sattus'] eq '1'">selected="selected"</if>>支付成功</option>
  66. <option value="2" <if condition="$_REQUEST['sattus'] eq '2'">selected="selected"</if>>申述中</option>
  67. <option value="3" <if condition="$_REQUEST['sattus'] eq '3'">selected="selected"</if>>退款成功</option>
  68. </select>
  69. </div>
  70. <div>订单时间:<span><input type="text" class="textbox" name="create_time_1" id="create_time_1" value="{$_REQUEST['create_time_1']}" onfocus="this.blur(); return showCalendar('create_time_1', '%Y-%m-%d', false, false, 'btn_create_time_1');" /><input type="button" class="button" id="btn_create_time_1" value="{%SELECT_TIME}" onclick="return showCalendar('create_time_1', '%Y-%m-%d', false, false, 'btn_create_time_1');" /></span> - <span><input type="text" class="textbox" name="create_time_2" id="create_time_2" value="{$_REQUEST['create_time_2']}" onfocus="this.blur(); return showCalendar('create_time_2', '%Y-%m-%d', false, false, 'btn_create_time_2');" /><input type="button" class="button" id="btn_create_time_2" value="{%SELECT_TIME}" onclick="return showCalendar('create_time_2', '%Y-%m-%d', false, false, 'btn_create_time_2');" /></span>
  71. <input type="hidden" value="WeiboOrder" name="m" />
  72. <input type="hidden" value="goods" name="a" />
  73. <input type="submit" class="button" value="{%SEARCH}" />
  74. </div>
  75. </form>
  76. </div>
  77. <html:list
  78. id="dataTable"
  79. style="dataTable"
  80. name="tipoff"
  81. checkbox="true"
  82. action="true"
  83. datasource="list"
  84. show="id:{%ID}|90px
  85. ,order_id:动态ID
  86. ,user_id|get_nickname=$list['user_id']:支付人
  87. ,recharge_name:订单类型
  88. ,money:订单价格
  89. ,is_paid|get_order_status=$list['is_paid']:动态状态
  90. ,create_time|to_date:订单生成时间
  91. "
  92. actionlist="tips:无" />
  93. <table class="dataTable">
  94. <tbody>
  95. <td colspan="8">
  96. <input type="button" class="button button-del" value="{%DEL}" onclick="foreverdel();" />
  97. </td>
  98. </tbody>
  99. </table>
  100. <div class="page">{$page}</div>
  101. </div>
  102. <include file="Public:footer" />