调用网址
{$maccms.path}
调用标题
{$vo.vod_name} {$vo.art_name}
调用时刻格式化
{$obj.vod_time|date='Y-m-d',###} {$vo.art_time|date='Y-m-d',###} {$vo.vod_time|date='Y-m-d',###}
调用影片长度
{$vo.vod_duration} {$obj.vod_duration}
动态页面调用图
{:mac_url_img($vo.vod_pic_thumb)} {:mac_url_vod_detail($vo)} {:mac_url_img($vo.vod_pic_slide)}
字数截取
{$vo.vod_lang|mac_filter_html|mac_substring=1}
调用艺人
{$vo.vod_actor} {$vo.vod_actor|mac_url_create='actor','vod','search'} {$obj.vod_actor|mac_url_create='actor'}
调用tags标签
{$obj.vod_tag|mac_url_create='tag'}
调用当时ID信息
{maccms:typeparent="current"order="asc"by="sort"} {maccms:vodnum="30"type="'.$vo['type_id'].'"order="desc"by="time"} {/maccms:vod} {/maccms:type}
调用指定特点信息
{maccms:vodorder="desc"by="time"num="30"ids="all"type="all"version="电影"} {$vo.vod_pubdate}
计算点击量
{$vo.topic_rel_vod|explode=',',###|count} 点击量 {$vo.vod_hits}
调用编号
<i{ifcondition="$keylt4"}class="stress"{/if}>{$key}</i>
列表调用结合项
<li><a{ifcondition="$param['state']eq''"}class="current"{/if}href="{:mac_url_type($obj,['class'=>$param['class'],'version'=>$param['version'],'state'=>''],'show')}">悉数</a></li> {emptyname="$obj.type_extend.state"} {maccms:foreachname=":explode(',',$obj.parent.type_extend.state)"id="vo2"key="key2"} <li><a{ifcondition="$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:foreachname=":explode(',',$obj.type_extend.state)"id="vo2"key="key2"} <li><a{ifcondition="$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
调用艺人结合项
<li><ahref="{:mac_url('actor/show',['starsign'=>$param['starsign']])}"{ifcondition="$param['area']==''"}class="current"{/if}>悉数</a></li> {maccms:foreachname=":explode(',','内地,香港,日本,美国')"id="vo2"key="key2"} <li><ahref="{:mac_url('actor/show',['area'=>$vo2,'starsign'=>$param['starsign']])}"{ifcondition="$param['area']eq$vo2"}class="current"{/if}>{$vo2}</a></li> {/maccms:foreach}
调用网站导航
<liclass="nav-item{ifcondition="$maccms.aideq1"}current{/if}"><aclass="nav-link"href="{$maccms.path}">网站主页</a></li> {maccms:typeids="parent"order="asc"by="sort"} <liclass="nav-item{$vo.type_id}={$vo.type_pid}{ifcondition="($vo.type_ideqMAC_TYPE_ID||$vo.type_ideqMAC_TYPE_PID)"}current{/if}"><aclass="nav-link"href="{:mac_url_type($vo)}">{$vo.type_name}</a></li> {/maccms:type}
调用文章 {maccms:artnum="30"paging="yes"type="current"order="desc"by="time"} <li><span>{$vo.art_time|date='Y-m-d',###}</span><ahref="{:mac_url_art_detail($vo)}">{$vo.art_name}</a></li> {/maccms:art}
调用抢手信息
{maccms:artnum="20"order="desc"by="hits_month"} <li><span>{$vo.art_hits_month}</span><i{ifcondition="$keylt4"}class="stress"{/if}>{$key}</i><ahref="{:mac_url_art_detail($vo)}"title="{$vo.art_name}">{$vo.art_name}</a></li> {/maccms:art}
调用分页
<pid="page"> {includefile="public/paging"} </p>
封面、列表判别
<!--封面--> {maccms:typeparent="current"order="asc"by="sort"} {maccms:vodnum="30"type="'.$vo['type_id'].'"order="desc"by="time"} {/maccms:vod} {/maccms:type} <!--列表--> {ifcondition="$obj.childidseq''"} {/maccms:vod} <!--分页--> <pid="page"> includefile="public/paging"} </p> {/if}
声明:有的资源均来自网络转载,版权归原作者所有,如有侵犯到您的权益 请联系邮箱:123456@qq.com 我们将配合处理!
原文地址:苹果CMS v10自用调用标签收藏发布于2022-05-09 07:43:12