調(diào)用網(wǎng)址
{$maccms.path}
調(diào)用標(biāo)題
{$vo.vod_name} {$vo.art_name}
調(diào)用時(shí)間格式化
{$obj.vod_time|date='Y-m-d',###} {$vo.art_time|date='Y-m-d',###} {$vo.vod_time|date='Y-m-d',###}
調(diào)用影片長(zhǎng)度
{$vo.vod_duration} {$obj.vod_duration}
動(dòng)態(tài)頁(yè)面調(diào)用圖
{:mac_url_img($vo.vod_pic_thumb)} {:mac_url_vod_detail($vo)} {:mac_url_img($vo.vod_pic_slide)}
字?jǐn)?shù)截取
{$vo.vod_lang|mac_filter_html|mac_substring=1}
調(diào)用演員
{$vo.vod_actor} {$vo.vod_actor|mac_url_create='actor','vod','search'} {$obj.vod_actor|mac_url_create='actor'}
調(diào)用tags標(biāo)簽
{$obj.vod_tag|mac_url_create='tag'}
調(diào)用當(dāng)前ID信息
{maccms:type parent="current" order="asc" by="sort"} {maccms:vod num="30" type="'.$vo['type_id'].'" order="desc" by="time"} {/maccms:vod} {/maccms:type}
調(diào)用指定屬性信息
{maccms:vod order="desc" by="time" num="30" ids="all" type="all" version="電影"} {$vo.vod_pubdate}
統(tǒng)計(jì)點(diǎn)擊量
{$vo.topic_rel_vod|explode=',',###|count} 點(diǎn)擊量 {$vo.vod_hits}
調(diào)用編號(hào)
<i {if condition="$key lt 4"} class="stress"{/if}>{$key}</i>
列表調(diào)用結(jié)合項(xiàng)
<li><a {if condition="$param['state'] eq ''"} class="current" {/if} href="{:mac_url_type($obj,['class'=>$param['class'],'version'=>$param['version'],'state'=>''],'show')}">全部</a></li> {empty name="$obj.type_extend.state"} {maccms:foreach name=":explode(',',$obj.parent.type_extend.state)" id="vo2" key="key2"} <li><a {if condition="$param['state'] eq $vo2"} class="current" {/if} href="{:mac_url_type($obj,['class'=>$param['class'],'version'=>$param['version'],'state'=>$vo2],'show')}">{$vo2}</a></li> {/maccms:foreach} {else /} {maccms:foreach name=":explode(',',$obj.type_extend.state)" id="vo2" key="key2"} <li><a {if condition="$param['state'] eq $vo2"} class="current" {/if} href="{:mac_url_type($obj,['class'=>$param['class'],'version'=>$param['version'],'state'=>$vo2],'show')}">{$vo2}</a></li> {/maccms:foreach} {/empty}
替換字段
$param['class'] $obj.type_extend.class class'=>'' class'=>$vo2
調(diào)用演員結(jié)合項(xiàng)
<li><a href="{:mac_url('actor/show',['starsign'=>$param['starsign']])}" {if condition="$param['area']==''"}class="current"{/if}>全部</a></li> {maccms:foreach name=":explode(',','內(nèi)地,香港,日本,美國(guó)')" id="vo2" key="key2"} <li><a href="{:mac_url('actor/show',['area'=>$vo2,'starsign'=>$param['starsign']])}" {if condition="$param['area'] eq $vo2"}class="current"{/if}>{$vo2}</a></li> {/maccms:foreach}
調(diào)用網(wǎng)站導(dǎo)航
<li class="nav-item {if condition="$maccms.aid eq 1"} current{/if}"><a class="nav-link" href="{$maccms.path}">網(wǎng)站首頁(yè)</a></li> {maccms:type ids="parent" order="asc" by="sort"} <li class="nav-item {$vo.type_id}={$vo.type_pid} {if condition="($vo.type_id eq MAC_TYPE_ID || $vo.type_id eq MAC_TYPE_PID)"} current{/if}"><a class="nav-link" href="{:mac_url_type($vo)}">{$vo.type_name}</a></li> {/maccms:type}
調(diào)用文章 {maccms:art num="30" paging="yes" type="current" order="desc" by="time"} <li><span>{$vo.art_time|date='Y-m-d',###}</span><a href="{:mac_url_art_detail($vo)}">{$vo.art_name}</a></li> {/maccms:art}
調(diào)用熱門信息
{maccms:art num="20" order="desc" by="hits_month"} <li><span>{$vo.art_hits_month}</span><i {if condition="$key lt 4"} class="stress"{/if}>{$key}</i><a href="{:mac_url_art_detail($vo)}" title="{$vo.art_name}">{$vo.art_name}</a></li> {/maccms:art}
調(diào)用分頁(yè)
<p id="page"> {include file="public/paging"} </p>
封面、列表判斷
<!-- 封面 --> {maccms:type parent="current" order="asc" by="sort"} {maccms:vod num="30" type="'.$vo['type_id'].'" order="desc" by="time"} {/maccms:vod} {/maccms:type} <!-- 列表 --> {if condition="$obj.childids eq '' "} {/maccms:vod} <!-- 分頁(yè) --> <p id="page"> include file="public/paging"} </p> {/if}
版權(quán)聲明: 本站資源均來(lái)自互聯(lián)網(wǎng)或會(huì)員發(fā)布,如果侵犯了您的權(quán)益請(qǐng)與我們聯(lián)系,我們將在24小時(shí)內(nèi)刪除!謝謝!
轉(zhuǎn)載請(qǐng)注明: 蘋果CMS v10自用調(diào)用標(biāo)簽收藏