<?php $settop=quanbu(1, 'open=1 and settop=1 and m!="dianhua"', mi('kz4'),'id,title,tid,times,time,uid,view,sid,settop,m,color,phone,content,username,pic','times');?>//变量$settop显示置顶数据
<?php $new=quanbu(1, 'open=1 and settop!=1 and m!="dianhua"', mi('kz4'),'id,title,tid,times,time,uid,view,sid,settop,m,color,phone,content,username,pic','times');?>//变量$new显示最新不是置顶数据
<!--下面的填写name="变量"-->
{volist name="$mifenlei" id="vo"}
{$vo.times|times}//时间
{if $vo.settop==1}顶{/if}//置顶
{:fun_cate_m($vo.tid, 'name')}//分类
{:url('index/index/html',array('m'=>$vo.m,'id'=>$vo.id))}//连接
{$vo.title}//标题
{:cut_c($vo.content,40)}//40个字符描述
{:fun_model($vo.m, 'title')}//模型名称
{:fun_cate_diqu($vo.sid, 'name')}//地区
{if fun_u($vo.uid,'vip_times')>time()}认证{/if}//购买vip会员显示的标识
{:tel_d($vo.phone)}//电话号码显示类型152****2525
{/volist}
本文链接:https://www.zhanque.net/cms/2842.html