织梦DEDECMS首页调用文章正文内容

织梦DEDECMS首页调用全站文章包括文章正文

效果:

调用代码:

<style>
li{ list-style:none; border-bottom:1px solid #960; padding:15px 0px;}
</style>
<ul class="lifl fmyh clear">
  {dede:arclist typeid=2,5,6,8,9,10,11 row='600'  titlelen=100  orderby='pubdate'}
  <li>
    <p><strong>标题:</strong>[field:title/]  <a href="[field:arcurl/]" target="_blank">链接</a></p>
    <p><strong>所属栏目:</strong>[field:typename/]</p>
    <p><strong>URL:</strong>[field:arcurl/]</p>
    <p><strong>关键词:</strong>[field:keywords/]</p>
    <p><strong>描述:</strong>[field:description/]</p>
    <p><strong>正文:</strong>
    [field:id runphp='yes'] $aid = @me; $row = $GLOBALS['dsql']->GetOne("Select body From `dede_addonarticle` where aid='$aid' "); @me = cn_substr(strip_tags("{$row['body']}"),400000);[/field:id]    
    </p>
  </li>
  {/dede:arclist}
</ul>

 

THE END