These files no longer seem to be used.
--- a/htdocs/bugtracker.php Sat Feb 11 13:04:58 2006 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,330 +0,0 @@
- require "base.inc.php";
- require "smilies.inc.php";
- require "Table.inc.php";
- $bug_data_file = $bug_data_dir . "/bugs.dat";
- $bug_lock_file = $bug_data_dir . "/bugs.lock";
- function build_bug_tracker_nav()
- global $action, $session;
- $buffer = "<b>List Bugs</b>";
- $buffer = "<a href=\"" . $session->localUrl($PHP_SELF) . "\">" .
- $buffer .= "<b>·</b> ";
- if ($action == "addbug")
- $buffer .= "<b>Add Bug</b>";
- $buffer .= "<a href=\"" . $session->localUrl($PHP_SELF) .
- "?action=addbug\">Add Bug</a>";
- $buffer .= "<b>·</b> ";
- $buffer .= "<a href=\"" . $session->localUrl("logout.php") .
- function lock_bug_file()
- while (file_exists($bug_lock_file))
- $fp = fopen($bug_lock_file, "w");
- function unlock_bug_file($fp)
- unlink($bug_lock_file);
- function add_bug($bugnum, $desc)
- /* Just In Case (TM) */
- $lock = lock_bug_file();
- if (!$fp = fopen($bug_data_file, "a"))
- print "There was an error opening $bug_data_file!";
- unlock_bug_file($lock);
- fwrite($fp, $bugnum . "\t" . $desc . "\n");
- unlock_bug_file($lock);
- header("Location: bugtracker.php");
- function display_add_bug()
- start_section("Add Bug", build_bug_tracker_nav(), false);
-<form method="get" action="bugtracker.php">
- <input type="hidden" name="action" value="addbug" />
- start_table(array("width" => "100%", "cellspacing" => 2,
- "cellpadding" => 0, "border" => 0));
- form_item("Bug Number", "bugnum", $bugnum, true, 10);
- form_item("Description", "desc", $desc, true, 50);
- start_td(array("colspan" => 2, "align" => "center"));
- <input type="submit" value="Submit" />
- function remove_bugs($bugs)
- print "No bugs were entered.\n";
- /* I know this algorithm sucks. It's slow. Deal with it :) */
- /* Build a little hashtable for the bugs */
- for ($i = 0; $i < count($bugs); $i++)
- $bug_table[$bugs[$i]] = 1;
- $lock = lock_bug_file();
- $lines = file($bug_data_file);
- if (!$fp = fopen($bug_data_file, "w"))
- print "There was an error opening $bug_data_file!";
- unlock_bug_file($lock);
- for ($i = 0; $i < count($lines); $i++)
- list($bugnum, $desc) = split("\t", $lines[$i], 2);
- if (!array_key_exists($bugnum, $bug_table))
- fwrite($fp, $bugnum . "\t" . $desc);
- unlock_bug_file($lock);
- function display_remove_bugs()
- setup_site("Remove Bugs");
- start_section("Remove Bugs", build_bug_tracker_nav(), false);
- print " Are you sure you want to remove the following bugs: ";
- $bug_count = count($bugs);
- for ($i = 0; $i < $bug_count; $i++)
- print "<b>" . $bugs[$i] . "</b>";
- if ($i < $bug_count - 1)
- <form method="post" action="bugtracker.php">
- <input type="hidden" name="action" value="removebug" />
- for ($i = 0; $i < $bug_count; $i++)
- print " <input type=\"hidden\" name=\"bugs[]\" value=\"";
- print $bugs[$i] . "\" />\n";
- <input type="submit" name="confirm" value="Yes" />
- <input type="submit" name="confirm" value="No" />
- function display_bugs()
- start_section("Bugs", build_bug_tracker_nav(), false);
- if (!file_exists($bug_data_file))
- print "<i>None. We're a bug-free Gaim!</i>";
- $lines = file($bug_data_file);
- $line_count = count($lines);
- print "<i>None. We're a bug-free Gaim!</i>";
-<form method="get" action="bugtracker.php">
- <input type="hidden" name="action" value="removebug" />
- $table = new Table(array("", "Bug Number", "Description"),
- $table->set_valignment(0, "top");
- $table->set_valignment(1, "top");
- $table->set_widths(array("20", "100", "100%"));
- for ($i = 0; $i < $line_count; $i++)
- list($bugnum, $desc) = split("\t", $lines[$i], 2);
- "<input type=\"checkbox\" name=\"bugs[]\" value=\"" .
- "<a href=\"http://sourceforge.net/tracker/index.php?" .
- "func=detail&aid=" . $bugnum . "&group_id=235&" .
- "\">" . $bugnum . "</a>",
- array("valign" => "top"),
- array("valign" => "top")
- <input type="reset" value="Clear Checks" />
- <input type="submit" value="Remove Bugs" />
- /* Beginning of the main code */
- if (!$users->logged_in() || !$users->is_active_user_admin())
- header("Location: login.php");
- if ($action == "addbug")
- if (isset($bugnum) && isset($desc))
- add_bug($bugnum, $desc);
- else if ($action == "removebug")
- header("Location: bugtracker.php");
--- a/htdocs/login.php Sat Feb 11 13:04:58 2006 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,139 +0,0 @@
- require "base.inc.php";
- if ($action == "resetpassword"):
- setup_site("Reset Password");
- start_section("Reset Password");
- Please enter your user. Your new password will be assigned to the address
-<form method="post" action="login.php">
- <input type="hidden" name="action" value="resetpassword" />
- <table align="center" border="0" cellspacing="5" cellpadding="0" width="100%">
- <td align="right" width="50%">
- <input type="text" name="user" />
- <input type="submit" value="Reset Password" />
- $info = $users->get_user_info_from_username($user);
- You do not appear to be a registered user. Please
- <a href="register.php">register</a> an account.
- $newpass = substr($info["PASSWORD"], 2, 8);
- $users->change_password($user, $newpass);
- /* E-mail the person */
- $email_address = $info["EMAIL"];
- mail($email_address, "Password reset",
- "Your password has been reset. Your new password is " .
- "From: nobody@gaim.sourceforge.net");
- Your password has been reset and mailed to
- <?php print htmlentities($email_address) ?>.
- Click <a href="<?php print $session->localUrl($PHP_SELF) ?>">here</a> to
- go back to the login page.
- elseif ($action == "login"):
- $ok = $users->login($user, $password);
- $userinfo = $users->get_user_info_from_username($user);
- if ($users->logged_in()):
- header("Location: " . $session->localUrl("members.php"));
- start_section("Log In");
-<form method="post" action="login.php">
- <input type="hidden" name="action" value="login" />
- Your login or password was invalid. Please try again.
- To log into your account, enter your user and password below. If you do
- not yet have an account, please
- <a href="<?php print $session->localUrl('register.php'); ?>">register</a> one.
- If you lost your password, click
- <a href="<?php print $session->localUrl($PHP_SELF) ?>?action=resetpassword">here</a>
- <table align="center" border="0" cellspacing="5" cellpadding="0">
- form_item("Username", "user", $user, $user_missing, 15, 15);
- form_item("Password", "password", $password, $password_missing, 15, 15);
- <div align="center"><input type="submit" value="Login" /></div>
--- a/htdocs/members.php Sat Feb 11 13:04:58 2006 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,90 +0,0 @@
- require "base.inc.php";
- require "themes.inc.php";
- require "Table.inc.php";
- if (!$users->logged_in()) {
- header("Location: login.php");
- setup_site("Members Area");
- start_section("The Water Cooler");
- start_table(array("cellspacing" => 0, "cellpadding" => 10, "border" => 0));
- start_td(array("valign" => "top"));
- print "<img src=\"/images/cool.png\" width=\"51\" height=\"76\"";
- print " border=\"0\" alt=\"Cool\" align=\"left\" />";
- You're here because you're cool. You have an account on the gaim website.
- <li><a href="plugins.php">Plugins</a></li>
- <li><a href="themes.php">Themes</a></li>
- start_section("Your Themes");
- $themes = new Themes();
- $user_themes = $themes->get_users_themes($users->get_active_user_id());
- if ($user_themes == "")
- print "<i>You have no themes.</i>";
- $table = new Table(array("", "Name", "Brief Description",
- "Version", "Page Views", "Downloads"),
- $table->set_widths(array("20", "20%", "50%", "10%", "10%", "10%"));
- $table->set_header_align(5, "right");
- while (list($id, $theme) = each($user_themes))
- $icon = $themes->get_icon($theme["THEME_ID"]);
- $icon = "<img src=\"/themes/icons/$icon\" border=\"0\" />";
- "<a href=\"themes.php?action=showtheme&id=$id\">" .
- $theme["NAME"] . "</a>",
- $theme["DOWNLOAD_COUNT"]
- array("valign" => "top"),
- array("valign" => "top"),
- array("valign" => "top"),
- array("valign" => "top", "align" => "right"),
- array("valign" => "top", "align" => "right")
--- a/htdocs/register.php Sat Feb 11 13:04:58 2006 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,106 +0,0 @@
- require "base.inc.php";
- setup_site("Register");
- if ($action == "join"):
- $ok = $users->register();
- start_section("You are a winner!");
- Congratulations! You can now enjoy all the happy and wonderful things that
- only priviledged members can participate in, such as fame, fortune, and the
- ability to post plugins to the Plugins page. Now please
- <a href="<?php print $session->localUrl('login.php'); ?>">login</a> with your
- new user and password to get started.
- start_section("Register an Account");
- <b>Note:</b> You have entered a username that somebody has already taken.
- Please choose a new one.
- You must enter in all the required information. Please fill in the information
- in <font color="#FF0000">red</font>, as well as your password again, to
- Please note that all fields marked with a red asterisk
- (<font color="#FF0000">*</font>) must be filled in!
-<form method="post" action="register.php">
- <input type="hidden" name="action" value="join" />
- start_section("Required Account Information");
- <table border="0" cellspacing="0" cellpadding="0" width="100%">
- form_item("Username", "user", $user, true, 15, 15);
- form_item("Password", "password", "", true, 15, 15);
- form_item("Password (again)", "password2", "", true, 15, 15);
- form_item("E-mail", "email", $email, true, "", 85);
- start_section("Optional Account Information");
- <table border="0" cellspacing="0" cellpadding="0" width="100%">
- form_item("First Name", "firstname", $firstname, false, "", 20);
- form_item("Last Name", "lastname", $lastname, false, "", 20);
- form_item("ICQ UIN", "icquin", $icquin, false, "", 20);
- form_item("AIM Screen Name", "aimname", $aimname, false, "", 40);
- form_item("Yahoo! Screen Name", "yahooname", $yahooname, false, "", 40);
- form_item("Jabber ID", "jabbername", $jabbername, false, "", 40);
- form_item("MSN Name", "msnname", $msnname, false, "", 40);
- form_item("Gadu-Gadu ID", "ggname", $ggname, false, "", 20);
- <input type="reset" value="Clear Fields" />
- <input type="submit" value="Register" />
--- a/htdocs/themes.php Sat Feb 11 13:04:58 2006 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-header("Location: http://sourceforge.net/tracker/?atid=746976&group_id=235&func=browse");