Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

哪位高人能给我注释一下这段代码的含义,尤其是标红的那一段!

[复制链接]
REXCHEN 发表于 2010-3-9 09:08:46 | 显示全部楼层 |阅读模式
<tr class="narrowlist">
                                <!--{loop $cat['forums'] $forumid}-->
                                        <!--{eval $forum=$forumlist[$forumid];}-->
                                        <!--{if $forum['orderid'] && ($forum['orderid'] % $cat['forumcolumns'] == 0)}-->
                                                </tr></tbody>
                                                <!--{if $forum['orderid'] < $cat['forumscount']}-->
                                                        <tbody><tr>
                                                <!--{/if}-->
                                        <!--{/if}-->
       
                                <th width="$cat[forumcolwidth]"{$forum[folder]}>
                                                <h2><a href="forumdisplay.php?fid=$forum[fid]" {if $forum[redirect]}target="_blank"{/if} style="{if $forum[extra][namecolor]}color: {$forum[extra][namecolor]};{/if}">$forum[name]</a><!--{if $forum[todayposts]}--><em> ({lang index_today}: <strong>$forum[todayposts]</strong>)</em><!--{/if}--></h2>
                                                <!--{if !$forum[redirect]}-->
                                                        <p>{lang forum_threads}: $forum[threads], {lang forum_posts}: $forum[posts]</p>
                                                        <!--{if $forum['permission'] == 1}-->
                                                                <p>{lang private_forum}
                                                        <!--{else}-->
                                                                <p>{lang forum_lastpost}:
                                                                        <!--{if is_array($forum['lastpost'])}-->
                                                                                <a href="redirect.php?tid=$forum[lastpost][tid]&amp;goto=lastpost#lastpost" title="{echo cutstr($forum[lastpost][subject], 30)} {lang forum_lastpost_by} {if $forum['lastpost']['author']}$forum['lastpost']['authorusername']{else}{lang anonymous}{/if}  ">$forum[lastpost][dateline]</a>
                                                                        <!--{else}-->
                                                                                {lang never}
                                                                        <!--{/if}-->
                                                                </p>
                                                        <!--{/if}-->
                                                <!--{else}-->
                                                        <p>{lang url_link}</p>
                                                <!--{/if}-->
                                        </th>
                                <!--{/loop}-->
                                $cat['endrows']
                        <!--{/if}-->
lxyzffm 发表于 2010-3-9 10:28:16 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

 楼主| REXCHEN 发表于 2010-3-9 11:19:43 | 显示全部楼层
求解啊!~~~~~~~~~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-7-3 23:06 , Processed in 0.101438 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表