{include h} {include thread_header} {if $thread_data['bid']!=5}

{$thread_data.title}{if $thread_data['state']} - {$_LANG['已锁定']}{/if}

{$thread_data.user} {php echo date("Y-m-d",($thread_data['atime']));}楼主 get_gid($thread_data['uid']); $Usergroup = M("Usergroup"); echo $Usergroup->gid_to_name($uid); ?>

{if $thread_data['show'] && $thread_data['gold_show']} {$post_data.content} {else} {if $thread_data['gold_show']}
{$_LANG['内容隐藏提示']}
{else}
{$_LANG['内容需要付费']} ({$_LANG['点击购买']}) {$_LANG['售价']}:{$thread_data['gold']} {$_LANG['金币']}
{/if} {/if}
{if $thread_data['files']}

{$_LANG['附件列表']}

{foreach $filelist as $v} {if $v['show']}

{$v.name}   {$_LANG['文件大小']}:{php echo round($v['size']/1024/1024,2);}M ({$_LANG['下载次数']}:{$v.downs}) {if $v['gold']}   {$_LANG['售价']}:{$v.gold} {/if}

{else}

{$_LANG['附件隐藏提示']}

{/if} {/foreach}
{/if}
校友的评论
{foreach $PostList as $k => $v} {/foreach}

{$v.user}read($v['uid']); //取得用户组id $group=$usergid['gid']; //实例UsergroupModel对象 $Usergroup = M("Usergroup"); echo $Usergroup->gid_to_name($group);$User = M("User"); ?>{if $group==$thread_data['uid']}楼主 {/if}

{$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 NOW_UID == $v['uid']} {else} 回复 {/if} {/if}

{if IS_LOGIN} {else} {$_LANG['登陆后才可发表内容']} {/if}
{else} {if $thread_data['sex']==1} {include boy_index} {elseif $thread_data['sex']==2 } {include gir_index} {else} {include dtheme_index} {/if} {/if} {include f}