phpcmsv9呼叫友情連結

璞~發表於2017-09-19
phpcmsv9呼叫文字友情連結
 
{pc:link action="type_list" siteid="$siteid" order="listorder DESC" num="10" return="dat"}
{loop $dat $v}
<a href="{$v[url]}" target="_blank">{$v[name]}</a> |
{/loop}
{/pc}
 
phpcmsv9呼叫圖片友情連結
 
{pc:link  action="type_list" siteid="$siteid" linktype="1" order="listorder DESC" num="8" return="pic_link"}
{loop $pic_link $v}
<li><a href="{$v['url']}" title="{$v['name']}" target="_blank"><img src="{$v[logo]}" width="88" height="31" /></a></li>
{/loop}
{/pc}

相關文章