<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>我的评分 - 用户中心 - {$kx.config.sitename}</title>
	<link rel="stylesheet" href="{$kx.config.resurl}/template/kxwebno1/css/global.css"/>
	<link rel="stylesheet" href="{$kx.config.resurl}/template/kxwebno1/css/style.css"/>
</head>
<body>
	<!-- 头部 -->
    {include file="/system/header"}
	<!-- 内容 -->
	<div class="pt-content">
		<!-- 面包屑 -->
		<div class="pt-crumb">
			<img src="{$kx.config.resurl}/template/kxwebno1/images/crumb_icon.png" class="pt-crumb-icon">
			<span class="color5">
                <a href="{$kx.config.siteurl}">{$kx.config.sitename}</a> > <a href="{link=user.index.index}" class="color5">用户中心</a> > <a href="{link=user.star.index}">我的评分</a>
            </span>
		</div>

		<!-- 一楼 -->
		<div class="pt-floor1">
            {include file="/system/userleft"}
            <div class="relative pt-rank">
                <div class="pt-rank-head">
                    <span class="size18 color2 mr10">评分记录</span>
                </div>
                <div class="pt-user-table" style="padding-top:20px">
                    {block method="pagination" name="paginate" page=$page limit=$pagesize count=$userinfo.data.star_num maxpage=50 section=3}
                    {block method="user.starList" name=starList userid=$userinfo.id page=$page}
                    <table>
                        <thead>
                        <tr>
                            <th>时间</th>
                            <th>小说</th>
                            <th>评分</th>
                            <th>{$kx.config.user.exp_caption}奖励</th>
                            <th>{$kx.config.user.point_caption}奖励</th>
                        </tr>
                        </thead>
                        <tbody>
                        {if empty($starList)}
                        <tr>
                            <td colspan="5">您似乎来到了没有数据存在的荒原~~~</td>
                        </tr>
                        {else}
                        {section loop=$starList item=$loop}
                        <tr>
                            <td>{$loop.datetime|date="Y-m-d H:i:s"}</td>
                            <td>《<a href="{link=novel.novel.index novelid=$loop.novel.novel.id pinyin=$loop.novel.novel.pinyin}">{$loop.novel.novel.name}</a>》</td>
                            <td>{$loop.num}</td>
                            <td>{$loop.exp}</td>
                            <td>{$loop.point}</td>
                        </tr>
                        {/section}
                        {/if}
                        </tbody>
                    </table>
                </div>
                <!-- 分页 -->
                <div class="pt-pages">
                    {if !empty($starList) && $paginate.total>1}
                    <div class="pt30 color5">
                        {if $paginate.prev}
                        <a href="{link=user.star.index page=$paginate.prev}"><span><</span></a>
                        {else}
                        <span class="disable"><</span>
                        {/if}
                        {loop=paginate.items}
                        <a href="{link=user.star.index page=$loop.num}">
                            <span class="{$loop.status|default='','pt-pages-select'}">{$loop.num}</span>
                        </a>
                        {/loop}
                        {if $paginate.next}
                        <a href="{link=user.star.index page=$paginate.next}"><span>></span></a>
                        {else}
                        <span class="disable">></span>
                        {/if}
                    </div>
                    {/if}
                </div>
            </div>
		</div>
	</div>

	<!-- 底部版权-->
    {include file="/system/footer"}

	<!-- js-->
	<script src="{$kx.config.resurl}/template/kxwebno1/js/rankdetail.js"></script>
</body>
</html>