<?php if (!defined('APP_PATH')) exit;?><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="http://127.0.0.5/Magic/Data/Public/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://127.0.0.5/Magic/Data/Public/js/jquery.js"></script>
<script src="http://127.0.0.5/Magic/Data/Public/js/main.js"></script>
<iframe id="blank" name="blank"  style="display:none" ></iframe>
<form method="post" target="blank" action="?r=admin-group-save">
<input type="hidden" name="rid"  value="<?php echo $role['rid'];?>">
<table border="0" cellspacing="0" cellpadding="0" width="320" class="forminfo">
	<tr>
		<td width="100" height="50" align="right">名称：</td><td align="left"><input type="text" name="name" value="<?php echo $role['name'];?>" class="insty" size="25"></td>
	</tr>
	<tr>
		<td align="right" height="50">描述：</td><td align="left"><textarea name="desc" class="textinput" rows="5" cols="30"><?php echo $role['desc'];?></textarea></td>
	</tr>
	<tr>
		<td  align="right" height="50">状态：</td><td align="left">
		&nbsp;&nbsp;<input type="radio" id="l1" name="status" value="0" <?php if($role['id']==1){ ?>disabled<?php }?> <?php if($role['status']==0){ ?> checked<?php }?>><label for="l1">禁用</label>&nbsp;&nbsp;<input type="radio" id="l2" name="status" value="1" <?php if($role['id']==1){ ?>disabled<?php }?> <?php if($role['status']==1){ ?> checked<?php }?>><label for="l2">启用</label>
		</td>
	</tr>
	<tr>
		<td align="center" colspan="4"><input type="submit" class="scbtn7" value="保存">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" value="重置" class="scbtn8"></td>
	</tr>
</table>
</form>