<!--#include file="../SQLconn.asp"-->

<link rel="stylesheet" type="text/css" href="../css/style.css" />

<div align="center">
<input type="button"  value="更改我的通信录" class="topanniu" onClick="window.open('tongxinluchange.asp','oa_sub_window','height=300,width=500,status=0,toolbar=no,menubar=no,location=no,left=300,top=200,scrollbars=yes,resizable=yes');" title="更改通信录">
</div>
<br>
<table width="100%" align="center" border="1" cellpadding="3"   cellspacing="0"  bordercolor="#6D8DD8"  class="mtable">   
<tr style="background-color:#D6E4FF"  class="TableHeader">

       <td align="center" nowrap class="STYLE1">用户</td>
       <td height="29" align="center" nowrap class="STYLE1">姓名</td>
	   <td height="29" align="center" nowrap class="STYLE1">电话</td>
	   <td height="29" align="center" nowrap class="STYLE1">手机</td>
	   <td height="29" align="center" nowrap class="STYLE1">邮箱</td>
  </tr>
<%
   Tname=request.cookies("tname")
   Set Rslist=Server.CreateObject("Adodb.Recordset")
   sqllist="select * from Employee  order by Tname" 
   Rslist.open sqllist,conn,1,1
   while not Rslist.eof and not Rslist.bof
%>
    <tr onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#EFF8FF'">
      <td width="105" height="30" align="center" nowrap class="STYLE1"><%=Rslist("Tno")%></td>
      <td width="111" align="center" nowrap class="STYLE1"><%=Rslist("Tname")%></td>
	  <td width="133" align="center" nowrap class="STYLE1"><%=Rslist("HOMETEL")%>&nbsp;</td>
	  <td width="136" align="center" nowrap class="STYLE1"><%=Rslist("ShouJI")%>&nbsp;</td>
	  <td width="193" align="center" nowrap class="STYLE1"><%=Rslist("EMAIL")%>&nbsp;</td>
	</tr>
<%  Rslist.movenext
    wend
%>
</table>
<p align="center">
  <input name="button" type="button" class="topanniu" onclick="location='../main.asp';"  value="返回首页" />
</p>
