<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
    <meta http-equiv="Content-Type" content="application/xhtml+xml;charset=utf-8" />
    <title>{$tkd.title|parseTpl}</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
    <link rel="stylesheet" type="text/css" href="{$kx.config.resurl}/template/kxmobileno4/css/reset.css" />
    <link rel="stylesheet" type="text/css" href="{$kx.config.resurl}/template/kxmobileno4/css/sort.css" />
</head>
<body>

<header class="channelHeader">
    <a href="javascript:history.go(-1);" class="iconback">
        <button style="background: #68aac2;border: 0;color: #fff;padding-top: 5px;font:17px/20px 宋体"><strong>返回</strong></button>
    </a>
    <strong>
        {$rankname}
    </strong>
    <a href="/" class="iconhome"> <button style="background: #68aac2;border: 0;color: #fff;padding-top: 5px;font:17px/20px 宋体""><strong>首页</strong></button>
    </a>
</header>
<nav class="sortChannel_nav">
    {block method="rank.list" name=categoryList pid=1 withall=0}
    {loop=categoryList}
    <a title="{$loop.name}" href="{link=novel.rank.list key=$loop.key}" {if $rankkey==$loop.key}class="on"{/if}>{$loop.name}</a>
    {/loop}
</nav>
<div class="recommend">
    <div id="main">
        {block method="pagination" name="paginate" page=$page limit=$pagesize count=$category.num maxpage=50 section=3}
        {block method="novel.list" name=list order=$rankkey num=$paginate.limit page=$paginate.current}
        {section loop=$list item=$loop}
        <div class="hot_sale">
            <a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}">
                <img src="{$loop.novel.cover}" onerror="this.src = '/images/nopic.gif'">
                <p class="title">{$loop.novel.name}</p>
                <p class="author">作者：{$loop.author.name}</p>
            </a>
            <p class="review">
                简介：{$loop.novel.intro|showIntroLine}
            </p>
        </div>
        {/section}
    </div>
    <p class="page">
        <input type="text" class="page_txt" value="{$paginate.page}/{$paginate.total}" size="5" name="txtPage" id="txtPage" />
        <a id="nextPage" href="{link=novel.rank.list key=$rankkey page=$paginate.next}">[下页]
        </a>
    </p>
    <br />
</div>
{include file="/system/footer"}
</body>
</4html>