<%@ Control Language="C#"  %>
<%@ Import Namespace="Kesion.Cache" %>
<%@ Import Namespace="Kesion.Publics" %>
<%@ Import Namespace="Kesion.BLL" %>
<%@ Import Namespace="Kesion.Config" %>
<%@ Import Namespace="Kesion.Components" %>
<%@ Import Namespace="Kesion.HtmlTags" %>
<%@ Import Namespace="Kesion.XML" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Xml" %>
<script runat="server" type="text/C#">
    public UserInfo __user = null;
    protected void Page_Load(object sender, EventArgs e)
    {

        CheckUserLogin.Run();
        __user = UserManage.GetUserInfo();
      
    }
 
 </script>

 <div class="r_tybox nomar r_tybottom t_tybox">
    <div class="r_title r_title_color tytitle">
       <h4 class="fl disting_show"> 账户信息</h4>
    </div>
        <div class="new_earn">
            <ul class="clearfix">
                <li>
                    <div class="earnings_box">
                        <span>账户余额</span>
                        <a  href="<%=BasicField.GetUserUrl("basic/payonline")%>" class="earning_btn">充值</a>
                    </div>
                    <div class="earning_box earning_mt">
                        <stong><%=__user.Money %></stong> 元
                        <a href="<%=BasicField.GetUserUrl("basic/logmoney")%>" class="earning_btn earning_btn1">账户明细</a>
                    </div>
                </li>
                <li>
                    <div class="earnings_box">
                        <span><%=MyCache.GetCacheConfig(49) %></span>
                        <a href="<%=BasicField.GetUserUrl("basic/exchangepoint")%>" class="earning_btn">兑换</a>
                    </div>
                    <div class="earnings_box earning_mt">
                        <stong><%=__user.Point %></stong> <%=MyCache.GetCacheConfig(50) %>
                         <a href="<%=BasicField.GetUserUrl("basic/consumer")%>" class="earning_btn earning_btn1"><%=MyCache.GetCacheConfig(49) %>明细</a>
                    </div>
                </li>
                 <li>
                    <div class="earnings_box">
                        <span>可用<%=MyCache.GetCacheConfig(90) %></span>
                      
                    </div>
                    <div class="earnings_box earning_mt">
                        <stong><%=__user.AvailableScore %></stong> <%=MyCache.GetCacheConfig(91) %>
                         <a href="<%=BasicField.GetUserUrl("basic/logscore")%>" class="earning_btn1 earning_btn"><%=MyCache.GetCacheConfig(90) %>明细</a>
                    </div>
                </li>
            </ul>
        </div>
 </div>

<div class="r_tybox nomar">
    	<div class="r_title r_title_color tytitle">
              <h4 class="disting_show"> 优惠管理</h4>

        </div>

     <table cellspacing="0" cellpadding="0" class="border" width="100%" align="center" border="0">
   
   
    </table>


        <div class="r_content r_content1">
            <ul class="clearfix">
                <li>
                    <h4>我的营销卡</h4>
                    <p>管理/购买我的套餐卡/充值卡</p>
                    <a href="<%=BasicField.GetUserUrl("Basic/myfeepackages")%>">查看</a>
                </li>
               <%if (BaseFun.CheckModulePower("edu"))
                   { %>
                 <li>
                    <h4>课程返现</h4>
                    <p>可用于支付金额抵扣</p>
                     <a href="{=GetUserUrl(course/mycoscashdetail)}">查看</a>
                </li>
               <%} %>
                  
                 <li>
                    <h4>优惠券/红包</h4>
                    <p>领取/添加的优惠券/红包</p>
                    <a href="<%=BasicField.GetUserUrl("basic/mycoupon")%>">查看</a>
                </li>
                 <%if (BaseFun.CheckModulePower("edu")==false&& BaseFun.CheckModulePower("mall"))
                   { %>
                <li>
                    <h4>我的预约码</h4>
                    <p>领预约商品，率先抢购</p>
                    <a href="<%=BasicField.GetUserUrl("basic/MyCoupon", "flag-2") %>">查看</a>
                </li>
                <%} %>
                <li>
                    <h4>升级VIP会员</h4>
                    <p>升级VIP，畅享更多优惠</p>
                    <a href="<%=BasicField.GetUserUrl("basic/uservip")%>">升级</a>
                </li>
               
            </ul>

        </div>
    

 </div>   
