{php $q=$thread_data['title']}
TO:{if is_numeric($q)}
{else}{php echo htmlspecialchars($thread_data['title'])}{/if}{if $thread_data['state']} - {$_LANG['已锁定']}{/if}
{if is_numeric($q)}
{/if}{$thread_data.user}
{$thread_data['ctime']}
{php echo htmlspecialchars($thread_data['content'])}
FROM:
{php $qm=htmlspecialchars($thread_data['me'])}
{if is_numeric($qm)}
{else}{php echo htmlspecialchars($thread_data['me'])}{/if}
{foreach $PostList as $k => $v}
|
{$v.user}read($v['uid']);
//取得用户组id
$group=$usergid['gid'];
//实例UsergroupModel对象
$Usergroup = M("Usergroup");
echo $Usergroup->gid_to_name($group);
?>
{$v.content}
# {$k+1}{$_LANG['楼']} {php echo date("Y-m-d",($thread_data['atime']));}
{if IS_LOGIN }
{if $v['uid'] == NOW_UID || NOW_GID == C("ADMIN_GROUP")}
{$_LANG['编辑']}
{/if}
{if $v['uid'] == NOW_UID || NOW_GID == C("ADMIN_GROUP") || is_forumg($forum,NOW_UID,$thread_data['fid'])}
{$_LANG['删除帖子']}
{/if}
回复
{/if}
|
{/foreach}