国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

117 line
4.9KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="<?php echo $cfg_soft_lang; ?>">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6. <script src="<?php echo $cfg_cmsurl; ?>/static/web/js/jquery.min.js"></script>
  7. <link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/bootstrap.min.css">
  8. <link href="<?php echo $cfg_cmsurl; ?>/static/web/font/css/font-awesome.min.css" rel="stylesheet">
  9. <link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/style.css">
  10. <link rel="stylesheet" href="<?php echo $cfg_cmsurl; ?>/static/web/css/member.css">
  11. <title>商城订单 - 会员中心 - <?php echo $cfg_webname; ?></title>
  12. </head>
  13. <body>
  14. <?php include(DEDEMEMBER."/templets/top_login.htm"); ?>
  15. <main class="member">
  16. <div class="container-fluid pannel">
  17. <div class="container">
  18. <div class="row">
  19. <?php
  20. $_menu_order = true; //展开编辑信息
  21. $_menu_orderstate = 1;
  22. ?>
  23. <?php include(DEDEMEMBER."/templets/menu.htm"); ?>
  24. <div class="pannel-main col-md-9 mt-3 mb-3">
  25. <div class="pannel-main-container">
  26. <div id="mainCp">
  27. <!--内容消息提示 -->
  28. <ul class="nav nav-tabs">
  29. <li class="nav-item">
  30. <a class="nav-link active" href="shops_orders.php">商品订单</a>
  31. </li>
  32. <li class="nav-item">
  33. <a class="nav-link" href="shops_products.php">已购商品</a>
  34. </li>
  35. </ul>
  36. <div class="postForm mt-3" style="padding-bottom: 0px;">
  37. <form name="form3" action="shops_products.php" method="get">
  38. <div class="input-group" style="margin-top:3px; padding-left: 130px;"> 订单号:
  39. <input class="form-control" type='text' name='oid' size="40" value='' />
  40. <div class="input-group-append">
  41. <button class="btn btn-success btn-sm" type="submit">搜索</button>
  42. </div>
  43. </div>
  44. </form>
  45. </div>
  46. <table width="100%" border="0" cellpadding="0" cellspacing="0" class="table mt-3">
  47. <thead>
  48. <tr>
  49. <th colspan="2" width="25%">订单号</th>
  50. <th>状态</th>
  51. <th width="10%">数量</th>
  52. <th width="10%">总计(元)</th>
  53. <th width="20%">时间</th>
  54. </tr>
  55. </thead>
  56. <form name='form1' action="shops_orders.php" method="post">
  57. <input type='hidden' name='dopost' value='del' />
  58. <tbody>
  59. {dede:datalist}
  60. <tr>
  61. <td align="center"><input type="checkbox" name="deleteid" value="{dede:field.oid/}"/></td>
  62. <td align="center"><a href="shops_products.php?do=show&oid={dede:field.oid/}">{dede:field.oid/}</a></td>
  63. <td align="center"><?php echo GetSta($fields["state"],$fields["oid"])?></td>
  64. <td align="center">{dede:field.cartcount/}</td>
  65. <td align="center">{dede:field.priceCount/}</td>
  66. <td align="center">{dede:field.stime function="Mydate('Y-m-d h:i:s',@me)"/}</td>
  67. </tr>
  68. {/dede:datalist}
  69. <tr>
  70. <td colspan="6"><button id="checkedClick" type="button" class="btn btn-success btn-sm">全选</button>
  71. <button type="button" onclick="DoSubmit()" class="btn btn-success btn-sm">删除选中</button></td></tr></tbody>
  72. </form>
  73. </table>
  74. <nav>{dede:pagelist listsize='6'/}</nav>
  75. </div>
  76. <!--主操作区域 -->
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. </div>
  82. </main>
  83. <?php include(DEDEMEMBER."/templets/footer.htm"); ?>
  84. <script type="text/javascript">
  85. //获得选中文件的文件名
  86. function GetCheckfolderItem()
  87. {
  88. var allSel='';
  89. if(document.form1.deleteid.value) return document.form1.deleteid.value;
  90. for(i=0;i<document.form1.deleteid.length;i++)
  91. {
  92. if(document.form1.deleteid[i].checked)
  93. {
  94. if(allSel=='')
  95. allSel=document.form1.deleteid[i].value;
  96. else
  97. allSel=allSel+","+document.form1.deleteid[i].value;
  98. }
  99. }
  100. return allSel;
  101. }
  102. function DoSubmit()
  103. {
  104. var selid = GetCheckfolderItem();
  105. if(selid=='') {
  106. alert("您没选中任何信息");
  107. return false;
  108. }
  109. if(window.confirm("您确定要删除这些消息吗"))
  110. {
  111. location = "shops_orders.php?dopost=del&ids="+selid;
  112. }
  113. }
  114. </script>
  115. </body>
  116. </html>