/xianpipa/Application/Runtime/Cache/Admin/9a788b30def8780f352c8aa698121948.php

https://gitlab.com/fangfangchen/xianpipa · PHP · 246 lines · 245 code · 0 blank · 1 comment · 10 complexity · 07dccab65103a593f972adf457625d62 MD5 · raw file

  1. <?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
  2. <html>
  3. <body>
  4. <p class="crumbs">交易管理&gt;&gt;已卖出的宝贝&gt;&gt;<span id="newlocation">最近订单</span></p>
  5. <ul class="b-menulists">
  6. <li class="btitle menu-current" data-id="lastthree">最近订单</li>
  7. <li class="btitle" data-id="waitpay">等待买家付款</li>
  8. <li class="btitle" data-id="waitsend">等待发货</li>
  9. <li class="btitle" data-id="sended">已发货</li>
  10. <li class="btitle" data-id="refund">退款中</li>
  11. <li class="btitle" data-id="success">成功的订单</li>
  12. <li class="btitle" data-id="close">关闭的订单</li>
  13. </ul>
  14. <!-- 最近订单 -->
  15. <div class="block bcurrent" id="lastthree">
  16. <table class="table">
  17. <thead>
  18. <th class="width5"></th>
  19. <th class="width28">宝贝</th>
  20. <th class="width12">单价()</th>
  21. <th class="width12">数量</th>
  22. <th class="width12">买家</th>
  23. <th class="width12">交易状态</th>
  24. <th class="width12">实收款</th>
  25. </thead>
  26. <tbody>
  27. <?php if(is_array($orderlists)): $i = 0; $__LIST__ = $orderlists;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$all): $mod = ($i % 2 );++$i;?><tr>
  28. <td class="width5"><input type="checkbox" name="lastthree"></td>
  29. <td class="width28"><img src="/xianpipa/Public/images/<?php echo explode(',', $all['pro_img'])[1];?>" alt="枇杷" style="width:80px;height:70px;" /><?php echo ($all["pro_name"]); ?></td>
  30. <td class="width12"><?php echo ($all["pro_disprice"]); ?></td>
  31. <td class="width12"><?php echo ($all["pro_count"]); ?></td>
  32. <td class="width12"><?php echo ($all["user_name"]); ?></td>
  33. <td class="width12"><?php echo ($all["status"]); ?></td>
  34. <td class="width12"><?php echo ($all["total"]); ?></td>
  35. </tr><?php endforeach; endif; else: echo "" ;endif; ?>
  36. </tbody>
  37. </table>
  38. <div class="operate">
  39. <input class="selectall" type="checkbox" name="selectall" onclick="selectall(this.checked,'lastthree');">全选
  40. <!-- <a href="#">批量发货</a>
  41. <a href="#">批量免运费</a> -->
  42. </div>
  43. </div>
  44. <!-- 等待买家付款 -->
  45. <div class="block" id="waitpay">
  46. <table class="table">
  47. <table class="table">
  48. <thead>
  49. <th class="width5"></th>
  50. <th class="width28">宝贝</th>
  51. <th class="width12">单价()</th>
  52. <th class="width12">数量</th>
  53. <th class="width12">买家</th>
  54. <th class="width12">交易状态</th>
  55. <th class="width12">实收款</th>
  56. </thead>
  57. <tbody>
  58. <?php if(is_array($waitpaylists)): $i = 0; $__LIST__ = $waitpaylists;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$all): $mod = ($i % 2 );++$i;?><tr>
  59. <td class="width5"><input type="checkbox" name="lastthree"></td>
  60. <td class="width28"><img src="/xianpipa/Public/images/<?php echo explode(',', $all['pro_img'])[1];?>" alt="枇杷" style="width:80px;height:70px;" /><?php echo ($all["pro_name"]); ?></td>
  61. <td class="width12"><?php echo ($all["pro_disprice"]); ?></td>
  62. <td class="width12"><?php echo ($all["pro_count"]); ?></td>
  63. <td class="width12"><?php echo ($all["user_name"]); ?></td>
  64. <td class="width12"><?php echo ($all["status"]); ?></td>
  65. <td class="width12"><?php echo ($all["total"]); ?></td>
  66. </tr><?php endforeach; endif; else: echo "" ;endif; ?>
  67. </tbody>
  68. </table>
  69. <div class="operate">
  70. <input class="selectall" type="checkbox" name="selectall" onclick="selectall(this.checked,'waitpay');">全选
  71. <!-- <a href="#">批量发货</a>
  72. <a href="#">批量免运费</a> -->
  73. </div>
  74. </div>
  75. <!-- 等待发货 -->
  76. <div class="block" id="waitsend">
  77. <table class="table">
  78. <thead>
  79. <th class="width5"></th>
  80. <th class="width28">宝贝</th>
  81. <th class="width12">单价()</th>
  82. <th class="width12">数量</th>
  83. <th class="width12">买家</th>
  84. <th class="width12">交易状态</th>
  85. <th class="width12">实收款</th>
  86. </thead>
  87. <tbody>
  88. <?php if(is_array($waitsendlists)): $i = 0; $__LIST__ = $waitsendlists;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$all): $mod = ($i % 2 );++$i;?><tr>
  89. <td class="width5"><input type="checkbox" name="lastthree"></td>
  90. <td class="width28"><img src="/xianpipa/Public/images/<?php echo explode(',', $all['pro_img'])[1];?>" alt="枇杷" style="width:80px;height:70px;" /><?php echo ($all["pro_name"]); ?></td>
  91. <td class="width12"><?php echo ($all["pro_disprice"]); ?></td>
  92. <td class="width12"><?php echo ($all["pro_count"]); ?></td>
  93. <td class="width12"><?php echo ($all["user_name"]); ?></td>
  94. <td class="width12"><?php echo ($all["status"]); ?></td>
  95. <td class="width12"><?php echo ($all["total"]); ?></td>
  96. </tr><?php endforeach; endif; else: echo "" ;endif; ?>
  97. </tbody>
  98. </table>
  99. <div class="operate">
  100. <input class="selectall" type="checkbox" name="selectall" onclick="selectall(this.checked,'waitsend');">全选
  101. <a href="#">批量发货</a>
  102. <a href="#">批量免运费</a>
  103. </div>
  104. </div>
  105. <!-- 已发货 -->
  106. <div class="block" id="sended">
  107. <table class="table">
  108. <table class="table">
  109. <thead>
  110. <th class="width5"></th>
  111. <th class="width28">宝贝</th>
  112. <th class="width12">单价()</th>
  113. <th class="width12">数量</th>
  114. <th class="width12">买家</th>
  115. <th class="width12">交易状态</th>
  116. <th class="width12">实收款</th>
  117. </thead>
  118. <tbody>
  119. <?php if(is_array($sendlists)): $i = 0; $__LIST__ = $sendlists;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$all): $mod = ($i % 2 );++$i;?><tr>
  120. <td class="width5"><input type="checkbox" name="lastthree"></td>
  121. <td class="width28"><img src="/xianpipa/Public/images/<?php echo explode(',', $all['pro_img'])[1];?>" alt="枇杷" style="width:80px;height:70px;" /><?php echo ($all["pro_name"]); ?></td>
  122. <td class="width12"><?php echo ($all["pro_disprice"]); ?></td>
  123. <td class="width12"><?php echo ($all["pro_count"]); ?></td>
  124. <td class="width12"><?php echo ($all["user_name"]); ?></td>
  125. <td class="width12"><?php echo ($all["status"]); ?></td>
  126. <td class="width12"><?php echo ($all["total"]); ?></td>
  127. </tr><?php endforeach; endif; else: echo "" ;endif; ?>
  128. </tbody>
  129. </table>
  130. <div class="operate">
  131. <input class="selectall" type="checkbox" name="selectall" onclick="selectall(this.checked,'sended');">全选
  132. <!-- <a href="#">批量发货</a>
  133. <a href="#">批量免运费</a> -->
  134. </div>
  135. </div>
  136. <!-- 退款中 -->
  137. <div class="block" id="refund">
  138. <table class="table">
  139. <thead>
  140. <th class="width5"></th>
  141. <th class="width28">宝贝</th>
  142. <th class="width12">单价()</th>
  143. <th class="width12">数量</th>
  144. <th class="width12">买家</th>
  145. <th class="width12">交易状态</th>
  146. <th class="width12">实收款</th>
  147. </thead>
  148. <tbody>
  149. <?php if(is_array($refoundlists)): $i = 0; $__LIST__ = $refoundlists;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$all): $mod = ($i % 2 );++$i;?><tr>
  150. <td class="width5"><input type="checkbox" name="lastthree"></td>
  151. <td class="width28"><img src="/xianpipa/Public/images/<?php echo explode(',', $all['pro_img'])[1];?>" alt="枇杷" style="width:80px;height:70px;" /><?php echo ($all["pro_name"]); ?></td>
  152. <td class="width12"><?php echo ($all["pro_disprice"]); ?></td>
  153. <td class="width12"><?php echo ($all["pro_count"]); ?></td>
  154. <td class="width12"><?php echo ($all["user_name"]); ?></td>
  155. <td class="width12"><?php echo ($all["status"]); ?></td>
  156. <td class="width12"><?php echo ($all["total"]); ?></td>
  157. </tr><?php endforeach; endif; else: echo "" ;endif; ?>
  158. </tbody>
  159. </table>
  160. <div class="operate">
  161. <input class="selectall" type="checkbox" name="selectall" onclick="selectall(this.checked,'refund');">全选
  162. <!-- <a href="#">批量发货</a>
  163. <a href="#">批量免运费</a> -->
  164. </div>
  165. </div>
  166. <!-- 成功的订单 -->
  167. <div class="block" id="success">
  168. <table class="table">
  169. <thead>
  170. <th class="width5"></th>
  171. <th class="width28">宝贝</th>
  172. <th class="width12">单价()</th>
  173. <th class="width12">数量</th>
  174. <th class="width12">买家</th>
  175. <th class="width12">交易状态</th>
  176. <th class="width12">实收款</th>
  177. </thead>
  178. <tbody>
  179. <?php if(is_array($sucesslists)): $i = 0; $__LIST__ = $sucesslists;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$all): $mod = ($i % 2 );++$i;?><tr>
  180. <td class="width5"><input type="checkbox" name="lastthree"></td>
  181. <td class="width28"><img src="/xianpipa/Public/images/<?php echo explode(',', $all['pro_img'])[1];?>" alt="枇杷" style="width:80px;height:70px;" /><?php echo ($all["pro_name"]); ?></td>
  182. <td class="width12"><?php echo ($all["pro_disprice"]); ?></td>
  183. <td class="width12"><?php echo ($all["pro_count"]); ?></td>
  184. <td class="width12"><?php echo ($all["user_name"]); ?></td>
  185. <td class="width12"><?php echo ($all["status"]); ?></td>
  186. <td class="width12"><?php echo ($all["total"]); ?></td>
  187. </tr><?php endforeach; endif; else: echo "" ;endif; ?>
  188. </tbody>
  189. </table>
  190. <div class="operate">
  191. <input class="selectall" type="checkbox" name="selectall" onclick="selectall(this.checked,'success');">全选
  192. <!-- <a href="#">批量发货</a>
  193. <a href="#">批量免运费</a> -->
  194. </div>
  195. </div>
  196. <!-- 关闭的订单 -->
  197. <div class="block" id="close">
  198. <table class="table">
  199. <thead>
  200. <th class="width5"></th>
  201. <th class="width28">宝贝</th>
  202. <th class="width12">单价()</th>
  203. <th class="width12">数量</th>
  204. <th class="width12">买家</th>
  205. <th class="width12">交易状态</th>
  206. <th class="width12">实收款</th>
  207. </thead>
  208. <tbody>
  209. <?php if(is_array($cancellists)): $i = 0; $__LIST__ = $cancellists;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$all): $mod = ($i % 2 );++$i;?><tr>
  210. <td class="width5"><input type="checkbox" name="lastthree"></td>
  211. <td class="width28"><img src="/xianpipa/Public/images/<?php echo explode(',', $all['pro_img'])[1];?>" alt="枇杷" style="width:80px;height:70px;" /><?php echo ($all["pro_name"]); ?></td>
  212. <td class="width12"><?php echo ($all["pro_disprice"]); ?></td>
  213. <td class="width12"><?php echo ($all["pro_count"]); ?></td>
  214. <td class="width12"><?php echo ($all["user_name"]); ?></td>
  215. <td class="width12"><?php echo ($all["status"]); ?></td>
  216. <td class="width12"><?php echo ($all["total"]); ?></td>
  217. </tr><?php endforeach; endif; else: echo "" ;endif; ?>
  218. </tbody>
  219. </table>
  220. <div class="operate">
  221. <input class="selectall" type="checkbox" name="selectall" onclick="selectall(this.checked,'close');">全选
  222. <!-- <a href="#">批量发货</a>
  223. <a href="#">批量免运费</a> -->
  224. </div>
  225. </div>
  226. <script type="text/javascript">
  227. $(".btitle").click(function(){
  228. var idIndex = $(this).attr("data-id");
  229. $('.btitle').removeClass('menu-current');
  230. $(this).addClass('menu-current');
  231. $("#newlocation").html($(this).text());
  232. $('.block').removeClass('bcurrent');
  233. $('#' + idIndex).addClass("bcurrent");
  234. });
  235. /*全选操作*/
  236. function selectall(checked,name){
  237. var qx = document.getElementsByName(name);
  238. for(var i = 0; i < qx.length; i++){
  239. if(qx[i].type = "checkbox"){
  240. qx[i].checked = checked;
  241. }
  242. }
  243. }
  244. </script>
  245. </body>
  246. </html>