index.html 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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_snsmalbum}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <form method="get" name="formSearch">
  13. <div class="ds-search-form">
  14. <dl>
  15. <dt>{$Think.lang.snsalbum_class_name}</dt>
  16. <dd><input type="text" value="{$Request.get.class_name}" name="class_name" id="class_name" class="txt"></dd>
  17. </dl>
  18. <dl>
  19. <dt>{$Think.lang.snsalbum_member_name}</dt>
  20. <dd><input type="text" value="{$Request.get.user_name}" name="user_name" id="user_name" class="txt"></dd>
  21. </dl>
  22. <div class="btn_group">
  23. <a href="javascript:document.formSearch.submit();" class="btn " title="{$Think.lang.ds_query}">{$Think.lang.ds_query}</a>
  24. <a href="{:url('Snsmalbum/index')}" class="btn btn-default" title="{$Think.lang.ds_cancel}">{$Think.lang.ds_cancel}</a>
  25. </div>
  26. </div>
  27. </form>
  28. <form method='post' id="form_goods">
  29. <input type="hidden" name="type" id="type" value="" />
  30. <table class="ds-default-table">
  31. <thead>
  32. <tr class="thead">
  33. <th class="w24"></th>
  34. <th class="w60" colspan="2">{$Think.lang.snsalbum_class_name}</th>
  35. <th class="">{$Think.lang.snsalbum_member_name}</th>
  36. <th>{$Think.lang.snsalbum_add_time}</th>
  37. <th class="">{$Think.lang.snsalbum_pic_count}</th>
  38. <th class="w70 align-center">{$Think.lang.ds_handle}</th>
  39. </tr>
  40. </thead>
  41. <tbody>
  42. {notempty name="ac_list"}
  43. {foreach name="ac_list" item="v"}
  44. <tr class="hover edit">
  45. <td></td>
  46. <td class="w60 picture">
  47. <div class="size-44x44">
  48. <span class="thumb size-44x44"><i></i>
  49. <img src="{if $v.ac_cover !=''}{:ds_get_pic(ATTACH_MALBUM.'/'.$v['member_id'],$v['ac_cover'])}{else/}{:ds_get_pic(ATTACH_COMMON,$Think.config.ds_config.default_goods_image)}{/if}" onload="javascript:ResizeImage(this,44,44);"/>
  50. </span>
  51. </div>
  52. </td>
  53. <td>{$v.ac_name}</td>
  54. <td>{$v.member_name}</td>
  55. <td>{:date('Y-m-d',$v.ac_uploadtime)}</td>
  56. <td>{$v.count}</td>
  57. <td class="align-center"><a href="{:url('Snsmalbum/pic_list',['id'=>$v.ac_id])}" class="dsui-btn-view"><i class="iconfont"></i>{$Think.lang.ds_view}</a></td>
  58. </tr>
  59. {/foreach}
  60. {else /}
  61. <tr class="no_data">
  62. <td colspan="15">{$Think.lang.ds_no_record}</td>
  63. </tr>
  64. {/notempty}
  65. </tbody>
  66. </table>
  67. {$showpage|raw}
  68. </form>
  69. </div>