<!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="{link=novel.category.index}" title="小说分类">小说分类</a></li>
        </ul>
    </nav>
    <div class="container clearfix mt20">
        <ul class="topindex">
            {block method="category.list" name=categoryList pid=1 withall=0}
            {loop=categoryList}
            <li {if ($key%3==2)}class="mr0"{/if}>
                <div class="card">
                    <div class="header line">
                        <h3>{$loop.name}小说</h3>
                    </div>
                    <div class="body">
                        <ul class="rightlist">
                            {block method="novel.list" name="records" category=$loop.id num=10 }
                            {section loop=$records item=record}
                            <li><i {if $i.order<4}class="first"{/if}>{$i.order}</i><span><a href="{link=author.space.index authorid=$record.author.id pinyin=$record.author.pinyin name=$record.author.name}" title="{$record.author.name} 作品大全">{$record.author.name}</a></span><a href="{link=novel.novel.index novelid=$record.novel.id pinyin=$record.novel.pinyin}" title="{$record.novel.name}">{$record.novel.name}</a></li>
                            {/section}
                        </ul>
                    </div>
                    <div class="footer tar">
                        <a href="{link=novel.category.list categoryid=$loop.id key=$loop.key}">查看所有{$loop.name}小说>></a>
                    </div>
                </div>
            </li>
            {/loop}
        </ul>
    </div>
</section>
{include file="/system/footer"}
</body>
</html>