huiyuanset.html 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. {template 'common/header'}
  2. </style>
  3. <ul class="nav nav-tabs">
  4. <li class="{$active2}"><a href="{php echo $this->createWebUrl('huiyuanList');}">已授权列表</a></li>
  5. <li class="{$active3}"><a href="{php echo $this->createWebUrl('feiyuanList');}">等待授权</a></li>
  6. </ul>
  7. {if $active2 == 'active'}
  8. <div class="clearfix" ng-controller="memberProperty" id="memberProperty">
  9. {if $isfounder==true}
  10. <div class="panel panel-default">
  11. <div class="panel-heading">
  12. 管理员 你好!{$_W['username']} 用户id:{$_W['uid']} 数量:{$shiyongnum}
  13. </div>
  14. <div class="panel-body">
  15. <table class="table table-hover">
  16. <thead>
  17. <tr>
  18. <th>id</th>
  19. <th>网址</th>
  20. <th>ucid</th>
  21. <th>状态</th>
  22. <th>坐席</th>
  23. </tr>
  24. </thead>
  25. <tbody id="list">
  26. {loop $navmsg $indexid $nav}
  27. <tr>
  28. <form action="{php echo $this->createWebUrl('edithuiyuan');}" method="post" class="form-horizontal">
  29. <th>{$nav['id']} </th>
  30. <input type="hidden" name="id" value="{$nav['id']}" />
  31. <th> {$nav['website']} </th>
  32. <th>{$nav['uid']}</th>
  33. <th> {$nav['hyleixing']}
  34. <input type="hidden" name="hyleixing" value="多客服" > </th>
  35. <th>
  36. <input type="text" name="maxnum" value="{$nav['maxnum']}" > </th>
  37. <th>
  38. <input name="submit" type="submit" value="修改" onclick="return confirm('确认吗?');return false;" class="btn btn-inverse we7-margin-left ">
  39. </th>
  40. </form>
  41. </tr>
  42. {/loop}
  43. </tbody>
  44. </table>
  45. </div>
  46. </div>
  47. {else} 无权限 {/if}
  48. </form>
  49. </div>
  50. {else}
  51. {/if}
  52. {if $active3 == 'active'}
  53. <div class="clearfix" ng-controller="memberProperty" id="memberProperty">
  54. {if $isfounder==true} 是管理员
  55. <div class="panel panel-default">
  56. <div class="panel-heading">
  57. 你好!{$_W['username']} 用户id:{$_W['uid']} 已经使用:{$shiyongnum} 等待授权数量:{$feiyongnum}
  58. </div>
  59. <div class="panel-body">
  60. <table class="table table-hover">
  61. <thead>
  62. <tr>
  63. <th>id</th>
  64. <th>网址</th>
  65. <th>ucid</th>
  66. <th>状态</th>
  67. <th>坐席</th>
  68. </tr>
  69. </thead>
  70. <tbody id="list">
  71. {loop $navmsg $indexid $nav}
  72. <tr>
  73. <form action="{php echo $this->createWebUrl('edithuiyuan');}" method="post" class="form-horizontal">
  74. <th>{$nav['id']} </th>
  75. <input type="hidden" name="id" value="{$nav['id']}" />
  76. <th> {$nav['website']} </th>
  77. <th>{$nav['uid']}</th>
  78. <th> {$nav['hyleixing']}
  79. {if $shouquan['maxnum']>$shiyongnum}
  80. <input type="hidden" name="hyleixing" value="多客服" > </th>
  81. <th>
  82. <input type="text" name="maxnum" value="{$nav['maxnum']}" > </th>
  83. <th>
  84. <input name="submit" type="submit" value="授权" onclick="return confirm('确认吗?');return false;" class="btn btn-primary we7-margin-left ">
  85. {/if}
  86. </th>
  87. </form>
  88. </tr>
  89. {/loop}
  90. </tbody>
  91. </table>
  92. </div>
  93. </div>
  94. {else} 无权限 {/if}
  95. </form>
  96. </div>
  97. {else}
  98. {/if}
  99. {template 'common/footer'}