<?php if (!defined('THINK_PATH')) exit();?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title><?php echo C('softname'); ?></title>
<link href="__PUBLIC__/admin/css/reset.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/admin/css/zh-cn-system.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/admin/css/table_form.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/images/metinfo.css" />
<script language="javascript" type="text/javascript" src="__PUBLIC__/admin/js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="__PUBLIC__/admin/js/admin_common.js"></script>
<script language="javascript" type="text/javascript" src="__PUBLIC__/admin/js/styleswitch.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/js/common.js"></script>
</head>
<body>
<div class="metinfotop">
    <div class="position">简体中文：会员模块 > <a href="<?php echo U('member/member_group');?>">会员组管理</a></div>
    </div>
    <div class="clear"></div>
<div class="subnav">
    <div class="content-menu ib-a blue line-x">
    <a class="add fb" href="javascript:window.top.art.dialog({id:'add',iframe:'<?php echo U('member/member_group_add');?>', title:'添加会员组', width:'700', height:'500', lock:true}, function(){var d = window.top.art.dialog({id:'add'}).data.iframe;var form = d.document.getElementById('dosubmit');form.click();return false;}, function(){window.top.art.dialog({id:'add'}).close()});void(0);"><em>添加会员组</em></a></div>
</div>
<style type="text/css">
    html{_overflow-y:scroll}
</style><div class="pad-lr-10">

<form name="myform" action="<?php echo U('member/member_group_delete_all');?>" method="post" onsubmit="checkselect('规格');return false;">
<div class="table-list">
<table width="100%" cellspacing="0">
    <thead>
        <tr>
            <th  align="left" width="20"><input type="checkbox" value="" id="check_box" onclick="selectall('all_check[]');"></th>
            <th align="left">会员组</th>
            <th align="left">积分</th>
            <th align="left">投稿限制</th>
            <th align="left">等级序号</th>
            <th align="left">操作</th>
        </tr>
    </thead>
<tbody>
    <?php if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
        <td align="left"><input type="checkbox" name="all_check[]" value="<?php echo ($vo["id"]); ?>"></td>
        <td align="left"><?php echo ($vo["name"]); ?></td>
        <td align="left"><?php echo ($vo["min_integral"]); ?></td>
        <td align="left"><?php echo ($vo["post_number"]); ?></td>
        <td align="left"><?php echo ($vo["level"]); ?></td>
        <td align="left">
            <a href="javascript:edit('<?php echo U('member/member_group_edit',array('id'=>$vo['id']));?>','修改')">修改</a>
             | 
            <a href="javascript:all_deletes('<?php echo U('member/member_group_delete',array('id'=>$vo['id']));?>');" class="spec_delete" sid="<?php echo ($vo["id"]); ?>">删除</a>
        </td>
    </tr><?php endforeach; endif; else: echo "" ;endif; ?>
</tbody>
</table>

<div class="btn">
<label for="check_box">全选/取消</label> <input type="submit" class="button" name="dosubmit" value="删除" onclick="return confirm('您确定要删除吗？')"/>
</div>

<div id="pages"></div>
</div>
</form>

</div>
</body>
</html>