demo Box 2: http://trasua68.forumvi.com/ giống nhau nhé:
thay toàn bộ index_box bằng code sau:
- Code:
<style>.avs {font: 13px Arial;font-weight: bold;}.avs img {float:right;margin-right:5px;}.pun tbody.statused td.tcl {padding-left: 5px!important;}.vodoi {border: 1px solid #d4d4d4;padding: 14px 16px 14px 16px;margin-top: -9px;background: #FFF;font: bold 11px Arial;display: inline-block;}</style>
<div class="main" style="border: 0pt none;">
<!-- BEGIN catrow -->
<!-- BEGIN tablehead -->
<div class="boxfmvi">
<div class="main-head">
<div class="page-title"><h2>{catrow.tablehead.L_FORUM}</h2></div>
</div>
<div class="main-content">
<table class="table" cellspacing="1" cellpadding="5" border="0">
<tbody class="statused">
<!-- END tablehead -->
<!-- BEGIN forumrow -->
<tr>
<td class="tcl">
<fieldset style="border: 1px solid; margin: 5px; padding: 5px 10px;"><legend><div><h3 class="hierarchy">
<font style="text-shadow: 0px 1px 5px rgb(0, 44, 115), 0px 1px 5px rgb(0, 44, 115), 0px 1px 5px rgb(0, 44, 115);" color="#ffffff" size="2">
<div class="troinoi"><dl><div class="vodoi">
<a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle">
<font color="#FFF"> {catrow.forumrow.FORUM_NAME}</font></a></div></dl></div></font></h3></div></legend>
<fieldset><div align="left"><table width="100%">
<tbody> <div class="hychi">{catrow.forumrow.FORUM_DESC}</div>
<!-- BEGIN switch_moderators_links -->
{catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
<!-- END switch_moderators_links -->
<div class="smallrum">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</div>
<strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
</tbody></table></div></fieldset><br></fieldset>
</td>
<td class="tcr">
<div class="avs"><span>
<!-- BEGIN switch_topic_title -->
<a href="{catrow.forumrow.U_LATEST_TOPIC}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a><br />
<!-- END switch_topic_title -->
{catrow.forumrow.USER_LAST_POST}
</span></div>
<div align="center" style="border-style: dotted dotted dotted solid; border-color: rgb(153, 153, 153) rgb(153, 153, 153) rgb(153, 153, 153) rgb(153, 153, 153); border-width: 1px 1px 1px 1px; padding: 3px; margin: 5px 10px;" class="smallfont">» Chủ đề:<font color="blue"><b>{catrow.forumrow.TOPICS}</b></font> | » Số Bài:<font color="red"><b>{catrow.forumrow.POSTS}</b></font></div>
</td>
</tr>
<!-- END forumrow -->
<!-- BEGIN tablefoot -->
</tbody>
</table>
</div>
</div>
<!-- END tablefoot -->
<!-- END catrow -->
</div>
<!-- BEGIN switch_on_index -->
<div class="main-box clearfix">
<ul>
<li><a href="{U_TODAY_ACTIVE}">{L_TODAY_ACTIVE}</a></li>
<li><a href="{U_TODAY_POSTERS}">{L_TODAY_POSTERS}</a></li>
<li><a href="{U_OVERALL_POSTERS}">{L_OVERALL_POSTERS}</a></li>
</ul>
<!-- BEGIN switch_delete_cookies -->
<p class="right">
<a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
</p>
<!-- END switch_delete_cookies -->
</div>
<!-- END switch_on_index -->
<script type="text/javascript">$(".smallrum:not(':empty')").show()</script>
No Comment.