group_manage.php 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <link href="<?php echo WEB_SITE_GLOBAL ?>/img/admin/style.css" rel="stylesheet" type="text/css" />
  6. <script type="text/javascript" src="<?php echo WEB_SITE_GLOBAL ?>/js/jquery-1.7.1.min.js"></script>
  7. <script type="text/javascript" src="<?php echo WEB_SITE_GLOBAL ?>/js/admin/over.js"></script>
  8. <script type="text/javascript" src="<?php echo WEB_SITE_GLOBAL ?>/js/admin/admin.js"></script>
  9. </head>
  10. <body>
  11. <div class="main_content new_product">
  12. <div class="crumbbar"><a href="/index/main_navon" target="main">快速导航</a> » <?php echo $data['map']; ?></div>
  13. <div class="main_toolbar clearfix">
  14. <div><?php echo $data['success']; ?></div>
  15. <form action="/index/main_group_manage_add" method="post" onsubmit="return group_form()">
  16. <table width="100%" cellspacing="1" cellpadding="4" align="center" class="tableborder">
  17. <tbody>
  18. <tr class="altbg1"><td colspan="7">用户组列表</td></tr>
  19. <tr>
  20. <td width="210">添加会员组:<input class="txt" name="grouptitle" id="grouptitle" /></td>
  21. <td><input type="submit" class="button" name="submit" value="提 交"/></td>
  22. </tr>
  23. </tbody>
  24. </table>
  25. </form>
  26. <div class="globle_list">
  27. <form name="userForm" action="/index/main_group_manage_edit" method="post">
  28. <table cellspacing="0" cellpadding="0" class="tableList">
  29. <tbody><tr>
  30. <th class="">用户组ID</th>
  31. <th class="">用户组</th>
  32. <th class=" ">经验值下限</th>
  33. <th class="">组权限</th>
  34. <th class="">删除</th>
  35. </tr>
  36. <?php foreach($data['group']['user'] as $k1=>$v1): ?>
  37. <tr>
  38. <td class=""><?php echo $v1['groupid']; ?></td>
  39. <td class=""><input name="groupid[]" type="hidden" value="<?php echo $v1['groupid']; ?>"/><input name="grouptitle[]" value="<?php echo $v1['grouptitle']; ?>"/></td>
  40. <td class=" "><input name="scorelower[]" value="<?php echo $v1['creditslower']; ?>"/></td>
  41. <td class=""><a href="/index/main_group_manage_set/<?php echo $v1['groupid']; ?>">设置</a></td>
  42. <td class=""><?php if( $v1['groupid']>GROUPIDLIMIT ): ?><a href="javascript:if(window.confirm('确认删除?'))window.location='/index/main_group_manage_delete/<?php echo $v1['groupid']; ?>'" target="main" >删除</a><?php else: ?>不能删除<?php endif; ?></td>
  43. </tr>
  44. <?php endforeach; ?>
  45. </tbody></table>
  46. <input type="submit" class="button" name="submit" value="提 交"/>
  47. </form>
  48. </div>
  49. </div>
  50. </div>
  51. </body>
  52. </html>