<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=no,width=device-width,initial-scale=1.0, shrink-to-fit=no" />
    <title>{$chapter.name}</title>
    <link rel="stylesheet" type="text/css" href="{$kx.config.resurl}/template/kxmobileno2/css/ptm.min.css" />
    <link rel="stylesheet" type="text/css" href="{$kx.config.resurl}/template/kxmobileno2/css/chaptersimple.css" />
    <link rel="stylesheet" type="text/css" href="{$kx.config.resurl}/template/kxmobileno2/css/skin.min.css" />
    <link rel="stylesheet" type="text/css" href="{$kx.config.resurl}/template/kxmobileno2/css/font-awesome.min.css" />
    <meta name="browsermode" content="application" />
    <meta name="x5-page-mode" content="app" />
    <script type="text/javascript">
        window.onerror = function (msg,url,line) {
//            alert('msg:'+msg+"\nurl:"+url+"\nline"+line);
            return false;
        }
    </script>
</head>
<body class="theme-default">
<div class="pt-menu">
    <div class="header">
        <div class="back"><a href="{$url.dir}"><i class="fa fa-chevron-left"></i> {$novel.name}</a></div>
        <a class="button menu-mark" href="{$url.addmark}"><i class="fa fa-bookmark"></i></a>
        <a class="button menu-more" style="margin-right:5px;" href="{link=novel.novel.index novelid=$novel.id pinyin=$novel.pinyin}"><i class="fa fa-book"></i></a>
    </div>
</div>
<div class="pt-reader" style="display: block">
    <div class="body">
        <div class="content">
            <p class="title">{$chapter.name}</p>
            <div class="ptm-clearfix" style="margin-bottom:10px;">
                <div class="ptm-col-xs-4">
                    <a class="ptm-btn ptm-btn-primary" href="{$prevurl}" style="display:block;margin:0 5px">{$prevpage|default="上一章","上一页"}</a>
                </div>
                <div class="ptm-col-xs-4">
                    <a class="ptm-btn ptm-btn-warning" href="{link=novel.novel.dir novelid=$novel.id pinyin=$novel.pinyin siteid=$siteid}" style="display:block;margin:0 5px">回目录</a>
                </div>
                <div class="ptm-col-xs-4">
                    <a class="ptm-btn ptm-btn-primary " href="{$nexturl}" title="下一章 没有了" style="display:block;margin:0 5px">{$nextpage|default="下一章","下一页"}</a>
                </div>
            </div>
            <div class="chaptercontent" style="margin-bottom:10px;">{$chapter.content|showchapter}</div>

            <div class="ptm-clearfix">
                <div class="ptm-col-xs-4">
                    <a class="ptm-btn ptm-btn-primary" href="{$prevurl}" style="display:block;margin:0 5px">{$prevpage|default="上一章","上一页"}</a>
                </div>
                <div class="ptm-col-xs-4">
                    <a class="ptm-btn ptm-btn-warning" href="{link=novel.novel.dir novelid=$novel.id pinyin=$novel.pinyin siteid=$siteid}" style="display:block;margin:0 5px">回目录</a>
                </div>
                <div class="ptm-col-xs-4">
                    <a class="ptm-btn ptm-btn-primary " href="{$nexturl}" title="下一章 没有了" style="display:block;margin:0 5px">{$nextpage|default="下一章","下一页"}</a>
                </div>
            </div>
        </div>
    </div>
    <div class="ptm-card" style="margin-top:15px;background: #f0f0f0">
            <div class="ptm-card-header ptm-clearfix">
                <div class="ptm-pull-left">
                    {$novel.name}来源更新
                </div>
            </div>
            <div class="ptm-card-content">
                <ul class="pt-card pt-card-6">
                    {block method='chapter.same' novelid=$novel.id chapterid=$chapter.id name=list}
                    {loop=$list}
                    <li>
                        <span class="pt-name"><a rel="nofollow" href="{link=novel.chapter.read novelid=$novel.id pinyin=$novel.pinyin chapterid=$chapter.id siteid=$loop.site.id}" title="{$novel.name} {$loop.site.name} {$loop.name}">{$loop.site.name} {$loop.name}</a></span>
                    </li>
                    {/loop}
                </ul>
            </div>
        </div>
    {include file="/system/footer"}
</div>
<script type="text/javascript" src="{$kx.config.resurl}/template/kxmobileno2/script/zepto.min.js"></script>
<script type="text/javascript" src="{$kx.config.resurl}/template/kxmobileno2/script/ptm.min.js"></script>
</body>
</html>