<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>我的签到 - {$kx.config.sitename}</title>
    {include file="/system/head"}
    <link rel="stylesheet" href="{$kx.config.resurl}/template/kxwebno2/css/user.css" />

</head>
<body>
{include file="/system/header"}
<section class="w-all user">
    {include file="/system/userheader"}
    <div class="body clearfix">
        <div class="userleft">
            <ul class="navbar">
                {include file="/system/userleft"}
            </ul>
        </div>
        <div class="userright">
            <div class="hd">
                <a href="{link=user.sign.index}" class="tab active">我的签到</a>
                <a href="{link=user.vote.index}" class="tab">我的推荐</a>
                <a href="{link=user.star.index}" class="tab">我的评分</a>
                <a href="{link=user.invite.index}" class="tab">我的邀请</a>
            </div>
            <div class="bd">
                <ul class="record">
                    {block method="pagination" name="paginate" page=$page limit=$pagesize count=$count maxpage=50 section=3}
                    {block method="sign" name=signlist userid=$userinfo.id page=$page}
                    <li class="clearfix">
                        <div style="width:40%"><b>签到时间</b></div>
                        <div style="width:20%"><b>连签次数</b></div>
                        <div style="width:20%"><b>{$kx.config.user.exp_caption}奖励</b></div>
                        <div style="width:20%" class="last"><b>{$kx.config.user.point_caption}奖励</b></div>
                    </li>
                    {if empty($signlist)}
                    <li class="clearfix">
                        <div style="width:100%">您似乎来到了没有数据存在的荒原~~~</div>
                    </li>
                    {else}
                        {loop=signlist}
                        <li class="clearfix">
                            <div style="width:40%">{$loop.datetime|date="Y年m月d日 H:i:s"}</div>
                            <div style="width:20%">{$loop.num}</div>
                            <div style="width:20%">{$loop.exp}</div>
                            <div style="width:20%" class="last">{$loop.point}</div>
                        </li>
                        {/loop}
                    {/if}
                </ul>
                <div class="pagination">
                    {if !empty($signlist) && $paginate.total>1}
                    <span>共{$paginate.total}页 {$paginate.count}条</span>
                    <a href="{link='index' page=$paginate.first}" class="first number"><<</a>
                    <a href="{link='index' page=$paginate.prev}" class="prev number"><</a>
                    {loop=paginate.items}
                    {if $loop.status}
                    <a class="current" href="javascript:;">{$loop.num}</a>
                    {else}
                    <a href="{link='index' page=$loop.num}" class="number">{$loop.num}</a>
                    {/if}
                    {/loop}
                    <a href="{link='index' page=$paginate.next}" class="next number">&gt;</a>
                    <a href="{link='index' page=$paginate.last}" class="last number">&gt;&gt;</a>
                    {/if}
                </div>
            </div>
        </div>
    </div>
</section>
{include file="/system/footer"}
</body>
</html>