项目地址:http://www.freeteam.cn/
原文地址:http://www.freeteam.cn/site/FreeCMS/tips/info/2016/5605.html
<@infoPage siteid="${site.id}" channelparid="${currChannel.id}" num="8" page="${page!1}"
titleLen="70" dateFormat="yyyy-MM-dd" order="3"
action="${contextPathNo}/templetPro.do?siteid=${site.id}&templetPath=channel.html&currChannelid=${currChannel.id}"; infoList,pager>
<#list infoList as info>
<!--通过uploadfile标签提取此信息的附件-->
<@uploadfile objid='${info.id!""}';uploadfileList>
<#list uploadfileList as filebean>
<!--链接到附件的下载地址-->
<a href="${contextPath}download.do?fileid=${filebean.id}" class="clearfix"><span class="bookIcon"></span>${info.title}</a>
</#list>
</@uploadfile>
</#list>
${pager.formPageStr}
</@infoPage>