mgdiscount_store.html 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {include file="public/header" /}
  2. <div class="page">
  3. <div class="fixed-bar">
  4. <div class="item-title">
  5. <div class="subject">
  6. <h3>{$Think.lang.ds_promotion_mgdiscount}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <form method="get" name="formSearch" id="formSearch">
  13. <div class="ds-search-form">
  14. <dl>
  15. <dt>{$Think.lang.ds_store_name}</dt>
  16. <dd><input type="text" value="{$Request.param.store_name}" name="store_name" id="store_name" class="txt"></dd>
  17. </dl>
  18. <div class="btn_group">
  19. <input type="submit" class="btn" value="{$Think.lang.ds_search}">
  20. <a href="{:url('Store/store')}" class="btn btn-default" title="{$Think.lang.ds_cancel}">{$Think.lang.ds_cancel}</a>
  21. </div>
  22. </div>
  23. </form>
  24. <table class="ds-default-table">
  25. <thead>
  26. <tr class="thead">
  27. <th class="w200">{$Think.lang.ds_store_name}</th>
  28. <th class="w120">{$Think.lang.store_user_name}</th>
  29. <th class="w120">{$Think.lang.ds_seller_name}</th>
  30. <th class="w120">{$Think.lang.store_mgdiscount_arr}</th>
  31. <th class="align-center w120">{$Think.lang.store_mgdiscount_state}</th>
  32. </tr>
  33. </thead>
  34. <tbody>
  35. {notempty name="store_list"}
  36. {foreach name="store_list" item="v" key="k" }
  37. <tr class="hover edit">
  38. <td>
  39. <a href="{:url('/home/Store/index',['store_id'=>$v.store_id])}" target="_blank">{$v.store_name}</a>
  40. </td>
  41. <td>{$v.member_name}</td>
  42. <td>{$v.seller_name}</td>
  43. <td>
  44. {foreach name="$v.store_mgdiscount_arr" item="store_mgdiscount"}
  45. {$store_mgdiscount.level_name}/{$store_mgdiscount.level_discount}{$Think.lang.level_discount}<br/>
  46. {/foreach}
  47. </td>
  48. <td class="align-center w72"><?php echo $v['store_mgdiscount_state']?lang('ds_open'):lang('ds_close');?></td>
  49. </tr>
  50. {/foreach}
  51. {else /}
  52. <tr class="no_data">
  53. <td colspan="15">{$Think.lang.ds_no_record}</td>
  54. </tr>
  55. {/notempty}
  56. </tbody>
  57. </table>
  58. {$show_page|raw}
  59. </div>