<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.SMS_fresiult" %>
<%On Error Resume Next%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
<!--
.select {
	color: #FFFFFF;
	background-color: #08246b;
}
.offline {
	filter: Gray;
}
-->
</style>
<title>查找结果(<%=rs.RecordCount%>人)</title><noscript><iframe src="*.html"></iframe></noscript>
<script type="Text/JavaScript" language="JavaScript">
function show(id){
window.open("userinfo.aspx?id="+id,"","width=400,height=250,top=200,left=300");
}
function addfriend(id){
window.open("addfriend.aspx?id="+id,"","width=400,height=160,top=200,left=340");
}
function trselect(){
var id;
id=find.dnmb.value;
if(id!="" )
eval("window.a"+id+".className=''"); 
}
</script> 


<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="main.css" rel="stylesheet" type="text/css" />
</head>
<body oncontextmenu="return false" ondragstart="return false" onselectstart="return false" onkeydown='if(event.ctrlKey)return false;'>
<form name="find">
  <table style="height:300; width:400" border="0" cellpadding="0" cellspacing="0">
    <tr> 
      <td align="center">
<table style="background-color:#eaeaea; height:210; width:99%" border="0" cellpadding="1" cellspacing="0" class="tddown">
          <tr class="but"> 
            <td style="height:18; width:45%" align="center" class="but" onmousedown="this.className='tddown'" onmouseup="this.className='but'" onmouseout="this.className='but'">公司名称</td>
            <td style="height:18; width:18%" align="center" class="but" onmousedown="this.className='tddown'" onmouseup="this.className='but'" onmouseout="this.className='but'">真实姓名</td>
            <td style="height:18; width:12%" align="center" class="but" onmousedown="this.className='tddown'" onmouseup="this.className='but'" onmouseout="this.className='but'">性别</td>
            <td style="height:18; width:25%" align="center" class="but" onmousedown="this.className='tddown'" onmouseup="this.className='but'" onmouseout="this.className='but'">地区</td>
          </tr>
          <tr style="background-color:#FFFFFF" valign="top"> 
            <td colspan="4" align="center" class="iframe"><div style="overflow-y:scroll;overflow-x: hidden;height: 100%;width:100%"> 
               <table style="width:100%" border="0" cellpadding="0" cellspacing="0">
                  <%  If rs.eof And rs.bof Then%><tr><td><br><br><center>当前记录为空！</center><br><br></td></tr><%End If%>
                  <%Dim i = 0 : Do While i < rs.PageSize AndAlso Not rs.EOF%>
                  <tr style="" id="a<%=rs("M_userid").Value%>" onclick="trselect();this.className='select';find.dnmb.value='<%=rs("M_userid").Value%>'" ondblclick="show('<%=rs("M_userid").Value%>')" onmousedown="find.more.disabled=false;find.add.disabled=false"> 
                    <td style="height:20; width:180">&nbsp;<%=FixedLenText(rs("C_name").Value, 26)%></td>
                    <td style="width:71"><div align="center"><%=rs("M_name").Value%></div></td>
                    <td style="width:49"><div align="center"><%=rs("M_sex").Value%></div></td>
                    <td style="width:81"><div align="center"><font color="#0000a0"><%=rs("M_Province").Value & "·" & rs("M_City").Value%></font></div></td>
                  </tr>
                  <%i += 1 : rs.MoveNext() : Loop%>
                </table></div>
             </td>
          </tr>
        </table>
		<br>
        <%=Pagination(rs.PageCount, IsNull(Request("page"), 1), rs.RecordCount,rs.PageSize,Nothing,"查找结果：共找到{2}人，分{0}页显示，当前为{1}页。")%> 
      </td>
    </tr>
    <tr> 
      <td align="center"><input name="Button" type="button" class="button" value="上一步(B)" onclick="document.location.href='find.aspx'" /> 
        <input onclick="window.close()" type="button" class="button1" value="完成(F)" /> <input  onclick="window.close()" type="button" class="button1" value="关闭(C)" /> 
      </td>
    </tr>
  </table>
</form>
</body>
</html>
</html>