<div class="main-right-box">
<h5>添加用户组</h5>
<div class="blank20"></div>
<div class="box">



<style type="text/css">
	.td-row{
  padding:1px 5px;
  color:#333;
  font-weight:normal;
  background:#f5f5f5;
  }
  .td-row b {color:#333;}
  .usergroup-table tr {padding:10px 0px;}
.usergroup-table tr td {padding:5px;}
.unit{padding:5px 5px 5px 0px;}
</style>
    <script type="text/javascript">
        $(function(){
            $(".usergroup-table input[type='checkbox']").on('click',function (e) {
                var exp = $(this).attr('id');
                var status = $(this).prop('checked');
                if (typeof(exp) !== "undefined"){
                    $("."+exp).prop('checked',status).prop('disabled',!status);
                }
            });
        });
    </script>
<form method="post" name="form1" action="<?php if(front::$act=='edit') $id="/id/".$data[$primary_key]; else $id=''; echo modify("/act/".front::$act."/table/".$table.$id);?>"  onsubmit="return checkform();">
<div class="row">
<div class="col-xs-4 col-sm-4 col-md-3 col-lg-2 text-right">用户组</div>
<div class="col-xs-8 col-sm-7 col-md-7 col-lg-5 text-left">
{form::getform('groupid',$form,$field,$data)}
</div>
</div>

<div class="row">
<div class="col-xs-4 col-sm-4 col-md-3 col-lg-2 text-right">名称</div>
<div class="col-xs-8 col-sm-7 col-md-7 col-lg-5 text-left">
{form::getform('name',$form,$field,$data)}
</div>
</div>

<div class="row">
<div class="col-xs-4 col-sm-4 col-md-3 col-lg-2 text-right">商品折扣</div>
<div class="col-xs-8 col-sm-7 col-md-7 col-lg-5 text-left">
{form::getform('discount',$form,$field,$data)}
</div>
</div>

<div class="row">
<div class="col-xs-4 col-sm-4 col-md-3 col-lg-2 text-right">前台权限</div>
<div class="col-xs-8 col-sm-7 col-md-7 col-lg-5 text-left">
<input type="checkbox" {getfchk($data['fpwlist'],'add_archive')} name="fpwlist[]" value="add_archive" />  添加文章
</div>
</div>



<div class="clearfix blank20"></div>

<div class="clearfix blank20"></div>

<div class="table-responsive">



<table width="100%" align="center" class="usergroup-table table">
            <tr class="trstyle2">
              <td class="trtitle02">
			  
			  <table width="100%" border="0" cellspacing="0" cellpadding="2">
                  <tr>
                    <td colspan="4" class="td-row" valign="center"><input name="powerlist[config]" type="checkbox" id="config"  value="1" {getchecked($data['powerlist'],'config')} />
                      <b>设置</b></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center">&nbsp;</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="config config_sitesystem" type="checkbox" name="powerlist[system_site]"  {getchecked($data['powerlist'],'system_site')} value="1" />
                            网站设置</td>
                          <td class="unit"><input class="config config_sitesystem" type="checkbox" name="powerlist[system_image]"  {getchecked($data['powerlist'],'system_image')} value="1" />
                            水印设置</td>
                          <td class="unit"><input class="config config_sitesystem" type="checkbox" name="powerlist[system_upload]"  {getchecked($data['powerlist'],'system_upload')} value="1" />
                            附件设置</td>
                          <td class="unit"><input class="config config_sitesystem" type="checkbox" name="powerlist[system_security]"  {getchecked($data['powerlist'],'system_security')} value="1" />
                            字符过滤</td>
                            <td class="unit"><input class="config config_sitesystem" type="checkbox" name="powerlist[system_mail]"  {getchecked($data['powerlist'],'system_mail')} value="1" />
                            邮件发送</td>
                            <td class="unit"><input class="config config_sitesystem" type="checkbox" name="powerlist[system_vote]"  {getchecked($data['powerlist'],'system_vote')} value="1" />
                            投票设置</td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center">&nbsp;</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="config config_website" type="checkbox" name="powerlist[hottag]"  {getchecked($data['powerlist'],'hottag')} value="1" />
                          热门标签</td>
                          <td class="unit"><input class="config config_website" type="checkbox" name="powerlist[language]"  {getchecked($data['powerlist'],'language')} value="1" />
                          语言包编辑</td>
                          <td class="unit"><input class="config config_website" type="checkbox" name="powerlist[system_sms]"  {getchecked($data['powerlist'],'system_sms')} value="1" />
                          短信设置</td>
                          <td class="unit"><input class="config config_website" type="checkbox" name="powerlist[system_ditu]"  {getchecked($data['powerlist'],'system_ditu')} value="1" />
                          地图设置</td>
                            <td class="unit"><input class="config config_sitesystem" type="checkbox" name="powerlist[website]"  {getchecked($data['powerlist'],'website')} value="1" />
                            站点列表</td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td colspan="4"><hr></td>
                  </tr>
                </table><table width="100%" border="0" cellspacing="0" cellpadding="2">
                  <tr>
                    <td colspan="4" class="td-row" valign="center"><input name="powerlist[content]" type="checkbox" id="content"  value="1" {getchecked($data['powerlist'],'content')} />
                      <b>内容</b></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="content" type="checkbox" name="powerlist[category]" {getchecked($data['powerlist'],'category')} value="1" id="content_category">
                      栏目管理</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="content content_category" type="checkbox" name="powerlist[category_list]" {getchecked($data['powerlist'],'category_list')} value="1" />
                            栏目列表</td>
                          <td class="unit"><input class="content content_category" type="checkbox" name="powerlist[category_add]" {getchecked($data['powerlist'],'category_add')} value="1" />
                            添加栏目</td>
                          <td class="unit"><input class="content content_category" type="checkbox" name="powerlist[category_edit]" {getchecked($data['powerlist'],'category_edit')} value="1" />
                            修改栏目</td>
                          <td class="unit"><input class="content content_category" type="checkbox" name="powerlist[category_del]" {getchecked($data['powerlist'],'category_del')} value="1" />
                            删除栏目</td>
                          <td class="unit"><input class="content content_category" type="checkbox" name="powerlist[category_htmlrule]" {getchecked($data['powerlist'],'category_htmlrule')} value="1" />
                            栏目url规则</td>
                          <td class="unit"><input class="content content_category" type="checkbox" name="powerlist[archive_import]" {getchecked($data['powerlist'],'archive_import')} value="1" />
                            批量导入</td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="content" type="checkbox" name="powerlist[archive]" {getchecked($data['powerlist'],'archive')} value="1" id="content_archive">
                      内容管理</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="content content_archive" type="checkbox" name="powerlist[archive_list]" {getchecked($data['powerlist'],'archive_list')} value="1" />
                            内容列表</td>
                          <td class="unit"><input class="content content_archive" type="checkbox" name="powerlist[archive_add]" {getchecked($data['powerlist'],'archive_add')} value="1" />
                            添加内容</td>
                          <td class="unit"><input class="content content_archive" type="checkbox" name="powerlist[archive_edit]" {getchecked($data['powerlist'],'archive_edit')} value="1" />
                            修改内容</td>
                          <td class="unit"><input class="content content_archive" type="checkbox" name="powerlist[archive_del]" {getchecked($data['powerlist'],'archive_del')} value="1" />
                            删除内容</td>
                          <td class="unit"><input class="content content_archive" type="checkbox" name="powerlist[archive_check]" {getchecked($data['powerlist'],'archive_check')} value="1" />
                            审核内容</td>
                          <td class="unit"><input class="content content_archive" type="checkbox" name="powerlist[archive_setting]" {getchecked($data['powerlist'],'archive_setting')} value="1" />
                            推荐位设置</td></tr><tr>
                          <td class="unit"><input class="content content_archive" type="checkbox" name="powerlist[archive_hotsearch]" {getchecked($data['powerlist'],'archive_hotsearch')} value="1" />
                            热门关键词</td>
                          <td class="unit"><input class="content content_archive" type="checkbox" name="powerlist[archive_image]" {getchecked($data['powerlist'],'archive_image')} value="1" />
                            图片库</td>
                          <td class="unit"><input class="content content_archive" type="checkbox" name="powerlist[archive_tag]" {getchecked($data['powerlist'],'archive_tag')} value="1" />
                            标签管理</td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="content" type="checkbox" name="powerlist[mtype]" {getchecked($data['powerlist'],'mtype')} value="1" id="content_mtype">
                      分类管理</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="content content_mtype" type="checkbox" name="powerlist[type_list]" {getchecked($data['powerlist'],'type_list')} value="1" />
                            分类列表</td>
                          <td class="unit"><input class="content content_mtype" type="checkbox" name="powerlist[type_add]" {getchecked($data['powerlist'],'type_add')} value="1" />
                            添加分类</td>
                          <td class="unit"><input class="content content_mtype" type="checkbox" name="powerlist[type_edit]" {getchecked($data['powerlist'],'type_edit')} value="1" />
                            修改分类</td>
                          <td class="unit"><input class="content content_mtype" type="checkbox" name="powerlist[type_del]" {getchecked($data['powerlist'],'type_del')} value="1" />
                            删除分类</td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="content" type="checkbox" name="powerlist[special]" {getchecked($data['powerlist'],'special')} value="1" id="content_special">
                      专题管理</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="content content_special" type="checkbox" name="powerlist[special_list]" {getchecked($data['powerlist'],'special_list')} value="1" />
                            专题列表</td>
                          <td class="unit"><input class="content content_special" type="checkbox" name="powerlist[special_add]" {getchecked($data['powerlist'],'special_add')} value="1" />
                            添加专题</td>
                          <td class="unit"><input class="content content_special" type="checkbox" name="powerlist[special_edit]" {getchecked($data['powerlist'],'special_edit')} value="1" />
                            修改专题</td>
                          <td class="unit"><input class="content content_special" type="checkbox" name="powerlist[special_del]" {getchecked($data['powerlist'],'special_del')} value="1" />
                            删除专题</td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td colspan="4"><hr></td>
                  </tr>
                </table><table width="100%" border="0" cellspacing="0" cellpadding="2">
                  <tr>
                    <td colspan="4" class="td-row" valign="center"><input name="powerlist[user]" type="checkbox" id="user"  value="1" {getchecked($data['powerlist'],'user')}>
                      <b>用户</b></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="user" type="checkbox" name="powerlist[user_manage]" {getchecked($data['powerlist'],'user_manage')} value="1" id="user_manage">
                      用户管理</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="user user_manage" type="checkbox" name="powerlist[user_list]" {getchecked($data['powerlist'],'user_list')} value="1" />
                            用户列表</td>
                          <td class="unit"><input class="user user_manage" type="checkbox" name="powerlist[user_add]" {getchecked($data['powerlist'],'user_add')} value="1" />
                            添加用户</td>
                          <td class="unit"><input class="user user_manage" type="checkbox" name="powerlist[user_edit]" {getchecked($data['powerlist'],'user_edit')} value="1" />
                            修改用户</td>
                          <td class="unit"><input class="user user_manage" type="checkbox" name="powerlist[user_del]" {getchecked($data['powerlist'],'user_del')} value="1" />
                            删除用户</td>
                          <td class="unit"><input class="user user_manage" type="checkbox" name="powerlist[user_ologin]" {getchecked($data['powerlist'],'user_ologin')} value="1" />
                            登录配置</td>
                          <td class="unit"><input class="user user_manage" type="checkbox" name="powerlist[user_invite]" {getchecked($data['powerlist'],'user_invite')} value="1" />
                            邀请码</td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="user" type="checkbox" name="powerlist[user_group]" {getchecked($data['powerlist'],'user_group')} value="1" id="user_group">
                      用户组管理</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="user user_group" type="checkbox" name="powerlist[usergroup_list]" {getchecked($data['powerlist'],'usergroup_list')} value="1" />
                            用户组列表</td>
                          <td class="unit"><input class="user user_group" type="checkbox" name="powerlist[usergroup_add]" {getchecked($data['powerlist'],'usergroup_add')} value="1" />
                            添加用户组</td>
                          <td class="unit"><input class="user user_group" type="checkbox" name="powerlist[usergroup_edit]" {getchecked($data['powerlist'],'usergroup_edit')} value="1" />
                            修改用户组</td>
                          <td class="unit"><input class="user user_group" type="checkbox" name="powerlist[usergroup_del]" {getchecked($data['powerlist'],'usergroup_del')} value="1" />
                            删除用户组</td>
                        </tr>
                      </table></td>
                  </tr>
                  
                  <tr>
                    <td colspan="4"><hr></td>
                  </tr>
                </table><table width="100%" border="0" cellspacing="0" cellpadding="2">
                  <tr>
                    <td colspan="4" class="td-row" valign="center"><input name="powerlist[order]" type="checkbox" id="order"  value="1" {getchecked($data['powerlist'],'order')} />
                      <b>订单</b></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="order" type="checkbox" name="powerlist[order_manage]" {getchecked($data['powerlist'],'order_manage')} value="1" id="order_manage">
                      订单管理</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="order order_manage" type="checkbox" name="powerlist[order_list]" {getchecked($data['powerlist'],'order_list')} value="1" />
                            订单列表</td>
                          <td class="unit"><input class="order order_manage" type="checkbox" name="powerlist[order_del]" {getchecked($data['powerlist'],'order_del')} value="1" />
                            删除订单</td>
                          <td class="unit"><input class="order order_manage" type="checkbox" name="powerlist[order_edit]" {getchecked($data['powerlist'],'order_edit')} value="1" />
                            处理订单</td>
                          <td class="unit"><input class="order order_manage" type="checkbox" name="powerlist[order_pay]" {getchecked($data['powerlist'],'order_pay')} value="1" />
                            支付配置</td>
                          <td class="unit"><input class="order order_manage" type="checkbox" name="powerlist[order_logistics]" {getchecked($data['powerlist'],'order_logistics')} value="1" />
                            配货配置</td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td colspan="4"><hr></td>
                  </tr>
                </table><table width="100%" border="0" cellspacing="0" cellpadding="2">
                  <tr>
                    <td colspan="4" class="td-row" valign="center"><input name="powerlist[func]" type="checkbox" id="func"  value="1" {getchecked($data['powerlist'],'func')} />
                      <b>功能</b></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="func" type="checkbox" name="powerlist[func_announc]" {getchecked($data['powerlist'],'func_announc')} value="1" id="func_announc">
                      公告管理</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="func func_announc" type="checkbox" name="powerlist[func_announc_list]" {getchecked($data['powerlist'],'func_announc_list')} value="1" />
                            公告列表</td>
                          <td class="unit"><input class="func func_announc" type="checkbox" name="powerlist[func_announc_add]" {getchecked($data['powerlist'],'func_announc_add')} value="1" />
                            添加公告</td>
                          <td class="unit"><input class="func func_announc" type="checkbox" name="powerlist[func_announc_edit]" {getchecked($data['powerlist'],'func_announc_edit')} value="1" />
                            修改公告</td>
                          <td class="unit"><input class="func func_announc" type="checkbox" name="powerlist[func_announc_del]" {getchecked($data['powerlist'],'func_announc_del')} value="1" />
                            删除公告</td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="func" type="checkbox" name="powerlist[func_book]" {getchecked($data['powerlist'],'func_book')} value="1" id="func_book">
                      留言管理</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="func func_book" type="checkbox" name="powerlist[func_book_list]" {getchecked($data['powerlist'],'func_book_list')} value="1" />
                            留言列表</td>
                          <td class="unit"><input class="func func_book" type="checkbox" name="powerlist[func_book_reply]" {getchecked($data['powerlist'],'func_book_reply')} value="1" />
                          回复留言</td>
                          <td class="unit"><input class="func func_book" type="checkbox" name="powerlist[func_book_del]" {getchecked($data['powerlist'],'func_book_del')} value="1" />
                            删除留言</td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="func" type="checkbox" name="powerlist[func_comment]" {getchecked($data['powerlist'],'func_comment')} value="1" id="func_comment">
                      评论管理</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="func func_comment" type="checkbox" name="powerlist[func_comment_list]" {getchecked($data['powerlist'],'func_comment_list')} value="1" />
                            评论列表</td>
                          <td class="unit"><input class="func func_comment" type="checkbox" name="powerlist[func_comment_edit]" {getchecked($data['powerlist'],'func_comment_edit')} value="1" />
                            修改评论</td>
                          <td class="unit"><input class="func func_comment" type="checkbox" name="powerlist[func_comment_del]" {getchecked($data['powerlist'],'func_comment_del')} value="1" />
                            删除评论</td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="func" type="checkbox" name="powerlist[func_ballot]" {getchecked($data['powerlist'],'func_ballot')} value="1" id="func_ballot">
                      投票管理</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="func func_ballot" type="checkbox" name="powerlist[func_ballot_list]" {getchecked($data['powerlist'],'func_ballot_list')} value="1" />
                            投票列表</td>
                          <td class="unit"><input class="func func_ballot" type="checkbox" name="powerlist[func_ballot_add]" {getchecked($data['powerlist'],'func_ballot_add')} value="1" />
                            添加投票</td>
                          <td class="unit"><input class="func func_ballot" type="checkbox" name="powerlist[func_ballot_edit]" {getchecked($data['powerlist'],'func_ballot_edit')} value="1" />
                            修改投票</td>
                          <td class="unit"><input class="func func_ballot" type="checkbox" name="powerlist[func_ballot_del]" {getchecked($data['powerlist'],'func_ballot_del')} value="1" />
                            删除投票</td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="func" type="checkbox" name="powerlist[func_data]" {getchecked($data['powerlist'],'func_data')} value="1" id="func_data">
                    数据管理</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="func func_data" type="checkbox" name="powerlist[func_data_baker]" {getchecked($data['powerlist'],'func_data_baker')} value="1" />
                            备份数据库</td>
                          <td class="unit"><input class="func func_data" type="checkbox" name="powerlist[func_data_restore]" {getchecked($data['powerlist'],'func_data_restore')} value="1" />
                            还原数据库</td>
                          <td class="unit"><input class="func func_data" type="checkbox" name="powerlist[func_data_phpweb]" {getchecked($data['powerlist'],'func_data_phpweb')} value="1" />
                            导入PHPweb数据</td>
                          <td class="unit"><input class="func func_data" type="checkbox" name="powerlist[func_data_replace]" {getchecked($data['powerlist'],'func_data_replace')} value="1" />
                            替换字符串</td>
                          <td class="unit"><input class="func func_data" type="checkbox" name="powerlist[func_data_adminlogs]" {getchecked($data['powerlist'],'func_data_adminlogs')} value="1" />
                            日志管理</td>
                          <td class="unit"><input class="func func_data" type="checkbox" name="powerlist[func_data_safe]" {getchecked($data['powerlist'],'func_data_safe')} value="1" />
                            网站安全</td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="func" type="checkbox" name="powerlist[func_security]" {getchecked($data['powerlist'],'func_security')} value="1" id="func_security">
                    安全防护</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="func func_security" type="checkbox" name="powerlist[func_filecheck]" {getchecked($data['powerlist'],'func_filecheck')} value="1" />
                            文件校对</td>
                          <td class="unit"><input class="func func_security" type="checkbox" name="powerlist[func_scan]" {getchecked($data['powerlist'],'func_scan')} value="1" />
                            木马查杀</td>
                        </tr>
                      </table></td>
                  </tr>
                      <tr>
                          <td colspan="1" width="120" class="col" valign="center"><input class="func" type="checkbox" name="powerlist[func_update]" {getchecked($data['powerlist'],'func_update')} value="1" id="func_update"> 检测更新</td>
                          <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                                  <tr>
                                      <td class="unit"></td>
                                  </tr>
                              </table></td>
                      </tr>
                  <tr>
                    <td colspan="4"><hr></td>
                  </tr>
                </table><table width="100%" border="0" cellspacing="0" cellpadding="2">
                  <tr>
                    <td colspan="4" class="td-row" valign="center"><input name="powerlist[template]" type="checkbox" id="templates"  value="1" {getchecked($data['powerlist'],'template')}>
                      <b>模板</b></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="templates" type="checkbox" name="powerlist[template_manage]" {getchecked($data['powerlist'],'template_manage')} value="1" id="template_manage">
                      模板管理</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="templates template_manage" type="checkbox" name="powerlist[system_template]" {getchecked($data['powerlist'],'system_template')} value="1" />
                            模板选择</td>
                            <td class="unit"><input class="templates template_manage" type="checkbox" name="powerlist[template_visual]" {getchecked($data['powerlist'],'template_visual')} value="1" />
                                可视化编辑</td>
                          <td class="unit"><input class="templates template_manage" type="checkbox" name="powerlist[template_note]" {getchecked($data['powerlist'],'template_note')} value="1" />
                          模板结构标注</td>
                          <td class="unit"><input class="templates template_manage" type="checkbox" name="powerlist[template_downlist]" {getchecked($data['powerlist'],'template_downlist')} value="1" />
                          在线模板</td>
                   		  <td class="unit"><input class="templates template_manage" type="checkbox" name="powerlist[system_slide]" {getchecked($data['powerlist'],'system_slide')} value="1" />
                          幻灯</td>
                        </tr>
                    </table></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="templates" type="checkbox" name="powerlist[templatetag_add]" {getchecked($data['powerlist'],'templatetag_add')} value="1" id="templatetag_add">
                      添加标签</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="templates templatetag_add" type="checkbox" name="powerlist[templatetag_add_content]" {getchecked($data['powerlist'],'templatetag_add_content')} value="1" />
                            添加内容标签</td>
                          <td class="unit"><input class="templates templatetag_add" type="checkbox" name="powerlist[templatetag_add_category]" {getchecked($data['powerlist'],'templatetag_add_category')} value="1" />
                            添加栏目标签</td>
                            <td class="unit"><input class="templates templatetag_add" type="checkbox" name="powerlist[templatetag_add_special]" {getchecked($data['powerlist'],'templatetag_add_special')} value="1" />
                                添加专题标签</td>
                          <td class="unit"><input class="templates templatetag_add" type="checkbox" name="powerlist[templatetag_add_define]" {getchecked($data['powerlist'],'templatetag_add_define')} value="1" />
                            添加自定义标签</td>

							<td class="unit"><input class="templates templatetag_add" type="checkbox" name="powerlist[templatetag_wap_add_define]" {getchecked($data['powerlist'],'templatetag_wap_add_define')} value="1" />
                            添加手机内容标签</td>

							<td class="unit"><input class="templates templatetag_add" type="checkbox" name="powerlist[templatetag_wap_add_define]" {getchecked($data['powerlist'],'templatetag_wap_add_define')} value="1" />
                            添加手机栏目标签</td>

							<td class="unit"><input class="templates templatetag_add" type="checkbox" name="powerlist[templatetag_wap_add_define]" {getchecked($data['powerlist'],'templatetag_wap_add_define')} value="1" />
                            添加手机自定义标签</td>

                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="templates" type="checkbox" name="powerlist[templatetag_list]" {getchecked($data['powerlist'],'templatetag_list')} value="1" id="templatetag_list">
                      标签列表</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="templates templatetag_list" type="checkbox" name="powerlist[templatetag_list_function]" {getchecked($data['powerlist'],'templatetag_list_function')} value="1" />
                            函数标签列表</td>
                          <td class="unit"><input class="templates templatetag_list" type="checkbox" name="powerlist[templatetag_list_system]" {getchecked($data['powerlist'],'templatetag_list_system')} value="1" />
                            系统标签列表</td>
                          <td class="unit"><input class="templates templatetag_list" type="checkbox" name="powerlist[templatetag_list_content]" {getchecked($data['powerlist'],'templatetag_list_content')} value="1" />
                            内容标签列表</td>
                          <td class="unit"><input class="templates templatetag_list" type="checkbox" name="powerlist[templatetag_list_category]" {getchecked($data['powerlist'],'templatetag_list_category')} value="1" />
                            栏目标签列表</td>
                            <td class="unit"><input class="templates templatetag_list" type="checkbox" name="powerlist[templatetag_list_special]" {getchecked($data['powerlist'],'templatetag_list_special')} value="1" />
                                专题标签列表</td>
                          <td class="unit"><input class="templates templatetag_list" type="checkbox" name="powerlist[templatetag_list_define]" {getchecked($data['powerlist'],'templatetag_list_define')} value="1" />
                            自定义标签列表</td>

							<td class="unit"><input class="templates templatetag_list" type="checkbox" name="powerlist[templatetag_wap_list_content]" {getchecked($data['powerlist'],'templatetag_wap_list_content')} value="1" />
                            手机内容标签列表</td>
                          <td class="unit"><input class="templates templatetag_list" type="checkbox" name="powerlist[templatetag_wap_list_category]" {getchecked($data['powerlist'],'templatetag_wap_list_category')} value="1" />
                            手机栏目标签列表</td>
                          <td class="unit"><input class="templates templatetag_list" type="checkbox" name="powerlist[templatetag_wap_list_define]" {getchecked($data['powerlist'],'templatetag_wap_list_define')} value="1" />
                            手机自定义标签列表</td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td colspan="4"><hr></td>
                  </tr>
                </table><table width="100%" border="0" cellspacing="0" cellpadding="2">
                  <tr>
                    <td colspan="4" class="td-row" valign="center"><input name="powerlist[seo]" type="checkbox" id="seo"  value="1" {getchecked($data['powerlist'],'seo')}>
                      <b>营销</b></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="seo" type="checkbox" name="powerlist[seo_weixin]" {getchecked($data['powerlist'],'seo_weixin')} value="1" id="seo_weixin">
                      公众号管理</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          
                          <td class="unit"><input class="seo seo_weixin" type="checkbox" name="powerlist[seo_weixin_list]" {getchecked($data['powerlist'],'seo_weixin_list')} value="1" />
                            公众号列表</td>
                            <td class="unit"><input class="seo seo_weixin" type="checkbox" name="powerlist[seo_weixin_add]" {getchecked($data['powerlist'],'seo_weixin_add')} value="1" />
                            添加公众号</td>
                            <td class="unit"><input class="seo seo_weixin" type="checkbox" name="powerlist[seo_weixin_edit]" {getchecked($data['powerlist'],'seo_weixin_edit')} value="1" />
                            修改公众号</td>
                            <td class="unit"><input class="seo seo_weixin" type="checkbox" name="powerlist[seo_weixin_del]" {getchecked($data['powerlist'],'seo_weixin_del')} value="1" />
                            删除公众号</td>
                        </tr>
                        
                      </table></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="seo" type="checkbox" name="powerlist[seo_status]" {getchecked($data['powerlist'],'seo_status')} value="1" id="seo_status">
                      蜘蛛管理</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          
                          <td class="unit"><input class="seo seo_status" type="checkbox" name="powerlist[seo_status_list]" {getchecked($data['powerlist'],'seo_status_list')} value="1" />
                            蜘蛛列表</td>
                            <td class="unit"><input class="seo seo_status" type="checkbox" name="powerlist[seo_status_del]" {getchecked($data['powerlist'],'seo_status_del')} value="1" />
                            删除</td>
                            <td class="unit"><input class="seo seo_status" type="checkbox" name="powerlist[seo_status_clear]" {getchecked($data['powerlist'],'seo_status_clear')} value="1" />
                            清空</td>
                        </tr>
                        
                      </table></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="seo" type="checkbox" name="powerlist[seo_linkword]" {getchecked($data['powerlist'],'seo_linkword')} value="1" id="seo_linkword">
                      内容链接管理</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="seo seo_linkword" type="checkbox" name="powerlist[seo_linkword_list]" {getchecked($data['powerlist'],'seo_linkword_list')} value="1" />
                            链接列表</td>
                          <td class="unit"><input class="seo seo_linkword" type="checkbox" name="powerlist[seo_linkword_add]" {getchecked($data['powerlist'],'seo_linkword_add')} value="1" />
                            添加链接</td>
                          <td class="unit"><input class="seo seo_linkword" type="checkbox" name="powerlist[seo_linkword_edit]" {getchecked($data['powerlist'],'seo_linkword_edit')} value="1" />
                            修改链接</td>
                          <td class="unit"><input class="seo seo_linkword" type="checkbox" name="powerlist[seo_linkword_del]" {getchecked($data['powerlist'],'seo_linkword_del')} value="1" />
                            删除链接</td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="seo" type="checkbox" name="powerlist[seo_friendlink]" {getchecked($data['powerlist'],'seo_friendlink')} value="1" id="seo_friendlink">
                      友情链接管理</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="seo seo_friendlink" type="checkbox" name="powerlist[seo_friendlink_list]" {getchecked($data['powerlist'],'seo_friendlink_list')} value="1" />
                          链接列表</td>
                          <td class="unit"><input class="seo seo_friendlink" type="checkbox" name="powerlist[seo_friendlink_add]" {getchecked($data['powerlist'],'seo_friendlink_add')} value="1" />
                          添加链接</td>
                          <td class="unit"><input class="seo seo_friendlink" type="checkbox" name="powerlist[seo_friendlink_edit]" {getchecked($data['powerlist'],'seo_friendlink_edit')} value="1" />
                          修改链接</td>
                          <td class="unit"><input class="seo seo_friendlink" type="checkbox" name="powerlist[seo_friendlink_del]" {getchecked($data['powerlist'],'seo_friendlink_del')} value="1" />
                          删除链接</td>
                          <td class="unit"><input class="seo seo_friendlink" type="checkbox" name="powerlist[seo_friendlink_setting]" {getchecked($data['powerlist'],'seo_friendlink_setting')} value="1" />
                          友情链接配置</td>
                        </tr>
                      </table></td>
                  </tr>
                  
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="seo" type="checkbox" name="powerlist[user_union]" {getchecked($data['powerlist'],'user_union')} value="1" id="user_union">
                      推广联盟</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="seo user_union" type="checkbox" name="powerlist[union_user]" {getchecked($data['powerlist'],'union_user')} value="1" />
                            联盟用户</td>
                          <td class="unit"><input class="seo user_union" type="checkbox" name="powerlist[union_pay]" {getchecked($data['powerlist'],'union_pay')} value="1" />
                            结算记录</td>
                          <td class="unit"><input class="seo user_union" type="checkbox" name="powerlist[union_visit]" {getchecked($data['powerlist'],'union_visit')} value="1" />
                            访问统计</td>
                          <td class="unit"><input class="seo user_union" type="checkbox" name="powerlist[union_reguser]" {getchecked($data['powerlist'],'union_reguser')} value="1" />
                            注册统计</td>
                          <td class="unit"><input class="seo user_union" type="checkbox" name="powerlist[union_config]" {getchecked($data['powerlist'],'union_config')} value="1" />
                            联盟配置</td>
                        </tr>
                      </table></td>
                  </tr>
                  
                  
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="seo" type="checkbox" name="powerlist[seo_mail]" {getchecked($data['powerlist'],'seo_mail')} value="1" id="seo_mail">
                    邮件管理</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                         <td class="unit"><input class="seo seo_mail" type="checkbox" name="powerlist[seo_mail_send]" {getchecked($data['powerlist'],'seo_mail_send')} value="1" />
                            发送邮件</td>
                          <td class="unit"><input class="seo seo_mail" type="checkbox" name="powerlist[seo_mail_usersend]" {getchecked($data['powerlist'],'seo_mail_usersend')} value="1" />
                            会员邮件群发</td>
                          <td class="unit"><input class="seo seo_mail" type="checkbox" name="powerlist[seo_mail_subscription]" {getchecked($data['powerlist'],'seo_mail_subscription')} value="1" />
                            订阅邮件群发</td>
                        </tr>
                      </table></td>
                  </tr>
                      <tr>
                          <td colspan="1" width="120" class="col" valign="center"><input class="seo" type="checkbox" name="powerlist[seo_xiongzhang]" {getchecked($data['powerlist'],'seo_xiongzhang')} value="1" id="seo_xiongzhang"> 熊掌号推送</td>
                          <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                                  <tr>
                                      <td class="unit"></td>
                                  </tr>
                              </table></td>
                      </tr>
                  <tr>
                    <td colspan="4"><hr></td>
                  </tr>
                </table><table width="100%" border="0" cellspacing="0" cellpadding="2">
                  <tr>
                    <td colspan="4" class="td-row" valign="center"><input name="powerlist[defined]" type="checkbox" id="defined"  value="1" {getchecked($data['powerlist'],'defined')} />
                      <b>自定义</b></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="defined" type="checkbox" name="powerlist[defined_field_content]" {getchecked($data['powerlist'],'defined_field_content')} value="1" id="defined_field_content">
                      内容字段</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="defined defined_field_content" type="checkbox" name="powerlist[defined_field_content_list]" {getchecked($data['powerlist'],'defined_field_content_list')} value="1" />
                            内容字段列表</td>
                          <td class="unit"><input class="defined defined_field_content" type="checkbox" name="powerlist[defined_field_content_add]" {getchecked($data['powerlist'],'defined_field_content_add')} value="1" />
                            添加内容字段</td>
                          <td class="unit"><input class="defined defined_field_content" type="checkbox" name="powerlist[defined_field_content_edit]" {getchecked($data['powerlist'],'defined_field_content_edit')} value="1" />
                          修改内容字段</td>
                          <td class="unit"><input class="defined defined_field_content" type="checkbox" name="powerlist[defined_field_content_del]" {getchecked($data['powerlist'],'defined_field_content_del')} value="1" />
                            删除内容字段</td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="defined" type="checkbox" name="powerlist[defined_field_user]" {getchecked($data['powerlist'],'defined_field_user')} value="1" id="defined_field_user">
                      用户字段</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="defined defined_field_user" type="checkbox" name="powerlist[defined_field_user_list]" {getchecked($data['powerlist'],'defined_field_user_list')} value="1" />
                            用户字段列表</td>
                          <td class="unit"><input class="defined defined_field_user" type="checkbox" name="powerlist[defined_field_user_add]" {getchecked($data['powerlist'],'defined_field_user_add')} value="1" />
                            添加用户字段</td>
                          <td class="unit"><input class="defined defined_field_user" type="checkbox" name="powerlist[defined_field_user_edit]" {getchecked($data['powerlist'],'defined_field_user_edit')} value="1" />
                            修改用户字段</td>
                          <td class="unit"><input class="defined defined_field_user" type="checkbox" name="powerlist[defined_field_user_del]" {getchecked($data['powerlist'],'defined_field_user_del')} value="1" />
                            删除用户字段</td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="defined" type="checkbox" name="powerlist[defined_form]" {getchecked($data['powerlist'],'defined_form')} value="1" id="defined_form">
                      管理表单</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="defined defined_form" type="checkbox" name="powerlist[defined_form_list]" {getchecked($data['powerlist'],'defined_form_list')} value="1" />
                            表单列表</td>
                          <td class="unit"><input class="defined defined_form" type="checkbox" name="powerlist[defined_form_add]" {getchecked($data['powerlist'],'defined_form_add')} value="1" />
                            添加表单</td>
                          <td class="unit"><input class="defined defined_form" type="checkbox" name="powerlist[defined_form_edit]" {getchecked($data['powerlist'],'defined_form_edit')} value="1" />
                            修改表单</td>
                          <td class="unit"><input class="defined defined_form" type="checkbox" name="powerlist[defined_form_del]" {getchecked($data['powerlist'],'defined_form_del')} value="1" />
                            删除表单</td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td colspan="4"><hr></td>
                  </tr>
                </table><table width="100%" border="0" cellspacing="0" cellpadding="2">
                  <tr>
                    <td colspan="4" class="td-row" valign="center"><input name="powerlist[cache]" type="checkbox" id="cache"  value="1" {getchecked($data['powerlist'],'cache')} />
                      <b>生成静态</b></td>
                  </tr>
                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="cache" type="checkbox" name="powerlist[cache_manage]" {getchecked($data['powerlist'],'cache_manage')} value="1" id="cache_manage">
                      电脑生成管理</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="cache cache_manage" type="checkbox" name="powerlist[cache_content]" {getchecked($data['powerlist'],'cache_content')} value="1" />
                            内容生成</td>
                          <td class="unit"><input class="cache cache_manage" type="checkbox" name="powerlist[cache_category]" {getchecked($data['powerlist'],'cache_category')} value="1" />
                            栏目生成</td>
                          <td class="unit"><input class="cache cache_manage" type="checkbox" name="powerlist[cache_index]" {getchecked($data['powerlist'],'cache_index')} value="1" />
                            首页生成</td>
                          <td class="unit"><input class="cache cache_manage" type="checkbox" name="powerlist[cache_type]" {getchecked($data['powerlist'],'cache_type')} value="1" />
                            分类生成</td>
                          <td class="unit"><input class="cache cache_manage" type="checkbox" name="powerlist[cache_special]" {getchecked($data['powerlist'],'cache_special')} value="1" />
                            专题生成</td>
                        </tr>
                        <tr>
                          <!-- <td class="unit"><input class="cache cache_manage" type="checkbox" name="powerlist[cache_area]" {getchecked($data['powerlist'],'cache_area')} value="1" />
                            地区生成</td> -->
                          <td class="unit"><input class="cache cache_manage" type="checkbox" name="powerlist[cache_tag]" {getchecked($data['powerlist'],'cache_tag')} value="1" />
                            标签生成</td>
                          <td class="unit"><input class="cache cache_manage" type="checkbox" name="powerlist[cache_baidu]" {getchecked($data['powerlist'],'cache_baidu')} value="1" />
百度生成</td>
                          <td class="unit" colspan="2"><input class="cache cache_manage" type="checkbox" name="powerlist[cache_google]" {getchecked($data['powerlist'],'cache_google')} value="1" />
GOOGLE生成</td>
                        </tr>
                      </table></td>
                  </tr>

				    <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="cache" type="checkbox" name="powerlist[cache_wap_manage]" {getchecked($data['powerlist'],'cache_wap_manage')} value="1" id="cache_wap_manage">
                      手机生成管理</td>
                    <td colspan="3" class="col" valign="center"><table border="0" cellspacing="0" cellpadding="2">
                        <tr>
                          <td class="unit"><input class="cache cache_wap_manage" type="checkbox" name="powerlist[cache_manage_wap_content]" {getchecked($data['powerlist'],'cache_manage_wap_content')} value="1" />
                            手机内容生成</td>
                          <td class="unit"><input class="cache cache_wap_manage" type="checkbox" name="powerlist[cache_manage_wap_category]" {getchecked($data['powerlist'],'cache_manage_wap_category')} value="1" />
                            手机栏目生成</td>
                          <td class="unit"><input class="cache cache_wap_manage" type="checkbox" name="powerlist[cache_manage_wap_index]" {getchecked($data['powerlist'],'cache_manage_wap_index')} value="1" />
                            手机首页生成</td>
                          <td class="unit"><input class="cache cache_wap_manage" type="checkbox" name="powerlist[cache_manage_wap_type]" {getchecked($data['powerlist'],'cache_manage_wap_type')} value="1" />
                            手机分类生成</td>
                          <td class="unit"><input class="cache cache_wap_manage" type="checkbox" name="powerlist[cache_manage_wap_special]" {getchecked($data['powerlist'],'cache_manage_wap_special')} value="1" />
                            手机专题生成</td>
                        </tr>
                        <tr>
                          <!-- <td class="unit"><input class="cache cache_manage" type="checkbox" name="powerlist[cache_area]" {getchecked($data['powerlist'],'cache_area')} value="1" />
                            地区生成</td> -->
                          <td class="unit"><input class="cache cache_wap_manage" type="checkbox" name="powerlist[cache_manage_wap_tag]" {getchecked($data['powerlist'],'cache_manage_wap_tag')} value="1" />
                            手机标签生成</td>
                         
                        </tr>
                      </table></td>
                  </tr>

                  <tr>
                    <td colspan="1" width="120" class="col" valign="center"><input class="cache" type="checkbox" name="powerlist[cache_update]" {getchecked($data['powerlist'],'cache_update')} value="1" id="cache_update">
                    更新缓存</td>
                    <td colspan="3" class="col">&nbsp;</td>
                  </tr>
                  <tr>
                    <td colspan="4"><hr></td>
                  </tr>
                </table></td>
            </tr>
            <tr>
              <td></td>
            </tr>
          </table></td>
      </tr>
</tbody>
</table>
</div>


<div class="clearfix blank30"></div>
<input type="submit" name="submit" value="提交" class="btn btn-primary" />
</form>
<div class="blank30"></div>
</div>
</div>
