<?php defined('KX_ROOT') || exit('Permission denied');?><!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title><?php include \Kuxin\View::parseTpl($tkd['title']);?></title>
    <meta name="keywords" content="<?php include \Kuxin\View::parseTpl($tkd['keywords']);?>" />
    <meta name="description" content="<?php include \Kuxin\View::parseTpl($tkd['description']);?>" />
    <meta property="wb:webmaster" content="" />
    <meta property="qc:admins" content="" />
    <meta name="author" content="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "siteurl");?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta http-equiv="Cache-Control" content="no-transform " />
<link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
<meta name="applicable-device" content="pc">
<meta http-equiv="mobile-agent" content="format=html5; url=<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "mobileurl");?><?php echo $_SERVER['REQUEST_URI'];?>">
<link rel="stylesheet" href="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxwebno2/css/global.css" />
<link rel="stylesheet" href="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxwebno2/css/style.css" />
<!--[if lt IE 9]>
<script src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxwebno2/script/html5shiv.min.js"></script>
<![endif]-->
</head>
<body>
<header>
    <div class="banner ">
        <div class="w-all">
            <ul class="fl">
                <?php if($islogin):?>
                <li>您好，<a href="javascript:void(0)"><?php echo $userinfo['name'];?></a></li>
                <li><a href="<?php echo \Kuxin\Helper\Url::build("user.mark.index",[],"");?>">我的书架</a></li>
                <li><a href="<?php echo \Kuxin\Helper\Url::build("user.auth.logout",[],"");?>">退出登陆</a></li>
                <?php else:?>
                <li><a href="<?php echo \Kuxin\Helper\Url::build("user.auth.login",[],"");?>">登陆账号</a></li>
                <li><a href="<?php echo \Kuxin\Helper\Url::build("user.auth.register",[],"");?>">免费注册</a></li>
                <?php endif;?>
            </ul>
            <ul class="fr">
                <li><i class="pticon pticon-mobile pticon-lg"></i><a href="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "mobileurl");?>" target="_blank" title="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "sitename");?>手机版">手机版</a></li>
                <li><i class="pticon pticon-home pticon-lg"></i><a href="javascript:$.pt.setHome('<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "siteurl");?>');">设为首页</a></li>
                <li><i class="pticon pticon-star pticon-lg"></i><a href="javascript:$.pt.addFav();">加入收藏</a></li>
                <li><i class="pticon pticon-desktop"></i><a href="#" target="_blank">桌面快捷</a></li>
            </ul>
        </div>
    </div>
    <div class="clear"></div>
    <div class="logosearch w-all ">
        <div class="logo fl"><a href="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "siteurl");?>" title="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "sitename");?>"><img src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxwebno2/image/logo.png" alt="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "sitename");?>" /></a></div>
        <form class="searchbox fl" action="<?php echo \Kuxin\Helper\Url::build("novel.search.result",[],"");?>">
            <div class="dropmenu">
                <span class="tri"></span>
                <ul class="dropmenu-item">
                    <li data-type="novelname">书名</li>
<!--                    <li data-type="author">作者</li>-->
                </ul>
            </div>
<!--            <input name="searchtype" type="hidden" value="novelname"/>-->
            <label class="fl"><input type="text" name="searchkey" id="" value="<?php echo $_GET['searchkey'];?>" class="text"/></label>
            <input type="submit" value="搜索" class="searchbtn"/>
        </form>
        <div class="operate fl">
            <?php if($islogin):?>
            <a class="operate-item" href="<?php echo \Kuxin\Helper\Url::build("user.auth.logout",[],"");?>">
                <i class="pticon pticon-sign-out"></i>
                <b>退出登陆</b>
            </a>
<!--            <a class="operate-item" href="#">-->
<!--                <i class="pticon pticon-cog"></i>-->
<!--                <b>阅读习惯</b>-->
<!--            </a>-->
            <a class="operate-item" href="<?php echo \Kuxin\Helper\Url::build("user.mark.index",[],"");?>">
                <i class="pticon pticon-book"></i>
                <b>我的书架</b>
                <?php if($userinfo['unreadnum']):?><s class="badge"><?php echo $userinfo['unreadnum'];?></s><?php endif;?>
            </a>
            <a class="operate-item" href="<?php echo \Kuxin\Helper\Url::build("user.index.index",[],"");?>">
                <i class="pticon pticon-user"></i>
                <b>用户中心</b>
            </a>
            <?php else:?>
            <a class="operate-item" title="看过的书" href="<?php echo \Kuxin\Helper\Url::build("user.history.index",[],"");?>">
                <i class="pticon pticon-history"></i>
                <b>看过的书</b>
            </a>
<!--            <a class="operate-item" title="QQ登陆" href="<?php echo \Kuxin\Helper\Url::build("user.auth.thirdlogin",['type'=>'qq'],"");?>">-->
<!--                <i class="pticon pticon-qq"></i>-->
<!--                <b>QQ登陆</b>-->
<!--            </a>-->
<!--            <a class="operate-item" title="微博登陆" href="<?php echo \Kuxin\Helper\Url::build("user.auth.thirdlogin",['type'=>'weibo'],"");?>">-->
<!--                <i class="pticon pticon-weibo"></i>-->
<!--                <b>微博登陆</b>-->
<!--            </a>-->
            <a class="operate-item" title="用户登陆" href="<?php echo \Kuxin\Helper\Url::build("user.auth.login",[],"");?>">
                <i class="pticon pticon-user"></i>
                <b>用户登陆</b>
            </a>
            <?php endif;?>
        </div>
    </div>
    <nav class="w-all">
        <ul class="clearfix">
            <li><a title="首页" href="<?php echo \Kuxin\Helper\Url::build("index.index",[],"");?>"<?php if($pagesign=='index'):?> class="pt-active"<?php endif;?>>首页</a></li>
            <li><a title="排行" href="<?php echo \Kuxin\Helper\Url::build("novel.rank.index",[],"");?>"<?php if($pagesign=='rank'):?> class="pt-active"<?php endif;?>>排行</a></li>
            <li><a title="分类" href="<?php echo \Kuxin\Helper\Url::build("novel.category.index",[],"");?>"<?php if($pagesign=='category'):?> class="pt-active"<?php endif;?>>分类</a></li>
            <li><a title="完本" href="<?php echo \Kuxin\Helper\Url::build("novel.over.index",[],"");?>"<?php if($pagesign=='over'):?> class="pt-active"<?php endif;?>>完本</a></li>
            <li class="fr"><a title="用户中心" href="<?php echo \Kuxin\Helper\Url::build("user.index.index",[],"");?>" class="<?php if($pagesign=='user'):?>  pt-active<?php endif;?>">用户中心</a></li>
        </ul>
    </nav>
</header>
<section class="w-all">
    <div class="container clearfix mt10">
        <div class="w-left">
            <div class="card">
                <div class="header line">
                    <h3>站长推荐</h3>
                </div>
                <div class="body" style="height:245px;overflow: hidden">
                    <div class="novellist">
                        <?php $list=\Kuxin\Block::show('recommend', ['recommendid'=>2,'num'=>4]);?>
                        <?php if(is_array($list)): foreach($list as $key =>$loop):?>
                        <div class="item<?php if($key%2==0):?> ml15<?php endif;?>">
                            <div class="item-left">
                                <a href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$loop['data']['novel']['id'],'pinyin'=>$loop['data']['novel']['pinyin']],"");?>" title="<?php echo $loop['data']['novel']['name'];?>"><img src="<?php echo $loop['data']['novel']['cover'];?>" alt="<?php echo $loop['data']['novel']['name'];?>"></a>
                            </div>
                            <div class="item-right">
                                <dl>
                                    <dt><a href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$loop['data']['novel']['id'],'pinyin'=>$loop['data']['novel']['pinyin']],"");?>" title="<?php echo $loop['data']['novel']['name'];?>"><?php echo $loop['data']['novel']['name'];?></a></dt>
                                    <dd>作者：<a href="<?php echo \Kuxin\Helper\Url::build("author.space.index",['authorid'=>$loop['data']['author']['id'],'pinyin'=>$loop['data']['author']['pinyin'],'name'=>$loop['data']['author']['name']],"");?>" title="<?php echo $loop['data']['author']['name'];?> 作品大全"><?php echo $loop['data']['author']['name'];?></a></dd>
                                    <dd class="intro"><?php echo $loop['data']['novel']['intro'];?></dd>
                                </dl>
                            </div>
                        </div>
                        <?php endforeach; endif;?>
                        <div class="clear"></div>
                    </div>
                </div>
            </div>
            <div class="card  mt20">
                <div class="header line">
                    <h3>分类强推</h3>
                </div>
                <div class="body">
                    <div class="novellist category" style="height:508px">
                        <?php $list=\Kuxin\Block::show('category.list', ['withall'=>0,'pid'=>1,'num'=>4]);?>
                        <?php if(is_array($list) && (array()!=$list)): $ii=array(); $ii['loop']=array_slice($list,0,null,true); $ii['total']=count($list); $ii['count']=count($ii['loop']); $ii['cols']=1; $ii['add']=$ii['count']%1?1-$ii['count']%1:0; $ii['order']=0; $ii['row']=1;$ii['col']=0;foreach(array_pad($ii['loop'],$ii['add'],array()) as $ii['index']=>$ii['list']): $loop=$ii['list']; $ii['order']++; $ii['col']++; if($ii['col']==1): $ii['col']=0; $ii['row']++; endif; $ii['first']=$ii['order']==1; $ii['last']=$ii['order']==$ii['count']; $ii['extra']=$ii['order']>$ii['count'];?>
                        <div class="item <?php echo $ii['index']%2?'ml15':'';?>">
                            <?php $list=\Kuxin\Block::show('novel.list', ['order'=>'allvisit','category'=>$loop['id'],'num'=>11]);?>
                            <?php if(is_array($list) && (array()!=$list)): $i=array(); $i['loop']=array_slice($list,0,1,true); $i['total']=count($list); $i['count']=count($i['loop']); $i['cols']=1; $i['add']=$i['count']%1?1-$i['count']%1:0; $i['order']=0; $i['row']=1;$i['col']=0;foreach(array_pad($i['loop'],$i['add'],array()) as $i['index']=>$i['list']): $loop=$i['list']; $i['order']++; $i['col']++; if($i['col']==1): $i['col']=0; $i['row']++; endif; $i['first']=$i['order']==1; $i['last']=$i['order']==$i['count']; $i['extra']=$i['order']>$i['count'];?>
                            <div class="item-left">
                                <a href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$loop['novel']['id'],'pinyin'=>$loop['novel']['pinyin']],"");?>" title="<?php echo $loop['novel']['name'];?>"><img src="<?php echo $loop['novel']['cover'];?>" alt="<?php echo $loop['novel']['name'];?>"></a>
                            </div>
                            <div class="item-right">
                                <dl>
                                    <dt><a href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$loop['novel']['id'],'pinyin'=>$loop['novel']['pinyin']],"");?>" title="<?php echo $loop['novel']['name'];?>"><?php echo $loop['novel']['name'];?></a></dt>
                                    <dd>分类：<a href="<?php echo \Kuxin\Helper\Url::build("novel.category.list",['categoryid'=>$loop['category']['id'],'key'=>$loop['category']['key']],"");?>" title="<?php echo $loop['category']['name'];?>小说"><?php echo $loop['category']['name'];?></a></dd>
                                    <dd>作者：<a href="<?php echo \Kuxin\Helper\Url::build("author.space.index",['authorid'=>$loop['author']['id'],'pinyin'=>$loop['author']['pinyin'],'name'=>$loop['author']['name']],"");?>" title="<?php echo $loop['author']['name'];?> 作品大全"><?php echo $loop['author']['name'];?></a></dd>
                                    <dd>收藏：<?php echo $loop['data']['mark'];?></dd>
                                </dl>
                            </div>
                            <?php endforeach; endif;?>
                            <div class="clear"></div>
                            <div class="item-list">
                                <ul>
                                    <?php if(is_array($list) && (array()!=$list)): $i=array(); $i['loop']=array_slice($list,1,null,true); $i['total']=count($list); $i['count']=count($i['loop']); $i['cols']=1; $i['add']=$i['count']%1?1-$i['count']%1:0; $i['order']=0; $i['row']=1;$i['col']=0;foreach(array_pad($i['loop'],$i['add'],array()) as $i['index']=>$i['list']): $loop=$i['list']; $i['order']++; $i['col']++; if($i['col']==1): $i['col']=0; $i['row']++; endif; $i['first']=$i['order']==1; $i['last']=$i['order']==$i['count']; $i['extra']=$i['order']>$i['count'];?>
                                    <li><a href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$loop['novel']['id'],'pinyin'=>$loop['novel']['pinyin']],"");?>" title="<?php echo $loop['novel']['name'];?>"><?php echo $loop['novel']['name'];?></a> / <?php echo $loop['author']['name'];?></li>
                                    <?php endforeach; endif;?>
                                </ul>
                            </div>
                        </div>
                        <?php if($ii['index']%2 && !$ii['last']):?>
                        <div class="item-line"></div>
                        <?php endif;?>
                        <?php endforeach; endif;?>
                        <div class="clear"></div>
                    </div>
                </div>
            </div>
            <div class="card mt20">
                <div class="header line">
                    <h3>最新更新小说</h3>
                </div>
                <div class="body">
                    <ul class="updatelist">
                        <?php $list=\Kuxin\Block::show('novel.list', ['order'=>"lastupdate",'num'=>20,'cachetime'=>300]);?>
                        <?php if(is_array($list)): foreach($list as $key =>$loop):?>
                        <li>
                            <span class="n"><a href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$loop['novel']['id'],'pinyin'=>$loop['novel']['pinyin']],"");?>" title="<?php echo $loop['novel']['name'];?>"><strong><?php echo $loop['novel']['name'];?></strong></a></span>
                            <span class="c"><a href="<?php echo \Kuxin\Helper\Url::build("novel.chapter.read",['novelid'=>$loop['novel']['id'],'pinyin'=>$loop['novel']['pinyin'],'chapterid'=>$loop['last']['id']],"");?>" title="<?php echo $loop['novel']['name'];?> <?php echo $loop['last']['name'];?>" target="_blank"><?php echo $loop['novel']['name'];?> <?php echo $loop['last']['name'];?></a></span>
                            <span class="a"><a href="<?php echo \Kuxin\Helper\Url::build("author.space.index",['authorid'=>$loop['author']['id'],'pinyin'=>$loop['author']['pinyin'],'name'=>$loop['author']['name']],"");?>" title="<?php echo $loop['author']['name'];?>"><?php echo $loop['author']['name'];?></a></span>
                            <span class="t"><?php echo \Kuxin\View::date($loop['last']['time'],"H:i");?></span>
                        </li>
                        <?php endforeach; endif;?>
                    </ul>
                </div>
                <div class="footer tar">
                    本站启用了缓存策略，该列表显示<span class="num">5</span>分钟之前的更新
                </div>
            </div>
        </div>
        <div class="w-right">
            <div class="card">
                <div class="header line">
                    <h3>热门小说</h3>
                </div>
                <div class="body" style="height:245px;overflow: hidden">
                    <ul class="rightlist">
                        <?php $list=\Kuxin\Block::show('novel.list', ['order'=>"allvisit",'num'=>8]);?>
                        <?php if(is_array($list) && (array()!=$list)): $i=array(); $i['loop']=array_slice($list,0,null,true); $i['total']=count($list); $i['count']=count($i['loop']); $i['cols']=1; $i['add']=$i['count']%1?1-$i['count']%1:0; $i['order']=0; $i['row']=1;$i['col']=0;foreach(array_pad($i['loop'],$i['add'],array()) as $i['index']=>$i['list']): $loop=$i['list']; $i['order']++; $i['col']++; if($i['col']==1): $i['col']=0; $i['row']++; endif; $i['first']=$i['order']==1; $i['last']=$i['order']==$i['count']; $i['extra']=$i['order']>$i['count'];?>
                        <li>
                            <i <?php if($i['order']<4):?>class="first"<?php endif;?>><?php echo $i['order'];?></i>
                            <span><a href="<?php echo \Kuxin\Helper\Url::build("author.space.index",['authorid'=>$loop['author']['id'],'pinyin'=>$loop['author']['pinyin'],'name'=>$loop['author']['name']],"");?>" title="<?php echo $loop['author']['name'];?> 作品大全"><?php echo $loop['author']['name'];?></a></span>
                            <a href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$loop['novel']['id'],'pinyin'=>$loop['novel']['pinyin']],"");?>" title="<?php echo $loop['novel']['name'];?>"><?php echo $loop['novel']['name'];?></a>
                        </li>
                        <?php endforeach; endif;?>
                    </ul>
                </div>
            </div>
            <div class="card mt20 pt-tab">
                <div class="header tab pt-tab-nav">
                    <ul class="clearfix">
                        <?php $rankinfo=\Kuxin\Block::show('rank.info', ['key'=>'weekvisit']);?>
                        <li class="active"><?php echo $rankinfo['name'];?></li>
                        <?php $rankinfo=\Kuxin\Block::show('rank.info', ['key'=>'monthvisit']);?>
                        <li><?php echo $rankinfo['name'];?></li>
                    </ul>
                </div>
                <div class="body pt-tab-con">
                    <ul class="rightlist">
                        <?php $list=\Kuxin\Block::show('novel.list', ['order'=>"monthvisit",'num'=>17]);?>
                        <?php if(is_array($list) && (array()!=$list)): $i=array(); $i['loop']=array_slice($list,0,null,true); $i['total']=count($list); $i['count']=count($i['loop']); $i['cols']=1; $i['add']=$i['count']%1?1-$i['count']%1:0; $i['order']=0; $i['row']=1;$i['col']=0;foreach(array_pad($i['loop'],$i['add'],array()) as $i['index']=>$i['list']): $loop=$i['list']; $i['order']++; $i['col']++; if($i['col']==1): $i['col']=0; $i['row']++; endif; $i['first']=$i['order']==1; $i['last']=$i['order']==$i['count']; $i['extra']=$i['order']>$i['count'];?>
                        <li><i <?php if($i['order']<4):?>class="first"<?php endif;?>><?php echo $i['order'];?></i><span><a href="<?php echo \Kuxin\Helper\Url::build("author.space.index",['authorid'=>$loop['author']['id'],'pinyin'=>$loop['author']['pinyin'],'name'=>$loop['author']['name']],"");?>" title="<?php echo $loop['author']['name'];?> 作品大全"><?php echo $loop['author']['name'];?></a></span><a href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$loop['novel']['id'],'pinyin'=>$loop['novel']['pinyin']],"");?>" title="<?php echo $loop['novel']['name'];?>"><?php echo $loop['novel']['name'];?></a></li>
                        <?php endforeach; endif;?>
                    </ul>
                    <ul class="rightlist none">
                        <?php $list=\Kuxin\Block::show('novel.list', ['order'=>"weekvisit",'num'=>17]);?>
                        <?php if(is_array($list) && (array()!=$list)): $i=array(); $i['loop']=array_slice($list,0,null,true); $i['total']=count($list); $i['count']=count($i['loop']); $i['cols']=1; $i['add']=$i['count']%1?1-$i['count']%1:0; $i['order']=0; $i['row']=1;$i['col']=0;foreach(array_pad($i['loop'],$i['add'],array()) as $i['index']=>$i['list']): $loop=$i['list']; $i['order']++; $i['col']++; if($i['col']==1): $i['col']=0; $i['row']++; endif; $i['first']=$i['order']==1; $i['last']=$i['order']==$i['count']; $i['extra']=$i['order']>$i['count'];?>
                        <li><i <?php if($i['order']<4):?>class="first"<?php endif;?>><?php echo $i['order'];?></i><span><a href="<?php echo \Kuxin\Helper\Url::build("author.space.index",['authorid'=>$loop['author']['id'],'pinyin'=>$loop['author']['pinyin'],'name'=>$loop['author']['name']],"");?>" title="<?php echo $loop['author']['name'];?> 作品大全"><?php echo $loop['author']['name'];?></a></span><a href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$loop['novel']['id'],'pinyin'=>$loop['novel']['pinyin']],"");?>" title="<?php echo $loop['novel']['name'];?>"><?php echo $loop['novel']['name'];?></a></li>
                        <?php endforeach; endif;?>
                    </ul>
                </div>
            </div>
            <div class="card mt20">
                <div class="header line">
                    <h3>最多收藏</h3>
                </div>
                <div class="body">
                    <ul class="rightlist">
                        <?php $list=\Kuxin\Block::show('novel.list', ['order'=>"mark",'num'=>15]);?>
                        <?php if(is_array($list) && (array()!=$list)): $i=array(); $i['loop']=array_slice($list,0,null,true); $i['total']=count($list); $i['count']=count($i['loop']); $i['cols']=1; $i['add']=$i['count']%1?1-$i['count']%1:0; $i['order']=0; $i['row']=1;$i['col']=0;foreach(array_pad($i['loop'],$i['add'],array()) as $i['index']=>$i['list']): $loop=$i['list']; $i['order']++; $i['col']++; if($i['col']==1): $i['col']=0; $i['row']++; endif; $i['first']=$i['order']==1; $i['last']=$i['order']==$i['count']; $i['extra']=$i['order']>$i['count'];?>
                        <li><i <?php if($i['order']<4):?>class="first"<?php endif;?>><?php echo $i['order'];?></i><span><a href="<?php echo \Kuxin\Helper\Url::build("author.space.index",['authorid'=>$loop['author']['id'],'pinyin'=>$loop['author']['pinyin'],'name'=>$loop['author']['name']],"");?>" title="<?php echo $loop['author']['name'];?> 作品大全"><?php echo $loop['author']['name'];?></a></span><a href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$loop['novel']['id'],'pinyin'=>$loop['novel']['pinyin']],"");?>" title="<?php echo $loop['novel']['name'];?>"><?php echo $loop['novel']['name'];?></a></li>
                        <?php endforeach; endif;?>
                    </ul>
                </div>
            </div>
            <div class="card mt20">
                <div class="header line">
                    <h3>最新入库</h3>
                </div>
                <div class="body">
                    <ul class="rightlist">
                        <?php $list=\Kuxin\Block::show('novel.list', ['order'=>"postdate",'num'=>10]);?>
                        <?php if(is_array($list) && (array()!=$list)): $i=array(); $i['loop']=array_slice($list,0,null,true); $i['total']=count($list); $i['count']=count($i['loop']); $i['cols']=1; $i['add']=$i['count']%1?1-$i['count']%1:0; $i['order']=0; $i['row']=1;$i['col']=0;foreach(array_pad($i['loop'],$i['add'],array()) as $i['index']=>$i['list']): $loop=$i['list']; $i['order']++; $i['col']++; if($i['col']==1): $i['col']=0; $i['row']++; endif; $i['first']=$i['order']==1; $i['last']=$i['order']==$i['count']; $i['extra']=$i['order']>$i['count'];?>
                        <li><i <?php if($i['order']<4):?>class="first"<?php endif;?>><?php echo $i['order'];?></i><span><?php echo \Kuxin\View::date($loop['novel']['postdate'],"m-d");?></span><a href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$loop['novel']['id'],'pinyin'=>$loop['novel']['pinyin']],"");?>" title="<?php echo $loop['novel']['name'];?>"><?php echo $loop['novel']['name'];?></a></li>
                        <?php endforeach; endif;?>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div class="card mt20">
        <div class="header line">
            <h3>友情链接</h3>
        </div>
        <div class="body">
            <div class="rightlist">
                <?php $list=\Kuxin\Block::show('friendlink.list', []);?>
                <?php if(is_array($list)): foreach($list as $key =>$loop):?>
                <a href="<?php echo $loop['url'];?>" target="_blank" class="color4" <?php if(!empty($loop['color'])):?> style="color: <?php echo $loop['color'];?>;" <?php endif;?> title="<?php echo $loop['name'];?><?php echo $loop['intro'];?>">
                <?php echo \Kuxin\View::default($loop['is_bold'],'','<strong>');?><?php echo $loop['name'];?><?php echo \Kuxin\View::default($loop['is_bold'],'','</strong>');?>
                </a>
                <?php endforeach; endif;?>
            </div>
        </div>
    </div>
</section>
<footer>
    <div class="copyright w-all tac">
        <?php $list=\Kuxin\Block::show('page.list', []);?>
        <?php if(is_array($list)): foreach($list as $key =>$loop):?>
        <a href="<?php echo \Kuxin\Helper\Url::build("page.detail",['pageid'=>$loop['id'],'key'=>$loop['key']],"");?>" title="<?php echo $loop['name'];?>"><?php echo $loop['name'];?></a>
        <?php endforeach; endif;?>
        <br />
        Copyright © 2009-2019 <a href="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "siteurl");?>" target="_blank"><?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "sitename");?></a> All Rights Reserved .版权所有<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "sitename");?>。<br />
        本站内容系<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "sitename");?>根据您的指令搜索各大小说站得到的链接列表，不代表<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "sitename");?>赞成被搜索网站的内容或立场<br />
        如果版权人认为在本站放置您的作品有损您的利益，请发邮件至<?php if(\Kuxin\Helper\Arr::getValue($_kxcms_config, "email")):?><?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "email");?><?php else:?><?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "qq");?>@qq.com<?php endif;?>，本站确认后将会在2个工作日内删除。<br />
        Power by <a href="http://www.ptcms.com" target="_blank">PT聚合小说搜索聚合程序 <?php echo PRO_VERSION;?> Build<?php echo PRO_TIME;?></a>，<?php echo \Kuxin\Response::runinfo();?><br>
        模版设计：<a href="http://www.pakey.net" target="_blank">Pakey</a>，<a href="http://www.miitbeian.gov.cn/" target="_blank" rel="nofollow"><?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "beian");?></a>。<br>
    </div>
</footer>
<div class="gotop"><i class="pticon pticon-chevron-up"></i></div>
<script src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxwebno2/script/jquery-3.3.1.js"></script>
<script src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxwebno2/script/layer/layer.js"></script>
<script src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxwebno2/script/common.js?20171204"></script>
<div style="display:none">
    <?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "tongji.pc");?>
</div>
</body>
</html>
