<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
        <meta charset="UTF-8" name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
        <title>{$tkd.title|parseTpl}</title>
        <meta name="keywords" content="{$tkd.keywords|parseTpl}">
        <meta name="description" content="{$tkd.description|parseTpl}">
        <meta name="author" content="www.ptcms.com">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <meta name="renderer" content="webkit">
        <meta name="viewport" content="width=device-width" />
        <meta name="applicable-device" content="pc">
        <meta http-equiv="mobile-agent" content="format=html5; url={$kx.config.mobileurl}__SELF__">
        <meta http-equiv="Cache-Control" content="no-siteapp" />
        <meta http-equiv="Cache-Control" content="no-transform" />
		<link rel="shortcut icon" href="/favicon.ico" />
        <link rel="stylesheet" href="{$kx.config.resurl}/template/kxmobileno3/css/mulu.css"/>
	</head>
	<body>
    <div class="header">
        <div class="logo"><a href="/">笔趣阁移动版</a></div>
        <div class="reg">
            <div id="login_top">
                {if ($islogin)}
                <a href="{link=user.index.index}" style="max-width:90px;overflow:hidden;height:50px;padding:0px 10px;" class="c_index_top">{=$userinfo.nickname?:$userinfo.name}</a><a style="max-width:90px;overflow:hidden;height:50px;padding:0px 10px;" href="{link=user.auth.logout}">退出</a>
                {else}
                <a class="login_topbtn c_index_login" href="{link=user.auth.login}">登录</a>
                <a class="login_topbtn c_index_login" href="{link=user.auth.register}">注册</a>&nbsp;&nbsp;
                {/if}
            </div>
        </div>
    </div>
		{include file="system/header"}
		<div class="article">
			<h2 class="title"><span><a href="#">封面强推</a></span></h2>
            {block method="recommend" name="list" recommendid="2" num="3"}
            {loop=$list}
			<div class="block">
				<div class="block_img">
					<a href="{link=novel.novel.index novelid=$loop.data.novel.id pinyin=$loop.data.novel.pinyin}"><img height=100 width=80 src="{$loop.data.novel.cover}"/></a>
				</div>
				<div class="block_txt">
					<p><a href="{link=novel.novel.index novelid=$loop.data.novel.id pinyin=$loop.data.novel.pinyin}"><h2>{$loop.data.novel.name}</h2></a></p>
					<p>作者：{$loop.data.author.name}</p>
					<p>{$loop.data.novel.intro|showIntroLine|truncate=50}</p>
				</div>
				<div style="clear:both"></div>
			</div>
            {/loop}
		</div>
		<div class="article">
			<h2 class="title"><span>点击榜</h2>
			<div class="block">
                {block method="novel.list" name=novelList order=weekvisit num=5}
                {loop=novelList}
                <div class="block">
                    <div class="block_img">
                        <a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}"><img height=100 width=80 src="{$loop.novel.cover}"/></a>
                    </div>
                    <div class="block_txt">
                        <p><a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}"><h2>{$loop.novel.name}</h2></a></p>
                        <p>作者：{$loop.author.name}</p>
                        <p>{$loop.novel.intro|showIntroLine|truncate=50}</p>
                    </div>
                    <div style="clear:both"></div>
                </div>
                {/loop}
			</div>
		</div>
    <div class="article">
        <h2 class="title"><span>投票榜</h2>
        <div class="block">
            {block method="novel.list" name=novelList order=vote num=5}
            {loop=novelList}
            <div class="block">
                <div class="block_img">
                    <a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}"><img height=100 width=80 src="{$loop.novel.cover}"/></a>
                </div>
                <div class="block_txt">
                    <p><a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}"><h2>{$loop.novel.name}</h2></a></p>
                    <p>作者：{$loop.author.name}</p>
                    <p>{$loop.novel.intro|showIntroLine|truncate=50}</p>
                </div>
                <div style="clear:both"></div>
            </div>
            {/loop}
        </div>
    </div>
    <div class="article">
        <h2 class="title"><span>最近更新</h2>
        <div class="block">
            {block method="novel.list" name=novelList order=lastupdate num=5}
            {loop=novelList}
            <ul>
                <li><a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" class="blue">{$loop.novel.name}</a>/{$loop.author.name}</li>
            </ul>
            {/loop}
        </div>
    </div>
		{include file="system/footer"}
	</body>
</html>
