PHPOK内容页同类目下相关产品调用代码

PHPOK内容页同类目下相关产品调用代码

<!-- php:$list = phpok('_arclist','pid='.$page_rs.id&cateid='.$rs.cate_id) -->
<!-- loop from=$list.rslist key=$key value=$value -->
    {if $value.title != $rs.title}
    <a href="{$value.url}"><img src="{$value.thumb.gd.thumb}"></a>
    <h4>{$value.title}</h4>
    {/if}
<!-- /loop -->
<!-- arclist pid=$page_rs.id cateid=$cate_rs.id notin=$rs.id psize=10 -->
<ul>
    <!-- loop from=$list.rslist key=$key value=$value id=$tmpid -->
    <li><a href="{$value.url}">{$value.title}</a><span class="date">{func time_format $value.dateline}</span></li>
    <!-- /loop -->
</ul>