<%@Page Language="C#" Inherits="IWMS.Pages.MemberProfile" EnableSessionState="false" EnableViewState="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<!--#include file="inc/html_head.inc"-->
</head>
<body>

<!--#include file="head.inc" -->
<div id="navbar">
<div class="l"></div>
<div class="r"></div>
<div class="m">
	<!--#include file="inc/navclass.inc"-->
</div>
</div>

<div id="navsub">
<div class="l"></div>
<div class="r"></div>
<div class="m">

</div>
</div>

<div id="middle">
	<div class="<%=GetFrameCss(style.CssProfile,"lframe")%>">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm">
		<%=GetTitlePic(style.PicProfile,"会员资料")%>
	</div>
	<div class="wrapper">
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
		<asp:Literal id="ltMsg" runat="server"/>
		<asp:PlaceHolder id="phIntro" runat="server">
		<table width="100%" cellpadding="10" cellspacing="0" style="line-height:1.5">
		<tr align="left" valign="top">
		<td width="200">
			会员名：
			<strong><%=member.Name%></strong><br/><br/>
			<%=member.Photo.Length>0 ? "<a href=\""+ member.Photo +"\" target=\"_blank\"><img src=\""+ member.Photo +"\" align=\"center\" onload=\"javascript:if(this.width>150){this.width=150}this.style.position='static'\" style=\"position:absolute\"/></a><br/><br/>" : ""%>
			
			<a href="search.aspx?where=memberid&amp;keyword=<%=member.UserID%>" target="_blank"><%=member.Name%>发表的文章</a><br/>
			<a href="search.aspx?type=post&amp;where=memberid&amp;keyword=<%=member.UserID%>" target="_blank"><%=member.Name%>发表的帖子</a><br/>
			<%if(CurUser.UserID!=member.UserID){%>
			<a href="#" onclick="msg.disp({name:'<%=member.Name%>',id:<%=member.UserID%>})">发送消息</a><br/>
			<a href="#" onclick="iwms.addFriend(this,<%=member.UserID%>)">添加为好友</a>
			<%}%>
		</td>
		<td width="380">
			积分：
			<strong><%=member.TotalMark%></strong><br/>
			<%=lang["vMoney"]%>：
			<strong><%=member.VMoney%></strong><br/><br/>
			发表文章数：
			<strong><%=member.AddNum%></strong><br/>
			发表帖子数：
			<strong><%=member.PostRootNum%>/<%=member.PostNum%></strong><br/><br/>
			登录次数：
			<strong><%=member.LogTimes%></strong><br/>
			最后登录：
			<strong><%=member.LastLog==DateTime.MinValue ? "未知" : member.LastLog.ToString("f")%></strong><br/><br/>
			自我简介：<br/>
			<strong><%=member.Introduction%></strong><br/>
		</td><td>
			性别：
			<strong><%=member.Male ? "男" : "女"%></strong><br/>
			生日：
			<strong><%=member.Birthday==DateTime.MinValue ? "未知" : member.Birthday.ToLongDateString()%><br/></strong>
			地区：
			<strong><%=member.Country +"-"+ member.Province +"-"+ member.City%></strong><br/><br/>
			E-mail：
			<strong><%=member.HideEmail ? "保密" : (member.Email.Length>0 ? "<a href=\"mailto:"+member.Email+"\">"+member.Email+"</a>" : "")%></strong><br/>
			QQ：
			<strong><%=member.QQ.Length>0 ? "<a href=\"tencent://message/?Menu=yes&uin="+ member.QQ +"&Site=&Service=200&sigT=d2e320ed3ea1a5b1982476e1dca1e8868c1b836a8ab84e73348b7e8aada8cd5a122669445f73cb5e\" target=\"_blank\">"+ member.QQ +"</a>" : ""%></strong><br/>
			ICQ：
			<strong><%=member.Icq%></strong><br/>
			MSN：
			<strong><%=member.Msn%></strong><br/><br/>
			<%=DateTime.MinValue<member.ExpireDate ? "会员到期："+member.ExpireDate.ToString("yyyy-MM-dd") : ""%><br/>
		</td>
		</tr>
		</table>
		</asp:PlaceHolder>
	</div>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
	</div>
</div>

<!--#include file="foot.inc" -->

</body>
</html>