<%@ page language="java" contentType="text/html; charset=GB2312"
	pageEncoding="GB2312"%>
<%@ page import="com.wxpn.tutorial.ec.bean.ECMember"%>
<%@ include file="../include/header.jsp"%>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=760 align="center">
	<TBODY>
		<tr>
			<td align="left" height=25><%if (session.getAttribute("username") != null) {
				out.println(session.getAttribute("username"));
			}%> 当前位置：<a href="/ECommerce/index.jsp">首页</a> -&gt; 成员服务</td>
			<td align="right"><%@ include file="../include/date.jsp"%></td>
		</tr>
		<TR bgColor=#3399ff>
			<TD height=1 colspan="2"><IMG height=1 src="images/spacer.gif"
				width=16></TD>
		</TR>
		<tr>
			<td height=10 colspan="2"><IMG height=1 src="images/spacer.gif"
				width=16></td>
		</tr>
	</TBODY>
</TABLE>

<table align="center" border="0" width="760" cellspacing="0"
	cellpadding="0" height="355">
	<tr>
		<td width="150" height="355" valign="top"><%@ include
			file="../include/top_banner.jsp"%></td>
		<td width="10" height="100%"></td>
		<td width="1" height="100%" bgcolor="#3399ff"></td>
		<td width="10" height="100%"></td>
		<td width="589" height="331" valign="top" background="images/bg1.gif">
		<table border="0" width="100%" cellspacing="0" cellpadding="0"
			height="307">
			<%if (request.getAttribute("member") == null) {%>
			<tr align=center>
				<td width="100%" colspan="4" height="20" bgcolor="#3399ff">&nbsp;<font
					color="#ffffff">错误，不存在该用户！</font></td>
			</tr>
			<%} else {
				ECMember member = (ECMember) request.getAttribute("member");

				%>
			<tr align=center>
				<td width="100%" colspan="4" height="20" bgcolor="#3399ff">&nbsp;<font
					color="#ffffff">用户信息</font></td>
			</tr>
			<tr>
				<td align="right" width="30%"><b>登录名称：</b></td>
				<td width="5%">&nbsp;</td>
				<td colspan="2" width="65%"><%=member.getUsername()%></td>
			</tr>
			<tr>
				<td align="right"><b>真实姓名：</b></td>
				<td>&nbsp;</td>
				<td colspan="2"><%=member.getRealname()%></td>
			</tr>
			<tr>
				<td align="right"><b>电子邮件：</b></td>
				<td>&nbsp;</td>
				<td colspan="2"><%=member.getEmail()%></td>
			</tr>
			<tr>
				<td align="right"><b>性&nbsp;&nbsp;&nbsp;&nbsp;别：</b></td>
				<td>&nbsp;</td>
				<td colspan="2"><%=member.getStrGender()%></td>
			</tr>
			<tr>
				<td align="right">联系电话：</td>
				<td>&nbsp;</td>
				<td colspan="2"><%=member.getPhone()%></td>
			</tr>
			<tr>
				<td align="right">省市：</td>
				<td>&nbsp;</td>
				<td colspan="2"><%=member.getProvince()%></td>
			</tr>
			<tr>
				<td align="right">教育程度：</td>
				<td>&nbsp;</td>
				<td colspan="2"><%=member.getEducation()%></td>
			</tr>
			<tr>
				<td align="right">兴趣爱好：</td>
				<td>&nbsp;</td>
				<td><%=member.getHobby()%></td>
			</tr>
			<tr>
				<td align="right" valign="top">自我简介：</td>
				<td>&nbsp;</td>
				<td colspan="2"><textarea name="selfintro" cols="40" rows="5" readonly><%=member.getSelfintro()%></textarea>
				</td>
			</tr>
			<%}

		%>
		</table>
		</td>
	</tr>
</table>
<%@ include file="../include/footer.jsp"%>
