<%@ Page Language="C#" AutoEventWireup="True" Inherits="Kesion.NET.WebSite.User_SignIn" Codebehind="SignIn.aspx.cs" %>
<%@ Import Namespace="Kesion.Publics" %>
<%@ Import Namespace="Kesion.Cache" %>
<%@ Import Namespace="Kesion.HtmlTags" %>

<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
    <title>用户签到</title>
    <script src="/ks_inc/jquery.js"></script>
    <script src="/ks_inc/Kesion.Common.js"></script>
	  <link href="/SysImg/user/signin.css" rel="stylesheet" />

</head>
<body leftmargin=0 topmargin=0 bgcolor="transparent">
   <form id="form1" runat="server">
        <asp:Panel ID="LoginPanel" runat="server" Width="100%">
        
        <div class="signin-list">
        <ul>
              <%= GetSignIn()%>
        </ul>
      </div>
      <div class="clear"></div>

      <div class="signin-tips">已经连续签到<%=Total %>天，今天可以领取<b><%=UserNum %></b><%=TypeName %></div>
      <div class="signin-btn" onclick="SignIn()">今日签到</div>

        <!--
        <div style="padding:15px;font-size:15px;">
               用户<%=__info.UserName %>当前 <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>
                <asp:Label ID="Label3" runat="server" Text="Label"></asp:Label>
                <asp:Label ID="Label4" runat="server" Text="Label"></asp:Label>
        </div>  
        -->

           
            
        </asp:Panel>
       <script>
           function SignIn() {
               jQuery.ajax({
                   url: "signin.aspx?action=SignIn&rnd="+Math.random(), success: function (d) {
                       KesionJS.Alert(d,'top.location.href="<%=BasicField.GetRewriteUrl("user")%>";');
                       
                   }
               });
           }

        </script>

    
       <asp:Panel ID="LoginOKPanel" runat="server" Width="100%" Visible="false">
           <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label></asp:Panel>
    </form>
</body>
</html>

