$device=I('device')?I('device'):0; $template_list = D(CONTROLLER_NAME)->get_template_content('',$device);
广告位名称 : {$name}
广告位标识 : {$code}
优先使用,可防止删除广告位后页面对应不上广告位问题
广告位尺寸 : {$width}X{$height}

宽 X 高(单位:PX)

广告数 : {$number}
说明 : {$content}
模板 :
标签说明 : 模板中标签写法与thinkphp模板标签写法一致!编辑模板后请更新广告位缓存
实例:
<volist name="ad_list" id="val" >
<a href="{$val.url}" title="{$val.name}"><img alt="{$val.name}" width="{$width}" height="{$height}" src="{:thumb($val['code'],$width,$height)}" /></a>
</volist>

其中默认标签有
$ad_list 广告列表数组
$width 广告宽度
$height 广告高度
$ad_list循环中参数有
name 广告名称
url 广告链接
code 广告代码
description 广告描述
{:L('STATUS')} :