D:\WEBSITES\testbed\cgi-bin\yabb252\Templates\yabb25\MessageIndex.template D:\WEBSITES\testbed\cgi-bin\yabb252\Templates\yabb24\MessageIndex.template
############################################################################### ###############################################################################
# MessageIndex.template                                                       # # MessageIndex.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.16.2.1 $ # $Revision: 1.16 $
   
LoadLanguage("BoardIndex"); LoadLanguage("BoardIndex");
   
$topichandellist = qq~{yabb new post button} {yabb new poll button} {yabb notify button} {yabb markall button}~; $topichandellist = qq~{yabb new post button} {yabb new poll button} {yabb notify button} {yabb markall button}~;
   
if (!$ShowBDescrip && $action ne "favorites") { if (!$ShowBDescrip && $action ne "favorites") {
$messageindex_template .= qq~ $messageindex_template .= qq~
   
   
<!-- Board Moderators start --> <!-- Board Moderators start -->
   
<div class="navbarcontainer"> <div class="navbarcontainer">
<table width="100%" border="0"> <table width="100%" border="0">
<tr> <tr>
   <td align="left">    <td align="left">
   <div class="small">{yabb moderators}</div>    <div class="small">{yabb moderators}</div>
   </td>    </td>
</tr> </tr>
</table> </table>
</div> </div>
   
<!-- Board Moderators end --> <!-- Board Moderators end -->
   
   
~; ~;
} }
else { else {
$messageindex_template .= qq~ $messageindex_template .= qq~
   
   
<!-- Board Description start --> <!-- Board Description start -->
   
<table cellpadding="4" cellspacing="1" border="0" width="100%" class="bordercolor"> <table cellpadding="4" cellspacing="1" border="0" width="100%" class="bordercolor">
<tr> <tr>
   <td class="windowbg" width="6%" align="center" valign="middle">    <td class="windowbg" width="6%" align="center" valign="middle">
   {yabb bdpicture}    {yabb bdpicture}
   </td>    </td>
   <td class="windowbg" width="78%" align="left" valign="middle">    <td class="windowbg" width="78%" align="left" valign="middle">
       {yabb board}<br />        {yabb board}<br />
       {yabb description}        {yabb description}
       <div class="small" style="font-style:italic;">{yabb moderators}</div>        <div class="small" style="font-style:italic;">{yabb moderators}</div>
   </td>    </td>
   <td class="windowbg" valign="middle" align="center" width="16%">    <td class="windowbg" valign="middle" align="center" width="16%">
       <span class="small">        <span class="small">
       $boardindex_txt{'330'}: {yabb threadcount}<br />        $boardindex_txt{'330'}: {yabb threadcount}<br />
       $boardindex_txt{'21'}: {yabb messagecount}        $boardindex_txt{'21'}: {yabb messagecount}
       </span>        </span>
   </td>    </td>
</tr> </tr>
</table> </table>
<br /> <br />
   
<!-- Board Description end --> <!-- Board Description end -->
   
   
~; ~;
} }
   
if ($action ne "favorites") { if ($action ne "favorites") {
$messageindex_template .= qq~ $messageindex_template .= qq~
   
   
<!-- Button Bar start --> <!-- Button Bar start -->
   
<table cellpadding="4" cellspacing="1" border="0" width="100%" class="bordercolor"> <table cellpadding="4" cellspacing="1" border="0" width="100%" class="bordercolor">
   
<tr> <tr>
   <td class="catbg">    <td class="catbg">
   <div style="float: left; width: 25%;">    <div style="float: left; width: 25%;">
     {yabb pageindex top}      {yabb pageindex top}
   </div>    </div>
   <div class="small" style="float: left; width: 74%; text-align: right;">    <div class="small" style="float: left; width: 74%; text-align: right;">
       {yabb topichandellist}        {yabb topichandellist}
   </div>    </div>
   </td>    </td>
</tr> </tr>
</table> </table>
   
<!-- Button Bar end --> <!-- Button Bar end -->
   
   
~; ~;
} }
$messageindex_template .= qq~ $messageindex_template .= qq~
   {yabb modupdate}    {yabb modupdate}
<table cellpadding="3" cellspacing="1" border="0" width="100%" class="bordercolor"> <table cellpadding="3" cellspacing="1" border="0" width="100%" class="bordercolor">
<tr> <tr>
   <td class="titlebg" width="8%" colspan="2" align="center">    <td class="titlebg" width="8%" colspan="2" align="center">
       &nbsp;        &nbsp;
   </td>    </td>
   <td class="titlebg" width="32%" align="left">    <td class="titlebg" width="32%" align="left">
       $messageindex_txt{'70'}        $messageindex_txt{'70'}
   </td>    </td>
   <td class="titlebg" width="14%" align="center">    <td class="titlebg" width="14%" align="center">
       $messageindex_txt{'109'}        $messageindex_txt{'109'}
   </td>    </td>
   <td class="titlebg" width="8%" align="center">    <td class="titlebg" width="8%" align="center">
       $messageindex_txt{'110'}        $messageindex_txt{'110'}
   </td>    </td>
   <td class="titlebg" width="8%" align="center">    <td class="titlebg" width="8%" align="center">
       $messageindex_txt{'301'}        $messageindex_txt{'301'}
   </td>    </td>
   <td class="titlebg" width="22%" align="center">    <td class="titlebg" width="22%" align="center">
       $messageindex_txt{'22'}        $messageindex_txt{'22'}
   </td>    </td>
   {yabb admin column}    {yabb admin column}
</tr> </tr>
   {yabb stickyblock}    {yabb stickyblock}
   {yabb threadblock}    {yabb threadblock}
   {yabb adminfooter}    {yabb adminfooter}
</table> </table>
   {yabb modupdateend}    {yabb modupdateend}
~; ~;
   
if ($action ne "favorites") { if ($action ne "favorites") {
$messageindex_template .= qq~ $messageindex_template .= qq~
   
<!-- Button Bar start --> <!-- Button Bar start -->
   
<table cellpadding="4" cellspacing="1" border="0" width="100%" class="bordercolor"> <table cellpadding="4" cellspacing="1" border="0" width="100%" class="bordercolor">
<tr> <tr>
   <td class="catbg">    <td class="catbg">
   <div style="float: left; width: 25%;">    <div style="float: left; width: 25%;">
     {yabb pageindex bottom}      {yabb pageindex bottom}
   </div>    </div>
   <div class="small" style="float: left; width: 74%; text-align: right;">    <div class="small" style="float: left; width: 74%; text-align: right;">
       {yabb topichandellist}        {yabb topichandellist}
   </div>    </div>
   </td>    </td>
</tr> </tr>
</table> </table>
   
<!-- Button Bar end --> <!-- Button Bar end -->
   
<!-- Icon and access info start --> <!-- Icon and access info start -->
   
<table width="100%" cellspacing="0" cellpadding="8"> <table width="100%" cellspacing="0" cellpadding="8">
<tr> <tr>
   <td width="28%" valign="top">    <td width="28%" valign="top">
       <span class="small">{yabb icons}</span>        <span class="small">{yabb icons}</span>
   </td>    </td>
   <td width="38%" valign="top">    <td width="38%" valign="top">
       <span class="small">{yabb admin icons}</span>        <span class="small">{yabb admin icons}</span>
   </td>    </td>
   <td width="33%" valign="top">    <td width="33%" valign="top">
       <span class="small">{yabb access}</span>        <span class="small">{yabb access}</span>
   </td>    </td>
</tr> </tr>
</table> </table>
   
<!-- Icon and access info end --> <!-- Icon and access info end -->
~; ~;
} }
   
if ($action eq "favorites") { if ($action eq "favorites") {
$messageindex_template .= qq~ $messageindex_template .= qq~
<!-- Icon and access info start --> <!-- Icon and access info start -->
   
<table width="100%" cellspacing="0" cellpadding="8"> <table width="100%" cellspacing="0" cellpadding="8">
<tr> <tr>
   <td width="35%" valign="top">    <td width="35%" valign="top">
       <span class="small">{yabb icons}</span>        <span class="small">{yabb icons}</span>
   </td>    </td>
   <td valign="top">    <td valign="top">
       <span class="small">{yabb admin icons}</span>        <span class="small">{yabb admin icons}</span>
   </td>    </td>
</tr> </tr>
</table> </table>
   
<!-- Icon and access info end --> <!-- Icon and access info end -->
~; ~;
} }
   
# Board description                        # # Board description                        #
   
$boarddescription = qq~ $boarddescription = qq~
<span class="small">{yabb boarddescription}</span> <span class="small">{yabb boarddescription}</span>
~; ~;
   
   
# Column Header definition for multi admin        # # Column Header definition for multi admin        #
   
$adminheader = qq~ $adminheader = qq~
<td class="titlebg" width="20%" align="center" nowrap="nowrap">{yabb admin}</td> <td class="titlebg" width="20%" align="center" nowrap="nowrap">{yabb admin}</td>
~; ~;
   
# Column definition for multi admin        # # Column definition for multi admin        #
   
$admincolumn = qq~ $admincolumn = qq~
<td class="windowbg" width="20%" align="center" nowrap="nowrap">{yabb admin}</td> <td class="windowbg" width="20%" align="center" nowrap="nowrap">{yabb admin}</td>
~; ~;
   
# Sticky or global announcements header    # # Sticky or global announcements header    #
   
$stickyheader = qq~ $stickyheader = qq~
<tr> <tr>
<td colspan="{yabb colspan}" class="catbg">&nbsp;$messageindex_stickygrp{'1'}</td> <td colspan="{yabb colspan}" class="catbg">&nbsp;$messageindex_stickygrp{'1'}</td>
</tr> </tr>
~; ~;
   
# Non sticky or global announcements header# # Non sticky or global announcements header#
   
$nonstickyheader = qq~ $nonstickyheader = qq~
<tr> <tr>
<td colspan="{yabb colspan}" class="catbg">&nbsp;$messageindex_stickygrp{'2'}</td> <td colspan="{yabb colspan}" class="catbg">&nbsp;$messageindex_stickygrp{'2'}</td>
</tr> </tr>
~; ~;
   
# Thread bar                               # # Thread bar                               #
   
$threadbar = qq~ $threadbar = qq~
<tr> <tr>
<td class="windowbg2" valign="middle" align="center" width="4%">{yabb threadpic}</td> <td class="windowbg2" valign="middle" align="center" width="4%">{yabb threadpic}</td>
<td class="windowbg2" valign="middle" align="center" width="4%">{yabb icon}</td> <td class="windowbg2" valign="middle" align="center" width="4%">{yabb icon}</td>
<td class="windowbg" valign="middle"  align="left" width="32%"> <td class="windowbg" valign="middle"  align="left" width="32%">
<div style="float: left; width: 95%;">{yabb favorite} {yabb new} {yabb poll}<b>{yabb subjectlink}</b>{yabb pages}<br /><span class="small">{yabb permalink}</span></div> <div style="float: left; width: 95%;">{yabb favorite} {yabb new} {yabb poll}<b>{yabb subjectlink}</b>{yabb pages}<br /><span class="small">{yabb permalink}</span></div>
<div style="float: left; width: 5%; text-align: center;">{yabb attachmenticon}</div> <div style="float: left; width: 5%; text-align: center;">{yabb attachmenticon}</div>
</td> </td>
<td class="windowbg2" valign="middle" align="center" width="14%"><span class="small">{yabb starter}</span></td> <td class="windowbg2" valign="middle" align="center" width="14%"><span class="small">{yabb starter}</span></td>
<td class="windowbg" valign="middle" align="center" width="8%">{yabb replies}</td> <td class="windowbg" valign="middle" align="center" width="8%">{yabb replies}</td>
<td class="windowbg" valign="middle" align="center" width="8%">{yabb views}</td> <td class="windowbg" valign="middle" align="center" width="8%">{yabb views}</td>
<td class="windowbg2" valign="middle" align="left" width="22%"> <td class="windowbg2" valign="middle" align="left" width="22%">
<span class="small"> <span class="small">
{yabb lastpostlink}<br /> {yabb lastpostlink}<br />
<b>$messageindex_txt{'525'}:</b> {yabb lastposter}</span></td> <b>$messageindex_txt{'525'}:</b> {yabb lastposter}</span></td>
{yabb admin column} {yabb admin column}
</tr> </tr>
~; ~;
   
$threadbarMoved = qq~ $threadbarMoved = qq~
<tr> <tr>
<td class="windowbg2" valign="middle" align="center" width="4%">{yabb threadpic}</td> <td class="windowbg2" valign="middle" align="center" width="4%">{yabb threadpic}</td>
<td class="windowbg2" valign="middle" align="center" width="4%">{yabb icon}</td> <td class="windowbg2" valign="middle" align="center" width="4%">{yabb icon}</td>
<td class="windowbg" colspan="5" valign="middle" align="left" width="62%"> <td class="windowbg" colspan="5" valign="middle" align="left" width="62%">
<div style="float: left; width: 99%;">{yabb subjectlink}</div> <div style="float: left; width: 99%;">{yabb subjectlink}</div>
</td> </td>
{yabb admin column} {yabb admin column}
</tr> </tr>
~; ~;
   
# Admin dependent subfooter                # # Admin dependent subfooter                #
   
$subfooterbar = qq~ $subfooterbar = qq~
<tr> <tr>
<td class="titlebg" valign="middle" align="right" colspan="7"> <td class="titlebg" valign="middle" align="right" colspan="7">
<span class="small">{yabb admin selector} <label for="checkall">$messageindex_txt{'737'}</label></span> <span class="small">{yabb admin selector} <label for="checkall">$messageindex_txt{'737'}</label></span>
</td> </td>
<td class="titlebg" valign="middle" align="center" nowrap="nowrap"> <td class="titlebg" valign="middle" align="center" nowrap="nowrap">
{yabb admin checkboxes} {yabb admin checkboxes}
</td> </td>
</tr> </tr>
~; ~;
   
1; 1;