openfirst-cvscommit Mailing List for openFIRST (Page 94)
Brought to you by:
xtimg
You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(41) |
Jun
(210) |
Jul
(39) |
Aug
(153) |
Sep
(147) |
Oct
(173) |
Nov
(81) |
Dec
(163) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(33) |
Feb
(18) |
Mar
|
Apr
(62) |
May
|
Jun
(100) |
Jul
(38) |
Aug
(58) |
Sep
(1) |
Oct
|
Nov
(25) |
Dec
(172) |
| 2005 |
Jan
(31) |
Feb
(12) |
Mar
(67) |
Apr
(92) |
May
(247) |
Jun
(34) |
Jul
(36) |
Aug
(192) |
Sep
(15) |
Oct
(42) |
Nov
(92) |
Dec
(4) |
| 2006 |
Jan
|
Feb
(21) |
Mar
|
Apr
|
May
|
Jun
(53) |
Jul
(7) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2007 |
Jan
|
Feb
|
Mar
(4) |
Apr
(4) |
May
|
Jun
(15) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <xt...@us...> - 2003-06-21 21:01:25
|
Update of /cvsroot/openfirst/base/config
In directory sc8-pr-cvs1:/tmp/cvs-serv31075
Modified Files:
first.php
Log Message:
Fix double-footer problem
Index: first.php
===================================================================
RCS file: /cvsroot/openfirst/base/config/first.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** first.php 21 Jun 2003 15:48:35 -0000 1.2
--- first.php 21 Jun 2003 21:01:23 -0000 1.3
***************
*** 90,94 ****
");
showlogin();
! include("$footer");
} else {
if(is_readable("config/headers.php")) {
--- 90,94 ----
");
showlogin();
! die(include("$footer"));
} else {
if(is_readable("config/headers.php")) {
|
|
From: <xt...@us...> - 2003-06-21 20:42:08
|
Update of /cvsroot/openfirst/base/config
In directory sc8-pr-cvs1:/tmp/cvs-serv28922
Modified Files:
install.php
Log Message:
Eliminate debugging messages
Index: install.php
===================================================================
RCS file: /cvsroot/openfirst/base/config/install.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** install.php 21 Jun 2003 20:07:06 -0000 1.3
--- install.php 21 Jun 2003 20:42:04 -0000 1.4
***************
*** 77,82 ****
echo("<br /> <input type='checkbox' name='$dir'>$sqlf - $dir</input>");
if($_POST[$dir] == "on") {
- // This doesn't quite work. I'm not sure why.
- echo getcwd();
$filename = "$file/setup/$fil";
$sf = fopen($filename, "r");
--- 77,80 ----
***************
*** 84,88 ****
while($line = fgets($sf, 4096)) {
if(substr($line, 0, 2) != "--" && substr($line, 0, 1) != "#" && strlen($line) > 0) {
- echo $line;
$q = mysql_query(trim($line));
}
--- 82,85 ----
|
|
From: <xt...@us...> - 2003-06-21 20:07:08
|
Update of /cvsroot/openfirst/base/config
In directory sc8-pr-cvs1:/tmp/cvs-serv24359
Modified Files:
install.php
Log Message:
Allow use of installer on systems without the glob() functions, as a result of their sheer ubiquitousness.
Index: install.php
===================================================================
RCS file: /cvsroot/openfirst/base/config/install.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** install.php 21 Jun 2003 15:48:35 -0000 1.2
--- install.php 21 Jun 2003 20:07:06 -0000 1.3
***************
*** 34,38 ****
if($user->membertype == "administrator") {
! ?>
<h1>SQL Install</h1>
--- 34,38 ----
if($user->membertype == "administrator") {
! ?>
<h1>SQL Install</h1>
***************
*** 43,46 ****
--- 43,47 ----
<form method="post" action="install.php">
<?php
+
if(function_exists(glob)) {
foreach (glob("../*/setup/*.mysql") as $filename) {
***************
*** 62,74 ****
}
} else {
! echo("<p>Sorry, but your version of PHP does not have the <b>glob</b> function required by
! this module. Please submit a bug report.</p>");
! }
?>
<br /><input type="submit" value="Create Tables" />
</form>
! <?php } else {
showlogin();
}
include($footer); ?>
--- 63,106 ----
}
} else {
! chdir("..");
! $handle=@opendir(getcwd());
! while ($file = readdir($handle)){
! if(is_dir("$file") && $file != "." && $file != "..") {
! $handl=@opendir(getcwd() . "/$file/setup/");
! while ($fil = @readdir($handl)){
! if($fil != ".." && $fil != "." && $fil != "") {
! $filename = "../$file/setup/$fil";
!
!
! $sqlf = str_replace(".", "-", str_replace(".mysql", "",substr(strrchr($filename, "/"), 1)));
! $dir = str_replace(".", "-", str_replace(".mysql", "", substr(strchr($filename, "/"), 1)));
! echo("<br /> <input type='checkbox' name='$dir'>$sqlf - $dir</input>");
! if($_POST[$dir] == "on") {
! // This doesn't quite work. I'm not sure why.
! echo getcwd();
! $filename = "$file/setup/$fil";
! $sf = fopen($filename, "r");
! $query = "";
! while($line = fgets($sf, 4096)) {
! if(substr($line, 0, 2) != "--" && substr($line, 0, 1) != "#" && strlen($line) > 0) {
! echo $line;
! $q = mysql_query(trim($line));
! }
! }
! echo(" - <b>Submitted, and added.</b>");
! fclose($sf);
! $filename = "../$file/setup/$fil";
! }}
! }}
! }
!
?>
<br /><input type="submit" value="Create Tables" />
</form>
! <?php } } else {
showlogin();
}
+
+
include($footer); ?>
|
|
From: <xt...@us...> - 2003-06-21 18:46:27
|
Update of /cvsroot/openfirst/awards
In directory sc8-pr-cvs1:/tmp/cvs-serv14292
Modified Files:
index.php
Log Message:
Begin conversion to proper standards.
Index: index.php
===================================================================
RCS file: /cvsroot/openfirst/awards/index.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** index.php 8 Jun 2003 01:49:34 -0000 1.1
--- index.php 21 Jun 2003 18:46:24 -0000 1.2
***************
*** 26,32 ****
*
*/
! include("../config/globals.php");
include($header);
! mysql_select_db("openFIRST",$sqlconnection);
// Query database for award information
--- 26,32 ----
*
*/
! include("../config/globals.php");
include($header);
! mysql_select_db($sqldatabase,$sqlconnection);
// Query database for award information
***************
*** 35,47 ****
?>
<h1>Team Awards</h1>
! <p align="center">This team has won <strong><?php echo $amount; ?></strong> award(s).</p>
!
! <table width="600" border="1" align="center" cellpadding="5" cellspacing="0" bordercolor="#999999">
! <tr bgcolor="#999999">
! <td width="32"> </td>
! <td width="209"><center><font color="#FFFFFF">Award Name</font><center></td>
! <td width="95"><center><font color="#FFFFFF">Event</font><center></td>
! <td width="84"><center><font color="#FFFFFF">Date</font><center></td>
! <td width="118"><center><font color="#FFFFFF">Recipient</font><center></td>
</tr>
<?php
--- 35,49 ----
?>
<h1>Team Awards</h1>
! <p>This team has won <strong><?php echo $amount; ?></strong> award(s).</p>
! <?php
! if($amount > 0) {
! ?>
! <table>
! <tr>
! <th> </th>
! <th>Award Name</th>
! <th>Event</th>
! <th>Date</th>
! <th>Recipient</th>
</tr>
<?php
***************
*** 49,53 ****
while($awards = mysql_fetch_object($query)){
?>
! <tr>
<td><img src="awards<?php echo $awards->Image; ?>.png" alt="<?php echo $awards->Image; ?>"></td>
<td><?php echo $awards->AwardName; ?></td>
--- 51,55 ----
while($awards = mysql_fetch_object($query)){
?>
! <tr>
<td><img src="awards<?php echo $awards->Image; ?>.png" alt="<?php echo $awards->Image; ?>"></td>
<td><?php echo $awards->AwardName; ?></td>
***************
*** 58,60 ****
<? } ?>
</table>
! <?php include($footer); ?>
--- 60,64 ----
<? } ?>
</table>
! <?php
! }
! include($footer); ?>
\ No newline at end of file
|
|
From: <dav...@us...> - 2003-06-21 17:51:08
|
Update of /cvsroot/openfirst/base/images In directory sc8-pr-cvs1:/tmp/cvs-serv7101 Added Files: openfirst-small.png openfirst.png poweredby-small.png poweredby.png w3c401.png Log Message: initial upload |
Update of /cvsroot/openfirst/base/images In directory sc8-pr-cvs1:/tmp/cvs-serv6158 Removed Files: Thumbs.db openfirst-small.png openfirst.png poweredby-small.png poweredby.png w3c401.png Log Message: Remove 'images' which only contained the text: .PNG. Dave will soon try again to commit the proper images. --- Thumbs.db DELETED --- --- openfirst-small.png DELETED --- --- openfirst.png DELETED --- --- poweredby-small.png DELETED --- --- poweredby.png DELETED --- --- w3c401.png DELETED --- |
|
From: <dav...@us...> - 2003-06-21 17:28:05
|
Update of /cvsroot/openfirst/base/config
In directory sc8-pr-cvs1:/tmp/cvs-serv4175
Modified Files:
headers.php
Log Message:
Minor changes to previous commit.
Index: headers.php
===================================================================
RCS file: /cvsroot/openfirst/base/config/headers.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** headers.php 21 Jun 2003 17:12:54 -0000 1.2
--- headers.php 21 Jun 2003 17:28:02 -0000 1.3
***************
*** 2,12 ****
<html>
<head>
- <meta content=
- "HTML Tidy for Windows (vers 1st February 2003), see www.w3.org"
- name="generator">
<title>
Untitled Document
</title>
! <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css">
body {color: black; font-weight: bolder; font-size: 30px; font-family: sans-serif; text-decoration: none; text-align: center }
--- 2,13 ----
<html>
<head>
<title>
Untitled Document
</title>
! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
! <meta http-equiv="Content-Language" content="en-CA">
! <meta name="copyright" content="© 2003 openFIRST http://openfirst.sf.net.">
! <meta name="author" content="OpenFIRST - http://openfirst.sf.net">
! <meta name="generator" content="OpenFIRST - http://openfirst.sf.net">
<style type="text/css">
body {color: black; font-weight: bolder; font-size: 30px; font-family: sans-serif; text-decoration: none; text-align: center }
***************
*** 42,46 ****
<a class="menu" accesskey="h" href="openfirst.org"><u>H</u>ome</a> | »
<a class="menu" accesskey="d" href="downloads.openfirst.org"><u>D</u>ownloads</a>
! | » <a accesskey="R" class="menu" href="openfirst.org/releasenotes.php"><u>R</u>elease
Notes</a> | » <a accesskey="m" class="menu" href="modules.openfirst.org"><u>M</u>odules</a>
| » <a class="menu" accesskey="l" href="openfirst.org/license.php"><u>L</u>icense</a>
--- 43,47 ----
<a class="menu" accesskey="h" href="openfirst.org"><u>H</u>ome</a> | »
<a class="menu" accesskey="d" href="downloads.openfirst.org"><u>D</u>ownloads</a>
! | » <a accesskey="r" class="menu" href="http://openfirst.org/releasenotes.php"><u>R</u>elease
Notes</a> | » <a accesskey="m" class="menu" href="modules.openfirst.org"><u>M</u>odules</a>
| » <a class="menu" accesskey="l" href="openfirst.org/license.php"><u>L</u>icense</a>
|
|
From: <dav...@us...> - 2003-06-21 17:12:57
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv2400 Modified Files: footers.php headers.php Log Message: New openfirst design added. Index: footers.php =================================================================== RCS file: /cvsroot/openfirst/base/config/footers.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** footers.php 7 Jun 2003 16:11:31 -0000 1.1.1.1 --- footers.php 21 Jun 2003 17:12:54 -0000 1.2 *************** *** 1,22 **** ! <?php ! // This file contains the basic footer used throughout the site. ! ?> ! </div></td> ! </tr> ! </table> ! <table width="100%" border="0" cellspacing="0" cellpadding="6"> ! <tr> ! <td class="blue"> </td> ! </tr> ! </table> ! <p align="center">Copyright ! © 2002 All rights reserved by the openFIRST Development Team. <a href="/source.php?url=/index.php">Show ! Source</a></p> ! <p class="menu" align="center"><img ! src="http://openfirst.sourceforge.net/oflogo.php?img=poweredby&type=1" alt="Powered by openFIRST" title="Powered by openFIRST" width="168" height="27"> ! </p><p align="center"> ! <a href="http://sourceforge.net"> ! <img src="http://sourceforge.net/sflogo.php?group_id=78233&type=4" width="125" height="37" border="0" alt="SourceForge.net" title="SourceForge.net" /></a> ! <a class="menu" href="http://validator.w3.org/check/referer"><img border="0" src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!" height="31" width="88"></a></p> ! </body> ! </html> --- 1,26 ---- ! <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="6"> ! <tr> ! <td class="menu" background="<?php echo $basepath; ?>/images/back-light.gif"> ! <div> ! <div align="center">© Copyright 2002-2003 by the openFIRST Development ! Team </div> ! </div> ! </td> ! </tr> ! <tr> ! <td class="menu"> ! <div> ! <div align="right"><a href= ! "http://openfirst.sourceforge.net"><img src="<?php echo $basepath; ?>/images/poweredby-small.png" ! width="177" height="30" border="0"></a><a href= ! "http://validator.w3.org/check?uri=http%3A//openfirst.sourceforge.net/"> ! <img src="<?php echo $basepath; ?>/images/w3c401.png" width="88" height="31" ! border="0"></a> </div> ! </div> ! </td> ! </tr> ! </table> ! ! <p> </p> ! </body> ! </html> \ No newline at end of file Index: headers.php =================================================================== RCS file: /cvsroot/openfirst/base/config/headers.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** headers.php 7 Jun 2003 16:11:31 -0000 1.1.1.1 --- headers.php 21 Jun 2003 17:12:54 -0000 1.2 *************** *** 1,99 **** ! <?php ! // This file contains the basic header used throughout the site. ! ?> ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD ! HTML 4.01 Transitional//EN" ! "http://www.w3.org/TR/html4/loose.dtd"> ! <html lang="en"> ! <head> ! <title>openFIRST</title> ! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> ! <style type="text/css"> ! .menu:link ! {color:#FFFFFF;text-decoration:none;font-weight:1; ! font-size: 10pt;} ! .menu:visited ! {color:#FFFFFF;text-decoration:none;font-weight:1; ! font-size: 10pt;} ! .menu:active ! {color:#FFFFFF;text-decoration:none;font-weight:1; ! font-size: 10pt;} ! .menu:hover ! {color:#FFFFFF;background:Bold;text-decoration:underline;font-weight:2; ! font-size: 10pt;} ! body { margin : 0px; } ! h1 { color : #333366; font-family: arial; } ! h2 { color : #333366; font-family: arial; } ! h3 { color : #333366; font-family: arial; } ! h4 { color : #333366; font-family: arial; } ! h5 { color : #333366; font-family: arial; } ! h6 { color : #333366; font-family: arial; } ! .blue { background-color: #0099ff; color: #ffffff; ! font-family: Verdana, Arial, Helvetica, sans-serif; ! } ! .side { ! font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; ! } ! td { border-style: ridge;border-width: 1px;border-color: #cccccc; } ! p { ! font-family: Verdana, Arial, Helvetica, sans-serif; ! } ! </style> ! </head> ! <body> ! <table width="100%" border="0" cellspacing="0" cellpadding="6" summary="navigation"> ! <tr> ! <td><div align="left"> ! <img src="http://openfirst.sourceforge.net/oflogo.php?img=logo&type=1" alt="openFIRST" title="openFIRST" width="193" height="64"> ! <?php ! if (ISSET($header_condense)){ ! echo " <b>openFIRST Condensed Header Activated</b>"; ! } ! ?> ! </div></td> ! </tr> ! <tr> ! <td class="blue"><strong>openFIRST ! Portal System : </strong> <a class="menu" accesskey="n" href="http://sourceforge.net/news/?group_id=78233"><span style="text-decoration: underline;">N</span>ews</a> ! | <a class="menu" accesskey="d" href="http://openfirst.sourceforge.net/downloads.php"><span style="text-decoration: underline;">D</span>ownloads</a> ! | <a class="menu" accesskey="r" href="http://openfirst.sourceforge.net/release.php"><span style="text-decoration: underline;">R</span>elease ! Notes</a> | <a class="menu" accesskey="m" href="http://openfirst.sourceforge.net/modules/"><span style="text-decoration: underline;">M</span>odules</a> ! | <a class="menu" accesskey="l" href="http://openfirst.sourceforge.net/license.php"><span style="text-decoration: underline;">L</span>icense</a> ! | <a class="menu" accesskey="b" href="http://openfirst.sourceforge.net/bugreports.php"><span style="text-decoration: underline;">B</span>ug ! Reports</a> | <a class="menu" accesskey="c" href="http://openfirst.sourceforge.net/contact.php"><span style="text-decoration: underline;">C</span>ontact ! Us</a> | <a class="menu" accesskey="a" href="http://openfirst.sourceforge.net/about.php"><span style="text-decoration: underline;">A</span>bout ! openFIRST </a></td> ! </tr> ! </table> ! <table width="100%" border="0" summary="sidebar" cellspacing="0" cellpadding="3"> ! <tr> ! <?php if (! ISSET($header_condense)){ ?> ! <td style="background-color: #f0f0f0; vertical-align: top; width: 22%"> ! <h3>What is openFIRST?</h3> ! <p class="side"><a href="http://openfirst.sourceforge.net/">openFIRST</a> is an integrated set of modules which may be used together to create or ! enhance a web site. It is directed towards teams participating in the ! FIRST competition.</p> ! <h3>Developers?</h3> ! <p class="side">openFIRST ! is developed by a number of students from the FIRST Robotics competition ! teams ! <a href="http://www.portperryrobotics.ca/">#1006</a>, <a href="http://www.stmichaelscollege.ca/robotics/">#1049</a> ! and <a href="http://www.kineticknights.com/">#781</a>. ! You may <a href="http://openfirst.sourceforge.net/developers/"> read more about the developers</a>.</p> ! <h3>CVS Repository</h3> ! <p class="side">Source Forge provides ! <a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/openfirst/">Web ! access</a> ! to our CVS repository.</p> ! <h3>What is FIRST?</h3> ! <p class="side"> ! <acronym title="For Inspiration and Recognition of Science and Technology">FIRST</acronym> ! is the largest North American robotics competition ! that has over 800 teams and many competitions yearly.<br> ! <a href="http://www.usfirst.org"><img src="http://openfirst.sourceforge.net/oflogo.php?img=firstlogo&type=1" alt="FIRST" title="FIRST" width="200" height="75" border="0"></a> ! </p> ! </td> ! <?php } ?> ! <td width="78%" valign="top"><div align="left"> --- 1,68 ---- ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> ! <html> ! <head> ! <meta content= ! "HTML Tidy for Windows (vers 1st February 2003), see www.w3.org" ! name="generator"> ! <title> ! Untitled Document ! </title> ! <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> ! <style type="text/css"> ! body {color: black; font-weight: bolder; font-size: 30px; font-family: sans-serif; text-decoration: none; text-align: center } ! td { color: black; font-size: 12px; font-family: sans-serif; text-decoration: none } ! .heading { } ! a:link.menu { color: #cecece; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:visited.menu { color: #bebebe; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:active.menu { color: #cecece; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:hover.menu { color: #bed8ff; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:link { color: #999999; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:visited { color: #999999; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:active { color: #999999; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:hover { color: #999999; font-size: 12px; font-family: sans-serif; text-decoration: Underline } ! td {border-left:solid #999999 1px;border-right:solid #999999 1px;border-bottom:solid #999999 1px} ! table {border-left:solid #999999 1px;border-right:solid #999999 1px;border-bottom:solid #999999 1px} ! table.menu {border-left:0px;border-right:0px;border-bottom:0px} ! td.menu {border-left:0px;border-right:0px;border-bottom:0px} ! </style> ! </head> ! <body leftmargin="0" topmargin="0" marginwidth="0" ! marginheight="0"> ! <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="6"> ! <tr> ! ! <td class="menu"> <img src="<?php echo $basepath; ?>/images/openfirst.png"> ! </td> ! </tr> ! <tr> ! ! <td class="menu" background="<?php echo $basepath; ?>/images/back.gif"> <font color="#FFFFFF">» ! <a class="menu" accesskey="h" href="openfirst.org"><u>H</u>ome</a> | » ! <a class="menu" accesskey="d" href="downloads.openfirst.org"><u>D</u>ownloads</a> ! | » <a accesskey="R" class="menu" href="openfirst.org/releasenotes.php"><u>R</u>elease ! Notes</a> | » <a accesskey="m" class="menu" href="modules.openfirst.org"><u>M</u>odules</a> ! | » <a class="menu" accesskey="l" href="openfirst.org/license.php"><u>L</u>icense</a> ! | » <a class="menu" accesskey="b" href="openfirst.org/bugreports.php"><u>B</u>ug ! Reports</a> | » <a accesskey="c" class="menu" href="contactus.openfirst.org"><u>C</u>ontact ! Us</a> | » <a accesskey="a" class="menu" href="openfirst.org/aboutus.php"><u>A</u>bout ! openFIRST</a> | » <a class="menu" accesskey="e" href="openfirst.org/developers.php">D<u>e</u>velopers</a> ! </font> </td> ! </tr> ! <tr> ! <td class="menu" background="<?php echo $basepath; ?>/images/back-light.gif"> ! <table class="menu" width="100%" border="0" cellspacing="0" ! cellpadding="0"> ! <tr> ! <td class="menu" width="54%"> <font color="#333333"><strong>openFIRST ::</strong> ! Home System</font></td> ! <td class="menu" width="46%"> <div> ! <div align="right"><font color="#333333"> Currently <strong>27</strong> ! people previewing this website! </font></div> ! </div></td> ! </tr> ! </table> ! </td> ! </tr> ! </table> \ No newline at end of file |
Update of /cvsroot/openfirst/base/images In directory sc8-pr-cvs1:/tmp/cvs-serv2129 Added Files: back-light.gif back.gif developers-small.gif help.gif large.gif mmc.gif oflogo.gif openfirst-small.png openfirst.png poweredby-small.png poweredby.png small-warning-green.gif small-warning.gif Thumbs.db verytinyfirst.gif w3c401.png warning.gif web.gif Log Message: initial upload --- NEW FILE: back-light.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: back.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: developers-small.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: help.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: large.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mmc.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: oflogo.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: openfirst-small.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: openfirst.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: poweredby-small.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: poweredby.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: small-warning-green.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: small-warning.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Thumbs.db --- (This appears to be a binary file; contents omitted.) --- NEW FILE: verytinyfirst.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: w3c401.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: warning.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: web.gif --- (This appears to be a binary file; contents omitted.) |
|
From: <dav...@us...> - 2003-06-21 17:09:33
|
Update of /cvsroot/openfirst/base/images In directory sc8-pr-cvs1:/tmp/cvs-serv2031/images Log Message: Directory /cvsroot/openfirst/base/images added to the repository |
|
From: <xt...@us...> - 2003-06-21 15:54:57
|
Update of /cvsroot/openfirst/photogallery/setup In directory sc8-pr-cvs1:/tmp/cvs-serv25890 Modified Files: setup.mysql Log Message: Change MySQL script to conform with new standard. Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/photogallery/setup/setup.mysql,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** setup.mysql 8 Jun 2003 02:40:59 -0000 1.1 --- setup.mysql 21 Jun 2003 15:54:51 -0000 1.2 *************** *** 1,9 **** ! CREATE TABLE `ofirst_galleries` ( ! `ID` tinyint(3) unsigned NOT NULL auto_increment, ! `GalleryName` tinytext, ! `Author` text, ! `Date` time(10) NOT NULL, ! `Description` text, ! `NumPhotos` tinyint(6) unsigned default '0', ! PRIMARY KEY (`ID`) ! ) TYPE=MyISAM; \ No newline at end of file --- 1 ---- ! CREATE TABLE `ofirst_galleries` (`ID` tinyint(3) unsigned NOT NULL auto_increment, `GalleryName` tinytext, `Author` text, `Date` time(10) NOT NULL, `Description` text, `NumPhotos` tinyint(6) unsigned default '0', PRIMARY KEY (`ID`)) TYPE=MyISAM; |
|
From: <xt...@us...> - 2003-06-21 15:54:27
|
Update of /cvsroot/openfirst/news/setup In directory sc8-pr-cvs1:/tmp/cvs-serv25861 Removed Files: news.mysql Log Message: Change MySQL script to conform with new standard. --- news.mysql DELETED --- |
|
From: <xt...@us...> - 2003-06-21 15:53:27
|
Update of /cvsroot/openfirst/messenger/setup In directory sc8-pr-cvs1:/tmp/cvs-serv25719/setup Modified Files: setup.mysql Log Message: Change MySQL script to conform with new standard. Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/messenger/setup/setup.mysql,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** setup.mysql 21 Jun 2003 13:03:51 -0000 1.2 --- setup.mysql 21 Jun 2003 15:53:24 -0000 1.3 *************** *** 1,19 **** ! CREATE TABLE `ofirst_messages` ( ! `ID` int(6) unsigned NOT NULL auto_increment, ! `Sender` tinytext, ! `Receiver` tinytext, ! `Subject` tinytext, ! `Body` text, ! `Status` tinytext, ! `Date` tinytext, ! PRIMARY KEY (`ID`) ! ) TYPE=MyISAM; ! ! CREATE TABLE `ofirst_usersonline` ( ! `ID` int(6) unsigned NOT NULL auto_increment, ! `IPAddress` tinytext, ! `Location` tinytext, ! `Timestamp` text, ! `Member` tinytext, ! PRIMARY KEY (`ID`) ! ) TYPE=MyISAM; \ No newline at end of file --- 1,2 ---- ! CREATE TABLE `ofirst_messages` (`ID` int(6) unsigned NOT NULL auto_increment, `Sender` tinytext, `Receiver` tinytext, `Subject` tinytext, `Body` text, `Status` tinytext, `Date` tinytext, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! CREATE TABLE `ofirst_usersonline` (`ID` int(6) unsigned NOT NULL auto_increment, `IPAddress` tinytext, `Location` tinytext, `Timestamp` text, `Member` tinytext, PRIMARY KEY (`ID`)) TYPE=MyISAM; |
|
From: <xt...@us...> - 2003-06-21 15:52:10
|
Update of /cvsroot/openfirst/manual/setup In directory sc8-pr-cvs1:/tmp/cvs-serv25515/setup Modified Files: setup.mysql Log Message: Change MySQL script to conform with new standard. Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/manual/setup/setup.mysql,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** setup.mysql 8 Jun 2003 02:26:54 -0000 1.1 --- setup.mysql 21 Jun 2003 15:52:07 -0000 1.2 *************** *** 1,12 **** ! CREATE table ofirst_manual ( ! title TEXT, ! functionname TEXT, ! maintainer TEXT, ! creator TEXT, ! ID int(6) unsigned NOT NULL auto_increment, ! chapter int(3), ! description TEXT, ! notes TEXT, ! syntax TEXT, ! PRIMARY KEY (`ID`) ! ); --- 1 ---- ! CREATE table ofirst_manual (title TEXT, functionname TEXT, maintainer TEXT, creator TEXT, ID int(6) unsigned NOT NULL auto_increment, chapter int(3), description TEXT, notes TEXT, syntax TEXT, PRIMARY KEY (`ID`)); |
|
From: <xt...@us...> - 2003-06-21 15:51:40
|
Update of /cvsroot/openfirst/logger/setup In directory sc8-pr-cvs1:/tmp/cvs-serv25409/setup Modified Files: setup.mysql Log Message: Change MySQL script to conform with new standard. Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/logger/setup/setup.mysql,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** setup.mysql 8 Jun 2003 02:23:08 -0000 1.1 --- setup.mysql 21 Jun 2003 15:51:37 -0000 1.2 *************** *** 1,10 **** ! CREATE TABLE `ofirst_logger` ( ! `ID` int(6) unsigned NOT NULL auto_increment, ! `IPAddress` tinytext, ! `Date` tinytext, ! `Location` tinytext, ! `QueryString` tinytext, ! `HostLookup` tinytext, ! `Browser` tinytext, ! PRIMARY KEY (`ID`) ! ) TYPE=MyISAM; \ No newline at end of file --- 1 ---- ! CREATE TABLE `ofirst_logger` (`ID` int(6) unsigned NOT NULL auto_increment, `IPAddress` tinytext, `Date` tinytext, `Location` tinytext, `QueryString` tinytext, `HostLookup` tinytext, `Browser` tinytext, PRIMARY KEY (`ID`)) TYPE=MyISAM; |
|
From: <xt...@us...> - 2003-06-21 15:51:15
|
Update of /cvsroot/openfirst/guestbook/setup In directory sc8-pr-cvs1:/tmp/cvs-serv25328/setup Modified Files: setup.mysql Log Message: Change MySQL script to conform with new standard. Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/guestbook/setup/setup.mysql,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** setup.mysql 8 Jun 2003 02:17:47 -0000 1.1 --- setup.mysql 21 Jun 2003 15:51:07 -0000 1.2 *************** *** 1,14 **** ! CREATE TABLE ofirst_guestbook ( ! guest text, ! email text, ! ICQ text, ! AIM text, ! MSN text, ! YIM text, ! IRC text, ! webpage text, ! location text, ! comment text, ! date text, ! deletecode text ! ) TYPE=MyISAM; \ No newline at end of file --- 1 ---- ! CREATE TABLE ofirst_guestbook (guest text, email text, ICQ text, AIM text, MSN text, YIM text, IRC text, webpage text, location text, comment text, date text, deletecode text) TYPE=MyISAM; |
|
From: <xt...@us...> - 2003-06-21 15:50:39
|
Update of /cvsroot/openfirst/feedback/setup In directory sc8-pr-cvs1:/tmp/cvs-serv25275/setup Modified Files: setup.mysql Log Message: Change MySQL script to conform with new standard. Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/feedback/setup/setup.mysql,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** setup.mysql 21 Jun 2003 12:21:36 -0000 1.2 --- setup.mysql 21 Jun 2003 15:50:36 -0000 1.3 *************** *** 1,4 **** ! create table ofirst_feedbackusers ( ! name TEXT, ! email TEXT ! ); --- 1 ---- ! create table ofirst_feedbackusers (name TEXT, email TEXT); |
|
From: <xt...@us...> - 2003-06-21 15:50:16
|
Update of /cvsroot/openfirst/emoticon/setup
In directory sc8-pr-cvs1:/tmp/cvs-serv25223/setup
Modified Files:
setup.mysql
Log Message:
Change MySQL script to conform with new standard.
Index: setup.mysql
===================================================================
RCS file: /cvsroot/openfirst/emoticon/setup/setup.mysql,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** setup.mysql 8 Jun 2003 02:06:08 -0000 1.1
--- setup.mysql 21 Jun 2003 15:50:12 -0000 1.2
***************
*** 1,9 ****
! CREATE TABLE ofirst_emoticon (
! ID tinyint(3) unsigned NOT NULL auto_increment,
! emoticon text,
! substitution text,
! PRIMARY KEY (ID)
! ) TYPE=MyISAM;
!
INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-)','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/smile.png\" alt=\":-)\" title=\":-)\" />');
INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-(','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/frown.png\" alt=\":-(\" title=\":-(\" />');
--- 1,3 ----
! CREATE TABLE ofirst_emoticon (ID tinyint(3) unsigned NOT NULL auto_increment, emoticon text, substitution text, PRIMARY KEY (ID)) TYPE=MyISAM;
INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-)','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/smile.png\" alt=\":-)\" title=\":-)\" />');
INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-(','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/frown.png\" alt=\":-(\" title=\":-(\" />');
***************
*** 444,446 ****
INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(pphs)','<img src=\"http://openfirst.sourceforge.net/image/minipphs.png\" alt=\"(pphs)\" title=\"(pphs)\" />');
INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(torch)','<img src=\"http://openfirst.sourceforge.net/image/minimascot.png\" alt=\"(torch)\" title=\"(torch)\" />');
! INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(first)','<img src=\"http://openfirst.sourceforge.net/image/icon/flag/first.png\" alt=\"(first)\" title=\"(first)\" />');
\ No newline at end of file
--- 438,440 ----
INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(pphs)','<img src=\"http://openfirst.sourceforge.net/image/minipphs.png\" alt=\"(pphs)\" title=\"(pphs)\" />');
INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(torch)','<img src=\"http://openfirst.sourceforge.net/image/minimascot.png\" alt=\"(torch)\" title=\"(torch)\" />');
! INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(first)','<img src=\"http://openfirst.sourceforge.net/image/icon/flag/first.png\" alt=\"(first)\" title=\"(first)\" />');
|
|
From: <xt...@us...> - 2003-06-21 15:49:36
|
Update of /cvsroot/openfirst/awards/setup In directory sc8-pr-cvs1:/tmp/cvs-serv25068/setup Modified Files: setup.mysql Log Message: Change MySQL script to conform with new standard. Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/awards/setup/setup.mysql,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** setup.mysql 8 Jun 2003 01:49:33 -0000 1.1 --- setup.mysql 21 Jun 2003 15:49:33 -0000 1.2 *************** *** 1,9 **** ! CREATE TABLE `ofirst_awards` ( ! `ID` int(6) unsigned NOT NULL auto_increment, ! `AwardName` tinytext, ! `Event` tinytext, ! `Date` date default NULL, ! `Recipient` tinytext, ! `Image` tinytext, ! PRIMARY KEY (`ID`) ! ) TYPE=MyISAM; \ No newline at end of file --- 1 ---- ! CREATE TABLE `ofirst_awards` (`ID` int(6) unsigned NOT NULL auto_increment, `AwardName` tinytext, `Event` tinytext, `Date` date default NULL, `Recipient` tinytext, `Image` tinytext, PRIMARY KEY (`ID`)) TYPE=MyISAM; |
|
From: <xt...@us...> - 2003-06-21 15:48:39
|
Update of /cvsroot/openfirst/base/config
In directory sc8-pr-cvs1:/tmp/cvs-serv24896/config
Modified Files:
auth.php first.php install.php
Log Message:
Fix miscellaneous bugs in base system.
Index: auth.php
===================================================================
RCS file: /cvsroot/openfirst/base/config/auth.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** auth.php 7 Jun 2003 16:11:31 -0000 1.1.1.1
--- auth.php 21 Jun 2003 15:48:35 -0000 1.2
***************
*** 48,61 ****
function membersmenu($membertype) {
// Show a members area menu.
! echo("<p><a href='$basepath/members'>Members Home</a> <a href='$basepath/awards/manage.php'>Manage Awards</a> <a href='$basepath/members/profile.php'>Members Profiles</a> <a href='$basepath/members/updateprofile.php'>Update Profile</a> <a href='$basepath/members/skills.php'>Update Skills</a> ");
if($membertype == "administrator") {
! echo("<a href='$basepath/members/sqlinstall.php'>Install SQL Tables</a>
! <a href='$basepath/members/adduser.php'>Add User</a>");
! if(is_readable("$basepath/news/addnews.php") == true) {
! echo(" <a href='$basepath/news/addnews.php'>Add news</a>");
}
}
- echo(" <a href='$basepath/members/logout.php'>Logout</a></p>");
return(0);
}
--- 48,68 ----
function membersmenu($membertype) {
+ global $basepath;
+ $basep = $basepath;
// Show a members area menu.
! echo("<p><a href='$basep/members'>Members Home</a>
!
! <a href='$basep/awards/admin/'>Manage Awards</a>
! <a href='$basep/members/profile.php'>Members Profiles</a>
! <a href='$basep/members/updateprofile.php'>Update Profile</a>
! <a href='$basep/members/skills.php'>Update Skills</a>
! <a href='$basep/members/logout.php'>Logout</a>");
if($membertype == "administrator") {
! echo("<br /><b>Admin</b>: <a href='$basep/config/'>Configuration Area</a> <a href='$basep/members/adduser.php'>Add User</a>");
! if(is_readable("$basep/news/addnews.php") == true) {
! echo(" <a href='$basep/news/addnews.php'>Add news</a>");
}
+ echo ("</p>");
}
return(0);
}
Index: first.php
===================================================================
RCS file: /cvsroot/openfirst/base/config/first.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** first.php 7 Jun 2003 16:11:32 -0000 1.1.1.1
--- first.php 21 Jun 2003 15:48:35 -0000 1.2
***************
*** 104,108 ****
<br />
<code>
! chmod 655 globals.php
</code></p>
");
--- 104,109 ----
<br />
<code>
! cd config
! <br />chmod 666 globals.php
</code></p>
");
***************
*** 142,147 ****
<tr><td>Mail From (the e-mail address that mail from the openFIRST site should appear to be
from</td><td><input type="text" name="mailfrom" value="no...@op..."></td></tr>
! <tr><td>The base path to the OpenFIRST software</td><td><input type="text" name="basepath"
! value="/openfirst/"></td></tr>
<tr><td></td><td><input type="submit" value="Set up OpenFIRST"></td></tr>
</form>
--- 143,151 ----
<tr><td>Mail From (the e-mail address that mail from the openFIRST site should appear to be
from</td><td><input type="text" name="mailfrom" value="no...@op..."></td></tr>
! <tr><td>The base path to the OpenFIRST software
! (example: http://openfirst.sourceforge.net<strong>/openfirst</strong>) this should not have a
! trailing slash.
! </td><td><input type="text" name="basepath"
! value="/openfirst"></td></tr>
<tr><td></td><td><input type="submit" value="Set up OpenFIRST"></td></tr>
</form>
Index: install.php
===================================================================
RCS file: /cvsroot/openfirst/base/config/install.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** install.php 7 Jun 2003 16:11:32 -0000 1.1.1.1
--- install.php 21 Jun 2003 15:48:35 -0000 1.2
***************
*** 44,61 ****
<?php
if(function_exists(glob)) {
! foreach (glob("../*/config/*.mysql") as $filename) {
! $sqlf = str_replace(".", "-", str_replace(".sql", "",substr(strrchr($filename, "/"), 1)));
! echo("<br /> <input type='checkbox' name='$sqlf'>$sqlf</input>");
! if($_POST[$sqlf] == "on") {
// This doesn't quite work. I'm not sure why.
$sf = fopen($filename, "r");
$query = "";
while($line = fgets($sf)) {
! if(substr($line, 0, 2) != "--" && substr($line, 0, 1) != "#") {
! $query = $query . $line;
}
}
- $q = mysql_query(trim($query));
echo(" - <b>Submitted, and added.</b>");
}
}
--- 44,62 ----
<?php
if(function_exists(glob)) {
! foreach (glob("../*/setup/*.mysql") as $filename) {
! $sqlf = str_replace(".", "-", str_replace(".mysql", "",substr(strrchr($filename, "/"), 1)));
! $dir = str_replace(".", "-", str_replace(".mysql", "", substr(strchr($filename, "/"), 1)));
! echo("<br /> <input type='checkbox' name='$dir'>$sqlf - $dir</input>");
! if($_POST[$dir] == "on") {
// This doesn't quite work. I'm not sure why.
$sf = fopen($filename, "r");
$query = "";
while($line = fgets($sf)) {
! if(substr($line, 0, 2) != "--" && substr($line, 0, 1) != "#" && strlen($line) > 0) {
! $q = mysql_query(trim($line));
}
}
echo(" - <b>Submitted, and added.</b>");
+ fclose($sf);
}
}
|
|
From: <xt...@us...> - 2003-06-21 15:41:19
|
Update of /cvsroot/openfirst/news/setup In directory sc8-pr-cvs1:/tmp/cvs-serv23962 Added Files: setup.mysql Log Message: Give news setup file the proper name --- NEW FILE: setup.mysql --- CREATE TABLE `ofirst_news` (`ID` int(6) unsigned NOT NULL auto_increment, `date` TINYTEXT, `poster` TINYTEXT, `title` TINYTEXT, `news` TEXT, PRIMARY KEY (`ID`)) Type=MyISAM; |
|
From: <xt...@us...> - 2003-06-21 13:09:36
|
Update of /cvsroot/openfirst/news In directory sc8-pr-cvs1:/tmp/cvs-serv6063 Modified Files: index.php Log Message: Fix minor errors in headers Index: index.php =================================================================== RCS file: /cvsroot/openfirst/news/index.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** index.php 8 Jun 2003 02:51:05 -0000 1.2 --- index.php 21 Jun 2003 13:09:33 -0000 1.3 *************** *** 1,5 **** <?php /* ! * openFIRST.news - news.php * * Copyright (C) 2003, --- 1,5 ---- <?php /* ! * openFIRST.news - index.php * * Copyright (C) 2003, |
|
From: <xt...@us...> - 2003-06-21 13:09:36
|
Update of /cvsroot/openfirst/news/admin
In directory sc8-pr-cvs1:/tmp/cvs-serv6063/admin
Modified Files:
index.php
Log Message:
Fix minor errors in headers
Index: index.php
===================================================================
RCS file: /cvsroot/openfirst/news/admin/index.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** index.php 8 Jun 2003 02:53:00 -0000 1.1
--- index.php 21 Jun 2003 13:09:33 -0000 1.2
***************
*** 1,5 ****
<?php
/*
! * openFIRST.news - index.php
*
* Copyright (C) 2003,
--- 1,5 ----
<?php
/*
! * openFIRST.news - admin/index.php
*
* Copyright (C) 2003,
***************
*** 26,30 ****
*
*/
! include("../config/globals.php");
include($header);
--- 26,30 ----
*
*/
! include("../../config/globals.php");
include($header);
|
|
From: <xt...@us...> - 2003-06-21 13:03:54
|
Update of /cvsroot/openfirst/messenger/setup In directory sc8-pr-cvs1:/tmp/cvs-serv5422/setup Modified Files: setup.mysql Log Message: Fix links, numerous spelling mistakes, die()'ing without showing footers and SQL scripts Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/messenger/setup/setup.mysql,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** setup.mysql 8 Jun 2003 02:35:30 -0000 1.1 --- setup.mysql 21 Jun 2003 13:03:51 -0000 1.2 *************** *** 1,3 **** ! CREATE TABLE `ofirst_messeges` ( `ID` int(6) unsigned NOT NULL auto_increment, `Sender` tinytext, --- 1,3 ---- ! CREATE TABLE `ofirst_messages` ( `ID` int(6) unsigned NOT NULL auto_increment, `Sender` tinytext, |
|
From: <xt...@us...> - 2003-06-21 13:03:54
|
Update of /cvsroot/openfirst/messenger
In directory sc8-pr-cvs1:/tmp/cvs-serv5422
Modified Files:
inbox.php index.php messenger.php newmsg.php viewmsg.php
Log Message:
Fix links, numerous spelling mistakes, die()'ing without showing footers and SQL scripts
Index: inbox.php
===================================================================
RCS file: /cvsroot/openfirst/messenger/inbox.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** inbox.php 6 Jun 2003 21:15:33 -0000 1.1.1.1
--- inbox.php 21 Jun 2003 13:03:51 -0000 1.2
***************
*** 32,43 ****
// If querystring delete is set with a value then delete the specified recordset
if (ISSET($_GET['DELETE'])){
! mysql_query("DELETE FROM ofirst_Messeges WHERE ID='".$_GET['DELETE']."'") or die(mysql_error());
! die("<br><br><br><center>Messege has been removed, thank you! [ <a href='inbox.php'>Inbox</a> ]");
}
?>
! <h1>Visitor Inbox for Messeging</h1>
! <p>[ <a href="inbox.php">Current Messeges For You </a>] [ <a href="viewLog.php">Members
! Login </a>] [ <a href="newmsg.php">Compose Messege </a>] [ <a href="usersonline.php">Online
Users </a>] <br><br><br><center><?php echo $usersonline."<br>".$usersonpage; ?><br>
<br></center>
--- 32,42 ----
// If querystring delete is set with a value then delete the specified recordset
if (ISSET($_GET['DELETE'])){
! mysql_query("DELETE FROM ofirst_messages WHERE ID='".$_GET['DELETE']."'") or die(mysql_error());
! die("<br><br><br><center>Message has been removed, thank you! [ <a href='inbox.php'>Inbox</a> ]");
}
?>
! <h1>Visitor Inbox for Messaging</h1>
! <p>[ <a href="inbox.php">Current Messages For You </a>] [ <a href="newmsg.php">Compose Message </a>] [ <a href="./">Online
Users </a>] <br><br><br><center><?php echo $usersonline."<br>".$usersonpage; ?><br>
<br></center>
***************
*** 51,78 ****
</tr>
<?php
! // Retrieve Messeges relating to the users IP address then loop through them
! $query = mysql_query("SELECT * FROM ofirst_Messeges WHERE Receiver = '$IP'");
! while($Messeges = mysql_fetch_object($query)){
! $queryuser = mysql_query("SELECT * FROM ofirst_usersonline WHERE IPAddress = '".$Messeges->Sender."'");
$senderinfo = mysql_fetch_object($queryuser);
?>
<tr>
! <td><img src="msg.png" alt="Messege"></td>
! <td><a href='viewmsg.php?ID=<?php echo $Messeges->ID; ?>'>
<?php
! if (empty($Messeges->Subject)){
echo "< No Subject >";
}else{
! echo $Messeges->Subject;
}
?>
</a></td>
! <td><?php echo date("F j, Y, g:i a",$Messeges->Date); ?></td>
<td>Visitor #<?php echo $senderinfo->ID; ?></td>
! <td>[ <a href='inbox.php?DELETE=<?php echo $Messeges->ID; ?>'> Delete </a> ]
! [ <a href="newmsg.php?REPLY=<?php echo $senderinfo->ID; ?>&SUBJECT=Re: <?php echo $Messeges->Subject; ?>">Reply</a> ]</td>
</tr>
<?php } ?>
--- 50,77 ----
</tr>
<?php
! // Retrieve Messages relating to the users IP address then loop through them
! $query = mysql_query("SELECT * FROM ofirst_messages WHERE Receiver = '$IP'");
! while($Messages = mysql_fetch_object($query)){
! $queryuser = mysql_query("SELECT * FROM ofirst_usersonline WHERE IPAddress = '".$Messages->Sender."'");
$senderinfo = mysql_fetch_object($queryuser);
?>
<tr>
! <td><img src="msg.png" alt="Message"></td>
! <td><a href='viewmsg.php?ID=<?php echo $Messages->ID; ?>'>
<?php
! if (empty($Messages->Subject)){
echo "< No Subject >";
}else{
! echo $Messages->Subject;
}
?>
</a></td>
! <td><?php echo date("F j, Y, g:i a",$Messages->Date); ?></td>
<td>Visitor #<?php echo $senderinfo->ID; ?></td>
! <td>[ <a href='inbox.php?DELETE=<?php echo $Messages->ID; ?>'> Delete </a> ]
! [ <a href="newmsg.php?REPLY=<?php echo $senderinfo->ID; ?>&SUBJECT=Re: <?php echo $Messages->Subject; ?>">Reply</a> ]</td>
</tr>
<?php } ?>
Index: index.php
===================================================================
RCS file: /cvsroot/openfirst/messenger/index.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** index.php 8 Jun 2003 02:35:30 -0000 1.1
--- index.php 21 Jun 2003 13:03:51 -0000 1.2
***************
*** 31,35 ****
?>
<h1>Current Online Users</h1>
! <p>[ <a href="inbox.php">Current Messeges For You </a>] [ <a href="viewLog.php">Members Login </a>] [ <a href="newmsg.php">Compose Messege </a>] [ <a href="usersonline.php">Online Users </a>]
<br><br>
<center><?php echo $usersonline."<br>".$usersonpage; ?></center>
--- 31,35 ----
?>
<h1>Current Online Users</h1>
! <p>[ <a href="inbox.php">Current Messages For You </a>] [ <a href="newmsg.php">Compose Message </a>] [ <a href="./">Online Users </a>]
<br><br>
<center><?php echo $usersonline."<br>".$usersonpage; ?></center>
***************
*** 52,56 ****
<td><?php if ($user->Member = "none"){ echo "Visiting Guest #".$user->ID; }else{ echo $user->Member; } ?></td>
<td><?php echo $user->Location; ?></td>
! <td>[ <a href="newmsg.php?REPLY=<?php echo $user->ID; ?>"> Messege User</a>
]</td>
</tr>
--- 52,56 ----
<td><?php if ($user->Member = "none"){ echo "Visiting Guest #".$user->ID; }else{ echo $user->Member; } ?></td>
<td><?php echo $user->Location; ?></td>
! <td>[ <a href="newmsg.php?REPLY=<?php echo $user->ID; ?>"> Message User</a>
]</td>
</tr>
Index: messenger.php
===================================================================
RCS file: /cvsroot/openfirst/messenger/messenger.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** messenger.php 6 Jun 2003 21:15:38 -0000 1.1.1.1
--- messenger.php 21 Jun 2003 13:03:51 -0000 1.2
***************
*** 55,59 ****
$query = mysql_query("SELECT * FROM ofirst_usersonline");
! $usersonline = "There are currently <b>".mysql_num_rows($query)."</b> persons on this website! [ <a href='usersonline.php'>View List</a> ]";
// Check how many people are previewing the same exact script location and put in user usable variable
--- 55,59 ----
$query = mysql_query("SELECT * FROM ofirst_usersonline");
! $usersonline = "There are currently <b>".mysql_num_rows($query)."</b> persons on this website! [ <a href='./'>View List</a> ]";
// Check how many people are previewing the same exact script location and put in user usable variable
***************
*** 62,86 ****
$usersonpage = "There are currently <b>".mysql_num_rows($page_query)."</b> viewing this page!";
! // Check if the user has any new Messeges
! $query = mysql_query("SELECT * FROM ofirst_Messeges WHERE Status = 'New' AND Receiver = '".$IP."'") or die(mysql_error());
! $Messeges = mysql_num_rows($query);
! // Update Messege status so they don't show after the person requests the next page
! mysql_query("UPDATE ofirst_Messeges SET Status = 'Read' WHERE Receiver = '".$IP."'") or die(mysql_error());
! // If there are one ore more then one Messeges then preview the Messege box
! if($Messeges >= 1){
?>
<table style="position: absolute; left: 306px; top: 64px; width: 384px; height: 19px" width="400" border="1" cellpadding="4" cellspacing="0" bordercolor="#666666" bgcolor="#CCCCCC">
<tr>
<td height="25" bgcolor="#999999"><div align="center"><font color="#FFFFFF">Private
! Messeging System Alert</font></div></td>
</tr>
<tr>
<td height="25"><p align="center"><br>
! <img src="<?php echo $home; ?>/messenger/msg.png" alt="Messege" width="28" height="25"> <br>
! You have <b><?php echo $Messeges; ?></b> new Messeges(s) in your visitor
inbox!<br>
<br>
--- 62,86 ----
$usersonpage = "There are currently <b>".mysql_num_rows($page_query)."</b> viewing this page!";
! // Check if the user has any new Messages
! $query = mysql_query("SELECT * FROM ofirst_messages WHERE Status = 'New' AND Receiver = '".$IP."'") or die(mysql_error());
! $Messages = mysql_num_rows($query);
! // Update Message status so they don't show after the person requests the next page
! mysql_query("UPDATE ofirst_messages SET Status = 'Read' WHERE Receiver = '".$IP."'") or die(mysql_error());
! // If there are one ore more then one Messages then preview the Message box
! if($Messages >= 1){
?>
<table style="position: absolute; left: 306px; top: 64px; width: 384px; height: 19px" width="400" border="1" cellpadding="4" cellspacing="0" bordercolor="#666666" bgcolor="#CCCCCC">
<tr>
<td height="25" bgcolor="#999999"><div align="center"><font color="#FFFFFF">Private
! Messaging System Alert</font></div></td>
</tr>
<tr>
<td height="25"><p align="center"><br>
! <img src="<?php echo $home; ?>/messenger/msg.png" alt="Message" width="28" height="25"> <br>
! You have <b><?php echo $Messages; ?></b> new Messages(s) in your visitor
inbox!<br>
<br>
Index: newmsg.php
===================================================================
RCS file: /cvsroot/openfirst/messenger/newmsg.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** newmsg.php 6 Jun 2003 21:15:32 -0000 1.1.1.1
--- newmsg.php 21 Jun 2003 13:03:51 -0000 1.2
***************
*** 30,37 ****
mysql_select_db($sqldatabase,$sqlconnection);
! // If the user has posted a send command then insert the Messege into the database
if (ISSET($_POST['send'])){
! mysql_query("INSERT INTO ofirst_messeges (Sender,Receiver,Subject,Body, Status, Date) values(
'".$IP."'
,'".$_POST['recip']."'
--- 30,37 ----
mysql_select_db($sqldatabase,$sqlconnection);
! // If the user has posted a send command then insert the Message into the database
if (ISSET($_POST['send'])){
! mysql_query("INSERT INTO ofirst_messages (Sender,Receiver,Subject,Body, Status, Date) values(
'".$IP."'
,'".$_POST['recip']."'
***************
*** 41,51 ****
,'".time()."')") or die("INSERT ERROR: ".mysql_error());
! die("<br><br><br><center>Messege has been sent! [ <a href='inbox.php'>Inbox</a> ]");
}
?>
<form method="POST" action="newmsg.php">
! <h1>Visitor Inbox for Messeging</h1>
! <p>[ <a href="inbox.php">Current Messeges For You </a>] [ <a href="viewLog.php">Members
! Login </a>] [ <a href="newmsg.php">Compose Messege </a>] [ <a href="usersonline.php">Online
Users </a>] <br>
<br>
--- 41,51 ----
,'".time()."')") or die("INSERT ERROR: ".mysql_error());
! echo("<br><br><br><center>Message has been sent! [ <a href='inbox.php'>Inbox</a> ]");
! die(include($footer));
}
?>
<form method="POST" action="newmsg.php">
! <h1>Visitor Inbox for Messaging</h1>
! <p>[ <a href="inbox.php">Current Messages For You </a>] [ <a href="newmsg.php">Compose Message </a>] [ <a href="./">Online
Users </a>] <br>
<br>
***************
*** 93,101 ****
<textarea name="body" cols="50" rows="10" id="body"></textarea>
<br>
! <font size="2">(HTML Messeges enabled)</font></td>
</tr>
<tr>
<td></td>
! <td><input name="send" type="submit" value="Send Messege"></td>
</tr>
</table>
--- 93,101 ----
<textarea name="body" cols="50" rows="10" id="body"></textarea>
<br>
! <font size="2">(HTML Messages enabled)</font></td>
</tr>
<tr>
<td></td>
! <td><input name="send" type="submit" value="Send Message"></td>
</tr>
</table>
Index: viewmsg.php
===================================================================
RCS file: /cvsroot/openfirst/messenger/viewmsg.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** viewmsg.php 6 Jun 2003 21:15:36 -0000 1.1.1.1
--- viewmsg.php 21 Jun 2003 13:03:51 -0000 1.2
***************
*** 32,46 ****
// Retrieve recordset based on querystring ID data, then preview the information
! $query = mysql_query("SELECT * FROM ofirst_Messeges WHERE ID='".$_GET['ID']."'") or die("SELECT: ".mysql_error());
$msg = mysql_fetch_object($query);
! // Retrieve user information based Messege information
$qsend = mysql_query("SELECT * FROM ofirst_usersonline WHERE IPAddress='".$msg->Sender."'") or die("SELECT: ".mysql_error());
$sender = mysql_fetch_object($qsend);
?>
! <h1>Viewing Messege</h1>
! <p>[ <a href="inbox.php">Current Messeges For You </a>] [ <a href="viewLog.php">Members
! Login </a>] [ <a href="newmsg.php">Compose Messege </a>] [ <a href="usersonline.php">Online
Users </a>] <br><br><br><center><?php echo $usersonline; ?><br>
<br></center>
--- 32,45 ----
// Retrieve recordset based on querystring ID data, then preview the information
! $query = mysql_query("SELECT * FROM ofirst_messages WHERE ID='".$_GET['ID']."'") or die("SELECT: ".mysql_error());
$msg = mysql_fetch_object($query);
! // Retrieve user information based Message information
$qsend = mysql_query("SELECT * FROM ofirst_usersonline WHERE IPAddress='".$msg->Sender."'") or die("SELECT: ".mysql_error());
$sender = mysql_fetch_object($qsend);
?>
! <h1>Viewing Message</h1>
! <p>[ <a href="inbox.php">Current Messages For You </a>] [ <a href="newmsg.php">Compose Message </a>] [ <a href="./">Online
Users </a>] <br><br><br><center><?php echo $usersonline; ?><br>
<br></center>
***************
*** 48,52 ****
<tr bgcolor="#999999">
<td width="25%"> </td>
! <td width="75%"><font color="#FFFFFF">Current Messege</font></td>
</tr>
<tr>
--- 47,51 ----
<tr bgcolor="#999999">
<td width="25%"> </td>
! <td width="75%"><font color="#FFFFFF">Current Message</font></td>
</tr>
<tr>
|