<%@ Page Language="C#" Inherits="IWMS.Pages.MemberFunc" %>
<!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">
<table width="100%" cellpadding="0" cellspacing="0">
<tr valign="top"><td>
	<form id="myForm" runat="server">
	
	<div class="<%=GetFrameCss(style.CssModify,"mframe")%> mR">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm">
		<span class="tt">会员功能</span>
	</div>
	<div class="wrapper">
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm" style="padding:10px">
		<asp:Label id="myLabel" style="display:block;text-align:center;padding:5px" EnableViewState="false" runat="server"/>
		<div style="padding:10px;font-weight:bold;font-size:14px;">积分转换<%=lang["vMoney"]%></div>
		<%if (config.Mark2Money>0){%>
			转换率：<%=config.Mark2Money%> 积分转换 1 <%=lang["vMoney"]%>　
			（您现有积分 <%=CurUser.TotalMark%>，现有<%=lang["vMoney"]%> <%=CurUser.VMoney%>）
			<br/>
		<%}else{
			btConv.Enabled = false;
		%>
			积分转换<%=lang["vMoney"]%>功能暂时关闭<br/>
		<%}%>
		<br/>
		积分转换 <asp:TextBox id="convMoney" size="5" Text="0" Style="text-align:right" runat="server"/> <%=lang["vMoney"]%>
		<asp:RegularExpressionValidator
			ControlToValidate="convMoney"
			ValidationExpression="\d+"
			ErrorMessage="*"
			Display="Dynamic"
			runat="server"
			/>
		<% if (config.Mark2Money>0){%>
		 (您的积分最多转换 <%=CurUser.TotalMark/config.Mark2Money%> <%=lang["vMoney"]%>) 
		 <%}%>
		<asp:Button id="btConv" onclick="btConv_Onclick" Text="转换" runat="server"/>
	</div>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
	</div>
	</form>
</td>
<td width="160">
	<div class="lframe">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm">
		<span class="tt">个人中心</span>
	</div>
	<div class="wrapper">
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
		<!--#include file="inc/memberNav.inc"-->
	</div>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
	</div>
</td></tr>
</table>
</div>

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