苹果cms网址筛选
[*]
[*]文件目录 html/website/show.html
[*]入口标签 {:mac_url_type(['type_id'=>16],['by'=>'hits'],'show')}
[*]页面aid值 112,使用{$maccms.aid}标签即可获得当前页面aid值
[*]可传URL参数
[*]参数 示例值 必有 参数说明
[*]id 1 是 分类id
[*]tag 难 否 标签
[*]class B型 否 扩展分类
[*]lang 中文 否 语言
[*]area 中国 否 地区
[*]letter H 否 首字母
[*]order desc 否 倒序正序筛选
[*]by
[*]time
[*]否
[*]排序依据筛选:id, time, time_add, score, hits, hits_day, hits_week, hits_month, up, down, level
[*]获取筛选结果示例
[*]<div class="ui-cnt">
[*] <div class="filter-list fn-clear">
[*] <h5>类型:</h5>
[*] <ul>
[*] <li><a {if condition="$param['class'] eq ''"} class="current" {/if} href="{:mac_url_type($obj,['area'=>$param['area'],'lang'=>$param['lang'],'level'=>$param['level'],'letter'=>$param['letter'],'tag'=>$param['tag'],'class'=>'','order'=>$param['order'],'by'=>$param['by'] ],'show')}">全部</a></li>
[*]
[*] {maccms:foreach name=":explode(',',$obj.type_extend.class)" id="vo2" key="key2"}
[*] <li><a {if condition="$param['class'] eq $vo2"} class="current" {/if} href="{:mac_url_type($obj,['area'=>$param['area'],'lang'=>$param['lang'],'level'=>$param['level'],'letter'=>$param['letter'],'tag'=>$param['tag'],'class'=>$vo2,'order'=>$param['order'],'by'=>$param['by'] ],'show')}">{$vo2}</a></li>
[*] {/maccms:foreach}
[*]
[*] </ul>
[*] </div>
[*] <div class="filter-list fn-clear">
[*] <h5>地区:</h5>
[*] <ul>
[*] <li><a {if condition="$param['area'] eq ''"} class="current" {/if} href="{:mac_url_type($obj,['area'=>'','lang'=>$param['lang'],'level'=>$param['level'],'letter'=>$param['letter'],'tag'=>$param['tag'],'class'=>$param['class'],'order'=>$param['order'],'by'=>$param['by'] ],'show')}">全部</a></li>
[*]
[*] {maccms:foreach name=":explode(',',$obj.type_extend.area)" id="vo2" key="key2"}
[*] <li><a {if condition="$param['area'] eq $vo2"} class="current" {/if} href="{:mac_url_type($obj,['area'=>$vo2,'lang'=>$param['lang'],'level'=>$param['level'],'letter'=>$param['letter'],'tag'=>$param['tag'],'class'=>$param['class'],'order'=>$param['order'],'by'=>$param['by'] ],'show')}">{$vo2}</a></li>
[*] {/maccms:foreach}
[*]
[*] </ul>
[*] </div>
[*] <div class="filter-list fn-clear">
[*] <h5>语言:</h5>
[*] <ul>
[*] <li><a {if condition="$param['lang'] eq ''"} class="current" {/if} href="{:mac_url_type($obj,['area'=>$param['area'],'lang'=>'','level'=>$param['level'],'letter'=>$param['letter'],'tag'=>$param['tag'],'class'=>$param['class'],'order'=>$param['order'],'by'=>$param['by'] ],'show')}">全部</a></li>
[*] {maccms:foreach name=":explode(',',$obj.type_extend.lang)" id="vo2" key="key2"}
[*] <li><a {if condition="$param['lang'] eq $vo2"} class="current" {/if} href="{:mac_url_type($obj,['area'=>$param['area'],'lang'=>$vo2,'level'=>$param['level'],'letter'=>$param['letter'],'tag'=>$param['tag'],'class'=>$param['class'],'order'=>$param['order'],'by'=>$param['by'] ],'show')}">{$vo2}</a></li>
[*] {/maccms:foreach}
[*] </ul>
[*] </div>
[*] <div class="filter-list filter-list-letter fn-clear">
[*] <h5>字母:</h5>
[*] <ul>
[*] <li><a{if condition="$param['letter'] eq ''"} class="current"{/if} href="{:mac_url_type($obj,['area'=>$param['area'],'lang'=>$param['lang'],'level'=>$param['level'],'letter'=>'','tag'=>$param['tag'],'class'=>$param['class'],'order'=>$param['order'],'by'=>$param['by'] ],'show')}">全部</a></li>
[*] {maccms:foreach name=":explode(',','A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,0~9')" id="vo2" key="key2"}
[*] <li><a {if condition="$param['letter'] eq $vo2"} class="current"{/if} {/if} href="{:mac_url_type($obj,['area'=>$param['area'],'lang'=>$param['lang'],'level'=>$param['level'],'letter'=>$vo2,'tag'=>$param['tag'],'class'=>$param['class'],'order'=>$param['order'],'by'=>$param['by'] ],'show')}">{$vo2}</a><li>
[*] {/maccms:foreach}
[*] </ul>
[*] </div>
[*]</div>
[*]
[*]
[*]<!-- 列表 -->
[*]{maccms:website num="24" paging="yes" pageurl="website/show" type="current" order="desc" by="time"}
[*] <li><a href="{:mac_url_website_detail($vo)}" title="{$vo.website_name}">
[*] <img src="{:mac_url_img($vo.website_pic)}" alt="{$vo.website_name}"/>
[*] <h2>{$vo.website_name}</h2>
[*] <p>{$vo.website_actor}</p>
[*] <i>{$vo.website_version}</i>
[*]</a></li>
[*]{/maccms:website}
[*]<!-- 通用分页 -->
页:
[1]