# index_lists.html
title标题
```
{if get('id',id)=='id'}最新收录{else/}热门浏览{/if} - {:guojiz('title')}
```
分类
```
<a href="/list.html"><li style="color: #f24837;">全部</li></a>
{volist name=":funa('category',array('show'=>1,'tid'=>0,'sn'=>dingyi(cookie('sn'),0)),'sort desc',100,1)" id="v"}
<a href="/view/{$v.id}.html"><li>{$v.name}</li></a>
{/volist}
<a href="{:url('index/index/lists',array('id'=>id))}"><li {if get('id',id)=='id'}style="color: #f24837;"{/if}>最新收录</li></a>
<a href="{:url('index/index/lists',array('id'=>view))}"><li {if get('id',id)=='view'}style="color: #f24837;"{/if}>热门浏览</li></a>
```
内容
```
{{volist name=":funa_sn('html',array('open'=>1),''.get('id',id).' desc',18,0)" id="vo" empty="没有更多的内容展示"}
/daohang/{$vo.id}.html //详情链接
{:url('index/index/topdj',array('id'=>$vo.id,'lailu'=>'guojiz.com'))} //直达链接
{$vo.time|date='Y-m-d',###} //时间
{$vo.title} //标题
{$vo.ico} //图标
{$vo.pic}//封面截图
{/volist}
```
分页
```
{:funa_sn('html',array('open'=>1),'id desc',18,0)->render()}
```
# index_view.html
标题
```
{$name} - {:guojiz('title')}
```
分类
```
<a href="/list.html"><li>全部</li></a>
{volist name=":funa('category',array('show'=>1,'tid'=>0,'sn'=>dingyi(cookie('sn'),0)),'sort desc',100,1)" id="v"}
<a href="{:url('index/index/view',array('px'=>input('px'),'id'=>$v.id))}"><li {if input('id')==$v.id||$v.id==$c.tid}style="color: #f24837;"{/if}>{$v.name}</li></a>
{/volist}
<!--二级-->
{if funt('category', array('show'=>1,'tid'=>$id)) gt 0 ||funs('category',array('show'=>1,'id'=>$id), 'tid') gt 0}
{if $c.tid>0}
<a href="{:url('index/index/view',array('px'=>input('px'),'id'=>$c.tid))}"><li {if 0==$c.tid}style="color: #f24837;"{/if}>全部</li></a>
{volist name=":funa('category',array('show'=>1,tid=>$c.tid,'sn'=>dingyi(cookie('sn'),0)),'sort desc',100,1)" id="v"}
<a href="/view/{$v.id}.html"><li {if input('id')==$v.id}style="color: #f24837;"{/if}>{$v.name}</li></a>
{/volist}
{else/}
<a href="{:url('index/index/view',array('px'=>input('px'),'id'=>$c.id))}"><li {if 0==$c.tid}style="color: #f24837;"{/if}>全部</li></a>
{if funt('category', array('show'=>1,'tid'=>$id)) gt 0 ||funs('category',array('show'=>1,'id'=>$id), 'tid') gt 0}
{volist name=":funa('category',array('show'=>1,tid=>$c.id,'sn'=>dingyi(cookie('sn'),0)),'sort desc',100,1)" id="v"}
<a href="/view/{$v.id}.html"><li {if input('id')==$v.id}style="color: #f24837;"{/if}>{$v.name}</li></a>
{/volist}
{/if}
{/if}
{/if}
<!--二级end-->
<a href="{:url('index/index/view',array('px'=>id,'id'=>input('id')))}"><li {if get('px',id)=='id'}style="color: #f24837;"{/if}>最新收录</li></a>
<a href="{:url('index/index/view',array('px'=>view,'id'=>input('id')))}"><li {if get('px',id)=='view'}style="color: #f24837;"{/if}>热门浏览</li></a>
```
内容
```
{volist name=":funb('html',array('open'=>1),$id,''.get('px',id).' desc',18,0)" id="vo" empty="没有更多内容展示"}
/daohang/{$vo.id}.html //详情链接
{:url('index/index/topdj',array('id'=>$vo.id,'lailu'=>'guojiz.com'))} //直达链接
{$vo.time|date='Y-m-d',###} //时间
{$vo.title} //标题
{$vo.ico} //图标
{$vo.pic}//封面截图
{/volist}
```
分页
```
{:funb('html',array('open'=>1),$id,''.get('px',id).' desc',18,0)->render()}
```