PHPCMS V9仿ZOL图片切换幻灯片标签代码

{pc:content action= "position " posid= "2 " thumb= "1 " num= "5 " order= "id DESC "}
{pc:content action="position" posid="2" thumb="1" num="5" order="id DESC"}   
    var pics=""  
    {loop $data $r}   
        {php $a=thumb($r[thumb],290,250)}   
        pics += "{$a}|";   
    {/loop}   
        picspics=pics.substring(0,pics.length-1);   
    var links=""  
    {loop $data $r}   
        links += "{$r[url]}|";   
    {/loop}   
        linkslinks=links.substring(0,links.length-1);   
    var texts=""  
    {loop $data $r}   
        texts += "{$r[title]}|";   
    {/loop}   
        textstexts=texts.substring(0,texts.length-1);   
{/pc}