<%IHALyFQWkBZrwlGKrGJyWZwOL80n8Mp0VCJ7EDskbh5TKXAOQDoOEyMvEA0=%>
<%AWYLD9vfxbDlZN6dommw4kwaZnDgNHmEntXR5L/ln9C2553H4J3huNeN9undwp/SrvTwxZ7EvvGXxrzmwbvKheWoxIiho4qFgbTvtc+A5rfNl7DKu/SU2bX5kcy25oPJtO7Hxeyd+7OShK2/lpixg4Dtgc205IPPo7L6ocy714nkvsXa8b7Fm/Wnz9L36o3d+aXNkfCqgZ6ar/Su1Jv9rNaMq9W446L4kMun6sPetOqA17upw5P0v8SU8ezJ1K3ggMmh6oabsoCD7oLOt+eAzKCx+6XPmPSI7r/Cj+m6k5G4pcKStuqC3r/lzvz/%>
<!-- #include virtual="/CRM/connections/conn.asp" -->

<!--登录权限判断，Session和MD5加密判断-->
<%[encoded data, 4592 characters]%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="Author" content="http://www.asp100.cn">
<meta name="Date" content="2003-08">
<title>客户资料收集系统</title>
<link href="myStyle.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
<!--
function checkAll()
{
    var num = parseInt(document.all.num.value);
	if(num == 0){
	    return;
	}
	if(num == 1){
	    document.all.checkOne.checked = document.all.checkAll.checked;
	}
	else{
	    for(var i=0;i<num;i++){
	        document.all.checkOne[i].checked = document.all.checkAll.checked;
		}
	}
}

function transData(sel)
{
    if(confirm("此操作将转移选中的记录。\r继续操作？") == false){
	    return;
	}
	
	var num = parseInt(document.all.num.value);
	if(num == 0){//记录为空，返回操作
	    return;
    }
	var flag = 0
	var arrayId = "";
	if(num == 1){
	    if(document.all.checkOne.checked == true){
		    var arrayId = document.all.checkOne.value;
			document.all.arrayId.value = arrayId;
			flag = 1;
		}
	}
	else{
	    for(var i=0;i<num;i++){
		    if(document.all.checkOne[i].checked == true){
		        if(arrayId == ""){
			        arrayId = document.all.checkOne[i].value;
			    }
			    else{
				    arrayId = arrayId + ",," + document.all.checkOne[i].value;
			    }
			}
		}
		if(arrayId != ""){
			document.all.arrayId.value = arrayId
			flag = 1
		}
	}
	if(flag == 0 && sel != "all"){
	    //noSelect();
		return false;
	}	
}
//没有选择错误提示
function noSelect()
{
    alert("操作前请选择至少一条数据。");
}

function showHideHead(strSrc)
{
	var strFile = strSrc.substring(strSrc.lastIndexOf("/"),strSrc.length);
    if (strFile == "/arrow_up.gif"){
	    oHead.style.display = "none";
		oHeadCtrl.src = "images/arrow_down.gif";
		oHeadCtrl.alt = "显示头部";
		oHeadBar.title = "显示头部";		
	}
	else {
	    oHead.style.display = "block";
		oHeadCtrl.src = "images/arrow_up.gif";
		oHeadCtrl.alt = "隐藏头部";
		oHeadBar.title = "隐藏头部";
	}
}

function ftnTransTo()
{
    var sel;
	for (var i=0;i<document.transToForm.selNum.length;i++){
	    if (document.transToForm.selNum[i].checked == true){
		    sel = document.transToForm.selNum[i].value;
		}
	}
    if (document.transToForm.transTo.value == ""){
	    alert("请输入目标用户。")
		document.transToForm.transTo.focus();
		return false;
	}
	transData(sel)
	if (document.transToForm.arrayId.value == "" && sel != "all"){
	    alert("请选择要转移的数据记录。");
		return false;
	}
}

if (this.location.href == top.location.href){
    top.location.href = "";
}

function checkFrom()
{
    if (document.transFromForm.transFrom.value == ""){
	    alert("请输入要被转移的用户。");
		document.transFromForm.transFrom.focus();
		return false;
	}
}
-->
</script>
</head>

<body style="background-color: menu;" onCopy="return false;" onSelectStart="return false;" onCut="return false;" onContextMenu="window.event.returnValue=false;">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr id="oHead" style="display: block;">
    <td height="1" valign="top"> 
      <table width="778" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="5"><img src="images/null.gif" width="1" height="1"></td>
        </tr>
      </table>
      <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="menu">
        <tr> 
          <td align="left" background='images/tab_top_background_runner.gif'> <table width="5" border="0" align="left" cellpadding="0" cellspacing="0">
            <tr>
              <td><img src="images/null.gif" width="1" height="1"></td>
            </tr>
          </table>
          <table onclick="window.location.replace('listAll.asp')" style="cursor: hand;" border="0" cellspacing="0" cellpadding="0" align="left">
            <tr > 
                <td><img src="images/tab_off_left.gif" width="16" height="24"></td>
                <td background="images/tab_off_middle.gif">查看所有数据</td>
                <td><img src="images/tab_off_right.gif" width="16" height="24"></td>
            </tr>
          </table>
          <table onclick="window.location.replace('addData.asp')" style="cursor: hand;" border="0" cellspacing="0" cellpadding="0" align="left">
            <tr>   
              <td><img src="images/tab_off_left.gif" width="16" height="24"></td>
              <td background="images/tab_off_middle.gif">添加数据</td>
              <td><img src="images/tab_off_right.gif" width="16" height="24"></td>
            </tr>
          </table>	  
          <table onclick="window.location.replace('advanceSearch.asp')" style="cursor: hand;" border="0" cellspacing="0" cellpadding="0" align="left">
            <tr> 
                <td><img src="images/tab_off_left.gif" width="16" height="24"></td>
                <td background="images/tab_off_middle.gif">高级搜索</td>
                <td><img src="images/tab_off_right.gif" width="16" height="24"></td>
            </tr>
          </table>
          <table onclick="window.location.replace('dataForm.asp')" style="cursor: hand;" border="0" cellspacing="0" cellpadding="0" align="left">
            <tr> 
              <td><img src="images/tab_off_left.gif" width="16" height="24"></td>
              <td background="images/tab_off_middle.gif">数据报表</td>
              <td><img src="images/tab_off_right.gif" width="16" height="24"></td>
            </tr>
          </table>
          <table onclick="window.location.replace('exportData.asp')" style="cursor: hand;" border="0" cellspacing="0" cellpadding="0" align="left">
            <tr> 
                <td><img src="images/tab_off_left.gif" width="16" height="24"></td>
                <td background="images/tab_off_middle.gif">数据导出</td>
                <td><img src="images/tab_off_right.gif" width="16" height="24"></td>
            </tr>
          </table>
<%YUGpRDCnPnJT+wbnx8M+XsTqyRBmnUTtLU0ocg1XMi8PECQ7CxRJHnIjCg==%>
          <table onclick="window.location.replace('transData.asp')" style="cursor: hand;" border="0" cellspacing="0" cellpadding="0" align="left">
            <tr> 
                <td><img src="images/tab_on_left.gif" width="16" height="24"></td>
                <td background="images/tab_on_middle.gif">数据转移</td>
                <td><img src="images/tab_on_right.gif" width="16" height="24"></td>
            </tr>
          </table>
          <table onclick="window.location.replace('manageUser.asp')" style="cursor: hand;" border="0" cellspacing="0" cellpadding="0" align="left">
              <tr> 
                <td><img src="images/tab_off_left.gif" width="16" height="24"></td>
                <td background="images/tab_off_middle.gif">用户管理</td>
                <td><img src="images/tab_off_right.gif" width="16" height="24"></td>
              </tr>
            </table>
			<table onclick="window.location.replace('system_level.asp')" style="cursor: hand;" border="0" cellspacing="0" cellpadding="0" align="left">
              <tr> 
                <td><img src="images/tab_off_left.gif" width="16" height="24"></td>
                <td background="images/tab_off_middle.gif">系统设置</td>
                <td><img src="images/tab_off_right.gif" width="16" height="24"></td>
              </tr>
            </table>
<%vqR/eF/hqZvpr/o9Xk2lKNyyuQksjhiu%>
            <table onclick="window.location.replace('logout.asp')" style="cursor: hand;" border="0" cellspacing="0" cellpadding="0" align="right">
              <tr>    
              <td><img src="images/tab_off_left.gif" width="16" height="24"></td>
              <td background="images/tab_off_middle.gif">注销</td>
              <td><img src="images/tab_off_right.gif" width="16" height="24"></td>
            </tr>
          </table>
            <table onclick="window.location.reload();" style="cursor: hand;" border="0" cellspacing="0" cellpadding="0" align="right">
              <tr> 
                <td><img src="images/tab_off_left.gif" width="16" height="24"></td>
                <td background="images/tab_off_middle.gif">刷新</td>
                <td><img src="images/tab_off_right.gif" width="16" height="24"></td>
              </tr>
            </table></td>
      </tr>
    </table>
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr> 
        <td height="5"><img src="images/null.gif" width="1" height="1"></td>
      </tr>
      <tr>
        <td bgcolor="#999999">&nbsp;</td>
      </tr>
    </table>
      <table width="100%" border="0" cellpadding="5" cellspacing="0" bgcolor="#FFFFFF">
        <tr> 
          <td width="20" align="right">&nbsp;</td>
          <td><table border="0" align="left" cellpadding="0" cellspacing="0">
              <form name="transFromForm" method="post" action="?" onSubmit="return checkFrom();">
                <tr> 
                  <td> 要转移的用户： 
                    <input name="transFrom" type="text" id="transFrom" value="<%ViC7MmeqMdtT+wbnx8M+XsTqyRBmnUTtcBBtIEgZYxphMVVIaHdCQ2p3XEMeSSV0XTBcEGk5XhJ+bzF8HFc7LHYsVhp6Kk1acQ1WJHI5Qhx7N3g1UwEqPBwD%>" size="12" maxlength="16" onFocus="this.value='';"> 
                    <input name="Search" type="submit" id="Search" value="列表"></td>
                </tr>
              </form>
            </table>
            <table border="0" align="right" cellpadding="0" cellspacing="0">
              <form name="transToForm" action="trans.asp" method="post" onSubmit="return ftnTransTo();">
			  <tr> 
                <td align="right"> <label>转移给： 
                  <input name="transTo" type="text" id="transTo" size="12" maxlength="16" onFocus="this.value='';">
                  <input name="selNum" type="radio" value="seled" checked>
                  仅选择的记录</label> <label> 
                  <input type="radio" name="selNum" value="all">
                  该业务员全部记录</label>
                  <input name="transFrom" type="hidden" id="transFrom" value="<%EZ3vi65Jnp9T+wbnx8M+XsTqyRBmnUTtZwd6N18OdA12JkJff2BVVH1gS1QJXjJjSidLB34uSQVpeCZrC0AsO2E7QQ1tPVpNZhpBM2UuVQtsIG8iRBY9KwsU%>">
                  <input name="arrayId" type="hidden" id="arrayId" value=""> 
                  <input type="submit" name="Submit" value="转移"> 
                </td>
              </tr>
			  </form>
            </table></td>
          <td width="20">&nbsp;</td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td height="16" align="center" bgcolor="#999999" id="oHeadBar" style="cursor: hand;" title="隐藏头部" onClick="return showHideHead(document.all.oHeadCtrl.src);"> 
      <img src="images/arrow_up.gif" alt="隐藏头部" width="16" height="16" align="absmiddle" id="oHeadCtrl">&nbsp;</td>
    </td>
  </tr>
  <tr>
    <td valign="top" bgcolor="#FFFFFF" style="padding: 10px;"> 
      <%HkKQKcTt8hT4axesUGXWCmF4f4hhuC40%>
      <table width="100%" align="center" border="1" cellpadding="3" cellspacing="0" bordercolor="#DCDCDC" bordercolordark="#FFFFFF">
        <tr> 
          <td width="60" height="20" align="center" bgcolor="menu">编号</td>
          <td width="20" height="20" align="center" bgcolor="menu">
            <input name="checkAll" type="checkbox" id="checkAll" value="checkbox" onClick="checkAll()"></td>
          <td height="20" align="center" bgcolor="menu">公司名称</td>
          <td height="20" align="center" bgcolor="menu">公司网址</td>
          <td height="20" align="center" bgcolor="menu">客户等级</td>
          <td height="20" align="center" bgcolor="menu">用户组</td>
        </tr>
        <%C0Sq94qRq4AlfsxlaiSJxdISn/Q04Esg%>
		<input name="num" type="hidden" id="num" value="<%hhMDGRWZGxg7YX7/VCLOp9yyuQksjhiu%>">
      </table></td>
  </tr>
  <tr>
    <td height="16" align="right" bgcolor="#999999"><a href="#top"><img src="images/arrow_up.gif" alt="返回顶部" width="16" height="16" border="0" align="absmiddle"></a>&nbsp;</td>
	</td>
  </tr>
</table>
</body>
</html>
