--- /dev/null
+blootbot:EZQ6ol8aBWE8c
--- /dev/null
+AuthUserFile /home/groups/b/bl/blootbot/.htpasswd
+AuthGroupFile /dev/null
+AuthName CP
+AuthType Basic
+<Limit GET>
+require valid-user
+
--- /dev/null
+<?
+ require("/home/groups/b/bl/blootbot/htdocs/inc/template.inc");
+ require("/home/groups/b/bl/blootbot/htdocs/inc/mysql.inc");
+ require("/home/groups/b/bl/blootbot/htdocs/inc/news.inc");
+
+ bloot_header("C O N T R O L . P A N E L");
+?>
+
+<center><font face="arial" size="+1">C O N T R O L . P A N E L</font><p></center>
+<? box_start("Main Functions",".","90%"); ?>
+<br><b>News Functios:</b><br>
+<a href="news.php">Add News</a><br>
+<a href="news-delete.php">Delete News</a><p>
+<? box_end(); ?>
+
+<?
+ bloot_footer();
+?>
--- /dev/null
+<?
+ require("/home/groups/b/bl/blootbot/htdocs/inc/template.inc");
+ require("/home/groups/b/bl/blootbot/htdocs/inc/mysql.inc");
+ require("/home/groups/b/bl/blootbot/htdocs/inc/news.inc");
+ require("/home/groups/b/bl/blootbot/htdocs/inc/news-delete.inc");
+
+ bloot_header("C O N T R O L . P A N E L: N E W S . D E L E T E");
+ ?><center><font face="arial" size="+1">C O N T R O L . P A N E L: N E W S . D E L E T E</font><p></center><?
+ ?><font color="red" size="+3">DO NOT REFRESH THIS PAGE!</font><br><?
+ ?><font color="red" size="+1"><i>Do not use the back button after submitting!<br>Please <a href="/cp">click here</a> to return to the control panel<?
+ ?> or <a href="/cp/news-delete.php">here</a> to return to the news-delete control panel</font><?
+ ?></font><?
+ if ($id)
+ delete_news($id);
+ ?><form action="news-delete.php" method="get"><?
+ ?><center>ID Number: <input type="text" name="id"> <?
+ ?><br><b>ONCE NEWS IS DELETED, IT CAN NOT BE BROUGHT BACK. DELETE WITH CAUTION!. DO NOT ENTER AN INVALID ID, I DON'T KNOW WHAT WILL HAPPEN!<br></b><?
+ ?><input type="submit"><?
+ ?></center><?
+ ?></form><?
+
+ show_all_news();
+ bloot_footer();
+?>
--- /dev/null
+<?
+ require("/home/groups/b/bl/blootbot/htdocs/inc/template.inc");
+ require("/home/groups/b/bl/blootbot/htdocs/inc/mysql.inc");
+ require("/home/groups/b/bl/blootbot/htdocs/inc/news.inc");
+
+ bloot_header("C O N T R O L . P A N E L: N E W S");
+ ?><center><font face="arial" size="+1">C O N T R O L . P A N E L: N E W S</font><p></center><?
+ ?><font color="red" size="+3">DO NOT REFRESH THIS PAGE!</font><br><?
+ ?><font color="red" size="+1"><i>Do not use the back button after submitting!<br>Please <a href="/cp">click here</a> to return to the control panel<?
+ ?> or <a href="/cp/news.php">here</a> to return to the news control panel</font><?
+ ?></font><?
+ if ($author && $title && $message)
+ add_news($author,$title,$message);
+
+ ?><form action="news.php" method="get"><?
+ ?><center>Title: <input type="text" name="title"> <?
+ ?>Author: <input type="text" name="author"><?
+ ?><br><b>WARNING: Once news is added, it CAN NOT BE CHANGED. Make sure that all the fields are filled out and use propper HTML.</b><br><?
+ ?><input type="submit"><br>Message:<br><?
+ ?><textarea name="message" rows=10 cols=40><?
+ ?></textarea></center><?
+ ?></form><?
+
+ bloot_footer();
+?>
--- /dev/null
+AuthUserFile /dev/null
+AuthGroupFile /dev/null
+AuthName DenyViaWeb
+AuthType Basic
+
+
+<Limit GET>
+order allow,deny
+deny from all
+</Limit>
--- /dev/null
+<?
+$db_hostname="moby";
+$db_username="blootbot";
+$db_password="IOoXuyD9";
+$db_name="blootbot";
+
+ if (! ($db_handle=@mysql_connect($db_hostname,$db_username,$db_password)) || ! @mysql_select_db($db_name)) {
+ echo "<!-- MSQL ERROR! -->";
+ }
+
+?>
--- /dev/null
+<?
+function show_all_news() {
+ global $db_name,$db_handle
+ $query = "SELECT * from news ORDER BY id desc";
+
+ if (! $result = mysql_db_query($db_name,$query,$db_handle)) {
+ echo "MYSQL ERROR";
+ }
+?><br>ID - Title - Date<br><?
+ while($news = mysql_fetch_array($result))
+ {
+ echo $news["id"];
+ ?> - <?
+ echo $news["title"];
+ ?> - <?
+ echo date("F d, Y",$news["timestamp"]);
+ ?><br><?
+ }
+}
+
+function delete_news($id)
+{
+ global $db_name,$db_handle
+ $query = "delete from news where id = $id";
+
+ if (! $result = mysql_db_query($db_name,$query,$db_handle)) {
+ echo "MYSQL ERROR";
+ }
+ ?><br>News ID: <?
+ echo $id;
+ ?>Has been deleted<?
+}
+?>
--- /dev/null
+<?
+function show_news($limit=5) {
+ global $db_name,$db_handle;
+
+ $query = "SELECT * from news ORDER BY id desc LIMIT $limit";
+ $result = mysql_db_query($db_name,$query,$db_handle);
+
+ while($news = mysql_fetch_array($result))
+ {
+ ?><p><?
+ box_start($news["title"],date("F d, Y",$news["timestamp"])." <br>Posted by ".$news["author"],"90%");
+ echo $news["message"];
+ box_end();
+ }
+}
+
+function add_news($author,$title,$message) {
+ global $db_name,$db_handle;
+
+ $timestamp = time();
+ $query = "INSERT INTO news (timestamp,title,author,message) VALUES ('$timestamp','$title','$author','$message')";
+ $result = mysql_db_query($db_name,$query,$db_handle);
+ if (!$result)
+ print("MySQL Error: " . mysql_error());
+}
+
+?>
+
--- /dev/null
+<?
+function bloot_header($title)
+{
+ ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><?
+ ?><html><head><title>B L O O T B O T . <? echo $title;
+ ?></title><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><?
+ ?></head><body bgcolor="#333333" link="3333bb"><?
+ ?><table width="100%" border="0" cellspacing="0" cellpadding="3"><?
+ ?><tr><?
+ ?><td width="145" height="96"><a href="/"><?
+ ?><img src="/img/logo.gif" width="145" height="96" border="0"><?
+ ?></a></td><td valign="top"><?
+ ?><div align="right"><?
+ ?><font size="+3" color="#999999"><i><?
+ ?>The slowest and most bloated bot in the world</i><?
+ ?></font></div></td></tr><?
+ ?><tr> <td rowspan="2" valign="top"><?
+ bloot_menu();
+ ?><br><?
+ ?></td><?
+ ?><td valign="top" width="100%" height="412"><?
+}
+
+function bloot_menu()
+{
+ ?><table width="100%" border="0" cellspacing="0" cellpadding="3"><?
+ ?><tr bgcolor="#666666"> <?
+ ?><td colspan="2" height="23"><font color="#FFFFFF" size="+1"><center><b>Download</center><?
+ ?></b></font></td><?
+ ?></tr><?
+ ?><tr bgcolor="#999999"><?
+ ?><td colspan="2"><?
+ ?><b>Releases:</b><?
+ ?><p>CVS tarball<br><?
+ ?>[<a href="/pub/blootbot-cvs.tar.gz">HTTP</a> | <a href="ftp://blootbot.sourceforge.net/pub/blootbot/blootbot-cvs.tar.gz">FTP</a>]<br><?
+ ?><br><?
+ ?><p>1.2.0 [Stable] tarball<br><?
+ ?>[<a href="/pub/blootbot-1.2.0.tar.gz">HTTP</a> | <a href="ftp://blootbot.sourceforge.net/pub/blootbot/blootbot-1.2.0.tar.gz">FTP</a>]<br><?
+ ?><br><?
+ ?><p>1.1.0 [Old] tarball<br><?
+ ?>[<a href="/pub/blootbot-1.1.0.tar.gz">HTTP</a> | <a href="ftp://blootbot.sourceforge.net/pub/blootbot/blootbot-1.1.0.tar.gz">FTP</a>]<br><?
+ ?><br><?
+ ?><p>1.0.3 [Old] tarball<br><?
+ ?>[<a href="/pub/blootbot-1.0.3.tar.gz">HTTP</a> | <a href="ftp://blootbot.sourceforge.net/pub/blootbot/blootbot-1.0.3.tar.gz">FTP</a>]<br><?
+ ?><br><?
+ ?>CVS Development:<br><?
+ ?>CVS <A HREF="http://sourceforge.net/cvs/?group_id=8794">download</A> info<BR><?
+ ?>* Download CVS <a href="http://cvs.sourceforge.net/cvstarballs/blootbot-cvsroot.tar.gz">Backup</a><br><?
+ ?>* View <a href="http://cvs.sourceforge.net/viewcvs.py/blootbot/blootbot/"><?
+ ?> CVS Tree</a></p><?
+ ?></td><?
+ ?></tr><?
+ ?></table><?
+ ?><br><?
+ ?><table width="%" border="0" cellspacing="0" cellpadding="3"><?
+ ?><tr bgcolor="#666666"><?
+ ?><td colspan="2" height="23"><font color="#FFFFFF" size="+1"><b><center>Support</center><?
+ ?></b></font></td><?
+ ?></tr><?
+ ?><tr bgcolor="#999999"><?
+ ?><td colspan="2"><?
+ ?><p><b>Documentation:</b><br><?
+ ?><a href="/not.php">Installation<br><?
+ ?>FAQ<br><?
+ ?>Development</a><br><?
+ ?><b>E-mail:</b><br><?
+ ?><a href="http://sourceforge.net/support/?func=addsupport&group_id=8794">Request<?
+ ?> Support</a><br><?
+ ?><b>Other:</b> <br><?
+ ?><a href="http://sourceforge.net/bugs/?group_id=8794">BUG list</a><br><?
+ ?><a href="http://sourceforge.net/forum/?group_id=8794">Discussion<?
+ ?> Forum</a></p><?
+ ?></td><?
+ ?></tr><?
+ ?></table><?
+ ?><br><?
+ ?><table width="100%" border="0" cellspacing="0" cellpadding="3"><?
+ ?><tr bgcolor="#666666"><?
+ ?><td colspan="2" height="23"><font color="#FFFFFF" size="+1"><b><center>Development</center><?
+ ?></b></font></td><?
+ ?></tr><?
+ ?><tr bgcolor="#999999"><?
+ ?><td colspan="2"><?
+ ?><p>Report <a href="http://sourceforge.net/bugs/?func=addbug&group_id=8794"><?
+ ?> a BUG</a><br><?
+ ?>View <a href="pub/TODO"><?
+ ?> ToDo List</a><br><?
+ ?><a href="http://sourceforge.net/project/admin/?group_id=8794">Admin<?
+ ?></a></p><?
+ ?></td><?
+ ?></tr><?
+ ?></table><?
+}
+function bloot_footer()
+{
+ ?></td><?
+ ?></tr><?
+ ?><tr><?
+ ?><td valign="bottom" align="right"> <?
+ ?><p><font color="#FFFFFF"><b><i>Hosted by:</i></b></font><br><?
+ ?><a href="http://sourceforge.net"><?
+ ?><img src="http://sourceforge.net/sflogo.php?group_id=0&type=1" width="88" height="31" border="0"<?
+ ?>alt="SourceForge Logo"><?
+ ?></a> </p><?
+ ?></td><?
+ ?></tr><?
+ ?></table><?
+ ?><p> </p><?
+ ?></body><?
+ ?></html><?
+}
+
+function box_start($title,$author,$width)
+{
+ ?><table width="<? echo $width
+ ?>" border="0" cellspacing="0" cellpadding="3" align="center"><?
+ ?><tr bgcolor="#666666"><?
+ ?><td width="70%"><font color="#FFFFFF" size="+1"><? echo $title;
+ ?></font></td><?
+ ?><td width="100"><?
+ ?><div align="right"><i><font color="#333333"><? echo $author;
+ ?></font></i></div><?
+ ?></td><?
+ ?></tr><?
+ ?><tr bgcolor="#999999"><?
+ ?><td colspan="2"><?
+ ?><p><?
+}
+
+function box_end()
+{
+ ?></td><?
+ ?></tr><?
+ ?></table><?
+}
+
+?>
--- /dev/null
+<?
+ require("/home/groups/b/bl/blootbot/htdocs/inc/template.inc");
+ require("/home/groups/b/bl/blootbot/htdocs/inc/mysql.inc");
+ require("/home/groups/b/bl/blootbot/htdocs/inc/news.inc");
+
+ bloot_header("H O M E");
+ show_news();
+ bloot_footer();
+?>
--- /dev/null
+<?
+ require("/home/groups/b/bl/blootbot/htdocs/inc/template.inc");
+
+ bloot_header("H O M E");
+?>
+
+<? box_start("C O M I N G . S O O N","404","90%"); ?>
+The file you requested is not available, in fact it is coming soon. We will try to have
+ this up as soon as possible. We apologize for any inconvenience. If you feel you have
+ reached this page in error, please report it as a bug. Thank you.
+<? box_end(); ?>
+
+<?
+ bloot_footer();
+?>
--- /dev/null
+<HTML>
+<HEAD>
+<TITLE>intro</TITLE>
+</HEAD>
+<BODY bgcolor="#000000">
+<p align="center"><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
+ codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
+ ID=intro WIDTH=100% HEIGHT=100%>
+ <PARAM NAME=movie VALUE="intro.swf">
+ <PARAM NAME=quality VALUE=high>
+ <PARAM NAME=bgcolor VALUE=#000000>
+ <EMBED src="intro.swf" quality=high bgcolor=#000000 WIDTH=100% HEIGHT=100% TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
+ </EMBED>
+ </OBJECT><font color="#FFFFFF"><a href="/main.html">[SKIP INTRO]</a></font></p>
+<p align="center"> </p>
+<p align="center"> </p>
+<p align="center"><font color="#FFFFFF"><br>
+ Can't view this page? You need Macromedia flash to see our Flashey intro! <br>
+ However, if you don't want to download the plugin just <a href="/main.html">click
+ here</a> to skip it.</font></p>
+<p align="center"> </p>
+</BODY>
+</HTML>
--- /dev/null
+<html>
+<head>
+<title>B L O O T B O T . H O M E</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+</head>
+
+<body bgcolor="#333333" link="#333333">
+<table width="80%" border="0" cellspacing="0" cellpadding="3">
+ <tr>
+ <td width="145" height="96"><img src="logo.gif" width="145" height="96"></td>
+ <td valign="top">
+ <div align="right"><font size="+3" color="#999999"><i>The fastest, most
+ secure and<br>
+ sexiest MySQL bot around</i></font></div>
+ </td>
+ </tr>
+ <tr>
+ <td rowspan="2">
+ <table width="90%" border="0" cellspacing="0" cellpadding="3" align="center">
+ <tr bgcolor="#666666">
+ <td colspan="2" height="23"><font color="#FFFFFF" size="+1"><b>Download
+ </b></font></td>
+ </tr>
+ <tr bgcolor="#999999">
+ <td colspan="2">
+ <p>Development .tgz<br>
+ [<a href="/pub/blootbot-1.0.0.tgz">HTTP</a> | <a href="/not.html">FTP</a>]<br>
+ <br>
+ <a href="http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/blootbot/?cvsroot=blootbot">View
+ CVS Tree</a></p>
+ </td>
+ </tr>
+ </table>
+ <br>
+ <table width="90%" border="0" cellspacing="0" cellpadding="3" align="center">
+ <tr bgcolor="#666666">
+ <td colspan="2" height="23"><font color="#FFFFFF" size="+1"><b>Support
+ </b></font></td>
+ </tr>
+ <tr bgcolor="#999999">
+ <td colspan="2">
+ <p><b>Documentation:</b><br>
+ <a href="/not.html">Installation<br>
+ FAQ<br>
+ Development</a><br>
+ <b>E-mail:</b><br>
+ <a href="http://sourceforge.net/support/?func=addsupport&group_id=8794">Request
+ Support</a><br>
+ <b>Other:</b> <br>
+ <a href="http://sourceforge.net/bugs/?group_id=8794">BUG list</a><br>
+ <a href="http://sourceforge.net/forum/?group_id=8794">Discussion
+ Forum</a></p>
+ </td>
+ </tr>
+ </table>
+ <br>
+ <table width="90%" border="0" cellspacing="0" cellpadding="3" align="center">
+ <tr bgcolor="#666666">
+ <td colspan="2" height="23"><font color="#FFFFFF" size="+1"><b>Development
+ </b></font></td>
+ </tr>
+ <tr bgcolor="#999999">
+ <td colspan="2">
+ <p><a href="http://sourceforge.net/bugs/?func=addbug&group_id=8794">Report
+ a BUG</a><br>
+ <a href="http://sourceforge.net/pm/task.php?group_project_id=3207&group_id=8794&func=browse">View
+ ToDo List</a><br>
+ <a href="http://sourceforge.net/project/admin/?group_id=8794">Admin
+ </a></p>
+ </td>
+ </tr>
+ </table>
+ <br>
+ </td>
+ <td valign="top" height="276">
+ <table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
+ <tr>
+ <td><img src="news.gif" width="68" height="17"><br>
+ <font color="#333333">. </font></td>
+ </tr>
+ </table>
+ <table width="90%" border="0" cellspacing="0" cellpadding="3" align="center">
+ <tr bgcolor="#666666">
+ <td width="75%"><font color="#FFFFFF" size="+1"><b>7.27.00 -- Page Up!</b></font></td>
+ <td width="25%">
+ <div align="right"><i><font color="#333333"><a href="mailto:danny@opticaldelusion.org"><font color="#000000">GmLB</font></a></font></i></div>
+ </td>
+ </tr>
+ <tr bgcolor="#999999">
+ <td colspan="2">
+ <p>First I'd like to thank Sourceforge for hosting our page! Please
+ visit them and support the open source community :) Our CVS server
+ is up now, and will be the center of development. Lots of the scripts
+ are buggy so please, if you come across a bug, take a second to
+ report it! With your help we can get all of the source working flawlessly.</p>
+ <p>Thank you,<br>
+ --GmLB</p>
+ </td>
+ </tr>
+ </table>
+ <p> </p>
+ </td>
+ </tr>
+ <tr>
+ <td valign="bottom" align="right">
+ <p><font color="#FFFFFF"><b><i>Hosted by:</i></b></font><br>
+ <a href="http://sourceforge.net"> <img src="http://sourceforge.net/sflogo.php?group_id=0&type=1" width="88" height="31" border="0" alt="SourceForge Logo">
+ </a> </p>
+ </td>
+ </tr>
+</table>
+<p> </p>
+</body>
+</html>
--- /dev/null
+CVS COMMIT:
+
+
+
+TODO:
+ - make sure scheduler design is _right_ - it's broken'ish.
+ - debian BTS frontend "bugs"
+ - !country
+ - !dinstall
+ - support DCC SEND of factoid (listkeys/listvals) that matched.
+ - news: show total requested count, users "registered", users
+ "ignored"
+ - add notes about news redesign to accomodate individual items
+ read - need to add id's to each item too.
+ - debian bug lookup.
+ - bind DCC CHAT service to port.
+ - man perlipc, search for service.
+ - do forking aswell.
+ - debian: "find -2.4.1" does not work but 2.4.1 does?
+ - $debug var needed.
+ - check if debian downloading files are proper.
+ - verbose: say why config option was enabled/enabled.
+ - registered flags for users/channels
+ - end of DynaConfig.pl
+ - use in UserDCC.. warn if value is not in list.
+ - add &checkSet() or &_chanset();
+ - update sample.chan and sample.config
+ - attempt to move userDCC to hooks.
+ - need to modify parseCmdHooks for user flags?
+ - make timers below 5 or 10 mins non-random values.
+-- EFFORT 1.
+ - make IRC/Schedulers.pl work 100%.
+ - intervals must be multiple of the smallest one
+ - otherwise auto-fixed.
+ - make intervals chan-specific
+ - need to store info in $sched{$what}{$chan} =
+ time(); when last run or next run?
+----------------------------------------------------
+------------ FUTURE, NON-IMPORTANT
+ - <greycat> ~country ua
+ - <irq_w> xk: add it :) and my imdb feature :)
+ - <greycat> xk: and ~bugs :)
+ - stats to keep common words.
+ - "heh", "?", "lol", ":)", "hi"
+ - "HACKING" text file, documentation of where things start,
+ what "core" or reuseable functions are used and what for.
+ - web interface... learn php + tables.
+ - on join message - customizeable, option.
+ - addon to UserInfo but for channels?
+ - ^B's are removed (HOW?) from factoids.
+ - asking questions.... make more guesses
+ - throttling of "help topic": push-pull system of &msg().
+ - one key for berk db to show format...
+ - use autoloader properly.
+ - Module::<BLAH>::<CMD>
+ - make a global autoloader.
+ - support notification of author of deleted factoids,
+ - flag to hide owner of factoid.
+ - table data for DCC CHAT or misc table.
+ - DYNAMIC USER//CONFIGURATION FILE UPGRADE:
+ - finer granuality(sp) of userlist/ignore file
+ - <el_gore> apt, find netconfig -- merge similar files.
+ - and same files(1 per package) for multiple packages.
+ - merge partial similar paths together.
+ - do some test cases to confirm code actually works as
+ proposed.
+
+------------------- useless statistics
+- 20010420:
+[router] [~blootbot/src] # grep DEBUG `find -type f`| wc -l
+ 373
+[router] [~blootbot/src] # grep WARN `find -type f` | wc -l
+ 129
+[router] [~blootbot/src] # grep FIXME `find -type f` | wc -l
+ 35
+[router] [~blootbot/src] # grep status `find -type f` | wc -l
+ 386
+[router] [~blootbot/src] # grep ERROR `find -type f` | wc -l
+ 145
+