<!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">
            {block method=mark.list userid=$userinfo.id name=list order=$order}
            <div class="hd">
                <a class="tab active" href="{link=user.mark.index}">云书架<em>({$list|count}本)</em></a>
                <a class="tab" href="{link=user.history.index}">浏览历史</a>
            </div>
            <div class="bd">
                <ul class="marklist">
                    {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}" target="_blank"><img src="{$loop.novel.cover}" alt="{$loop.novel.name}" /></a>
                        </div>
                        <div class="pt-ll-r">
                            <p class="title">
                                <span><a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" class="novelname" title="{$loop.novel.name}" target="_blank">{$loop.novel.name}</a></span>
                                <a class="btn btn-warning btn-small fr" href="{link=user.mark.del novelid=$loop.novel.id}">移出书架</a>
                                {if $loop.markinfo.newnum}<span class="btn btn-danger btn-small fr">有更新</span>{/if}
                            </p>
                            <p class="info"><a href="{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}" title="{$loop.author.name} 作品列表" target="_blank">{$loop.author.name}</a> 著 </p>
                            <p class="info">
                                最新：<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|cntime})
                            </p>
                            <p class="info">
                                {if $loop.markinfo.newnum}<a href="{link=novel.chapter.read pinyin=$loop.novel.pinyin novelid=$loop.novel.id chapterid=$loop.markinfo.nextid}" target="_blank"><span class="num"> {$loop.markinfo.newnum} </span>章未读</a>{else}全部读完{/if}
                            </p>
                        </div>
                        <div class="clear"></div>
                    </li>
                    {/loop}
                </ul>
                <a class="btn btn-primary" href="{link=user.mark.clear}">清空书架</a>
            </div>
        </div>
    </div>
</section>
{include file="/system/footer"}
</body>
</html>