{?set jieqi_blocks_module = "article"?}
{?set jieqi_blocks_config = "topblocks"?}
{?set $jieqi_pagetitle = "{$articletitle}-{$jieqi_sitename}"?}
{?set jieqi_page_rows = "30"?}

<table class="grid" width="100%" align="center">
<caption>
	<div class="fl">
	&nbsp;&nbsp;
	<span class="dropdown">{?$ordername?}<b class="dropico"></b>
	<ul class="droplist">
	{?section name=i loop=$toprows?}
	{?if $toprows[i].publish > 0?}
	<li><a href="{?function jieqi_geturl:'article':'toplist':1:$i['key']:$sortid:$fullflag?}"{?if $order == $i['key']?} class="hot"{?/if?}>{?$toprows[i].caption?}</a></li>
	{?/if?}
	{?/section?}
	</ul>
	</span>
	&nbsp;&nbsp;
	<span class="dropdown">{?if $sort == ''?}全部分类{?else?}{?$sort?}{?/if?}<b class="dropico"></b>
	<ul class="droplist">
	<li><a href="{?function jieqi_geturl:'article':'toplist':1:$order:0:$fullflag?}" {?if $sortid == 0?} class="hot"{?/if?}>全部分类</a></li>
	{?section name=i loop=$sortrows?}
	<li><a href="{?function jieqi_geturl:'article':'toplist':1:$order:$i['key']:$fullflag?}" {?if $sortid == $i['key']?} class="hot"{?/if?}>{?$sortrows[i].caption?}</a></li>
	{?/section?}
	</ul>
	</span>
	</div>
	<div class="fr">
	<label class="checkbox fsb nw"><input type="checkbox" name="showfull" value="1"{?if $fullflag > 0?} checked="checked"{?/if?} onclick="if(this.checked) document.location='{?function jieqi_geturl:'article':'toplist':1:$order:$sortid:1?}';else document.location='{?function jieqi_geturl:'article':'toplist':1:$order:$sortid:0?}';">只看全本</label>
	</div>
</caption>
  <tr align="center">
    <th width="25%">小说名称</th>
    <th width="30%">最新章节</th>
    <th width="15%">作者</th>
	<th width="8%">{?if $orderfield == 'lastupdate'?}字数{?else?}{?$ordername?}{?/if?}</th>
    <th width="15%">更新</th>
    <th width="7%">状态</th>
  </tr>
  <tbody id="jieqi_page_contents">
  {?section name=i loop=$articlerows?}
  <tr>
    <td><a href="{?$articlerows[i].url_articleindex?}" class="note iconfont" target="_blank" title="目录">&#xee32;</a><a href="{?$articlerows[i].url_articleinfo?}">{?$articlerows[i].articlename?}</a></td>
    <td>{?if $articlerows[i].vipchapterid > 0?}<a href="{?$articlerows[i].url_vipchapter?}" target="_blank">{?$articlerows[i].vipvolume?} {?$articlerows[i].vipchapter?}</a><span class="hot">vip</span>{?else?}<a href="{?$articlerows[i].url_lastchapter?}" target="_blank">{?$articlerows[i].lastvolume?} {?$articlerows[i].lastchapter?}</a>{?/if?}</td>
    <td>{?if $articlerows[i].authorid == 0?}{?$articlerows[i].author?}{?else?}<a href="{?$jieqi_modules['article']['url']?}/authorpage.php?id={?$articlerows[i].authorid?}" target="_blank">{?$articlerows[i].author?}</a>{?/if?}</td>
		<td>{?if $orderfield == 'lastupdate'?}{?$articlerows[i].words?}{?else?}{?$articlerows[i].ordervalue?}{?/if?}</td>
    <td align="center">{?$articlerows[i].lastupdate|date:'Y-m-d'?}</td>
    <td align="center">{?$articlerows[i].fullflag?}</td>
  </tr>
  {?/section?}
  </tbody>
</table>
<div class="pages">{?$url_jumppage?}</div>