PHP中调用文章内容在前台div中显示,目前只能讲文章标题显示出来,内容无法显示!求各位大虾帮忙看看~
<!--loopfrom=$list.sublistkey=$keyvalue=$value--><divclass="pfwmbottom10"><h3>{$value...
<!-- loop from=$list.sublist key=$key value=$value -->
<div class="pfw mbottom10">
<h3>{$value.title}<a href="{$value.url}" class="more" title="{$value.title}">more »</a></h3>
<ul class="arclist">
<!-- arclist:arc pid=$page_rs.id cateid=$value.id psize=10 -->
<!-- loop from=$arc key=$key value=$value -->
<li{if $arc_id.num == $arc_id.total} class="end"{/if}><a href="{$value.url}" title="{$value.title}"><span class="date">{func date Y-m-d $value.dateline}</span>{$value.title}</a></li>
<!-- /loop -->
</ul>
</div>
<!-- /loop -->
<!-- php:$list = phpok('picnews') -->
<!-- if $list -->
<div class="i">
<div class="products">
<ul>
<!-- loop from=$list key=$key value=$value -->
<li>
<div class="txt"><a href="{$value.url}" title="{$value.title}">{func phpok_cut $value.title 10000 …}</a></div>
</li>
<!-- /loop -->
</ul>
</div>
</div>
<!-- /if -->
后台 展开
<div class="pfw mbottom10">
<h3>{$value.title}<a href="{$value.url}" class="more" title="{$value.title}">more »</a></h3>
<ul class="arclist">
<!-- arclist:arc pid=$page_rs.id cateid=$value.id psize=10 -->
<!-- loop from=$arc key=$key value=$value -->
<li{if $arc_id.num == $arc_id.total} class="end"{/if}><a href="{$value.url}" title="{$value.title}"><span class="date">{func date Y-m-d $value.dateline}</span>{$value.title}</a></li>
<!-- /loop -->
</ul>
</div>
<!-- /loop -->
<!-- php:$list = phpok('picnews') -->
<!-- if $list -->
<div class="i">
<div class="products">
<ul>
<!-- loop from=$list key=$key value=$value -->
<li>
<div class="txt"><a href="{$value.url}" title="{$value.title}">{func phpok_cut $value.title 10000 …}</a></div>
</li>
<!-- /loop -->
</ul>
</div>
</div>
<!-- /if -->
后台 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询