D:\WEBSITES\testbed\cgi-bin\yabb252\Templates\yabb25\BoardIndex.template D:\WEBSITES\testbed\cgi-bin\yabb252\Templates\yabb24\BoardIndex.template
############################################################################### ###############################################################################
# BoardIndex.template                                                         # # 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.4                                                    #
# Packaged:       July 04, 2010                                               # # Packaged:       April 12, 2009                                              #
# Distributed by: http://www.yabbforum.com                                    # # Distributed by: http://www.yabbforum.com                                    #
# =========================================================================== # # =========================================================================== #
# Copyright (c) 2000-2012 YaBB (www.yabbforum.com) - All Rights Reserved.     # # Copyright (c) 2000-2009 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.13 $ # $Revision: 1.13 $
   
$boardhandellist = qq~ $boardhandellist = qq~
     {yabb expand}{yabb collapse}{yabb markallread}      {yabb expand}{yabb collapse}{yabb markallread}
~; ~;
   
$boardindex_template = qq~ $boardindex_template = qq~
   
<!-- 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) { if(!$iamguest) {
$boardindex_template .= qq~ $boardindex_template .= qq~
   
<!-- Board Index Button Bar start --> <!-- Board Index Button Bar start -->
<table class="bordercolor" cellpadding="4" cellspacing="0" border="0" width="100%"> <table class="bordercolor" cellpadding="4" cellspacing="1" border="0" width="100%">
<tr> <tr>
     <td class="shadow" align="center">      <td class="windowbg" align="center">
           <div class="small" style="float: left; width: 49%; text-align: left;">            <div class="small" style="float: left; width: 49%; text-align: left;">
                 <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;                  <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;
                 <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'}                  <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'}
           </div>            </div>
           <div class="small" style="float: right; width: 49%; text-align: right;">            <div class="small" style="float: right; width: 49%; text-align: right;">
                 {yabb boardhandellist}                  {yabb boardhandellist}
           </div>            </div>
     </td>      </td>
</tr> </tr>
</table> </table>
<!-- Board Index Button Bar end --> <!-- Board Index Button Bar end -->
   
~; ~;
} }
$boardindex_template .= qq~ $boardindex_template .= qq~
   
<!-- Info Center block start --> <!-- Info Center block start -->
   
<br /><br /> <br /><br />
<table class="bordercolor" cellpadding="0" cellspacing="0" border="0" width="100%"> <table class="bordercolor" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr> <tr>
     <td class="titlecorner" width="1%" height="25" valign="middle">      <td class="tabtitle" width="1%" height="25" valign="middle">
             &nbsp;  
     </td>      </td>
       <td class="tabtitle" width="99%" height="25" valign="middle">  
     <td class="tabtitle" width="98%" height="25" valign="middle">    
           $boardindex_txt{'200'}            $boardindex_txt{'200'}
     </td>      </td>
     <td class="titlecorner2" width="1%" height="25" valign="middle">    
   
     </td>    
   
</tr> </tr>
</table> </table>
<table class="bordercolor" cellpadding="4" cellspacing="0" border="0" width="100%"> <table class="bordercolor" cellpadding="4" cellspacing="1" border="0" width="100%">
<tr> <tr>
     <td class="shadow" width="5%" valign="middle" align="center">      <td class="windowbg" width="5%" valign="middle" align="center">
           <img src="$imagesdir/info.gif" border="0" alt="" />            <img src="$imagesdir/info.gif" border="0" alt="" />
     </td>      </td>
     <td class="shadow" valign="top" align="center">      <td class="windowbg2" valign="top" align="center">
           <div class="small" style="float: left; width: 59%; text-align: left;">            <div class="small" style="float: left; width: 59%; text-align: left;">
                 $boardindex_txt{'489'} <b>{yabb totalmessages} $boardindex_txt{'21'}</b> $boardindex_txt{'490'} <b>{yabb totaltopics} $boardindex_txt{'330'}</b>.<br />                  $boardindex_txt{'489'} <b>{yabb totalmessages} $boardindex_txt{'21'}</b> $boardindex_txt{'490'} <b>{yabb totaltopics} $boardindex_txt{'330'}</b>.<br />
                 {yabb lastpostlink} {yabb lastpostdate}                  {yabb lastpostlink} {yabb lastpostdate}
                 {yabb recentposts}                  {yabb recentposts}
           </div>            </div>
           <div class="small" style="float: left; width: 40%; text-align: left;">            <div class="small" style="float: left; width: 40%; text-align: left;">
                 $boardindex_txt{'487'} {yabb membercount} $boardindex_txt{'488'}.<br />                  $boardindex_txt{'487'} {yabb membercount} $boardindex_txt{'488'}.<br />
                 {yabb latestmember}                  {yabb latestmember}
                 {yabb ims}                  {yabb ims}
           </div>            </div>
     </td>      </td>
</tr> </tr>
<tr> <tr>
     <td class="shadow" width="5%" valign="middle" align="center">      <td class="windowbg" width="5%" valign="middle" align="center">
           <img src="$imagesdir/online.gif" border="0" alt="" />            <img src="$imagesdir/online.gif" border="0" alt="" />
     </td>      </td>
     <td class="shadow" valign="top" align="center">      <td class="windowbg2" valign="top" align="center">
           <div class="small" style="float: left; width: 90%; text-align: left;">            <div class="small" style="float: left; width: 90%; text-align: left;">
           $boardindex_txt{'800'} <b>{yabb mostusers}</b> $maintxt{'30'} {yabb mostusersdate}.<br />            $boardindex_txt{'800'} <b>{yabb mostusers}</b> $maintxt{'30'} {yabb mostusersdate}.<br />
           $boardindex_txt{'801'} <b>{yabb mostmembers}</b> $maintxt{'30'} {yabb mostmembersdate}.<br />            $boardindex_txt{'801'} <b>{yabb mostmembers}</b> $maintxt{'30'} {yabb mostmembersdate}.<br />
           $boardindex_txt{'802'} <b>{yabb mostguests}</b> $maintxt{'30'} {yabb mostguestsdate}.<br />            $boardindex_txt{'802'} <b>{yabb mostguests}</b> $maintxt{'30'} {yabb mostguestsdate}.<br />
           $boardindex_txt{'803'} <b>{yabb mostbots}</b> $maintxt{'30'} {yabb mostbotsdate}.            $boardindex_txt{'803'} <b>{yabb mostbots}</b> $maintxt{'30'} {yabb mostbotsdate}.
           </div>            </div>
     </td>      </td>
</tr> </tr>
</table><br /> </table><br />
<table class="bordercolor" cellpadding="0" cellspacing="0" border="0" width="100%"> <table class="bordercolor" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr> <tr>
     <td class="titlecorner" width="1%" height="25" valign="middle">      <td class="tabtitle" width="1%" height="25" valign="middle">
             &nbsp;  
     </td>      </td>
     <td class="tabtitle" width="98%" height="25" valign="middle">      <td class="tabtitle" width="99%" height="25" valign="middle">
           $boardindex_txt{'158'}            $boardindex_txt{'158'}
     </td>      </td>
     <td class="titlecorner2" width="1%" height="25" valign="middle">    
   
     </td>    
   
</tr> </tr>
</table> </table>
<table class="bordercolor" cellpadding="4" cellspacing="0" border="0" width="100%"> <table class="bordercolor" cellpadding="4" cellspacing="1" border="0" width="100%">
<tr> <tr>
     <td class="shadow" width="5%" valign="middle" align="center">      <td class="windowbg" width="5%" valign="middle" align="center">
           <img src="$imagesdir/online.gif" border="0" alt="" />            <img src="$imagesdir/online.gif" border="0" alt="" />
     </td>      </td>
     <td class="shadow">       <td class="windowbg2"> 
           <div class="small" style="float: left; width: 59%; text-align: left;">            <div class="small" style="float: left; width: 59%; text-align: left;">
           {yabb users}<br />            {yabb users}<br />
           {yabb onlineusers}            {yabb onlineusers}
           {yabb guests}<br />            {yabb guests}<br />
           {yabb onlineguests}            {yabb onlineguests}
           {yabb bots}<br />            {yabb bots}<br />
           {yabb onlinebots}            {yabb onlinebots}
           </div>            </div>
           <div style="float: left; width: 40%; text-align: left;">            <div style="float: left; width: 40%; text-align: left;">
           {yabb groupcolors}            {yabb groupcolors}
           </div>            </div>
     </td>      </td>
</tr> </tr>
</table> </table>
<br /> <br />
     {yabb sharedlogin}      {yabb sharedlogin}
   
<!-- Info Center block end --> <!-- Info Center block end -->
~; ~;
   
# Category header                          # # Category header                          #
   
$new_msg_bg = "shadow";  $new_msg_bg = "windowbg"; 
$new_msg_class = "small"; $new_msg_class = "small";
   
$catheader = qq~ $catheader = qq~
   
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="bordercolor"> <table cellpadding="0" cellspacing="0" border="0" width="100%" class="bordercolor">
<tr> <tr>
     <td class="titlecorner" width="1%" height="25" valign="middle">      <td class="tabtitle" width="1%" height="25" valign="middle">
             &nbsp;  
     </td>      </td>
   
       <td class="tabtitle" width="59%" height="25" valign="middle">  
     <td class="tabtitle" width="62%" height="25" valign="middle">    
           {yabb catimage} {yabb catlink}            {yabb catimage} {yabb catlink}
     </td>      </td>
   
     <td class="tabtitle" width="20%" height="25" align="left" valign="middle">      <td class="tabtitle" width="24%" height="25" align="center" valign="middle">
           $boardindex_txt{'22'}            $boardindex_txt{'22'}
     </td>      </td>
       <td class="tabtitle" width="8%" height="25" align="center" valign="middle">  
     <td class="titlecorner2" width="1%" height="25" valign="middle">             $boardindex_txt{'330'} 
       </td>  
       <td class="tabtitle" width="8%" height="25" align="center" valign="middle">  
             $boardindex_txt{'21'}  
     </td>      </td>
   
</tr> </tr>
{yabb newmsg start}{yabb newmsg icon}{yabb newmsg}{yabb newmsg end} {yabb newmsg start}{yabb newmsg icon}{yabb newmsg}{yabb newmsg end}
</table> </table>
<table {yabb boardtable} cellpadding="4" cellspacing="0" border="0" width="100%" class="bordercolor"> <table {yabb boardtable} cellpadding="4" cellspacing="1" border="0" width="100%" class="bordercolor">
~; ~;
   
# Looks of each board in category          # # Looks of each board in category          #
   
$topiccut = 25; $topiccut = 25;
$boardblock = qq~ $boardblock = qq~
<tr> <tr>
     <td class="shadow" width="5%" align="center" valign="middle">      <td class="windowbg" width="6%" align="center" valign="middle">
           <a href="{yabb boardurl}">{yabb boardpic}</a>            <a href="{yabb boardurl}">{yabb boardpic}</a>
     </td>      </td>
     <td class="shadow" width="54%" align="left" valign="middle">      <td class="windowbg" width="54%" align="left" valign="middle">
           {yabb new} <a name="{yabb boardanchor}" href="{yabb boardurl}"><b>{yabb boardname}</b></a><br />            {yabb new} <a name="{yabb boardanchor}" href="{yabb boardurl}"><b>{yabb boardname}</b></a><br />
           {yabb boarddesc}            {yabb boarddesc}
           <div class="small" style="font-style:italic;">{yabb moderators}</div>            <div class="small" style="font-style:italic;">{yabb moderators}</div>
     </td>      </td>
     <td class="shadow" valign="middle" align="left" width="8%"><span class="small" style="text-align:center; margin-left: 6px;"><b>$boardindex_txt{'330'}:</b> {yabb threadcount}</span> <br />       <td class="windowbg2" valign="middle" align="left" width="24%"> 
     <span class="small" style="margin-left: 6px;"><b>$boardindex_txt{'21'}:</b> {yabb messagecount}</span></td>    
     <td class="shadow" valign="middle" align="left" width="24%">    
     <span class="small" style="float: left; margin-left: 12px;">      <span class="small" style="float: left; margin-left: 12px;">
     {yabb lastpostlink}<br />      {yabb lastpostlink}<br />
     <b>$boardindex_txt{'524'}:</b> {yabb lasttopiclink}<br />      <b>$boardindex_txt{'524'}:</b> {yabb lasttopiclink}<br />
     <b>$boardindex_txt{'525'}:</b> {yabb lastposter}      <b>$boardindex_txt{'525'}:</b> {yabb lastposter}
     </span>      </span>
   
     </td>      </td>
       <td class="windowbg" valign="middle" align="center" width="8%">{yabb threadcount}</td>  
       <td class="windowbg" valign="middle" align="center" width="8%">{yabb messagecount}</td>  
</tr> </tr>
~; ~;
   
# Category footer                          # # Category footer                          #
   
$catfooter = qq~ $catfooter = qq~
</table> </table>
<br /> <br />
   
~; ~;
   
1;   1;