index.html 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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>{$marketmanage_type_list[$marketmanage_type]}</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.marketmanage_name}</dt>
  16. <dd><input type="text" value="{$Request.param.marketmanage_name}" name="marketmanage_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('Marketmanage/index')}" 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>
  27. <th>{$Think.lang.marketmanage_name}</th>
  28. <th>{$Think.lang.marketmanage_jointype}</th>
  29. <th>{$Think.lang.marketmanage_time}</th>
  30. <th>{$Think.lang.marketmanage_totalcount}</th>
  31. <th>{$Think.lang.marketmanage_totalwin}</th>
  32. <th>{$Think.lang.ds_handle}</th>
  33. </tr>
  34. </thead>
  35. <tbody>
  36. {notempty name="marketmanage_list"}
  37. {foreach name="marketmanage_list" item="marketmanage"}
  38. <tr id="ds_row_{$marketmanage.marketmanage_id}">
  39. <td>{$marketmanage.marketmanage_name}</td>
  40. <td>{if $marketmanage.marketmanage_jointype eq '0'}{$Think.lang.ds_total}{$marketmanage.marketmanage_joincount}{$Think.lang.ds_times}{elseif $marketmanage.marketmanage_jointype eq '1' /}{$Think.lang.ds_every_day}{$marketmanage.marketmanage_joincount}{$Think.lang.ds_times}{elseif $marketmanage.marketmanage_jointype eq '2' /}{$Think.lang.unlimited_times}{else/}Error{/if}</td>
  41. <td>{$marketmanage.marketmanage_begintime|date="Y-m-d H:i:s"}-{$marketmanage.marketmanage_endtime|date="Y-m-d H:i:s"}</td>
  42. <td>{$marketmanage.marketmanage_totalcount}</td>
  43. <td>{$marketmanage.marketmanage_totalwin}</td>
  44. <td>
  45. <a href="javascript:dsLayerOpen('{:url('Marketmanage/detail',['marketmanage_id'=>$marketmanage.marketmanage_id,'type'=>$marketmanage.marketmanage_type])}','{$Think.lang.ds_detail}')" class="dsui-btn-view"><i class="iconfont"></i>{$Think.lang.ds_detail}</a>
  46. <a href="javascript:dsLayerOpen('{:url('Marketmanage/edit',['marketmanage_id'=>$marketmanage.marketmanage_id,'type'=>$marketmanage.marketmanage_type])}','{$Think.lang.ds_edit}')" class="dsui-btn-edit"><i class="iconfont"></i>{$Think.lang.ds_edit}</a>
  47. <a href="javascript:dsLayerConfirm('{:url('Marketmanage/del',['marketmanage_id'=>$marketmanage.marketmanage_id,'type'=>$marketmanage.marketmanage_type])}','{$Think.lang.ds_ensure_del}')" class="dsui-btn-del"><i class="iconfont"></i>{$Think.lang.ds_del}</a>
  48. {if $marketmanage.marketmanage_endtime > $Think.TIMESTAMP}
  49. <a href="javascript:dsLayerOpen('{:url('Marketmanage/link',['marketmanage_id'=>$marketmanage.marketmanage_id,'type'=>$marketmanage.marketmanage_type])}','{$Think.lang.ds_link}')" class="dsui-btn-link"><i class="iconfont"></i>{$Think.lang.ds_link}</a>
  50. {/if}
  51. </td>
  52. </tr>
  53. {/foreach}
  54. {else /}
  55. <tr class="no_data">
  56. <td colspan="10">{$Think.lang.ds_no_record}</td>
  57. </tr>
  58. {/notempty}
  59. </tbody>
  60. </table>
  61. {$show_page|raw}
  62. </div>