contribution_list.html 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {// 引入标签库 }
  2. <tagLib name="html" />
  3. <PHP>
  4. function get_nickname($id){
  5. $get_nickname=$GLOBALS['db']->getOne("select nick_name from ".DB_PREFIX."user where id=".$id);
  6. return emoji_decode($get_nickname);
  7. }
  8. </PHP>
  9. <include file="Public:header" />
  10. <load href='__TMPL__Common/js/jquery.bgiframe.js' />
  11. <load href='__TMPL__Common/js/jquery.weebox.js' />
  12. <load href='__TMPL__Common/js/deal.js' />
  13. <load href='__TMPL__Common/style/weebox.css' />
  14. <div class="main">
  15. <div class="main_title">{$user.nick_name} {%TICKET_CONTRIBUTION}</div>
  16. <div class="blank5"></div>
  17. <!--<div class="button_row">
  18. <input type="button" class="button" value="删除" onclick="del_contribution_list();" />
  19. </div>-->
  20. <div class="blank5"></div>
  21. <table id="" class="dataTable" cellpadding="0" cellspacing="0">
  22. <tbody>
  23. <tr>
  24. <td colspan="5" class="topTd">
  25. </td>
  26. </tr>
  27. <tr class="row">
  28. <th width="8">
  29. <input type="checkbox" id="check" onclick="CheckAll('dataTable')">
  30. </th>
  31. <th>贡献用户ID</th>
  32. <th>贡献用户昵称 </th>
  33. <th>用户头像</th>
  34. <th>贡献数量</th>
  35. </tr>
  36. <foreach name="list" item="list_item">
  37. <tr class="row">
  38. <td><input type="checkbox" name="key" class="key" value="{$list_item.user_id}"></td>
  39. <td>{$list_item.user_id}</td>
  40. <td>{$list_item.nick_name}</td>
  41. <td><img src="{$list_item.head_image}" style="height:35px;width:35px;"></td>
  42. <td>{$list_item.num}</td>
  43. </tr>
  44. </foreach>
  45. </tbody>
  46. </table>
  47. <div class="blank5"></div>
  48. <div class="page">{$page}</div>
  49. </div>
  50. <include file="Public:footer" />