Topics_list_box
Viewforum_body
Code:
<!-- BEGIN topics_list_box --><!-- BEGIN row --><!-- BEGIN header_table --><!-- BEGIN multi_selection -->
<script type="text/javascript">
function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}() {
var all_checked = true;
for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++) {
if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked;
}
}
document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
}
function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}() {
for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++) {
if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
}
}
}
</script>
<!-- END multi_selection -->
<table cellpadding="0" cellspacing="0" width="100%" align="center"><tr><td><img src="http://demo.vietvbb.vn/styles/BulletinVista/layout/tcat_left.png" alt="" /></td><td style="background: url(http://demo.vietvbb.vn/styles/BulletinVista/layout/tcat_center.png) repeat-x top left" width="100%"><table cellpadding="0" cellspacing="0" width="100%" align="left"><tr><td align="left" style="padding: 12px 0px 0px 0px;"><table cellpadding="0" cellspacing="0" align="left" width="75%"><tr><td><img src="http://demo.vietvbb.vn/styles/BulletinVista/layout/tcat_title_left.png" alt="" /></td><td class="tcat" style="background: url(http://demo.vietvbb.vn/styles/BulletinVista/layout/tcat_title_center.png) repeat-x top left" width="100%" align="left"><Span class="secondarytitle"> <h2>Chuyên mục : {FORUM_NAME}</h2> </span></td><td width="200"><img src="http://demo.vietvbb.vn/styles/BulletinVista/layout/tcat_title_right.png" alt="" /></td></tr></table></td><td align="right"><a style="float:right" href="#" onclick="return toggle_collapse('forumbit_1')"><img id="collapseimg_forumbit_1" src="http://i64.servimg.com/u/f64/14/64/52/89/top1010.png" alt="" border="0" /></a></td></tr></table></td><td><img src="http://demo.vietvbb.vn/styles/BulletinVista/layout/tcat_right.png" alt="" /></td></tr><tr><td style="background: url(http://demo.vietvbb.vn/styles/BulletinVista/layout/scale_left.png) repeat-y top left" valign="bottom"> </td><td style="background: #FFFFFF;" width="100%"><table class="tborder" cellpadding="3" cellspacing="2" border="0" width="100%" align="center"><tbody id="collapseobj_forumbit_1" style=""><tr align="center">
<!-- BEGIN single_selection -->
<td class="{topics_list_box.row.ROW_CLASS}" align="center" valign="middle" width="20"><input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></td>
<!-- END single_selection -->
<div style="width:810px">
<div>
<div class="tcat_left" style="float:left"></div>
<div class="tcat_bg" style="float:left">
<div class="tcat2" id="forumtools" style="float:right; padding-right: 10px;"> </div>
</div>
<div class="tcat_right"></div>
</div>
<div style="clear:both"></div>
<div class="tborder-content" >
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center" id="threadslist">
<tbody>
<tr>
<td class="thead" colspan="2"> </td>
<td class="thead" width="100%">
<a href="forumdisplay.php?f=49&daysprune=-1&order=asc&sort=title" rel="nofollow">Chủ đề</a> /
<a href="forumdisplay.php?f=49&daysprune=-1&order=asc&sort=postusername" rel="nofollow">Người tạo chủ đề</a>
</td>
<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="forumdisplay.php?f=49&daysprune=-1&order=desc&sort=lastpost" rel="nofollow">Bài mới gửi</a> <a href="forumdisplay.php?f=49&daysprune=-1&order=asc&sort=lastpost&pp=20&page=1" rel="nofollow"><img class="inlineimg" src="http://i69.servimg.com/u/f69/14/79/14/14/sortas10.gif" alt="Đảo ngược sự liệt kê" border="0" /></a></span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="forumdisplay.php?f=49&daysprune=-1&order=desc&sort=replycount" rel="nofollow">Trả lời</a> </span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="forumdisplay.php?f=49&daysprune=-1&order=desc&sort=views" rel="nofollow">Đã xem</a> </span></td>
</tr>
</tbody>
</tr>
<!-- END header_table --><!-- BEGIN header_row -->
<tr>
<td class="row3" colspan="{topics_list_box.row.COLSPAN}"><span class="gensmall"> <b>{topics_list_box.row.L_TITLE}</b></span></td>
</tr>
<!-- END header_row -->
<!-- BEGIN topic -->
{topics_list_box.row.END_TABLE_STICKY}
<tr>
<tbody id="threadbits_forum_49">
<tr>
<td class="alt1">
<img title="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" src="{topics_list_box.row.TOPIC_FOLDER_IMG}" alt="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" /></td>
<!-- BEGIN icon -->
<td class="alt2">{topics_list_box.row.ICON}</td>
<!-- END icon -->
<td class="{topics_list_box.row.ROW_CLASS}" onmouseover='this.className="row2"' onmouseout='this.className="{topics_list_box.row.ROW_CLASS}"' width="100%">
<div class="topictitle">
{topics_list_box.row.NEWEST_POST_IMG}{topics_list_box.row.PARTICIPATE_POST_IMG}{topics_list_box.row.TOPIC_TYPE}
<h2 class="topic-title">
<a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a>
<br>{topics_list_box.row.TOPIC_AUTHOR}
</h2>
</div>
<!-- BEGIN switch_description -->
<span class="genmed">
<br />
{topics_list_box.row.topic.switch_description.TOPIC_DEscriptION}
</span>
<!-- END switch_description -->
<span class="gensmall">{topics_list_box.row.TOPIC_ANNOUNCES_DATES}{topics_list_box.row.TOPIC_CALENDAR_DATES}</span>
<span class="gensmall">{topics_list_box.row.GOTO_PAGE}<!-- BEGIN nav_tree -->{topics_list_box.row.TOPIC_NAV_TREE} <!-- END nav_tree --></span>
</td>
<td class="alt2">
<div class="smallfont" style="text-align:right; white-space:nowrap">
{topics_list_box.row.LAST_POST_TIME}<br />
bởi {topics_list_box.row.LAST_POST_AUTHOR} <a href="showthread.php?p=47759#post47759">{topics_list_box.row.LAST_POST_IMG}</a>
</div>
</td>
<td class="alt1" align="center">{topics_list_box.row.REPLIES}</td>
<td class="alt2" align="center">{topics_list_box.row.VIEWS}</td>
</tr>
<!-- BEGIN multi_selection -->
<td class="row2" align="center" valign="middle"><span class="postdetails"><input onclick="javascript:check_uncheck_main_{topics_list_box.row.BOX_ID}();" type="checkbox" name="{topics_list_box.FIELDNAME}[]{topics_list_box.row.BOX_ID}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></span></td>
<!-- END multi_selection -->
</tr>
<!-- END topic --><!-- BEGIN no_topics -->
<tr>
<td class="row1" colspan="{topics_list_box.row.COLSPAN}" align="center" valign="middle" height="30"><span class="gen">{topics_list_box.row.L_NO_TOPICS}</span></td>
</tr>
<!-- END no_topics --><!-- BEGIN bottom -->
<tr>
<td class="catBottom" colspan="{topics_list_box.row.COLSPAN}" valign="middle">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> <span class="gensmall">{PAGINATION}</span></td>
<td align="right"><a href="#top">{L_BACK_TO_TOP}</a> </td>
</tr>
</table>
</td>
</tr>
</div>
<div style="clear:both"></div>
<div>
<div class="tfoot_left"></div>
<div class="tfoot_bg"></div>
<div class="tfoot_right"></div>
</div>
</div>
<div style="clear:both"></div>
<div>
<!-- END bottom --><!-- BEGIN footer_table -->
</table><!-- END footer_table --><!-- BEGIN spacer --><br class="gensmall" /><!-- END spacer --><!-- END row -->
<td style="background: url(http://demo.vietvbb.vn/styles/BulletinVista/layout/scale_right.png) repeat-y top right" valign="bottom"> </td></tr> <tr><td><img src="http://demo.vietvbb.vn/styles/BulletinVista/layout/footer_left.png" alt="" /></td><td style="background: url(http://demo.vietvbb.vn/styles/BulletinVista/layout/footer_center.png) repeat-x top left" width="100%"> </td><td><img src="http://demo.vietvbb.vn/styles/BulletinVista/layout/footer_right.png" alt="" /></td></tr></table>
<!-- END topics_list_box -->
Viewforum_body
Code:
{BOARD_INDEX}
<table width="100%" border="0" cellspacing="2" cellpadding="0" align="center">
<tr>
<td align="left" valign="middle" width="50">
<!-- BEGIN switch_user_authpost -->
<a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}" alt="{L_POST_NEW_TOPIC}" border="0" /></a>
<!-- END switch_user_authpost -->
</td>
<td class="nav" valign="middle" width="100%"><div class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</div></td>
<td class="nav" align="right" valign="bottom" nowrap="nowrap">
<span class="gensmall">
<script type="text/javascript">
//<![CDATA[
insert_plus_menu('f{FORUM_ID}&f={FORUM_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
//]]>
</script>
</span>
</td>
</tr>
</table>
<br /><br />
{TOPICS_LIST_BOX}
<br /><br />
<div id="info_open" style="display:''">
<table cellpadding="0" cellspacing="0" width="100%" align="center"><tr><td><img src="http://demo.vietvbb.vn/styles/BulletinVista/layout/tcat_left.png" alt="" /></td><td style="background: url(http://demo.vietvbb.vn/styles/BulletinVista/layout/tcat_center.png) repeat-x top left" width="100%"><table cellpadding="0" cellspacing="0" width="100%" align="left"><tr><td align="left" style="padding: 12px 0px 0px 0px;"><table cellpadding="0" cellspacing="0" align="left" width="75%"><tr><td><img src="http://demo.vietvbb.vn/styles/BulletinVista/layout/tcat_title_left.png" alt="" /></td><td class="tcat" style="background: url(http://demo.vietvbb.vn/styles/BulletinVista/layout/tcat_title_center.png) repeat-x top left" width="100%" align="left"><Span class="secondarytitle"> <h2>Chuyên mục : {FORUM_NAME}</h2> </span></td><td width="200"><img src="http://demo.vietvbb.vn/styles/BulletinVista/layout/tcat_title_right.png" alt="" /></td></tr></table></td><td align="right"><a style="float:right" href="#" onclick="return toggle_collapse('forumbit_1')"><img id="collapseimg_forumbit_1" src="http://i64.servimg.com/u/f64/14/64/52/89/top1010.png" alt="" border="0" /></a></td></tr></table></td><td><img src="http://demo.vietvbb.vn/styles/BulletinVista/layout/tcat_right.png" alt="" /></td></tr><tr><td style="background: url(http://demo.vietvbb.vn/styles/BulletinVista/layout/scale_left.png) repeat-y top left" valign="bottom"> </td><td style="background: #FFFFFF;" width="100%"><table class="tborder" cellpadding="3" cellspacing="2" border="0" width="100%" align="center"><tbody id="collapseobj_forumbit_1" style=""><tr align="center">
<tr>
<td class="alt1" align="left" valign="top"><span class="smallfont"><a href="{U_MARK_READ}"></a></span></td>
<td class="alt1" align="right" valign="top"><span class="smallfont">{S_WATCH_FORUM}</span></td>
</tr>
<tr>
<td class="alt2" colspan="2" valign="top"><span class="smallfont"><b>
{LOGGED_IN_USER_LIST}</b></span></td>
</tr>
<tr>
<td class="alt2" valign="top" width="150"><span class="smallfont"><b><b>Ban Quản Trị</b></b></span></td>
<td class="alt1" valign="top"><span class="smallfont">{MODERATORS}</span></td>
</tr></table>
</div>
<td style="background: url(http://demo.vietvbb.vn/styles/BulletinVista/layout/scale_right.png) repeat-y top right" valign="bottom"> </td></tr> <tr><td><img src="http://demo.vietvbb.vn/styles/BulletinVista/layout/footer_left.png" alt="" /></td><td style="background: url(http://demo.vietvbb.vn/styles/BulletinVista/layout/footer_center.png) repeat-x top left" width="100%"> </td><td><img src="http://demo.vietvbb.vn/styles/BulletinVista/layout/footer_right.png" alt="" /></td></tr></table>
<div id="info_close" style="display:none">
<table class="tborder" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="alt1" colspan="2" align="right" valign="top"><span class="smallfont"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
</tr>
<tr>
<td class="alt2" colspan="2" valign="top"><span class="smallfont"><b>{LOGGED_IN_USER_LIST}</b></span></td>
</tr>
<tr>
<td class="catBottom" colspan="2" height="28">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="navbar" valign="middle" width="100%"><span class="navbar">�<a class="navbar" href="{U_INDEX}">{L_INDEX}</a>{nav_CAT_DESC_SECOND}</span></td>
<td align="right" valign="middle"><span class="smallfont"><a href="javascript:ShowHideLayer('info_open','info_close');"><img src="{TABS_MORE_IMG}" alt="+" align="middle" border="0" /></a></span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="catBottom" colspan="2" height="28">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="nav" valign="middle" width="100%"><span class="nav">�<a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC_SECOND}</span></td>
<td align="right" valign="middle"><span class="gensmall"><a href="javascript:ShowHideLayer('info_open','info_close');"><img src="{TABS_MORE_IMG}" alt="+" align="middle" border="0" /></a></span></td>
</tr>
</table>
</td>
</tr>
</table>
</div><br />
<form action="{S_JUMPBOX_ACTION}" method="get" name="jumpbox" onsubmit="if(document.jumpbox.f.value == -1){return false;}">
<table width="100%" border="0" cellspacing="2" cellpadding="0" align="center">
<tr>
<td align="left" valign="middle" width="50">
<!-- BEGIN switch_user_logged_in -->
<a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}1" alt="{L_POST_NEW_TOPIC}" border="0" /></a>
<!-- END switch_user_logged_in -->
</td>
<td align="right" nowrap="nowrap"><span class="smallfont">{L_JUMP_TO}: {S_JUMPBOX_SELECT} <input class="liteoption" type="submit" value="{L_GO}" /></span></td>
</tr></table>
<!-- BEGIN switch_legend --><div align="left" width="100%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
<table border="0" cellpadding="6" cellspacing="2" align="left">
<tr>
<td>
<img src="{FOLDER_NEW_IMG}" alt="{L_FOLDER_NEW_IMG}" border="0" /> <span class="smallfont">{L_FOLDER_NEW_IMG}</span><br />
<img src="{FOLDER_HOT_NEW_IMG}" alt="{L_FOLDER_HOT_NEW_IMG}" border="0" /> <span class="smallfont">{L_FOLDER_HOT_NEW_IMG}</span><br />
<img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_FOLDER_LOCKED_NEW_IMG}" border="0" /> <span class="smallfont">{L_FOLDER_LOCKED_NEW_IMG}</span>
</td>
<td>
<img src="{FOLDER_IMG}" alt="{L_FOLDER_IMG}" border="0" /> <span class="smallfont">{L_FOLDER_IMG}</span><br />
<img src="{FOLDER_HOT_IMG}" alt="{L_FOLDER_HOT_IMG}" border="0" /> <span class="smallfont">{L_FOLDER_HOT_IMG}</span><br />
<img src="{FOLDER_LOCKED_IMG}" alt="{L_FOLDER_LOCKED_IMG}" border="0" /> <span class="smallfont">{L_FOLDER_LOCKED_IMG}</span>
</td>
<td valign="top">
<img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_FOLDER_ANNOUNCE_IMG}" border="0" /> <span class="smallfont">{L_FOLDER_ANNOUNCE_IMG}</span><br />
<img src="{FOLDER_STICKY_IMG}" alt="{L_FOLDER_STICKY_IMG}" border="0" /> <span class="smallfont">{L_FOLDER_STICKY_IMG}</span><br />
</td>
</tr>
</table>
</td>
</tr></table></div>
<!-- END switch_legend -->
<div align="left" width="100%"> <table class="tborder" width="300" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="tcat" valign="top" width="150" height="25">{L_TABS_PERMISSIONS}</td></tr><tr>
<td class="alt1" valign="top"><span class="gensmall">{S_AUTH_LIST}</span></td>
</tr>
</table></div>
</form>