{pc:content action="lists" catid="$catid" num="10" order="listorder DESC" moreinfo="1" page="$page"}
<div class="libox t"><span class="no" style="color:#333;">编号</span><span class="dname">名称</span><span class="des" style="color:#333;">说明</span><span class="ds">下载</span></div>
{loop $data $v}
{php $xiazai = string2array($v['downfiles']);}
{loop $xiazai $b}
<div class="libox"><span class="no">{$v[id]}</span><span class="dname"><a href="{if $b[fileurl]}{$b[fileurl]}{else}#{/if}" title="点击下载" target="_blank">{$v[title]}</a></span><span class="des">{str_cut(strip_tags($v[content]), 60)}</span><span class="ds"><a href="{if $b[fileurl]}{$b[fileurl]}{else}#{/if}" title="点击下载" target="_blank">下载</a></span></div>
{/loop}
{/loop}
</div>
<div class="clearfix"></div>
<div class="pagenavi">{$pages}</div>
{/pc}
<a href='http://www.cmsyou.com/style/images/logo.png' target='_blank'>点击下载</a>
1 个回复
CMSYOU - CMS企业网站定制专家
赞同来自:
{loop $dowloads $r}
{php $downloadurl = preg_replace("/<a href='(.*)'(.*)<\/a>/iUs",'\\1',$r);}
{php $downloadname = preg_replace("/<a href='(.*)'(.*)>(.*)<\/a>/iUs",'\\3',$r);}
<a href="{$downloadurl}" class="btn-red" title="{$downloadname}" target="_blank" download="{$downloadname}.{fileext($downloadurl)}">下载地址</a>
{/loop}
最新活动:2020-04-30 18:37
浏览:1767 次
关注:2 人
Copyright © 2008-2024 CMSYOU - 互助问答社区 - 粤ICP备10060801号-3 RSS Feed
欢迎加入QQ群(346494585) “让我们一起来学习CMS建站吧!”
要评论问题请先登录或注册