index.html 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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_storehelp}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <form method="get" action="" name="formSearch" id="formSearch">
  13. <div class="ds-search-form">
  14. <dl>
  15. <dt>{$Think.lang.help_title}</dt>
  16. <dd><input type="text" class="text" name="key" value="{$Request.get.key}" /></dd>
  17. </dl>
  18. <dl>
  19. <dt>{$Think.lang.helptype_id}</dt>
  20. <dd>
  21. <select name="helptype_id" id="helptype_id">
  22. <option value="">{$Think.lang.ds_please_choose}...</option>
  23. {notempty name="helptype_list"}
  24. {foreach name="helptype_list" item="val"}
  25. <option {if $val.helptype_id==$Request.get.helptype_id}selected=selected{/if} value="{$val.helptype_id}">{$val.helptype_name}</option>
  26. {/foreach}
  27. {/notempty}
  28. </select>
  29. </dd>
  30. </dl>
  31. <div class="btn_group">
  32. <a href="javascript:document.formSearch.submit();" class="btn " title="{$Think.lang.ds_query}">{$Think.lang.ds_query}</a>
  33. <a href="{:url('Storehelp/index')}" class="btn btn-default" title="{$Think.lang.ds_cancel}">{$Think.lang.ds_cancel}</a>
  34. </div>
  35. </div>
  36. </form>
  37. <div class="explanation" id="explanation">
  38. <div class="title" id="checkZoom">
  39. <h4 title="{$Think.lang.ds_explanation_tip}">{$Think.lang.ds_explanation}</h4>
  40. <span id="explanationZoom" title="{$Think.lang.ds_explanation_close}" class="arrow"></span>
  41. </div>
  42. <ul>
  43. <li>{$Think.lang.storehelp_index_help1}</li>
  44. </ul>
  45. </div>
  46. <table class="ds-default-table">
  47. <thead>
  48. <tr class="thead">
  49. <th>{$Think.lang.ds_sort}</th>
  50. <th>{$Think.lang.help_title}</th>
  51. <th>{$Think.lang.helptype_id}</th>
  52. <th class="align-center">{$Think.lang.help_updatetime}</th>
  53. <th class="align-center">{$Think.lang.ds_handle}</th>
  54. </tr>
  55. </thead>
  56. <tbody>
  57. {notempty name="help_list"}
  58. {foreach name="help_list" item="val"}
  59. <tr class="hover" id="ds_row_{$val.help_id}">
  60. <td class="w48 sort">{$val.help_sort}</td>
  61. <td>{$val.help_title}</td>
  62. <td>{$val.helptype_name}</td>
  63. <td class="w150 align-center">{$val.help_updatetime|date="Y-m-d H:i:s"}</td>
  64. <td class="w150 align-center">
  65. <a href="{:url('Storehelp/edit_help',['help_id'=>$val.help_id])}" class="dsui-btn-edit"><i class="iconfont"></i>{$Think.lang.ds_edit}</a>
  66. <a href="javascript:dsLayerConfirm('{:url('Storehelp/del_help',['help_id'=>$val.help_id])}','{$Think.lang.ds_ensure_del}',{$val.help_id})" class="dsui-btn-del"><i class="iconfont"></i>{$Think.lang.ds_del}</a>
  67. </td>
  68. </tr>
  69. {/foreach}
  70. {else /}
  71. <tr class="no_data">
  72. <td colspan="15">{$Think.lang.ds_no_record}</td>
  73. </tr>
  74. {/notempty}
  75. </tbody>
  76. </table>
  77. {notempty name="help_list"}
  78. {$show_page|raw}
  79. {/notempty}
  80. </div>