<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.Admin_Admin_manager_edit" %>
<%On Error Resume Next%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="inc/Admin_STYLE.CSS" rel="stylesheet" type="text/css" />
</head>
<body><table style="height:22; width:100%" border="0" cellpadding="0" cellspacing="1">
      <tr class="topbg">
        <td style="height:22" align="center" class="topbg"><strong>网 站 系 统 配 置　</strong></td>
      </tr>
    </table><table style="width:100%"  border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td style="height:27; width:30" align="center"><img src="<%=AppConst.SiteUrl%>/<%=AppConst.Skinpath%>/gojump01.gif" width="16" height="16" /></td>
        <td><a href="Admin_site_config.aspx">网站信息配置</a> | <a href="channel_manage.aspx">文章频道管理</a> | <a href="Admin_Classlist.aspx">行业类别管理</a> | <a href="Ad_hdp_add.aspx">幻灯广告管理</a> | <a href="Admin_xunjialist.aspx">留言询价管理</a><a href="Ad_hdp_add.aspx"></a> | <a href="Links_manger.aspx">友情链接管理</a> | 

 
    <a href="Ad_info_tuijian.aspx">信息推荐管理 </a> </td>
      </tr>
    </table>
<table style="height:156; width:100%" border="0" align="center" cellpadding="1" cellspacing="1" class="border">
  <form name="form1" method="post" action="?action=up">
    <tr> 
      <td colspan="2" class="Title">　<strong>添加管理员：</strong></td>
    </tr>
    <tr class="tdbg">
      <td style="width:18%" align="center"><strong>登 陆 名:</strong></td>
      <td style="width:82%"><%=rs1("M_Userid").Value%></td>
    </tr>
    <tr class="tdbg">
      <td align="center"><strong>名　　字:</strong></td>
      <td style="width:82%"><input name="M_Nmae" type="text" style="width:150" value="<%=rs1("M_Nmae").Value%>" size="20" maxlength="30" /></td>
    </tr>
    <tr class="tdbg"> 
      <td style="width:18%" align="center"><strong>初始密码:</strong></td>
      <td style="width:82%"><input name="pass" type="password" size="20" style="width:150" maxlength="30" />
      *不修改密码请不要填写</td>
    </tr>
    <tr class="tdbg">
      <td style="width:18%" align="center">&nbsp;</td>
      <td><table style="width:100%" border="0" cellspacing="1" cellpadding="2">
        <tr>
          <td style="width:100"><input name="Purview" type="radio" value="1" onclick="PurviewDetail.style.display='none'" <%If IsTrue(rs1("Purview").Value) Then%>checked<%End If%> />
超级管理员：</td>
          <td>拥有所有权限。某些权限（如管理员管理、网站信息配置、网站选项配置等管理权限）只有超级管理员才有</td>
        </tr>
        <tr>
          <td style="width:100"><input type="radio" name="Purview" value="0" onclick="PurviewDetail.style.display=''" <%If Not IsTrue(rs1("Purview").Value) Then%>checked<%End If%> />
普通管理员：</td>
          <td>需要详细指定每一项管理权限</td>
        </tr>
        <tr>
          <td colspan="2" id="PurviewDetail" <%If IsTrue(rs1("Purview").Value) Then%> style="display:none"<%End If%>>
		  <fieldset>
            <legend>网站管理权限</legend>
            <table style="width:100%" border="0" cellspacing="1" cellpadding="2">
              <tr>
                <td style="width:50%"><input name="M_Role" type="checkbox" id="M_Role" value="Member" <%CheckPurview("Member")%> />
                  网站会员管理</td>
                <td style="width:50%"><input name="M_Role" type="checkbox" id="M_Role" value="Info" <%CheckPurview("Info")%> />
                  商机频道管理</td>
              </tr>
              <tr>
                <td style="width:50%"><input name="M_Role" type="checkbox" id="M_Role" value="Products" <%CheckPurview("Products")%> />
                  产品频道管理</td>
                <td style="width:50%"><input name="M_Role" type="checkbox" id="M_Role" value="Shopping" <%CheckPurview("Shopping")%> />
                  订购中心管理</td>
              </tr>
              <tr>
                <td style="width:50%"><input name="M_Role" type="checkbox" id="M_Role" value="Company" <%CheckPurview("Company")%> />
企业频道管理&nbsp;</td>
                <td style="width:50%"><input name="M_Role" type="checkbox" id="M_Role" value="Classad" <%CheckPurview("Classad")%> />
分类信息管理</td>
              </tr>
              <tr>
                <td style="width:50%"><input name="M_Role" type="checkbox" id="M_Role" value="Jobs" <%CheckPurview("Jobs")%> />
人才招聘管理</td>
                <td><input name="M_Role" type="checkbox" id="M_Role" value="Editorstyle" <%CheckPurview("Editorstyle")%> />
编辑器模式管理</td>
              </tr>
              <tr>
                <td><input name="M_Role" type="checkbox" id="M_Role" value="Ghtml" <%CheckPurview("Ghtml")%> />
网站生成管理</td>
                <td><input name="M_Role" type="checkbox" id="M_Role" value="Usertemp" <%CheckPurview("Usertemp")%> />
会员模板管理</td>
              </tr>
              <tr>
                <td><input name="M_Role" type="checkbox" id="M_Role" value="Adv" <%CheckPurview("Adv")%> />
广告服务管理</td>
                <td><input name="M_Role" type="checkbox" id="M_Role" value="Friend" <%CheckPurview("Friend")%> />
友情链接管理</td>
              </tr>
              <tr>
                <td><input name="M_Role" type="checkbox" id="M_Role" value="System" <%CheckPurview("System")%> />
                  网站信息配置管理</td>
                <td><input name="M_Role" type="checkbox" id="M_Role" value="Channel" <%CheckPurview("Channel")%> />
                  网站频道管理</td>
              </tr>
              <tr>
                <td><input name="M_Role" type="checkbox" id="M_Role" value="Systemtype" <%CheckPurview("Systemtype")%> />
行业类别管理</td>
                <td><input name="M_Role" type="checkbox" id="M_Role" value="Jifeng" <%CheckPurview("Jifeng")%> />
积分设置管理</td>
              </tr>
              <tr>
                <td><input name="M_Role" type="checkbox" id="M_Role" value="Case" <%CheckPurview("Case")%> />
成功案例管理</td>
                <td><input name="M_Role6" type="checkbox" id="M_Role" value="Guestbook" <%CheckPurview("Guestbook")%> />
意见建议管理</td>
              </tr>
              <tr>
                <td><input name="M_Role" type="checkbox" id="M_Role" value="Xunjia" <%CheckPurview("Xunjia")%> />
留言询价管理</td>
                <td><input name="M_Role" type="checkbox" id="M_Role" value="Infotj" <%CheckPurview("Infotj")%> />
网站信息管理</td>
              </tr>
              <tr>
                <td><input name="M_Role" type="checkbox" id="M_Role" value="Chatmsg" <%CheckPurview("Chatmsg")%> />
会员聊天消息管理</td>
                <td></td>
              </tr>
              <%Do While Not Rs.EOF%>           
              <tr>
                <td><input name="M_Role" type="checkbox" id="M_Role" value="<%=Rs("C_dir").Value%>" <%CheckPurview(Rs("C_dir").Value)%> /><%=rs("C_name").Value%></td>
                <td>&nbsp;</td>
              </tr>
			  <%rs.movenext() : loop%>
            </table>
            </fieldset></td>
          </tr>
      </table></td>
    </tr>
    <tr align="center" class="tdbg"> 
      <td colspan="2"><input type="hidden" name="id" value="<%=Request("id")%>" />
	  <input type="submit" name="Submit" value="修 改 管 理 员" class="input1" /></td>
    </tr>
  </form>
</table>
</body>
<%Page_Loaded()%>
</html>
