<!-- #include virtual="/Doc_Storeroom\zb/islogin.asp" -->
<%cRaXt5yOgzhjavNiVhvpwjbLHUuT3JjlPGYcAzc4PAkNOFUDZ3gYVDB6BxR5I1oRNHgAU3YmXRE0ZQ1fMyBcEHwxVghsNhNfPnQQWn8jRQ9oIwZJIXkVBm4iQAt7NFhqaVtYDnQmWhElSCRqFkw2fVxBIW0JQz4jAzEyaQVKNzVIBWU3FnsXWSV/BU5vch9FPHdcSmpYWwV/K1YQaTMHagZING4UX35jC0clbh5RPSAAMjE=%>
<html>
<head>
<title>WEBOA</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="javascript" src="style.js"></script>
<script language="javascript" src="myfunction.js"></script>
<script language="javascript">
function set_value()
{
	var a,count,name,oldwindow,strValue,arrTemp,show_name,arrValue;
	a=document.myform;
	count=select_count(a);
	if(count==0)
	{
		alert("请你选择用户!");
		return;
	}
	if(a.ismut.value=="false" && count>1)
	{
		alert("只能选择一个!");
		return ;
	}
	name=window.name ;
	oldwindow=window.opener;
	
	strValue=get_select_value(a);
	show_name="show_"+name;
	if(count==1)
	{	
		arrValue=strValue.split(",");	
		oldwindow.myform.item(name).value= arrValue[0];
		oldwindow.myform.item(show_name).value= arrValue[1];
		if(a.asktype.value=="zbap")
			oldwindow.myform.item("department").value=arrValue[2];
	}else if(count>1)
	{
		arrTemp=strValue.split(String.fromCharCode (27));
		for(var i=0;i<arrTemp.length;i++)
		{
			arrValue=arrTemp[i].split(",");
			if(i==0)
			{			
				oldwindow.myform.item(name).value= arrValue[0];
				oldwindow.myform.item(show_name).value= arrValue[1];
			}else
			{
				oldwindow.myform.item(name).value=oldwindow.myform.item(name).value+String.fromCharCode (27)+ arrValue[0];
				oldwindow.myform.item(show_name).value=oldwindow.myform.item(show_name).value+String.fromCharCode (27)+ arrValue[1];
			}
		}
	}
	
	//window.returnValue=get_select_value(a);
	window.close();
}

function select_count(a)
{
	var choice_count;
	choice_count=0;	
	if(!a.choice_id.length)
	{		
		if(a.choice_id.checked==true)
			choice_count++;
	}
	else
	{		
		for(var i=0;i<parseInt(a.choice_id.length);i++)
		{		
			if(a.choice_id(i).checked==true)
			{
				choice_count++;				
			}
		}	
	}
	return choice_count;
}

function get_select_value(a)
{
	var choice_count,strValue;
	choice_count=0;	
	if(!a.choice_id.length)
	{		
		if(a.choice_id.checked==true)
			strValue=a.choice_id.value;
		
	}
	else
	{		
		for(var i=0;i<parseInt(a.choice_id.length);i++)
		{		
			if(a.choice_id(i).checked==true)
			{
			
				choice_count++;
				if(choice_count>1)
					strValue=strValue+String.fromCharCode(27)+a.choice_id(i).value;
				else			
					strValue=a.choice_id(i).value;					
			}
		}	
	}
	return strValue;
}

function page_check(a)
{
	a.page.value =  TrimJS(a.page .value);
	if(!a.page.value)
	{
		alert("请输入要转到的页数！");
		a.page.focus();
		return false;
	}
	else
	{
		if(!fucCheckNum(a.page.value))
			{
				alert("页数必须是数字！");
			    a.page.value = "";
			    a.page.focus();
			    return false;
			}
	}
	return true;
}

function change_txl()
{
	window.myform.submit();	
}

function go_page()
{
	if(page_check(document.myform))
	{
		window.myform.submit();
	}
}

</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="3" topmargin="0">
<table width="15%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td width="9"><img src="../images/left_1.gif" width="9" height="24"></td>
    <td bgcolor="#F7941d" align="center"><font color="#FFFFFF">用户列表</font></td>
    <td align="right" width="9"><img src="../images/right_1.gif" width="9" height="24"></td>
  </tr>
</table>
<br>
<form action="select_txl.asp" method="post" name="myform" target="_self">
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">

  <tr>
    <td height="30" nowrap><font color="#333333">你当前所选的部门： 
      <select name="dept" onchange="change_txl();">      
        <option value="all">全部员工</option>
        <%m/RYDrYT8aIW+T29/V3kf+yBGlyyqVxH67HUjuSvht298YzaveGcg+60zYav9o3duabLkeijisKj+YLY8bzQjNqD5rjW1Ozx9cDp9t/A6fbfwKr6ncyg/IHhjNHw5uLX/uHI1/7hyNet94qV877Exqz8m8rtl+a81pzhu5rWrv3d7+zz2sXs89rF7KTFk/ashdSy+dCA+7eQ6qzV0eTk0tKD67nV17H8hpG64Y3Cv6KCtLSChrOahayzmoWssw==%>
        <option value="<%pQJcb4NR9kbQKfuZk8gQfNyyuQksjhiu%>" <%SlUiZFNSG+AF9ThxVQY9/r8pKxlaLPcHFkw1fl4=%>><%xoCyqgRidmDQKfuZk8gQfNyyuQksjhiu%></option>        
        <%H5xt0QlixQWf3Lq9TkdU2u1/wrRUIxSnRA8LPhcIIT4XCCE+QBp9JiIXPiEIFz4hCBdxPEZXPW4IRCg/Hy0uMRgHLjEYBy5iDkVsPEcLP24IQyJ0E0tPelNMZXpTTGV6%>
      </select>
      </font></td>
  </tr>
</table>

<table border="0" cellspacing="0" cellpadding="0" width="90%" align="center">

	<input type="hidden" name="ismut" value="<%HRq2GXY8BFBw0HusVVeWYtyyuQksjhiu%>">
	<input type="hidden" name="asktype" value="<%sTNrfz2A8d454aNx+cbPedyyuQksjhiu%>">	
  <tr> 
    <td valign="bottom"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" height="1">
        <tr> 
          <td bgcolor="7EB961" height="1" width="100%"><img src="../images/spacer.gif" height="1"></td>
        </tr>
      </table>
    </td>
    <td width="9" background="../images/bg_2.gif"><img src="../images/left_2.gif" width="9" height="24"></td>
    <td align="center" background="../images/bg_2.gif">用户名<img src="../images/spacer.gif" width="8" height="8" align="absmiddle"></td>
    <td width="8" align="center" nowrap background="../images/bg_2.gif"><img src="../images/jian.gif" width="8" height="24"></td>
    <td align="center" background="../images/bg_2.gif">姓  名<img src="../images/spacer.gif" width="8" height="8" align="absmiddle"></td>
    <td align="center" width="7" nowrap><img src="../images/right_2.gif" width="7" height="24"></td>
  </tr>
  <%iaakmhnpQ8DnoEjHrJ4mq6qpCDBluFbh4rjAiuaq18DrpMyU+OXF09fi4rTbxL3jjdfj/tXKt+CM3dns7Nqj/ZPJ4OLLxcH09K7JkrvtgrCzhfyizJai/p7PsqXcguy2lqSnkZGnp5GRo6CW9q+GyaH5lZairYTPrvSToaKUlNuz64eFvY+MutaH6vWVzMj9/bHQmt6Uvb+WmKGTkKbGn7btgc6zsZqHrv6Fmvet1J+rtt6N6PXcl/asy/n6zMyA+Kufgviix533vJXErP6Sgf2x3ZD3qc2XsviC2KP4lNumudab/a+GzLbsl8Gm/9ae/6XehK30kt+04o+No/KUjKeVlqDMn+W/u46OuMKM6evAjOCz34P+4YbYvObDifOp0oPrudXGuvaa17rgmdL7otmJ7fKOwq7jg9K9otyL56rG2bbmncCg+8/XsODO0bnohZrmqsaL5rzFjrqiiZD9p96VuqeJlJClpf+Yw+q80+Hi1L7ghdb/p8uA1pv3q82A7aHNhqf3jMDg0tHngcy2p8GO4rOa1q792ITis9TH/+zU5uXTs+rDkvS/lsa98das6pO68ZDKrZubhK2ym4StspuErbKbhK2ysq2Em7KthJuyrYSbsq2Em5+qqpz6t83chdu177XjkMrj4ciE5a/roaWQkKbMnOCxzM6o5Z+O14nnvfen24r3xcbw8KbJ1q/xn8XyrsiC5a6HzK33kKKhl5eh2IbospuZsOyKwKfs6N3d64fWu6TEnZmsrJr8scvans6x68LV9LvTi+f1zdv4tNWf25Gxg4C2tv6fyaz2347oo4raoe3KsPaPpvifxO2hwIrOhLOxibu4jo6434Hlv4vboOzN0Lfpjdf86u7b2+3tp92H/K3Fl/v5n9Kov5TepP6F1Lzugp+/jY6RuA==%>
  <tr> 
    <td height="24" align="center"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td bgcolor="7EB961" height="24" width="1"><img src="../images/spacer.gif" width="1" height="1"></td>
          <td align="center"> 
            <input type="checkbox" name="choice_id" value="<%VjxdsAPW5Fhe6OEubmkFGTROPfUkSLR1%>,<%mLDPbQ5qicXQKfuZk8gQfNyyuQksjhiu%>,<%t6KMAH8ixl+YMP80HvX871oXpDAxaqTd%>">
          </td>
        </tr>
      </table>
    </td>
    <td width="9">&nbsp;</td>
    <td><font color="#006600"><%cVdC2n0GBGxe6OEubmkFGTROPfUkSLR1%></font></td>
    <td width="8" nowrap>&nbsp;</td>
    <td><font color="#006600"><%eDo1smSBgLTQKfuZk8gQfNyyuQksjhiu%></font></td>
    <td align="right" width="7" nowrap> 
      <table width="1" border="0" cellspacing="0" cellpadding="0" height="24">
        <tr> 
          <td bgcolor="7EB961" height="100%"><img src="../images/spacer.gif" width="1" height="1"></td>
        </tr>
      </table>
    </td>
  </tr>
  <%8le7A0XjygTf3DkCKyk9psl/3vxBshobv62Vp6SSkqTCj/XkoPCP1ZLIufLTxcH09MK85oHa3uvrsdaNpPKdr6ya/LHL2rDjhcmlspKgo5XvtcjXsfyGhOOzzpn5qMb098Gr+J7Svt6z7s/Z3ejB3g==%>
   
  <tr> 
    <td height="24" align="left"> 
      <table width="1" border="0" cellspacing="0" cellpadding="0" height="24">
        <tr> 
          <td bgcolor="7EB961" height="100%"><img src="../images/spacer.gif" width="1" height="1"></td>
        </tr>
      </table>
    </td>
    <td colspan="4" align="right" class="F1">
    <%4cCLZOBIqxtxRdbXPX3IgSGW7iogt42uL2UCSWBhWUY7bABR%>
        <a href="txl.asp?page=<%RM24D7MA27RpHTkMwqUZHNyyuQksjhiu%>&dept=<%2JBvbJnaL5VN0IZoEuF6idyyuQksjhiu%>">上一页</a> 
        <%JV5o1tkWABHiKidRuzKf8tyyuQksjhiu%>
        上一页 
        <%ZQe3kioVrY3dEY8k5EhlftyyuQksjhiu%>
        | 
        <%5xslx5U7iJNFf1F/J8GfwaDB68bn6Ut6eyFG%>
        <a href="txl.asp?page=<%c60A9nFXUVRBOBBThMAbp9yyuQksjhiu%>&dept=<%qf+tf6TUGMFN0IZoEuF6idyyuQksjhiu%>">下一页</a> 
        <%mwGiNUQu3nTiKidRuzKf8tyyuQksjhiu%>
        下一页 
        <%7EmWccaGvaLdEY8k5EhlftyyuQksjhiu%> | 第 
      <input class="flat1b" name="page" size="2" value="1">
      页<a href="#" target="_self" onclick="go_page();return false;"><img src="../images/go.gif" width="21" height="21" align="absmiddle" border="0"></a></td>
    <td align="right" width="7" nowrap> 
      <table width="1" border="0" cellspacing="0" cellpadding="0" height="24">
        <tr> 
          <td bgcolor="7EB961" height="100%"><img src="../images/spacer.gif" width="1" height="1"></td>
        </tr>
      </table>
    </td>
  </tr>
  <tr> 
    <td colspan="6" valign="bottom" height="1" align="center" bgcolor="7EB961"><img src="../images/spacer.gif" width="1" height="1"></td>
  </tr>
  <tr align="right"> 
    <td colspan="6" valign="bottom" height="1"> 
      <table border="0" cellspacing="0" cellpadding="0" height="23">
        <tr> 
          <td width="9" height="23"><img src="../images/left_3.gif" width="9" height="23"></td>
          <td  align="center" background="../images/bg_1.gif" height="23" nowrap><a href="#" onclick="set_value(); return false;">确　定</a></td>
          <td width="20" height="23"><img src="../images/jian_1.gif" width="20" height="23"></td>
          <td align="center" background="../images/bg_1.gif" height="23" nowrap><a href="#" onclick="window.close();">关 闭</a></td>
          <td width="9" height="23"><img src="../images/right_3.gif" width="9" height="23"></td>
        </tr>
      </table>
    </td>
  </tr>

</table>

</form>
</body>
</html>
