19楼group_default.htm模板数据调用问题
代码是这样的- <!--{loop $catlist $key $cat}-->
- <!--{if $cat['forumscount']}-->
- <!--{loop $cat[forums] $forumid}-->
- <!--{eval $forum=$forumlist[$forumid];}-->
- <div id="right_box" style="margin:3px 0">
- <div class="box_public_l" style="height:350px; background-color:#f8f8f8;">
- <div class="box_title_a1"><a href="forumdisplay.php?fid=$forum[fid]" class="A">$forum[name]</a><a href="forumdisplay.php?fid=$forum[fid]" class="B" style="width:80px">进去逛逛 »</a></div>
- <table width="556" cellpadding="4" cellspacing="0">
- <tr bgcolor="#efefef" class=category >
- <td width="10" height="16" > </td><td>最新热门话题</td><td width="100" >作者</td><td width="80">时间</td>
- </tr>
- {eval request('19lou_group_default_06', 0, 0, 0, $forum[fid]);}
- </table>
- </div>
- <div class="box_public_r" style="height:350px;">
- <h1>本周勤劳住户榜</h1>
- <div style=" float:left; position:relative;margin-bottom:10px">
- {eval request('19lou_group_default_07', 0, 0, 0, $forum[fid]);}
- </div>
- </div>
- </div>
- <!--{/loop}-->
- <!--{/if}-->
- <!--{/loop}-->
复制代码 显示效果是重复的
|