<%@language=vbscript codepage=936 %>

<%
	'On Error Resume Next
 	connstr = "DBQ=" + server.mappath("Database/buluo.mdb") + ";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)};"       
	set conn=server.createobject("ADODB.CONNECTION")
	if err.number<>0 then 
		err.clear
		set conn=nothing
		response.write "数据库连接出错！"
		Response.End
	else
		conn.open connstr
		if err then 
			err.clear
			set conn=nothing
			response.write "数据库连接出错！"
			Response.End 
		end if
	end if 
%>
<!--include file="Admin_ChkPurview.asp"-->
<!--include file="inc/ubbcode.asp"-->
<!--include file="inc/function.asp"-->
<!--include file="inc/admin_code_article.asp"-->
<html>
<head>
<title>文章管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<link rel="stylesheet" type="text/css" href="Admin_Style.css">
<style type="text/css">
<!--
.style1 {color: #FF6600}
-->
</style>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table cellpadding="0" cellspacing="1" border="0" width="100%" class="border" align=center>
  <tr>
	<td align="center" class="title"><strong>注 册 用 户 管 理</strong></td>
  </tr>
</table>
<table width='100%' border="0" cellpadding="0" cellspacing="0"><tr>
     <td><table class="border" border="0" cellspacing="1" width="100%" cellpadding="0">
          <tr height="22">
            <td align="center" bgcolor="#CECDCD">
			
			<%
				ID = Request("ID")
				Sql = "select * from UserReg where ID="&ID
				Set Rs = Server.CreateObject("Adodb.RecordSet")
				Rs.Open Sql,conn,1,1
				IF Rs.Eof Then
					Response.Write("<script language='javascript'>alert('该用户不存在或已经删除');history.go(-1);</script>")
				Else
			%>
			<TABLE cellSpacing=0 cellPadding=0 width=100% align=center border=0>
              <TBODY>
                <TR>
                  <TD height="30"><DIV align=center class=title><strong>基本资料</strong></DIV></TD>
                </TR>
              </TBODY>
            </TABLE>
              <TABLE cellSpacing=1 cellPadding=5 width=100% align=center bgColor=#ffffff 
border=0>
                <TBODY>
                  <TR>
                    <TD width="22%" align=middle bgColor=#fbf8f4><div align="right"><STRONG>性　别：</STRONG></div></TD>
                    <TD width="78%" bgColor=#fbf8f4><%=Rs("Sex")%></TD>
                  </TR>
                  <TR>
                    <TD align=middle bgColor=#fbf8f4><DIV class=STYLE11 align=center>
                      <div align="right"><STRONG>联系人：</STRONG></div>
                    </DIV></TD>
                    <TD bgColor=#fbf8f4><%=Rs("ContactName")%></TD>
                  </TR>
                  <TR>
                    <TD align=middle bgColor=#fbf8f4><DIV class=STYLE11 align=center>
                      <div align="right"><STRONG>E-Mail：</STRONG></div>
                    </DIV></TD>
                    <TD bgColor=#fbf8f4><%=Rs("Email")%></TD>
                  </TR>
                  <TR>
                    <TD align=middle bgColor=#fbf8f4><DIV class=STYLE11 align=center>
                      <div align="right"><STRONG>所在地区：</STRONG></div>
                    </DIV></TD>
                    <TD bgColor=#fbf8f4><%=Rs("Province")%>&nbsp;<%=Rs("City")%></TD>
                  </TR>
                </TBODY>
              </TABLE>
              <TABLE cellSpacing=0 cellPadding=0 width=100% align=center border=0>
                <TBODY>
                  <TR>
                    <TD><DIV align=center class=title><strong>联系方式</strong></DIV></TD>
                  </TR>
                </TBODY>
              </TABLE>
              <TABLE cellSpacing=1 cellPadding=5 width=100% align=center bgColor=#ffffff 
border=0>
                <TBODY>
                  <TR>
                    <TD width="22%" align=middle bgColor=#fbf8f4><DIV class=STYLE11 align=center>
                      <div align="right"><STRONG>详细地址：</STRONG></div>
                    </DIV></TD>
                    <TD width=78% bgColor=#fbf8f4><%=Rs("Address")%></TD>
                  </TR>
                  <TR>
                    <TD align=middle bgColor=#fbf8f4><div align="right"><STRONG>手　机：</STRONG></div></TD>
                    <TD bgColor=#fbf8f4><%=Rs("Phone")%></TD>
                  </TR>
                  <TR>
                    <TD align=middle bgColor=#fbf8f4><DIV class=STYLE11 align=center>
                      <div align="right"><STRONG>电　话：</STRONG></div>
                    </DIV></TD>
                    <TD bgColor=#fbf8f4><%=Rs("Tel")%></TD>
                  </TR>
                  <TR>
                    <TD align=middle bgColor=#fbf8f4><div align="right"><STRONG>传　真：</STRONG></div></TD>
                    <TD bgColor=#fbf8f4><%=Rs("Fax")%></TD>
                  </TR>
                  <TR>
                    <TD align=middle bgColor=#fbf8f4><div align="right"><STRONG>MSN/QQ：</STRONG></div></TD>
                    <TD bgColor=#fbf8f4><%=Rs("Msn")%></TD>
                  </TR>
                </TBODY>
              </TABLE>
              <TABLE cellSpacing=0 cellPadding=0 width=100% align=center border=0>
                <TBODY>
                  <TR>
                    <TD><DIV align=center class=title><strong>其他资料</strong></DIV></TD>
                  </TR>
                </TBODY>
              </TABLE>
              <TABLE cellSpacing=1 cellPadding=5 width=100% align=center bgColor=#ffffff 
border=0>
                <TBODY>
                  <TR>
                    <TD width="22%" align=middle bgColor=#fbf8f4><div align="right"><STRONG>所在单位：</STRONG></div></TD>
                    <TD width=78% bgColor=#fbf8f4><%=Rs("Danwei")%></TD>
                  </TR>
                  <TR>
                    <TD align=middle bgColor=#fbf8f4><div align="right"><STRONG>主要业务：</STRONG></div></TD>
                    <TD bgColor=#fbf8f4><%=Rs("Yewu")%></TD>
                  </TR>
                  <TR>
                    <TD align=middle bgColor=#fbf8f4><div align="right"><STRONG>单位网址： </STRONG></div></TD>
                    <TD bgColor=#fbf8f4><%=Rs("Url")%></TD>
                  </TR>
                </TBODY>
              </TABLE>
			  <%End IF%>
		    </td>
          </tr>
        </table>
     </td>
    </tr></table>
<table width="100%" height="40"  border="0" cellpadding="0">
  <tr>
    <td><a href="javascript:window.close();"><div align="center" class="style1">【关闭窗口】</div></a></td>
  </tr>
</table>
</body>
</html>
<%
''call CloseConn() 'shiyu
%>