gaim/www

Initial import into CVS
chipx86
2002-09-26, Christian Hammond
88252774b05f
Parents a9ae07d0b0fd
Children 2b210e25fed4
Initial import into CVS
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/htdocs/sean/index.php Thu Sep 26 06:23:23 2002 -0400
@@ -0,0 +1,13 @@
+<?php
+ require "html.inc.php";
+
+ start_html("Sean's Page");
+
+ start_section("Sean's Page");
+?>
+Nothing yet.
+<?php end_section() ?>
+
+<?php
+ end_html();
+?>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/htdocs/win32/index.php Thu Sep 26 06:23:23 2002 -0400
@@ -0,0 +1,13 @@
+<?php
+ require "html.inc.php";
+
+ start_html("Gaim - Windows Development");
+
+ start_section("Welcome");
+?>
+Come by later this week.
+<?php end_section() ?>
+
+<?php
+ end_html();
+?>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inc/base.inc.php Thu Sep 26 06:23:23 2002 -0400
@@ -0,0 +1,9 @@
+<?php
+ require "config.inc.php";
+ require "html.inc.php";
+ require "plugins.inc.php";
+ require "users.inc.php";
+ require "sessions.inc.php";
+ require "utils.inc.php";
+ require "database.inc.php";
+?>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inc/config.inc.php Thu Sep 26 06:23:23 2002 -0400
@@ -0,0 +1,7 @@
+<?php
+ $sql_type = "mysql";
+ $sql_server = "localhost";
+ $sql_username = "chipx86";
+ $sql_password = "91uhj5";
+ $sql_database = "gaim";
+?>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inc/html.inc.halloween.php Thu Sep 26 06:23:23 2002 -0400
@@ -0,0 +1,236 @@
+<?php
+
+ require "version.inc.php";
+
+ $navigation = array(
+ "News" => array(
+ "URL" => "/index.php",
+ "PREFIX" => "news"
+ ),
+
+ "Documentation" => array(
+ "URL" => "/documentation.php",
+ "PREFIX" => "documentation"
+ ),
+
+ "Screen Shots" => array(
+ "URL" => "/screenshots.php",
+ "PREFIX" => "screenshots"
+ ),
+
+ "Downloads" => array(
+ "URL" => "/downloads.php",
+ "PREFIX" => "downloads"
+ ),
+
+ "Plugins" => array(
+ "URL" => "/plugins.php",
+ "PREFIX" => "plugins"
+ ),
+
+ "CVS Information" => array(
+ "URL" => "/cvs.php",
+ "PREFIX" => "cvsinfo"
+ ),
+
+ "Bug Reports" => array(
+ "URL" => "/bug.php",
+ "PREFIX" => "bugs"
+ ),
+
+ "Project Page" => array(
+ "URL" => "http://sourceforge.net/projects/gaim/",
+ "PREFIX" => "project"
+ ),
+
+ "Contact Information" => array(
+ "URL" => "/contactinfo.php",
+ "PREFIX" => "contactinfo"
+ )
+ );
+
+ $nav_count = count($navigation);
+
+
+ function start_html($title = "") {
+ global $HTTP_USER_AGENT;
+ global $current_version;
+
+ if ($title == "") {
+ $title = "gaim";
+ }
+ else {
+ $title .= " - gaim";
+ }
+
+ if (!strstr($HTTP_USER_AGENT, "Gecko") &&
+ !strstr($HTTP_USER_AGENT, "Mozilla/5")):
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<?php endif; ?>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <title><?php print $title; ?></title>
+ </head>
+ <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
+ <table border="0" width="100%" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="100%" valign="top">
+ <table border="0" cellspacing="0" cellpadding="0" width="100%">
+ <tr>
+ <td width="190" valign="top"><img src="/images/halloween/penguin2.gif" width="190" height="122" border="0" alt="gaim" /></td>
+ <td width="100%" align="right" valign="top">
+ <table border="0" cellspacing="0" cellpadding="0" width="180">
+ <tr>
+ <td width="1"><img src="/images/transpixel.gif" width="1" height="1"
+ border="0" alt="" /></td>
+ <td width="1"><img src="/images/transpixel.gif"
+ width="1" height="25" border="0" alt="" /></td>
+ <td width="119" valign="top"><img src="/images/halloween/links_tl.jpg"
+ width="119" height="25" border="0" alt="" /></td>
+ <td width="59" valign="top"><img src="/images/version.gif"
+ width="59" height="25" border="0" alt="Version <?php print $current_version ?>" /></td>
+ </tr>
+ <tr>
+ <td width="1"><img src="/images/transpixel.gif" width="1" height="110"
+ border="0" alt="" /></td>
+ <td width="1"><img src="/images/transpixel.gif"
+ width="1" height="80" border="0" alt="" /></td>
+ <td background="/images/halloween/links_bg.jpg" align="right"
+ valign="top" colspan="2">
+ <?php start_font() ?>
+ <a href="http://prdownloads.sourceforge.net/gaim/gaim-<?php
+ print $current_version ?>.tar.gz">Source Tarball</a>&nbsp;&nbsp;&nbsp;<br />
+ <a href="http://prdownloads.sourceforge.net/gaim/gaim-<?php
+ print $current_version ?>.tar.bz2">Source BZ2Ball</a>&nbsp;&nbsp;&nbsp;<br />
+ <a href="http://sourceforge.net/project/showfiles.php?group_id=235">Other Packages</a>&nbsp;&nbsp;&nbsp;<br />
+ <a href="/gaim-CVS.tar.gz">Nightly CVS Tree</a>&nbsp;&nbsp;&nbsp;<br />
+ <?php end_font() ?>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+<?php
+ start_font();
+ }
+
+ function end_html() {
+ global $PHP_SELF;
+ global $navigation, $nav_count;
+
+?>
+</font></td>
+ <td width="1" bgcolor="#000000"><img src="/images/transpixel.gif" width="1" height="1" border="0" alt="" /></td>
+ <td width="160" valign="top" bgcolor="#DD8304" align="center" ><img
+ src="/images/transpixel.gif" width="160" height="5" border="0" alt="" /><br /><?php
+
+ $navfound = false;
+
+ while (list($name, $data) = each($navigation)) {
+ print "<img\n";
+ print " src=\"/images/halloween/navbar/" . $data["PREFIX"];
+ print "_t.gif\"";
+ print " width=\"140\" height=\"35\" border=\"0\" alt=\"\" /><a\n";
+ print " href=\"" . $data["URL"] . "\"><img\n";
+ print " src=\"/images/halloween/navbar/" . $data["PREFIX"];
+
+ if (!$navfound && $data["URL"] == $PHP_SELF) {
+ $navfound = true;
+
+ print "_bh.gif";
+ }
+ else {
+ print "_b.gif";
+ }
+
+ print "\" width=\"140\" height=\"20\" border=\"0\"";
+ print " alt=\"$name\" /></a><br />";
+ }
+?>
+<br />
+<br />
+
+<p><b>Gaim is NOT endorsed by or affiliated with AOL</b></p>
+
+<p>
+ <a href="http://sourceforge.net/"><img
+ src="http://sourceforge.net/sflogo.php?group_id=235" width="88" height="31"
+ border="0" alt="SourceForge" /></a>
+</p>
+<br />
+</td>
+ </tr>
+ <tr>
+ <td colspan="3" bgcolor="#000000"><img src="/images/transpixel.gif" width="1" height="1" border="0" alt="" /></td>
+ </tr>
+ <tr>
+ <td colspan="3">
+ <blockquote>
+ <p><font size="-1">
+ "Dedicated to the near-memory of Rob Flynn. Let's start remembering
+ people while they're still alive." - Mark Spencer
+ </font></p>
+ <p><font size="-1">
+ Website design and development provided by
+ <a href="http://www.portaldesign.net/">Portal Web Design</a>.
+ </font></p>
+ </blockquote>
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
+<?php
+ }
+
+ function start_section($title, $date = "") {
+?>
+<table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="100%"><img src="/images/transpixel.gif" width="1" height="5" border="0" alt="" /></td>
+ <td width="10" rowspan="2" background="/images/news_left.gif" valign="top"><img src="/images/news_tl.gif" width="10" height="10" border="0" alt="" /></td>
+ <td background="/images/news_top.gif"><img src="/images/transpixel.gif" width="1" height="5" border="0" alt="" /></td>
+ </tr>
+ <tr>
+ <td nowrap="nowrap" valign="bottom"><?php start_font(-2); ?>&nbsp;&nbsp;<i><?php print $date; ?></i></font></td>
+ <td bgcolor="#F7C871" nowrap="nowrap"><?php start_font(); ?><b><?php print $title; ?></b>&nbsp;&nbsp;&nbsp;</font></td>
+ </tr>
+ <tr>
+ <td background="/images/date_bottom.gif"><img src="/images/transpixel.gif" width="1" height="5" border="0" alt="" /></td>
+ <td><img src="/images/news_mb.gif" width="10" height="5" border="0" alt="" /></td>
+ <td background="/images/news_bottom.gif"><img src="/iamges/transpixel.gif" width="1" height="5" border="0" alt="" /></td>
+ </tr>
+</table>
+<br />
+<table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="30"><img src="/images/transpixel.gif" width="30" height="1" border="0" alt="" /></td>
+ <td valign="top">
+<?php
+ start_font();
+ }
+
+ function end_section() {
+ end_font();
+?>
+</td>
+ <td width="30"><img src="/images/transpixel.gif" width="30" height="1" border="0" alt="" /></td>
+ </tr>
+</table>
+<br />
+<?php
+ }
+
+ function start_font($size = "-1") {
+ print "<font face=\"Verdana, Tahoma, Arial, Helvetica\"";
+ print " size=\"$size\">\n";
+ }
+
+ function end_font() {
+ print "</font>";
+ }
+?>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inc/html.inc.normal.php Thu Sep 26 06:23:23 2002 -0400
@@ -0,0 +1,255 @@
+<?php
+
+ require "version.inc.php";
+
+ $navigation = array(
+ "News" => array(
+ "URL" => "/index.php",
+ "PREFIX" => "news"
+ ),
+
+ "Documentation" => array(
+ "URL" => "/documentation.php",
+ "PREFIX" => "documentation"
+ ),
+
+ "Screen Shots" => array(
+ "URL" => "/screenshots.php",
+ "PREFIX" => "screenshots"
+ ),
+
+ "Downloads" => array(
+ "URL" => "/downloads.php",
+ "PREFIX" => "downloads"
+ ),
+
+ "Plugins" => array(
+ "URL" => "/plugins.php",
+ "PREFIX" => "plugins"
+ ),
+
+ "CVS Information" => array(
+ "URL" => "/cvs.php",
+ "PREFIX" => "cvsinfo"
+ ),
+
+ "Bug Reports" => array(
+ "URL" => "/bug.php",
+ "PREFIX" => "bugs"
+ ),
+
+ "Project Page" => array(
+ "URL" => "http://sourceforge.net/projects/gaim/",
+ "PREFIX" => "project"
+ ),
+
+ "Contact Information" => array(
+ "URL" => "/contactinfo.php",
+ "PREFIX" => "contactinfo"
+ )
+ );
+
+ $nav_count = count($navigation);
+
+
+ function start_html($title = "") {
+ global $HTTP_USER_AGENT;
+ global $current_version;
+
+ if ($title == "") {
+ $title = "gaim";
+ }
+ else {
+ $title .= " - gaim";
+ }
+
+ if (!strstr($HTTP_USER_AGENT, "Gecko") &&
+ !strstr($HTTP_USER_AGENT, "Mozilla/5")):
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<?php endif; ?>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <style type="text/css">
+ <!--
+ CODE, PRE { font-size: medium; }
+ TD {
+ font-family: Verdana, Tahoma, Arial;
+ font-size: medium;
+ }
+ -->
+ </style>
+ <title><?php print $title; ?></title>
+ </head>
+ <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
+ <table border="0" width="100%" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="100%" valign="top">
+ <table border="0" cellspacing="0" cellpadding="0" width="100%">
+ <tr>
+ <td width="190" valign="top"><img src="/images/penguin2.gif" width="190" height="122" border="0" alt="gaim" /></td>
+ <td width="100%" align="right" valign="top">
+ <table border="0" cellspacing="0" cellpadding="0" width="179">
+ <tr>
+ <td width="1"><img src="/images/transpixel.gif"
+ width="1" height="25" border="0" alt="" /></td>
+ <td width="119" valign="top"><img src="/images/links_tl.gif"
+ width="119" height="25" border="0" alt="" /></td>
+ <td width="59" valign="top"><img src="/images/version.gif"
+ width="59" height="25" border="0" alt="Version <?php print $current_version ?>" /></td>
+ </tr>
+ <tr>
+ <td width="1"><img src="/images/transpixel.gif"
+ width="1" height="80" border="0" alt="" /></td>
+ <td background="/images/links_bg.gif" align="right" valign="top"
+ colspan="2">
+ <img src="/images/transpixel.gif" width="1" height="5"
+ border="0" alt="" /><br />
+ <?php start_font() ?>
+ Source: [<a href="http://prdownloads.sourceforge.net/gaim/gaim-<?php
+ print $current_version ?>.tar.gz">tarball</a>,
+ <a href="http://prdownloads.sourceforge.net/gaim/gaim-<?php
+ print $current_version ?>.tar.bz2">bz2ball</a>]&nbsp;<br />
+ <a href="/cvs.php#nightly">Nightlies:</a>
+ <small>[<a href="/gaim-CVS.tar.gz">tarball</a>,
+ <a href="/gaim-CVS.i386.rpm">RPM</a>]&nbsp;<br />
+ <a href="http://sourceforge.net/project/showfiles.php?group_id=235">Other Packages</a>&nbsp;</small>&nbsp;<br />
+ <?php end_font() ?>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+<?php
+ start_font();
+ }
+
+ function end_html() {
+ global $PHP_SELF;
+ global $navigation, $nav_count;
+
+?>
+</font></td>
+ <td width="1" bgcolor="#000000"><img src="/images/transpixel.gif" width="1" height="1" border="0" alt="" /></td>
+ <td width="160" valign="top" bgcolor="#6486C1" align="center" ><img
+ src="/images/transpixel.gif" width="160" height="5" border="0" alt="" /><br /><?php
+
+ $navfound = false;
+
+ while (list($name, $data) = each($navigation)) {
+ print "<img\n";
+ print " src=\"/images/navbar/" . $data["PREFIX"] . "_t.gif\"";
+ print " width=\"140\" height=\"35\" border=\"0\" alt=\"\" /><a\n";
+ print " href=\"" . $data["URL"] . "\"><img\n";
+ print " src=\"/images/navbar/" . $data["PREFIX"];
+
+ if (!$navfound && $data["URL"] == $PHP_SELF) {
+ $navfound = true;
+
+ print "_bh.gif";
+ }
+ else {
+ print "_b.gif";
+ }
+
+ print "\" width=\"140\" height=\"20\" border=\"0\"";
+ print " alt=\"$name\" /></a><br />";
+ }
+?>
+<br />
+<br />
+
+<p><b>Gaim is NOT endorsed by or affiliated with AOL</b></p>
+
+<p>
+ <a href="http://sourceforge.net/"><img
+ src="http://sourceforge.net/sflogo.php?group_id=235" width="88" height="31"
+ border="0" alt="SourceForge" /></a>
+</p>
+<br />
+</td>
+ </tr>
+ <tr>
+ <td colspan="3" bgcolor="#000000"><img src="/images/transpixel.gif" width="1" height="1" border="0" alt="" /></td>
+ </tr>
+ <tr>
+ <td colspan="3">
+ <blockquote>
+ <p><font size="-1">
+ "Dedicated to the near-memory of Rob Flynn. Let's start remembering
+ people while they're still alive." - Mark Spencer
+ </font></p>
+ <p><font size="-1">
+ Website design and development provided by
+ <a href="http://www.portaldesign.net/">Portal Web Design</a>.<br />
+ Layout Copyright &copy; 2001-2002
+ <a href="http://www.portaldesign.net/">Portal Web Design</a>.
+ All rights reserved.
+ </font></p>
+ </blockquote>
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
+<?php
+ }
+
+ function start_section($title, $date = "", $doitalic = true) {
+?>
+<table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="100%"><img src="/images/transpixel.gif" width="1" height="5" border="0" alt="" /></td>
+ <td width="10" rowspan="2" background="/images/news_left.gif" valign="top"><img src="/images/news_tl.gif" width="10" height="10" border="0" alt="" /></td>
+ <td background="/images/news_top.gif"><img src="/images/transpixel.gif" width="1" height="5" border="0" alt="" /></td>
+ </tr>
+ <tr>
+ <td nowrap="nowrap" valign="bottom"><?php start_font(-2); ?>&nbsp;&nbsp;<?php
+ if ($do_italic)
+ print "<i>";
+
+ print $date;
+
+ if ($do_italic)
+ print "</i>";
+?></font></td>
+ <td bgcolor="#F7C871" nowrap="nowrap"><?php start_font(); ?><b><?php print $title; ?></b>&nbsp;&nbsp;&nbsp;</font></td>
+ </tr>
+ <tr>
+ <td background="/images/date_bottom.gif"><img src="/images/transpixel.gif" width="1" height="5" border="0" alt="" /></td>
+ <td><img src="/images/news_mb.gif" width="10" height="5" border="0" alt="" /></td>
+ <td background="/images/news_bottom.gif"><img src="/iamges/transpixel.gif" width="1" height="5" border="0" alt="" /></td>
+ </tr>
+</table>
+<br />
+<table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="30"><img src="/images/transpixel.gif" width="30" height="1" border="0" alt="" /></td>
+ <td valign="top">
+<?php
+ start_font();
+ }
+
+ function end_section() {
+ end_font();
+?>
+</td>
+ <td width="30"><img src="/images/transpixel.gif" width="30" height="1" border="0" alt="" /></td>
+ </tr>
+</table>
+<br />
+<?php
+ }
+
+ function start_font($size = "-1") {
+ print "<font face=\"Verdana, Tahoma, Arial, Helvetica\"";
+ print " size=\"$size\">\n";
+ }
+
+ function end_font() {
+ print "</font>";
+ }
+?>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inc/html.inc.php Thu Sep 26 06:23:23 2002 -0400
@@ -0,0 +1,8 @@
+<?php
+ if ($layout == "halloween") {
+ include "html.inc.halloween.php";
+ }
+ else {
+ include "html.inc.normal.php";
+ }
+?>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inc/version.inc.php Thu Sep 26 06:23:23 2002 -0400
@@ -0,0 +1,7 @@
+<?php
+ /*
+ * This variable will be inserted into the source tarball and bz2ball
+ * path. Update with every new release.
+ */
+ $current_version = "0.59.3";
+?>