<?php

include "../general.inc";

function list_dir ($dir) {
   if ($handle = opendir($dir)) {
      while (false !== ($file = readdir($handle))) {
         if ($file != "." && $file != ".." && substr($file,-1) != "~") {
            echo "<a href=\"show.php?type=file&file=$dir/$file\">$file</a>\n";
         }
      }
      closedir($handle);
   }
}

doc_header("Jabba","JABBA - Just another boring bot architecture");
?>

<h2 align="left">What is jabba?</h2>
Jabba is an irc-bot based on perl and IRC.pm. 

<h2 align="left">Structur of jabba</h2>
<table border=1>
<tr>
  <th align="left">Main application:</th>
  <td align="center"><a href="show.php?type=file&file=jabba">jabba</a></td>
</tr>
<tr>
  <th align="left">System modules:</th>
  <td align="center"><?php list_dir ("sysmod"); ?></td>
</tr>
<tr>
  <th align="left">Customer modules:</th>
  <td align="center"><?php list_dir ("modules"); ?></td>
</tr>
</table>
<p>
Download the current version (2004-03-24) from
<a href="jabba-20040324.tar.gz">here</a>.
<p>
<h2 align="left">Whishlist?</h2>
<ul>
<li> User can subscribe private to slashcode news.
<li> Wishlist module ;-)
</ul>
<?php doc_footer(); ?>
