<?php include pTemplate("header");?>
     <div id="loadingbar"></div>
     
     <div id="main" class="mainPanel wd txt_left">
    <div class="company">
        <aside class="left_panel" un="leftNavBar">
            <ul class="sidetd">
               <?php echo $left_menu_html;?>
            </ul>
        </aside>
        <div class="right_panel">
	<div class="content_block">
		<h1 style="margin:0;">【<?php echo $usergrouparr['groupname'];?>】权限管理</h1>
	</div>
    
    <div name="status" class="content_table">
		
		<div style="width:100%;">

<form method="post" name="myform" action="<?php echo SITEURL;?>?mod=system&do=usergroup&c=set_access">
    <div class="space">

        <table cellspacing="0" align="center" class="infoTable domainInfo listTable" style="width:100%;table-layout:fixed;">
            <tbody>
            
            <tr>
                <td class="altbg1"><strong>禁止访问网址:</strong>选择"是"将彻底禁止用户访问网站的任何页面</td>
                <td>
                &nbsp;&nbsp;
                <input type="radio" name="access[member_forbidden]" value="1" <?php if($usergroup_access[$iitem['action']]==1) { ?> checked="checked"<?php } ?>><label for="radio_access[member_forbidden]_1">是</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="access[member_forbidden]" value="0" id="radio_access[member_forbidden]_0" <?php if($usergroup_access[$iitem['action']]==0) { ?> checked="checked"<?php } ?>><label for="radio_access[member_forbidden]_0">否</label></td>
            </tr>
	 <?php foreach((array)$access as $key=>$item) {?>
     <?php if($item) { ?>
           <tr class="altbg2"><td colspan="2"><center><b><?php echo $key;?></b></center></td></tr>
           <?php foreach((array)$item as $kkey=>$iitem) {?>
            <tr>
    <td class="altbg1"><strong><?php echo $iitem['name'];?>:</strong><?php echo $iitem['des'];?></td>
    <td>
    &nbsp;&nbsp;
    <input type="radio" name="access[<?php echo $iitem['action'];?>]" value="1" <?php if($usergroup_access[$iitem['action']]==1) { ?> checked="checked"<?php } ?> id="radio_access[<?php echo $iitem['action'];?>]_1">
    <label for="radio_access[<?php echo $iitem['action'];?>]_1">是</label>&nbsp;&nbsp;&nbsp;
    <input type="radio" name="access[<?php echo $iitem['action'];?>]" value="0" id="radio_access[<?php echo $iitem['action'];?>]_0" <?php if($usergroup_access[$iitem['action']]==0) { ?> checked="checked"<?php } ?>>		    <label for="radio_access[<?php echo $iitem['action'];?>]_0">否</label>
    </td>
</tr>
<?php }?>
<?php } ?>
     <?php }?>


 </tbody></table>

			<input type="hidden" name="grouptype" value="<?php echo $usergrouparr['grouptype'];?>">
            <input type="hidden" name="groupid" value="<?php echo $usergrouparr['groupid'];?>">
<div class="submitColumn tool_action" style="height:55px;*height:50px;padding:0; margin-top:10px;">
						<div class="left" style="margin-top:13px;">
                        <input id="J_ForumPostEditBtn" type="submit" style="margin-left:102px;" class="btnSubmit" value="提交">
						<a href="<?php echo SITEURL;?>?mod=system&do=usergroup" class="btn btnNormal left">取消</a>
						</div>
					</div>
    </div>
</form>

		</div>
	</div>
	<div class="content_table">
						<div class="clr"></div>
                        
	</div>

	
</div>
    </div>
</div>

<?php include pTemplate("footer");?>

</body>
</html>