joinlist.html 4.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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']=='now'} class="active" {/if}><a href="{php echo $this->createWebUrl('joinlist',array('type'=>now,'act_id' => $_GPC['act_id']));}">待审核</a></li>
  8. <li {if $_GPC['type']=='all'} class="active" {/if}><a href="{php echo $this->createWebUrl('joinlist',array('type'=>all,'act_id' => $_GPC['act_id']));}">全部</a></li>
  9. </ul>
  10. <div class="main">
  11. </div>
  12. <div class="panel panel-default">
  13. <div class="panel-heading">
  14. 报名列表
  15. </div>
  16. <div class="panel-body" style="padding: 0px 15px;">
  17. <div class="row">
  18. <table class="yg5_tabel col-md-12">
  19. <tr class="yg5_tr1">
  20. <td class="store_td1 col-md-1">姓名</td>
  21. <td class="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. <td class="col-md-1">操作</td>
  26. </tr>
  27. {loop $list $row}
  28. <tr class="yg5_tr2">
  29. <td>{$row['user_name']}</td>
  30. <td>{$row['user_tel']}</td>
  31. <td>{$row['money']}</td>
  32. <td>{$row['time']}</td>
  33. <td>{if $row['state']==2} <span class="label storered">待审核</span>{elseif $row['state']==3} <span class="label storeblue">审核通过</span>{elseif $row['state']==5} <span class="label storegrey">审核拒绝</span>{elseif $row['state']==4} <span class="label storeblue">已完成</span>{/if}</td>
  34. <td>
  35. {if $row['state']==2}
  36. <a href="{php echo $this->createWebUrl('joinlist',array('act_id' => $_GPC['act_id'],'op'=>'tg','id'=>$row['id']));}"><span class="label storeblue">通过</span></a>
  37. <a href="{php echo $this->createWebUrl('joinlist',array('act_id' => $_GPC['act_id'],'op'=>'jj','id'=>$row['id']));}"><span class="label storered">拒绝</span></a>
  38. {/if}
  39. <a href="javascript:void(0);" class="storespan btn btn-xs" data-toggle="modal" data-target="#myModal{$row['id']}">
  40. <span class="fa fa-trash-o"></span>
  41. <span class="bianji">删除
  42. <span class="arrowdown"></span>
  43. </span>
  44. </a>
  45. </td>
  46. </tr>
  47. <div class="modal fade" id="myModal{$row['id']}" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  48. <div class="modal-dialog" role="document">
  49. <div class="modal-content">
  50. <div class="modal-header">
  51. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  52. <h4 class="modal-title" id="myModalLabel" style="font-size: 20px;">提示</h4>
  53. </div>
  54. <div class="modal-body" style="font-size: 20px">
  55. 确定删除么?
  56. </div>
  57. <div class="modal-footer">
  58. <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
  59. <a href="{php echo $this->createWebUrl('joinlist', array('id' => $row['id'],'op'=>'delete','act_id' => $_GPC['act_id']))}" type="button" class="btn btn-info" >确定</a>
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. {/loop}
  65. </table>
  66. </div>
  67. </div>
  68. </div>
  69. {$pager}
  70. </div>
  71. <script type="text/javascript">
  72. $(function(){
  73. $("#frame-20").show();
  74. $("#yframe-20").addClass("wyactive");
  75. })
  76. </script>{template 'common/footer'}