F:\WEBSITES\testbed\zipped\yabb_svn_new\branches\2.5.2\cgi-bin\yabb2\Templates\default\BoardIndex.template F:\WEBSITES\testbed\zipped\yabb_svn_new\trunk\cgi-bin\yabb2\Templates\default\BoardIndex.template
############################################################################### ###############################################################################
# BoardIndex.template                                                         # # default.BoardIndex.template                                                 #
############################################################################### ###############################################################################
# YaBB: Yet another Bulletin Board                                            # # YaBB: Yet another Bulletin Board                                            #
# Open-Source Community Software for Webmasters                               # # Open-Source Community Software for Webmasters                               #
# Version:        YaBB 2.5.2                                                  # # Version:        YaBB 2.6.12                                                 #
# Packaged:       October 21, 2012                                            # # Packaged:       January 5, 2016                                             #
# Distributed by: http://www.yabbforum.com                                    # # Distributed by: http://www.yabbforum.com                                    #
# =========================================================================== # # =========================================================================== #
# Copyright (c) 2000-2009 YaBB (www.yabbforum.com) - All Rights Reserved.     # # Copyright (c) 2000-2016 YaBB (www.yabbforum.com) - All Rights Reserved.     #
# Software by:  The YaBB Development Team                                     # # Software by:  The YaBB Development Team                                     #
#               with assistance from the YaBB community.                      # #               with assistance from the YaBB community.                      #
# Sponsored by: Xnull Internet Media, Inc. - http://www.ximinc.com            #  
#               Your source for web hosting, web design, and domains.         #  
############################################################################### ###############################################################################
# $Revision: 1.20 $  $boardindextemver = 'YaBB 2.6.12 $Revision: 1651 $'; 
   
$boardhandellist = qq~ $boardhandellist = qq~
     {yabb expand}{yabb collapse}{yabb markallread}    {yabb expand}{yabb collapse}{yabb markallread}
~; ~;
  $bdpicExt = 'png';
$boardindex_template = qq~  ## for the default announcement, recycle, subboard and regular board markers ## 
  $brd_dropdown = 'dropdown.png';
  $brd_dropup = 'dropup.png';
  $brd_arrowup = 'arrowup.gif';
  $brd_loadbar = 'loadbar.gif';
  $brd_info = 'info.png';
  $brd_online = 'online.png';
  $brd_fadeleftdropdown = 'fadeleftdropdown.gif';
  $brd_faderightdropdown = 'faderightdropdown.gif';
  $brd_closebutton = 'closebutton.png';
  $sub_arrow_dn = 'sub_arrow.png';
  $sub_arrow_up = 'sub_arrow_up.png';
  $extern = 'extern.png';
  $sub_extern = 'extern_sub.png';
  $tabfill = q~~;
  $topiccut = 25;
  $brdpicwidth = ($max_brd_img_width || 50) + 20;
  $boardindex_template = qq~<!-- Default Board Graphics courtesy of http://www.shapes4free.com/ -->
<!-- Board Index Showcase Poll start --> <!-- Board Index Showcase Poll start -->
   
{yabb pollshowcase} {yabb pollshowcase}
   
<!-- Board Index Showcase Poll end--> <!-- Board Index Showcase Poll end-->
   
<!-- Board Index Category block start, should be left as is --> <!-- Board Index Category block start, should be left as is -->
   
{yabb catsblock} {yabb catsblock}
   
<!-- Board Index Category block end, should be left as is --> <!-- Board Index Category block end, should be left as is -->
   
~; ~;
if(!$iamguest) {  
$boardindex_template .= qq~  
   
  if(!$iamguest && !$subboard_sel) {
  get_micon();
  $boardindex_template .= qq~
<!-- Board Index Button Bar start --> <!-- Board Index Button Bar start -->
<table class="bordercolor" cellpadding="4" cellspacing="1" border="0" width="100%">         <table class="bordercolor pad_4px"> 
<tr>             <colgroup> 
     <td class="windowbg" align="center">                 <col style="width:50%" span="2" /> 
           <div class="small" style="float: left; width: 49%; text-align: left;">             </colgroup> 
                 <img src="$imagesdir/on.gif" border="0" id="no_edit" alt="$boardindex_txt{'333'}" title="$boardindex_txt{'333'}" style="vertical-align: middle;" /> $boardindex_txt{'333'}&nbsp;&nbsp;             <tr class="windowbg"> 
                 <img src="$imagesdir/off.gif" border="0" id="no_edit" alt="$boardindex_txt{'334'}" title="$boardindex_txt{'334'}" style="vertical-align: middle;" /> $boardindex_txt{'334'}                 <td class="small"> 
           </div>                         <span class="small bold"><img src="$imagesdir/$newload{'brd_new'}" id="no_edit" alt="$boardindex_txt{'333'}" title="$boardindex_txt{'333'}" /> $boardindex_txt{'333'}&nbsp;&nbsp; 
           <div class="small" style="float: right; width: 49%; text-align: right;">                         <img src="$imagesdir/$newload{'brd_old'}" alt="$boardindex_txt{'334'}" title="$boardindex_txt{'334'}" /> $boardindex_txt{'334'}</span> 
                 {yabb boardhandellist}                 </td><td class="right small"> 
           </div>                         {yabb boardhandellist} 
     </td>                </td>
</tr>            </tr>
</table>        </table>
<!-- Board Index Button Bar end --> <!-- Board Index Button Bar end -->
   
~; ~;
} }
$boardindex_template .= qq~  
   
  if(!$subboard_sel) {
  $boardindex_template .= qq~
<!-- Info Center block start --> <!-- Info Center block start -->
         <table class="tabtitle tabtitle-text" style="margin-top:1em">
<br /><br />            <colgroup> 
<table class="bordercolor" cellpadding="0" cellspacing="0" border="0" width="100%">                 <col style="width:1%" /> 
<tr>                 <col style="width:99%" /> 
     <td class="tabtitle" width="1%" height="25" valign="middle">             </colgroup> 
           &nbsp;             <tr> 
     </td>                 <td>&nbsp;</td> 
     <td class="tabtitle" width="99%" height="25" valign="middle">                 <td>$boardindex_txt{'200'}</td> 
           $boardindex_txt{'200'}             </tr> 
     </td>         </table> 
</tr>         <table class="bordercolor pad_4px cs_thin"> 
</table>             <colgroup> 
<table class="bordercolor" cellpadding="4" cellspacing="1" border="0" width="100%">                 <col style="width:${brdpicwidth}px" /> 
<tr>                 <col style="width:auto" /> 
     <td class="windowbg" width="5%" valign="middle" align="center">             </colgroup> 
           <img src="$imagesdir/info.gif" border="0" alt="" />             <tr> 
     </td>                 <td class="windowbg center"> 
     <td class="windowbg2" valign="top" align="center">                     <img src="$imagesdir/$brd_info" alt="" /> 
           <div class="small" style="float: left; width: 59%; text-align: left;">                 </td> 
                 $boardindex_txt{'489'} <b>{yabb totalmessages} $boardindex_txt{'21'}</b> $boardindex_txt{'490'} <b>{yabb totaltopics} $boardindex_txt{'330'}</b>.<br />                 <td class="windowbg2 info-center center vtop"> 
                 {yabb lastpostlink} {yabb lastpostdate}                     <div class="small" style="float: left; width: 59%; text-align: left;"> 
                 {yabb recentposts}                         $boardindex_txt{'489'} <b>{yabb totalmessages} $boardindex_txt{'21l'}</b> $boardindex_txt{'490'} <b>{yabb totaltopics} $boardindex_txt{'330l'}</b>.<br /> 
           </div>                         {yabb lastpostlink} {yabb lastpostdate} 
           <div class="small" style="float: left; width: 40%; text-align: left;">                         {yabb recenttopics}{yabb spc}{yabb recentposts} 
                 $boardindex_txt{'487'} {yabb membercount} $boardindex_txt{'488'}.<br />                     </div> 
                 {yabb latestmember}                     <div class="small" style="float: left; width: 40%; text-align: left;"> 
                 {yabb ims}                         $boardindex_txt{'487'} {yabb membercount} $boardindex_txt{'488'}.<br /> 
           </div>                         {yabb latestmember} 
     </td>                         {yabb ims} 
</tr>                     </div> 
<tr>                 </td> 
     <td class="windowbg" width="5%" valign="middle" align="center">             </tr><tr> 
           <img src="$imagesdir/online.gif" border="0" alt="" />                 <td class="windowbg center"> 
     </td>                     <img src="$imagesdir/$brd_online" alt="" /> 
     <td class="windowbg2" valign="top" align="center">                 </td> 
           <div class="small" style="float: left; width: 90%; text-align: left;">                 <td class="windowbg2 info-center center vtop"> 
           $boardindex_txt{'800'} <b>{yabb mostusers}</b> $maintxt{'30'} {yabb mostusersdate}.<br />                     <div class="small" style="float: left; width: 90%; text-align: left;"> 
           $boardindex_txt{'801'} <b>{yabb mostmembers}</b> $maintxt{'30'} {yabb mostmembersdate}.<br />                    $boardindex_txt{'800'} <b>{yabb mostusers}</b> $maintxt{'30b'} $maintxt{'30'} {yabb mostusersdate}.<br />
           $boardindex_txt{'802'} <b>{yabb mostguests}</b> $maintxt{'30'} {yabb mostguestsdate}.<br />                    $boardindex_txt{'801'} <b>{yabb mostmembers}</b> $maintxt{'30b'} $maintxt{'30'} {yabb mostmembersdate}.<br />
           $boardindex_txt{'803'} <b>{yabb mostbots}</b> $maintxt{'30'} {yabb mostbotsdate}.                     $boardindex_txt{'802'} <b>{yabb mostguests}</b> $maintxt{'30b'} $maintxt{'30'} {yabb mostguestsdate}.<br /> 
           </div>                     $boardindex_txt{'803'} <b>{yabb mostbots}</b> $maintxt{'30b'} $maintxt{'30'} {yabb mostbotsdate}. 
     </td>                     </div> 
</tr>                 </td> 
</table><br />             </tr> 
<table class="bordercolor" cellpadding="0" cellspacing="0" border="0" width="100%">         </table> 
<tr>         <table class="tabtitle tabtitle-text" style="margin-top:10px"> 
     <td class="tabtitle" width="1%" height="25" valign="middle">             <colgroup> 
           &nbsp;                 <col style="width:1%" /> 
     </td>                 <col style="width:99%" /> 
     <td class="tabtitle" width="99%" height="25" valign="middle">             </colgroup> 
           $boardindex_txt{'158'}             <tr> 
     </td>                 <td>&nbsp;</td> 
</tr>                 <td>$boardindex_txt{'158'}</td> 
</table>             </tr> 
<table class="bordercolor" cellpadding="4" cellspacing="1" border="0" width="100%">         </table> 
<tr>         <table class="bordercolor pad_4px cs_thin mar-bot"> 
     <td class="windowbg" width="5%" valign="middle" align="center">             <colgroup> 
           <img src="$imagesdir/online.gif" border="0" alt="" />                <col style="width:${brdpicwidth}px" />
     </td>                 <col style="width:auto" /> 
     <td class="windowbg2">             </colgroup> 
           <div class="small" style="float: left; width: 59%; text-align: left;">             <tr> 
           {yabb users}<br />                 <td class="windowbg info-center center"{yabb row_resize}> 
           {yabb onlineusers}                     <img src="$imagesdir/$brd_online" alt="" /> 
           {yabb guests}<br />                 </td> 
           {yabb onlineguests}                 <td class="windowbg2 info-center"> 
           {yabb bots}<br />                     <div class="small" style="float: left; width: 59%; text-align: left;"> 
           {yabb onlinebots}                     {yabb users}<br /> 
           </div>                     {yabb onlineusers} 
           <div style="float: left; width: 40%; text-align: left;">                     {yabb guests}<br /> 
           {yabb groupcolors}                     {yabb onlineguests} 
           </div>                     {yabb bots}<br /> 
     </td>                     {yabb onlinebots} 
</tr>                     </div> 
</table>                     <div style="float: left; width: 40%; text-align: left;"> 
<br />                     {yabb groupcolors} 
     {yabb sharedlogin}                     </div> 
                 </td>
             </tr>
         </table>
  <!-- ## Event Cal ## -->
     {yabb caldisplay}
  <!-- ## End Event Cal ## -->
     {yabb sharedlogin}
<!-- Info Center block end --> <!-- Info Center block end -->
         {yabb new_load}
~; ~;
  }
   
# Category header                          #  ## Category header ## 
   
$new_msg_bg = "windowbg"; $new_msg_bg = "windowbg";
$new_msg_class = "small"; $new_msg_class = "small";
   
$catheader = qq~ $catheader = qq~
         <table class="tabtitle tabtitle-text">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="bordercolor">             <colgroup> 
<tr>                 <col style="width:1%" /> 
     <td class="tabtitle" width="1%" height="25" valign="middle">                 <col style="width:59%" /> 
           &nbsp;                 <col style="width:8%" /> 
     </td>                 <col style="width:8%" /> 
                 <col style="width:24%" />
     <td class="tabtitle" width="59%" height="25" valign="middle">             </colgroup> 
           {yabb catimage} {yabb catlink}             <tr> 
     </td>                 <td>&nbsp;</td> 
                 <td>{yabb catimage} {yabb catrss} {yabb catlink}</td>
     <td class="tabtitle" width="24%" height="25" align="center" valign="middle">                 <td class="center">$boardindex_txt{'330'}</td> 
           $boardindex_txt{'22'}                 <td class="center">$boardindex_txt{'21'}</td> 
     </td>                 <td class="center">$boardindex_txt{'22'}</td> 
     <td class="tabtitle" width="8%" height="25" align="center" valign="middle">             </tr> 
           $boardindex_txt{'330'}         </table> 
     </td>         <table {yabb colboardtable} class="bordercolor pad_4px cs_thin mar-bot"> 
     <td class="tabtitle" width="8%" height="25" align="center" valign="middle">             <tr><td style="display:none" colspan="5">&nbsp;</td></tr> 
           $boardindex_txt{'21'}             {yabb newmsg start}{yabb newmsg icon}{yabb newmsg}{yabb newmsg end} 
     </td>         </table> 
         <table {yabb boardtable} class="bordercolor pad_4px cs_thin mar-bot;" style="table-layout:fixed">
</tr>             <colgroup> 
{yabb newmsg start}{yabb newmsg icon}{yabb newmsg}{yabb newmsg end}                 <col style="width:${brdpicwidth}px" /> 
</table>                 <col style="width:auto" /> 
<table {yabb boardtable} cellpadding="4" cellspacing="1" border="0" width="100%" class="bordercolor">                 <col style="width:8%" /> 
                 <col style="width:8%" />
                 <col style="width:24%" />
             </colgroup>~;
   
  ## Looks of each board in category  ##
   
  $boardblock = qq~<tr>
                 <td class="{yabb altbrdcolor} center">
                     <a href="{yabb boardurl}">{yabb boardpic}</a>
                 </td>
                 <td class="{yabb altbrdcolor}">
                     <div style="position: relative; height: 100%; width: 100%">
                         {yabb new} {yabb boardrss} <a id="{yabb boardanchor}" href="{yabb boardurl}"><b>{yabb boardname}</b></a>{yabb boardviewers}<br />
                         {yabb boarddesc}
                         <div class="small" style="font-style:italic;">{yabb moderators}</div>
                         <div class="small" style="display: inline-block; margin-top:5px">{yabb subboardlist}</div>
                         <div style="position: absolute; bottom: 0; right: 0;">
                         {yabb messagedropdown}
                         </div>
                     </div>
                 </td>
                 <td class="{yabb altbrdcolor} center">{yabb threadcount}</td>
                 <td class="{yabb altbrdcolor} center">{yabb messagecount}</td>
                 <td class="{yabb altbrdcolor}">
                     <span class="small" style="float: left; margin-left: 12px;">
                         {yabb lastpostlink}<br />
                         <b>$boardindex_txt{'524'}:</b> {yabb lasttopiclink}<br />
                         <b>$boardindex_txt{'525'}:</b> {yabb lastposter}
                     </span>
                 </td>
             </tr>
  {yabb expandmessages}
~; ~;
  $boardblockpw = qq~<tr>
# Looks of each board in category          #                 <td class="{yabb altbrdcolor} center"> 
                     <a href="{yabb boardurl}">{yabb boardpic}</a>
$topiccut = 25;                 </td> 
$boardblock = qq~                 <td class="{yabb altbrdcolor}" colspan="3"> 
<tr>                     <div style="position: relative; height: 100%; width: 100%"> 
     <td class="windowbg" width="6%" align="center" valign="middle">                         {yabb new} <a id="{yabb boardanchor}" href="{yabb boardurl}"><b>{yabb boardname}</b></a>{yabb boardviewers}<br /> 
           <a href="{yabb boardurl}">{yabb boardpic}</a>                         {yabb boarddesc} 
     </td>                         <div class="small" style="font-style:italic;">{yabb moderators}</div> 
     <td class="windowbg" width="54%" align="left" valign="middle">                         <div class="small" style="display: inline-block; margin-top:5px">{yabb subboardlist}</div> 
           {yabb new} <a name="{yabb boardanchor}" href="{yabb boardurl}"><b>{yabb boardname}</b></a><br />                         <div style="position: absolute; bottom: 0; right: 0;"> 
                         {yabb messagedropdown}
                         </div>
                     </div>
                 </td>
                 <td class="{yabb altbrdcolor}">
                     <span class="small" style="float: left; margin-left: 12px;">
                         {yabb lastpostlink}<br />
                     </span>
                 </td>
             </tr>~;
   
  $boardblockext = qq~<tr>
       <td class="{yabb altbrdcolor} center"><a href="{yabb boardurl}" target="_blank">{yabb boardpic}</a></td>
       <td class="{yabb altbrdcolor}" colspan="3">
             <a id="{yabb boardanchor}" href="{yabb boardurl}" target="_blank"><b>{yabb boardname}</b></a><br />
           {yabb boarddesc}            {yabb boarddesc}
           <div class="small" style="font-style:italic;">{yabb moderators}</div>  
     </td>      </td>
     <td class="windowbg2" valign="middle" align="left" width="24%">       <td class="{yabb altbrdcolor} center small"> 
     <span class="small" style="float: left; margin-left: 12px;">             <span style="float: left; margin-left: 12px;"><b>$boardindex_txt{'526'}</b>: {yabb lastpostlink}</span> 
     {yabb lastpostlink}<br />  
     <b>$boardindex_txt{'524'}:</b> {yabb lasttopiclink}<br />  
     <b>$boardindex_txt{'525'}:</b> {yabb lastposter}  
     </span>  
     </td>      </td>
     <td class="windowbg" valign="middle" align="center" width="8%">{yabb threadcount}</td>  </tr>~; 
     <td class="windowbg" valign="middle" align="center" width="8%">{yabb messagecount}</td>  
</tr>  $nopost_boardblock = qq~<tr> 
                 <td class="{yabb altbrdcolor} center">
                     <a href="{yabb boardurl}">{yabb boardpic}</a>
                 </td>
                 <td class="{yabb altbrdcolor}" colspan="4">
                     {yabb new} <a id="{yabb boardanchor}" href="{yabb boardurl}"><b>{yabb boardname}</b></a><br />
                     {yabb boarddesc}
                     <br />
                     <div class="small" style="display: inline-block; margin-top:5px">{yabb subboardlist}</div>
                 </td>
             </tr>
  {yabb expandmessages}
~; ~;
   
  $subboard_links = qq~<span style="white-space:nowrap">{yabb new} <a href="{yabb boardurl}">{yabb boardname}</a>{yabb sub_lock}</span>~;
  $subboard_links_ext = qq~<span style="white-space:nowrap"><img src="$imagesdir/$sub_extern" alt="" /><a href="{yabb boardurl}" target="_blank">{yabb boardname}</a></span>~;
  $subboard_list = qq~<b>{yabb subdropdown}:</b> {yabb subboardlinks}~;
   
# Category footer                          # # Category footer                          #
   
$catfooter = qq~  $catfooter = qq~        </table> 
</table>  ~; 
<br />  
  #advanced tabs
  $brd_advanced_tabs = qq~    <form action="$scripturl?action=addtab2" method="post" name="addtabtext" style="font-size: 11px; display: inline;" onsubmit="if(!checkTab(this)) {return false} else {return submittab()}">
     <table>
         <colgroup>
             <col style="width:40px" />
             <col style="width:auto" />
         </colgroup>
         <tr>
             <td class="tabmenuleft">&nbsp;</td>
             <td class="tabmenu">
                 <span class="selected" style="cursor: auto; vertical-align: middle; padding-top: 1px; white-space: nowrap;"><label for="tabtext">$tabfill {yabb tabtext}</label> <input type="text" name="tabtext" id="tabtext" value="" size="10" class="small" style="vertical-align: middle;" /></span>
                 <br /><br /><span class="selected" style="cursor: auto; vertical-align: middle; padding-top: 1px; white-space: nowrap;"><label for="taburl">$tabfill {yabb taburl}</label> <input type="text" name="taburl" id="taburl" value="" size="25" class="small" style="vertical-align: middle;" /></span>
                 <br /><br /><span class="selected" style="cursor: auto; vertical-align: middle; padding-top: 1px; white-space: nowrap;"><label for="tabwin">$tabfill {yabb tabwin}</label> <input type="checkbox" name="tabwin" id="tabwin" style="border: 0; padding: 0; margin: 0; background-color: transparent; vertical-align: middle;" /></span>
                 <br /><br /><span class="selected" style="cursor: auto; vertical-align: middle; padding-top: 1px; white-space: nowrap;"><label for="showto">$tabfill {yabb tabview}</label>
                     <select name="showto" id="showto" class="small" style="vertical-align: middle;">
                         <option value="0" selected="selected">{yabb viewall}</option>
                         <option value="1">{yabb viewmem}</option>
                         <option value="2">{yabb viewgm}</option>
                         <option value="3">{yabb viewadm}</option>
                     </select>
                 </span>
                 <br /><br /><span class="selected" style="cursor: auto; vertical-align: middle; padding-top: 1px; white-space: nowrap;"><label for="addafter">$tabfill {yabb tabinsert}</label>
                     <select name="addafter" id="addafter" class="small" style="vertical-align: middle;">
                         {yabb edittabs}
                     </select>
                 </span>
                 <br /><br /><span class="selected" style="cursor: auto; vertical-align: middle; padding-top: 1px; white-space: nowrap;"><input type="submit" value="{yabb addtab}" class="small" /></span>
                 <br /><br />
             </td>
         </tr>
     </table>
     </form>~;
   
  $brd_advanced_tabs_edit = qq~
     <br />
     <table>
         <colgroup>
             <col style="width:auto" />
             <col style="width:45px" />
             <col style="width:160px" />
         </colgroup>
         <tr>
             <td class="tabmenu">
                 <ul>{yabb edittabmenu}</ul>
             </td>
             <td class="tabmenuright vtop">&nbsp;</td>
             <td class="rightbox center">
                 <b>{yabb reordertab}</b>
             </td>
         </tr><tr>
             <td colspan="2">&nbsp;</td>
             <td class="center vtop" rowspan="3">
                 <form action="$scripturl?action=reordertab" method="post" name="tabsorder" style="display: inline; white-space: nowrap;">
                     <select name="ordertabs" class="small" size="{yabb selsize}" style="width: 18em;">
                         {yabb edittabs}
                     </select>
                     <br />
                     <input type="submit" value="{yabb tableft}" name="moveleft" style="font-size: 11px; width: 65px; margin-top:.5em" />
                     <input type="submit" value="{yabb tabright}" name="moveright" style="font-size: 11px; width: 65px; margin-top:.5em" />
                 </form>
             </td>
         </tr><tr>
             <td class="vtop">
                 <div class="small" style="float: left; width: 98%; padding: 4px;">
                     {yabb edittext1} {yabb tabsave} {yabb edittext2} {yabb tabdel} {yabb edittext3}<br />
                     {yabb reordertext}
                 </div>
             </td>
             <td>&nbsp;</td>
         </tr><tr>
             <td colspan="2" style="font-size: 50px; text-align: left; vertical-align: top;">&nbsp;</td>
         </tr>
     </table>
~; ~;
   
1;  $brd_expandmessages = 
  qq~         <tr id="dropsubrow_{yabb curboard}" style="display: none">
                 <td id="dropsub_{yabb curboard}" class="center" colspan="5"></td>
             </tr><tr id="droprow_{yabb curboard}" style="display: none">
                 <td class="center" style="padding:0" colspan="5">
                     <div style="width: 100%; position: relative">
                         <table>
                             <colgroup>
                                 <col style="width:20px" />
                                 <col style="width:auto" />
                                 <col style="width:20px" />
                             </colgroup>
                             <tr>
                                 <td class="bottom" style="background-image:url($imagesdir/$brd_fadeleftdropdown)">
                                     <img src="$imagesdir/$brd_closebutton" onclick="MessageList('$scripturl\?board\={yabb curboard};messagelist=1','$yyhtml_root','{yabb curboard}', 0)" style="position: absolute; cursor: pointer; bottom: -12px; left: -12px" alt="" />
                                 </td>
                                 <td id="drop_{yabb curboard}" class="center" style="padding:0 0 8px 0;"></td>
                                 <td class="vtop" style="background-image:url($imagesdir/$brd_faderightdropdown)">
                                     <img src="$imagesdir/$brd_closebutton" onclick="MessageList('$scripturl\?board\={yabb curboard};messagelist=1','$yyhtml_root','{yabb curboard}', 0)" style="position: absolute; cursor: pointer; top: -12px; right: -12px" alt="" />
                                </td>
                             </tr>
                         </table>
                     </div>
                 </td>
             </tr>~;
   
  $brd_newrowend = q~</span></td></tr>~;
   
  $brd_newrow = qq~<tr>
         <td class="{yabb new_msg_bg} h_18px" colspan="5"><span class="{yabb new_msg_class}">~;
   
  1;