<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>{$tkd.title|parseTPL}</title>
    <meta name="keywords" content="{$tkd.keywords|parseTPL}" />
    <meta name="description" content="{$tkd.description|parsetpl}" />
    {include file="/system/head"}
</head>
<body>
{include file="/system/header"}
<section class="w-all">
    <nav class="mt20">
        <ul class="clearfix">
            <li><a href="{$kx.config.siteurl}" title="{$kx.config.sitename}首页"><i class="pticon pticon-home pticon-lg"></i> {$kx.config.sitename}首页</a><i class="pticon pticon-angle-right icon"></i></li>
            <li><a href="__SELF__" title="完本小说">完本小说</a></li>
        </ul>
    </nav>
    {block method="pagination" name="paginate" page=$page limit=$pagesize count=$count maxpage=50 section=3}
    <div class="container clearfix mt20">
        <div class="w-left">
            <div class="card">
                <div class="header line">
                    <h2>完本小说列表</h2>
                </div>
                <div class="body">
                    <ul class="librarylist">
                        {block method="novel.list" name=list order=lastupdate num=$paginate.limit page=$paginate.current isover=1}
                        {loop=list}
                        <li>
                            <div class="pt-ll-l">
                                <a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}"><img src="{$loop.novel.cover}" alt="{$loop.novel.name}" /></a>
                            </div>
                            <div class="pt-ll-r">
                                <p class="info">
                                    <span>《<a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" class="novelname" title="{$loop.novel.name}">{$loop.novel.name}</a>》</span>
                                    <span>作者：<a href="{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}" title="{$loop.author.name} 作品列表">{$loop.author.name}</a></span>
                                    <span>分类：<a href="{link=novel.category.list id=$loop.category.id key=$loop.category.key}" title="{$loop.category.name}小说">{$loop.category.name}</a></span>
                                </p>
                                <p class="intro">
                                    {$loop.novel.intro}
                                </p>
                                <p class="last">
                                    最新章节：<a href="{link=novel.chapter.read novelid=$loop.novel.id pinyin=$loop.novel.pinyin chapterid=$loop.last.id}" title="{$loop.novel.name} {$loop.last.name}" target="_blank">{$loop.last.name}</a>({$loop.last.time|date="m-d H:i"})
                                </p>
                            </div>
                            <div class="clear"></div>
                        </li>
                        {/loop}
                    </ul>
                </div>
                {if $paginate.total>1}
                <div class="footer pagination">
                    <span>共{$paginate.total}页 {$paginate.count}条</span>
                    <a href="{link=novel.over.index page=$paginate.first}" class="first number"><<</a>
                    <a href="{link=novel.over.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=novel.over.index page=$loop.num}" class="number">{$loop.num}</a>
                    {/if}
                    {/loop}
                    <a href="{link=novel.over.index page=$paginate.next}" class="next number">&gt;</a>
                    <a href="{link=novel.over.index page=$paginate.last}" class="last number">&gt;&gt;</a>
                </div>
                {/if}
            </div>
        </div>
        <div class="w-right">

            <div class="card">
                <div class="header line">
                    <h3>本月热门</h3>
                </div>
                <div class="body">
                    <ul class="rightlist">
                        {block method="novel.list" name="list" order="monthvisit" num=15}
                        {section loop=$list}
                        <li><i {if $i.order<4}class="first"{/if}>{$i.order}</i><span><a href="{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}" title="{$loop.author.name} 作品大全">{$loop.author.name}</a></span><a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}">{$loop.novel.name}</a></li>
                        {/section}
                    </ul>
                </div>
            </div>
            <div class="card mt20">
                <div class="header line">
                    <h3>本周热门</h3>
                </div>
                <div class="body">
                    <ul class="rightlist">
                        {block method="novel.list" name="list" order="weekvisit" num=15}
                        {section loop=$list}
                        <li><i {if $i.order<4}class="first"{/if}>{$i.order}</i><span><a href="{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}" title="{$loop.author.name} 作品大全">{$loop.author.name}</a></span><a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}">{$loop.novel.name}</a></li>
                        {/section}
                    </ul>
                </div>
            </div>
            <div class="card mt20">
                <div class="header line">
                    <h3>最新入库</h3>
                </div>
                <div class="body">
                    <ul class="rightlist">
                        {block method="novel.list" name="list" order="postdate" num=15}
                        {section loop=$list}
                        <li><i {if $i.order<4}class="first"{/if}>{$i.order}</i><span>{$loop.novel.postdate|date="m-d"}</span><a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}">{$loop.novel.name}</a></li>
                        {/section}
                    </ul>
                </div>
            </div>
        </div>
    </div>
</section>
{include file="/system/footer"}
</body>
</html>