sjlqlist.html 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {template 'public/header'}
  2. {template 'public/comhead'}
  3. <link rel="stylesheet" type="text/css" href="../addons/zh_tcwq/template/public/ygcsslist.css">
  4. <ul class="nav nav-tabs">
  5. <span class="ygxian"></span>
  6. <div class="ygdangq">当前位置:</div>
  7. <li {if $_GPC['type']=='all'} class="active" {/if}><a href="{php echo $this->createWebUrl2('sjlqlist',array('type'=>all,'id' => $_GPC['id']));}">全部</a></li>
  8. <li {if $_GPC['type']=='ok'} class="active" {/if}><a href="{php echo $this->createWebUrl2('sjlqlist',array('type'=>ok,'id' => $_GPC['id']));}">已使用</a></li>
  9. <li {if $_GPC['type']=='no'} class="active" {/if}><a href="{php echo $this->createWebUrl2('sjlqlist',array('type'=>no,'id' => $_GPC['id']));}">未使用</a></li>
  10. </ul>
  11. <div class="main">
  12. </div>
  13. <div class="panel panel-default">
  14. <div class="panel-heading">
  15. 领取列表
  16. </div>
  17. <div class="panel-body" style="padding: 0px 15px;">
  18. <div class="row">
  19. <table class="yg5_tabel col-md-12">
  20. <tr class="yg5_tr1">
  21. <td class="store_td1 col-md-1">用户头像</td>
  22. <td class="col-md-1">用户昵称</td>
  23. <td class="col-md-1">领取时间</td>
  24. <td class="col-md-1">状态</td>
  25. </tr>
  26. {loop $list $row}
  27. <tr class="yg5_tr2">
  28. <td><img class="store_list_img" src="{$row['user_img']}"/></td>
  29. <td>{$row['user_name']}</td>
  30. <td>{$row['time']}</td>
  31. <td>{if $row['state']==1} <span class="label storered">已使用</span>{elseif $row['state']==2} <span class="label storeblue">未使用</span>{/if}</td>
  32. </tr>
  33. {/loop}
  34. </table>
  35. </div>
  36. </div>
  37. </div>
  38. {$pager}
  39. </div>
  40. <script type="text/javascript">
  41. $(function(){
  42. $("#frame-3").show();
  43. $("#yframe-3").addClass("wyactive");
  44. })
  45. </script>{template 'common/footer'}