<!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">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
<link rel="stylesheet" type="text/css" href="{$vd['sc']}css/main.css"/>
</head>
<body>
<!--$s = $vd['item'];-->
<div id="titleDiv">
<div style="float:left"><a href="index.php?a=home"><img src="{$vd['sc']}images/home.png" style="vertical-align:middle" border="0"/></a></div><div style="float:left;padding-top:8px;padding-left:3px;"><a href="index.php?a=home" title="回到后台首页"><font color="#000">桌面</font></a> <span style="font-size:7px;">>></span> <span style="font-size:12px;">权限设置</span>
  <strong onmouseover="showhide(this);" onmouseout="showhide(this);" style="cursor:pointer">[?]</strong><p style="display:none">
    设置各个类别管理员的权限
  </p>
</div>
<div style="float:right;"><a href="index.php" onFocus="this.blur()" title="查看员工相关帮助"><img src="{$vd['sc']}images/help.gif" style="vertical-align:middle" border="0"/></a></div>
</div>
<div id="contentTip" style="display:none;"></div>
<form id="cform" method="post" action="index.php?m=mod_b2b&c=Master&a=RightsSave">
<div id="content" class="cwarpper">
<div class="cbodyHead"></div>
<div class="cwarpper1">
<div class="ctitle">管理员基本信息</div>
<table border="1" id="ctable1" class="ctable" bordercolor="#ededed">
  <tr>
    <td class="tablelt">管理员帐号 </td>
    <td class="tablert"><b>{$s['adminName']}</b></td>
  </tr>
</table>
<input type="hidden" value="{$s['adminName']}" name="adminname" id="adminname"/>
</div>
<?php

?>
<!--$myrights = $vd['item']['rights'];foreach($vd['rightarray'] as $item){-->
<div class="cwarpper1">
<div class="ctitle">{$item['name']}</div>
<div>
<table border="1" class="ctable" bordercolor="#ededed">
  <!--$n=0;$i=0;foreach($item['val'] as $item1) {-->
  <!--if($i == 0){-->
  <tr>
  <!--$n++;}$i++;-->
    <td width="25%">
      <input type="checkbox" value="1" name="rights_{$item1['id']}" class="checkbox" <!--if($myrights[$item1['id']]==1){-->checked<!--}-->/>{$item1['name']}
    </td>
  <!--if($i == 4){-->
  </tr>
  <!--$i=0;}-->
  <!--}-->
  
  <!--if($i > 0){-->
  <!--for($j=0; $j < 4 - $i; $j++){-->
  <td width="25%"></td>
  <!--}-->
  </tr>
  <!--}-->
</table>
</div>
</div>
<!--}-->

<div class="cbodyFoot"></div>
</div>
<div id="opcontent">
  <div class="optxt">
    <input type="submit" value="设 置 &gt;&gt;" name="b1" class="btn"/>
    <input type="reset" value="重 置 &gt;&gt;" name="b1" class="btn"/>
  </div>
</div>
</form>
<object id="t1" codeBase="{$vd['sc']}tools/umebiz.cab" classid="CLSID:B8748B60-E34D-42AA-9309-8012CA4964AC" height=0 width=0 ></object>
<script type="text/javascript">
  var ctablenum = 1;
</script>
<script src="{$vd['sc']}js/content.js" type="text/javascript"></script>
<script type="text/javascript">
var $ = function(id){
  return document.getElementById(id);
}
function getip(i){
  $("ip_"+i).value = "{$vd['ip']}";  
}

function getmac(i)
{
  $("mac_"+i).value = document.all.t1.GetMacAddr;
}

function getcpu(i)
{
  $("cpu_"+i).value = document.all.t1.GetCpuId;
}

function gethde(i)
{
  $("hde_"+i).value = document.all.t1.GetHDE;
}
</script>
</body>
</html>

