代码:
<!-- post #$post[postid] -->
<if condition="$show['spacer']">$spacer_open<if condition="!$post['islastshown']"><div style="padding:0px 0px $stylevar[cellpadding]px 0px"></if></if>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="table-layout:fixed;word-break:break-all">
<tr> <if condition="$show['announcement']">
<td class="thead" style="font-weight:normal" > <font style="float:right">$vbphrase[announce_promulgator]<a href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a></font>
<img class="inlineimg" src='./../../&'quot;$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</td>
<else />
<td class="thead" style="font-weight:normal" $scrolltothis width="175">
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src='./../../&'quot;$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</td>
<td class="thead" style="font-weight:normal" align="$stylevar[right]" >
<if condition="$show['postcount']"><a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new"><strong><phrase 1="$post[postcount]">$vbphrase[post_floor_x]</phrase></strong></a>
</if> <if condition="$show['reputationlink']"><a href="#" onclick="return reputation($post[postid])"><img class="inlineimg" src='./../../&'quot;$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>"
border="0" /></a> </if> <if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]"><img class="inlineimg" src='./../../&'quot;$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a>
</if> $post[iplogged] </td>
</if> </tr>
<tr valign="top"> <if condition="$show['announcement']"><else />
<td class="alt2" width="175"> <div id="postmenu_$post[postid]">
<fieldset>
<legend>$post[onlinestatus]<span class="smallfont">N<u>o</u>$post[userid]</span></legend>
<if condition="$show['profile']"> <a class="bigusername" href='./../../&'quot;member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<if condition="$post['gender']==1"> <img class="inlineimg" src='./../../&'quot;$stylevar[imgdir_misc]/male.gif" alt="$vbphrase[male]" border="0" />
</if> <if condition="$post['gender']==2"> <img class="inlineimg" src='./../../&'quot;$stylevar[imgdir_misc]/female.gif" alt="$vbphrase[female]" border="0" />
</if> <if condition="$post['onlinerankimg']"><span class="smallfont">$post[onlinerankimg]</span></if>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else /> $post[musername] </if> <if condition="$post['usertitle']">
<div class="smallfont" style="width:100px;">$post[usertitle]</div>
</if> <if condition="$post['rank']">
<div class="smallfont">$post[rank]</div>
</if>
</fieldset>
</div>
<if condition="$show['avatar']">
<div class="smallfont"> <br />
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>"
border="0" /></a> </div>
</if> <div class="smallfont"> <br />
<div> $vbphrase[posts]: $post[posts] </div>
<if condition="$vboptions['goodonoff']">
<div>$vbphrase[goodnees]: $post[goodnees]</div>
</if> <if condition="$vboptions['bankonoff']">
<div>$vbphrase[cash]: $post[money] $vboptions[danwei]</div>
<div>$vbphrase[asset]: $post[moneyhole] $vboptions[danwei]</div>
</if> <if condition="$post['field2']">
<div>$vbphrase[location_perm]: $post[field2]</div>
</if> <if condition="$post['joindate']">
<div>$vbphrase[join_date]: $post[joindate]</div>
</if> <if condition="$post['age']">
<div>$vbphrase[age]: $post[age]</div>
</if> <if condition="$show['reputation']">
<div><if condition="$show['reppower']">$vbphrase[reputation]: $post[reppower]</if><br />
$post[reputationdisplay]</div>
</if> </div></td>
</if>
<td class="alt1"> <select style="float:right" onchange='text$post[postcount].style.fontSize=this.value'
style="font-size: 9pt"> <option value=>$vbphrase[font_size]</option> <option value=10pt>10pt</option>
<option value=11pt>11pt</option> <option value=12pt>12pt</option> <option value=13pt>13pt</option>
<option value=14pt>14pt</option> <option value=15pt>15pt</option> <option value=16pt>16pt</option> </select>
<div > <if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont"> <if condition="$show['messageicon']"><img class="inlineimg" src='./../../&'quot;$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>
<!-- message -->
<if condition="$hiddenpost['containhidden']"> <if condition="$hiddenpost['guest']">
<fieldset class="fieldset">
<legend>$vbphrase[hidden_post]</legend>
<div style="padding: 3px;" class="highlight"> $vbphrase[guest_no_permission]
</div>
<div style="padding: 3px;"> <if condition="$hiddenpost['costpost']">
<div>$vbphrase[thispost_is]$vbphrase[cost_post],$vbphrase[had_price]
<B>$post[price]</B>$vboptions[danwei] [<a href="#" onclick="return buyerswindow('$post[postid]', 400, 200)">$vbphrase[whoisbuy]</a>]</div>
</if> <if condition="$hiddenpost['wealthpost']">
<div>$vbphrase[thispost_is]$vbphrase[wealth_post],$vbphrase[only_have]
<B>$post[wealth]</B>$vboptions[danwei] $vbphrase[can_see_the_post]</div>
</if> <if condition="$hiddenpost['replypost']">
<div>$vbphrase[thispost_is]$vbphrase[reply_see_post],$vbphrase[reply_can_see_post]</div>
</if> <if condition="$hiddenpost['postnumpost']">
<div>$vbphrase[thispost_is]$vbphrase[postnum_post],$vbphrase[only_have_post]
<B>$post[postnum]</B> $vbphrase[can_see_the_post]</div>
</if> </div>
</fieldset>
</if> <if condition="$hiddenpost['selfpost']">
<fieldset class="fieldset">
<legend>$vbphrase[hidden_post]</legend>
<div style="padding: 3px;" class="highlight"> $vbphrase[hiddenpost_self]
</div>
<div style="padding: 3px;"> <if condition="$hiddenpost['costpost']">
<div>$vbphrase[this_is]$vbphrase[cost_post],$vbphrase[had_price] <B>$post[price]</B>$vboptions[danwei]
[<a href="#" onclick="return buyerswindow('$post[postid]', 400, 200)">$vbphrase[whoisbuy]</a>]</div>
</if> <if condition="$hiddenpost['wealthpost']">
<div>$vbphrase[this_is]$vbphrase[wealth_post],$vbphrase[only_have]
<B>$post[wealth]</B>$vboptions[danwei] $vbphrase[can_see_the_post]</div>
</if> <if condition="$hiddenpost['replypost']">
<div>$vbphrase[this_is]$vbphrase[reply_see_post],$vbphrase[reply_can_see_post]</div>
</if> <if condition="$hiddenpost['postnumpost']">
<div>$vbphrase[this_is]$vbphrase[postnum_post],$vbphrase[only_have_post]
<B>$post[postnum]</B> $vbphrase[can_see_the_post]</div>
</if> </div>
</fieldset>
</if> <if condition="$hiddenpost['moderator']">
<fieldset class="fieldset">
<legend>$vbphrase[moderator_attention]</legend>
<div style="padding: 3px;"> <if condition="$hiddenpost['costpost']">
<div>$vbphrase[this_is]$vbphrase[cost_post],$vbphrase[had_price] <B>$post[price]</B>$vboptions[danwei]
[<a href="#" onclick="return buyerswindow('$post[postid]', 400, 200)">$vbphrase[whoisbuy]</a>]</div>
</if> <if condition="$hiddenpost['wealthpost']">
<div>$vbphrase[this_is]$vbphrase[wealth_post],$vbphrase[only_have]
<B>$post[wealth]</B>$vboptions[danwei] $vbphrase[can_see_the_post]</div>
</if> <if condition="$hiddenpost['replypost']">
<div>$vbphrase[this_is]$vbphrase[reply_see_post],$vbphrase[reply_can_see_post]</div>
</if> <if condition="$hiddenpost['postnumpost']">
<div>$vbphrase[this_is]$vbphrase[postnum_post],$vbphrase[only_have_post]
<B>$post[postnum]</B> $vbphrase[can_see_the_post]</div>
</if> </div>
</fieldset>
</if> <if condition="!$hiddenpost['guest'] AND !$hiddenpost['selfpost'] AND !$hiddenpost['moderator']">
<fieldset class="fieldset">
<legend>$vbphrase[hidden_post]</legend>
<div style="padding: 3px;"> <if condition="$hiddenpost['costpost']">
<if condition="$hiddenpost['costpostbuied']">
<div>$vbphrase[thispost_is]$vbphrase[cost_post],$vbphrase[had_price]
<B>$post[price]</B>$vboptions[danwei] , $vbphrase[buied_post] [<a href="#" onclick="return buyerswindow('$post[postid]', 400, 200)">$vbphrase[whoisbuy]</a>]</div>
<else />
<div class="highlight">$vbphrase[thispost_is]$vbphrase[cost_post],$vbphrase[had_price]
<B>$post[price]</B>$vboptions[danwei] [<a href="buypost.php?$session[sessionurl]p=$post[postid]">$vbphrase[click_to_buy]</a>]
[<a href="#" onclick="return buyerswindow('$post[postid]', 400, 200)">$vbphrase[whoisbuy]</a>]</div>
</if> </if> <if condition="$hiddenpost['wealthpost']"> <if condition="$hiddenpost['wealthpostok']">
<div>$vbphrase[thispost_is]$vbphrase[wealth_post],$vbphrase[wealth_post_can]
:$post[wealth] $vboptions[danwei]</div>
<else />
<div class="highlight">$vbphrase[thispost_is]$vbphrase[wealth_post],$vbphrase[only_have]
<B>$post[wealth]</B>$vboptions[danwei] $vbphrase[can_see_the_post]</div>
</if> </if> <if condition="$hiddenpost['replypost']"> <if condition="$hiddenpost['replypostok']">
<div>$vbphrase[thispost_is]$vbphrase[reply_see_post],$vbphrase[reply_post_can]</div>
<else />
<div class="highlight">$vbphrase[thispost_is]$vbphrase[reply_see_post],$vbphrase[reply_can_see_post]</div>
</if> </if> <if condition="$hiddenpost['postnumpost']"> <if condition="$hiddenpost['postnumpostok']">
<div>$vbphrase[thispost_is]$vbphrase[postnum_post],$vbphrase[postnum_post_can]
:$post[postnum]</div>
<else />
<div class="highlight">$vbphrase[thispost_is]$vbphrase[postnum_post],$vbphrase[only_have_post]
<B>$post[postnum]</B> $vbphrase[can_see_the_post]</div>
</if> </if> </div>
</fieldset>
</if> <if condition="$hiddenpost['showcontent']">
<fieldset>
<legend>$vbphrase[hidden_post_content]</legend>
<div id="text$post[postcount]" style="overflow: hidden; word-wrap: break-word; word-break: break-all;">$post[message]</div>
</fieldset>
</if> <else />
<div id="text$post[postcount]" style="overflow: hidden; word-wrap: break-word; word-break: break-all;">$post[message]</div>
</if>
<!-- / message -->
<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px"> <if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px"> $post[thumbnailattachments]
</div>
</fieldset>
</if> <if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px"> $post[imageattachments]
</div>
</fieldset>
</if> <if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if> <if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if> <if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if> </div>
<!-- / attachments -->
</if> <br />
<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont"> <em> <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em> </div>
<!-- / edit note -->
</if> <if condition="$show['bonus']">
<!-- bonus note -->
<div class="smallfont"> <em> <if condition="$post['bonus']>0"> <phrase 1="$post[username]" 2="$vbphrase[reward]" 3="+$post[bonus] $vboptions[danwei]">$vbphrase[x_get_y_z_because_the_post]</phrase>
<else /> <phrase 1="$post[username]" 2="$vbphrase[punishment]" 3="$post[bonus] $vboptions[danwei]">$vbphrase[x_get_y_z_because_the_post]</phrase>
</if> </em> </div>
<!-- / bonus note -->
</if> <if condition="$post['signature']">
<!-- sig -->
<div>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="60%"> </td>
<td width="40%"> <fieldset class="fieldset">
<legend><phrase 1="$post[username]">$vbphrase[xs_signature]</phrase></legend>
<div style="overflow: hidden; word-wrap: break-word; word-break: break-all;">
$post[signature] </div>
</fieldset></td>
</tr>
</table>
</div>
<!-- / sig -->
</if> </div>
</td>
</tr>
<tr valign="top">
<td class="alt2"><div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]
$post[qqicon]</div></td>
<td class="alt1"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" /> <div align="$stylevar[right]">
<!-- controls -->
<if condition="$show['postmoneyrating']"> <a href="bank.php?action='./../../p'ostmoneyratingadd&postid=$post[postid]$session[sessionurl]"><img src="$stylevar[imgdir_button]/reward.gif" alt="$vbphrase[reward]" border="0" /></a>
<a href="bank.php?action='./../../p'ostmoneyratingdel&postid=$post[postid]$session[sessionurl]"><img src="$stylevar[imgdir_button]/punishment.gif" alt="$vbphrase[punishment]" border="0" /></a>
</if> <if condition="$post['editlink']"> <a href="$post[editlink]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if> <if condition="$post['forwardlink']"> <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if> <if condition="$post['replylink']"> <a href="$post[replylink]"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif"
alt="$vbphrase[reply_with_quote]" border="0" /></a> </if> <if condition="$SHOWQUICKREPLY AND !$show['threadedmode']">
<a href="$post[replylink]" onclick="return qr($post[postid]);"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<!-- / controls -->
</div></td>
</tr>
</table>
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="