<%@ page language="C#" autoeventwireup="true" inherits="admin_adminAdd, kfenlei" %><%@ Register Src="inc/adminTop.ascx" TagName="adminTop" TagPrefix="qth8" %>
<!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>
<title>框分类信息系统 后台管理</title>
<link href="css.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div align="center">
<div class="main" align="left">
<qth8:adminTop ID="AdminTop1" runat="server" />
<div class="d01">
<div class="tabTitle">添加管理</div>
<form id="admin" action="action.aspx?s=addAdmin" class="layui-form" method="post" name="admin">
<table width="100%" border="0" class="layui-table" cellspacing="0" cellpadding="0">
<tr>
    <td class="head" width="150">用户名</td>
    <td><input value="" type="text" class="layui-input" name="tUserName" id="tUserName" /></td>
  </tr>
  <tr>
    <td class="head">密码</td>
    <td>
<input type="text" name="tPassWord" class="layui-input" id="tPassWord" />
</td>
  </tr>
  <tr><td class="head">重复密码</td><td><input type="text" name="tPassWord1" class="layui-input" id="tPassWord1" /></td></tr>
  <tr><td class="head">级别</td><td><input type="radio" value="0" lay-filter="power" name="power" title="超级管理" /><input type="radio"checked="checked" value="1" lay-filter="power" name="power" title="普通管理" /></td></tr>
  <tr id="trAc"><td class="head">权限</td><td><input type="checkbox" checked="checked" value="1" name="ac1" lay-skin="primary" /> 信息审核/删除  <input type="checkbox" checked="checked" value="1" name="ac2" lay-skin="primary" /> 信息修改/置顶 <br />
 <input type="checkbox" checked="checked" value="1" name="ac3" lay-skin="primary" /> 用户/商家/微优惠审核  <input type="checkbox" checked="checked" value="1" name="ac4" lay-skin="primary" /> 用户/商家/微优惠审管理<br /> 
   <input type="checkbox" checked="checked" value="1" name="ac5" lay-skin="primary" /> 文章管理
 <input type="checkbox" checked="checked" value="1" name="ac6" lay-skin="primary" /> 微信平台管理 
   <input type="checkbox" checked="checked" value="1" name="ac7" lay-skin="primary" /> 评论留言管理
    <input type="checkbox" checked="checked" value="1" name="ac8" lay-skin="primary" /> 分类管理
  <input type="checkbox" checked="checked" value="1" name="ac9" lay-skin="primary" /> 关键词管理<br />
<input type="checkbox" checked="checked" value="1" name="ac10" lay-skin="primary" /> 广告管理 <br />
<input type="checkbox" checked="checked" value="1" name="ac11" lay-skin="primary" /> 友情链接管理
<input type="checkbox" checked="checked" value="1" name="ac12" lay-skin="primary" /> 抽奖管理<br />
<input type="checkbox" checked="checked" value="1" name="ac13" lay-skin="primary" /> 短信管理 <input type="checkbox" checked="checked" value="1" name="ac14" lay-skin="primary" /> 支付管理</td></tr>
  <tr><td class="head"></td><td><input type="submit" class="layui-btn" value="确认添加" /></td></tr>
</table>
</form>
</div>
</div>
</div>
<script type="text/javascript">
layui.use(['form','laydate'], function(){
var form = layui.form();
form.render();
form.on('radio(power)', function(data){
if(data.elem.value=="0")
{
	$('#trAc').hide(10)
}
else
{
	$('#trAc').show(10)
}
});
});
</script>
</body>
</html>
