列表页调用下载
{pc:content action="lists" catid="$catid" num="3" order="id DESC" moreinfo="1" page="$page"}
<ul class="list">
{loop $data $r}
{php $xiazai = string2array($r['downfiles']);}
<li>
<p>下载地址:</p>
{loop $xiazai $b}
<a href="{$b[fileurl]}">{$b[filename]}</a><br />
{/loop}
</li>
{/loop}
</ul>
{/pc}
内容页调用下载
{loop $pdf $r}
<li>{$r}</li>
{/loop}