<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ValidLog.aspx.cs" Inherits="PowerEasy.Module.General.WebSite.User.Info.ValidLog" %>

<!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">
<head runat="server">
    <title></title>
</head>
<body>
    <pe:ExtendedSiteMapPath ID="YourPosition" SiteMapProvider="UserMapProvider" runat="server" />
    <form id="MainForm" runat="server">
    <div class="model_info_sate mtop10">
        <ul>
            <li id="li-1"><span><a href="ValidLog.aspx?Type=-1">
                <asp:Localize ID="Localize1" Text="<%$ Res: User_Info_ValidLog_All,所有有效期记录 %>" runat="server" /></a></span></li>
            <li id="li2"><span><a href="ValidLog.aspx?Type=2">
                <asp:Localize ID="Localize2" Text="<%$ Res: User_Info_ValidLog_Income,增加有效期记录 %>" runat="server" /></a></span></li>
            <li id="li3"><span><a href="ValidLog.aspx?Type=3">
                <asp:Localize ID="Localize3" Text="<%$ Res: User_Info_ValidLog_Payout,扣除有效期记录 %>" runat="server" /></a></span></li>
        </ul>
    </div>

    <script type="text/javascript">
        Request = {
            QueryString: function(item) {
                var svalue = location.search.match(new RegExp("[\?\&]" + item + "=([^\&]*)(\&?)", "i"));
                return svalue ? svalue[1] : svalue;
            }
        }
        var SearchType = Request.QueryString("Type");
        document.getElementById("li" + SearchType.toString()).className = "hover";                
    </script>

    <div class="model_info_content">
        <pe:ValidLog ID="SystemValidLog" runat="server"></pe:ValidLog>
    </div>
    <br />
    <asp:Button ID="btnExchange" runat="server" CssClass='submit_button_four' Text="<%$ Res: User_Default_BtnExchangeValidDate,兑换有效期 %>"
        OnClick="btnExchange_OnClick" />
    </form>
</body>
</html>
