<?php
//
// Copyright (C) 2003 Jan de Graaff
// All rights reserved.
//
// This program uses parts of the original Simpleboard Application
// 0.7.0b written by Josh Levine; http://www.joshlevine.net
//
// This source file is part of the SimpleBoard Component, a Mambo 4.5
// custom Component By Jan de Graaff - http://tsmf.jigsnet.com
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License (GPL)
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// Please note that the GPL states that any headers in files and
// Copyright notices as well as credits in headers, source files
// and output (screens, prints, etc.) can not be removed.
// You can extend them with your own credits, though...
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
//
// The "GNU General Public License" (GPL) is available at
// http://www.gnu.org/copyleft/gpl.html.
//
// Dont allow direct linking
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

require_once 'components/com_simpleboard/forum.conf';

if ($header!="") include($header);
?>
<link rel="stylesheet" href="components/com_simpleboard/template/<?php echo $sbConfig['template']; ?>/forum.css" type="text/css" />
<table border="0" cellspacing="0" cellpadding="0" width="100%" align="center">
   <tr>
     <td align="center">
       <table border="0" width="100%">
         <?php include ($sbp.'/searchbox.php');?>
         <tr>
           <td align="center">
             <b><font size="2"><?php echo $board_title;?></font></b>
             <?php echo $sbConfig['board_offline'] ? '<br /><font color="red">' ._FORUM_IS_OFFLINE. '</font>' : '&nbsp;' ;?>
           </td>
         </tr>
       </table>
       <br />
<div align="center">

         <a href="<?php echo sefRelToAbs('index.php?option=com_simpleboard&amp;Itemid='.$Itemid);?>">
         <?php echo $sbIcons['home'] ? '<img src="'.$mls.'/modules/mod_sbicons/'.$sbIcons['home'].'" border=0 alt="'._HOME.'" />' : _HOME; ?>
         </a>
         <?php echo $sbIcons['help'] ?'':'| ';?><a href="<?php echo sefRelToAbs('index.php?option=com_simpleboard&amp;Itemid='.$Itemid.'&amp;func=faq');?>">
         <?php echo $sbIcons['help'] ? '<img src="'.$mls.'/modules/mod_sbicons/'.$sbIcons['help'].'" border=0 alt="'._GEN_HELP.'" title="'._GEN_HELP.'"/>' : _GEN_HELP; ?>
         </a>
		 <?php
		 if ( $sbConfig['enableRulesPage'] ) {
         	echo $sbIcons['rules'] ?'':'| ';
			echo '<a href="'.sefRelToAbs('index.php?option=com_simpleboard&Itemid='.$Itemid.'&func=rules').'">';
	        echo $sbIcons['rules'] ? '<img src="'.$mls.'/modules/mod_sbicons/'.$sbIcons['RULES'].'" border=0 alt="'._GEN_RULES.'" title="'._GEN_RULES.'"/>' : _GEN_RULES; 
			echo '</a>';
		 }?>
         </div>
     </td>
   </tr>
   <tr>
      <td>
         <table width="100%" cellspacing="1" cellpadding="3" class="flat" style="text-align: left;"><tr><td>
         <p>
         <strong>The TSMF Team</strong><br />
         The Simpleboard development team consists of:<br />
         Jan de Graaff (also Project Admin), Tomislav Ribicic, Arno Zijlstra, Niels Vandekeybus, Iosif Chatzimichail, Jon Langevin, Kathy Strickland and Thomas Despoix.
         </p>
         <p><a name="boardcode"></a>
         <strong>What is boardcode?</strong><br />
         Boardcode are special tags that will allow you to format your messages.  Currently, SimpleBoard supports links, bold, italic, bold, "quoted" text, img, size, list and colored text.  The tags are used as follows:<br /><br />


         [b]Bold[/b] will produce <strong>Bold</strong><br /><br />
         [i]Italic[/b] will produce <em>Italic</em><br /><br />
         [u]Underline[/u] will produce <u>Underline</u><br /><br />
    [size=4]Size[/size] will produce <font size="4">Size</font><br /><br />
    [color=#FF0000]Red[/color] will produce <font color="red">Red</font><br /><br />
    [img=150]link to image[/img] will produce a image with a width off 150 pixels.<br />
    <u>Please remember you can go to a maximum width of 499 pixels.</u><br /><br />
    [ul][li]item 1[/li][/ul] will produce an unordered list, but please keep in mind you'll have to insert <br />
    the [li][/li] tags around the list items. See example below.<br />
    </p></td></tr><tr><td>
    <table width="250" cellspacing="2" cellpadding="2" border="0">
      <tr><!-- Row 1 -->
          <td>[ul][li]item 1[/li]<br />
               [li]item 2[/li]<br />
         [li]item 3[/li][/ul]</td>
          <td><ul><li>item 1</li>
                      <li>item 2</li>
                 <li>item 3</li></ul></td>
     </tr></table></td></tr><tr><td>
     The [ol] tag will produce a similar list, but ordered (with numbers):<br />
         <table width="250" cellspacing="2" cellpadding="2" border="0">
           <tr><!-- Row 1 -->
               <td>[ol][li]item 1[/li]<br />
                    [li]item 2[/li]<br />
              [li]item 3[/li][/ol]</td>
               <td><ol><li>item 1</li>
                           <li>item 2</li>
                      <li>item 3</li></ol></td>
     </tr></table></td></tr><tr><td>
         [url]http://www.yahoo.com[/url] will produce <a href="http://www.yahoo.com">http://www.yahoo.com</a><br /><br />
         [url=http://www.yahoo.com]Yahoo![/url] will produce <a href="http://www.yahoo.com">Yahoo!</a><br /><br />
         [quote]Quote[/quote] will produce
         <div class="sb_quote">Quote</div><br />
         [code]some code here[/code] will produce<br />
         <table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr><td><b>Code:</b></td></tr><tr><td class="sb_code">
<pre>
//Some code here
while ($adversary=='Neo')
{
   fork(agent_Smith);
}
</pre></td></tr></table>
         <table border="0"><tr><td colspan="3">
         <strong>About the Forum Component (for Mos 4.5+)</strong><br />
         This forum is based on the Simpleboard Forum originally written by <a href="http://www.joshlevine.net/simpleboard/" target="_blank">Josh Levine</a>.<br />
         It has been extended, enhanced and integrated as a component into Mambo Open Source by Jan de Graaff.<br /><br />
         Please visit the home of the Forum Component at the <a href="http://tsmf.jigsnet.com" target="_blank">Two Shoes Module Factory</a> website.<br /><br />
         <strong>Special Thanks:</strong><br />
         </td></tr>
         <tr><td><a href="http://www.tmjg-marketing.com" target="_blank">Toni Brännlund</a></td><td>::</td><td>For helping me out with the <a href="http://tsmf.jigsnet.com" target="_blank">Two Shoes Module Factory website</a>.</td></tr>
         <tr><td><a href="http://www.phil-taylor.com" target="_blank">Phil Taylor</a></td><td>::</td><td>For helping me out with some of the basics of component writing.</td></tr>
         <tr><td>Andrew Eddie</td><td>::</td><td>For giving me a jumpstart on rewriting the Admin Area as a MOS compliant backend.</td></tr>
         <tr><td><a href="http://www.smarterdocuments.com" target="_blank">Andrew Fletcher</a></td><td>::</td><td>For helping me out with the Review code and the Language Support.</td></tr>
         <tr><td>Dave McDonnell</td><td>::</td><td>For helping us out with the Safe Mode problems we had.</td></tr>
         <tr><td>Jick</td><td>::</td><td>For giving a great start on the Discuss Mosbot.</td></tr>
         </table>
         </td></tr></table>
      </td>
   </tr>
</table>