openfirst-cvscommit Mailing List for openFIRST (Page 98)
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-01 17:42:21
|
Update of /cvsroot/openfirst/members
In directory sc8-pr-cvs1:/tmp/cvs-serv14160
Modified Files:
sqlinstall.php
Log Message:
More informative message if glob does not exist.
Index: sqlinstall.php
===================================================================
RCS file: /cvsroot/openfirst/members/sqlinstall.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** sqlinstall.php 1 Jun 2003 15:15:13 -0000 1.3
--- sqlinstall.php 1 Jun 2003 17:42:18 -0000 1.4
***************
*** 41,44 ****
--- 41,45 ----
<form method="post" action="sqlinstall.php">
<?php
+ if(function_exists(glob)) {
foreach (glob("../*/*.sql") as $filename) {
$sqlf = str_replace(".", "-", str_replace(".sql", "",substr(strrchr($filename, "/"), 1)));
***************
*** 57,61 ****
}
}
!
?>
<br /><input type="submit" value="Create Tables" />
--- 58,65 ----
}
}
! } 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" />
|
|
From: <xt...@us...> - 2003-06-01 17:33:39
|
Update of /cvsroot/openfirst/members
In directory sc8-pr-cvs1:/tmp/cvs-serv10090
Modified Files:
auth.php
Log Message:
Remove session handling (moved to globals.php). If you are having problems, upgrade config module.
Index: auth.php
===================================================================
RCS file: /cvsroot/openfirst/members/auth.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** auth.php 1 Jun 2003 16:44:08 -0000 1.10
--- auth.php 1 Jun 2003 17:33:35 -0000 1.11
***************
*** 70,76 ****
// note of this so that components requiring them to log in are disabled.
-
- session_start();
-
if(isset($_SESSION['authcode'])) {
$authcode = $_SESSION['authcode'];
--- 70,73 ----
***************
*** 89,93 ****
$_SESSION["authcode"] = rand(1,50000000);
$aquery = mysql_query("UPDATE ofirst_members SET authcode='" . $_SESSION["authcode"] . "' WHERE user='" . $_POST["login"] . "';");
- session_write_close();
} else {
unset($user);
--- 86,89 ----
***************
*** 106,110 ****
$_SESSION["authcode"] = rand(1,50000000);
$aquery = mysql_query("UPDATE ofirst_members SET authcode='" . $_SESSION["authcode"] . "' WHERE user='" . $_POST["login"] . "';");
- session_write_close();
} else {
unset($user);
--- 102,105 ----
|
|
From: <xt...@us...> - 2003-06-01 17:30:18
|
Update of /cvsroot/openfirst/config
In directory sc8-pr-cvs1:/tmp/cvs-serv8364
Modified Files:
globals.php headers.php
Log Message:
Update globals to reflect recent changes to modules, and to include session starting and finishing.
Index: globals.php
===================================================================
RCS file: /cvsroot/openfirst/config/globals.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** globals.php 14 May 2003 11:32:44 -0000 1.7
--- globals.php 1 Jun 2003 17:30:13 -0000 1.8
***************
*** 2,7 ****
/*
* openFIRST globals.php
- * Last Modified:
- * Tim Ginn, April 13, 2003
*
* Copyright (C) 2003,
--- 2,5 ----
***************
*** 74,84 ****
// SQL database
//MODULE ACTIVATION - To activate any
! // of these modules simply remove the
! // double slashes in front.
! // include("../logger/logger.php");
! // include("../messanger/messanger.php");
! // include("../emoticon/emoticonf.php");
! // include("../members/auth.php");
?>
--- 72,103 ----
// SQL database
+ session_start();
+
//MODULE ACTIVATION - To activate any
! // of these modules simply extract them into the appropriate
! // directory. If they require SQL tables to set up, then
! // place double slashes infront of their repective include()
! // line, and set them up in the members area by logging in as
! // an administrator and selecting SQL Tables Install, then
! // remove the double slashes.
! if(file_exists("../logger/logger.php") == true) {
! include("../logger/logger.php");
! }
! if(file_exists("../messanger/messanger.php") == true) {
! include("../messanger/messanger.php");
! }
! if(file_exists("../emoticon/emoticonf.php") == true) {
! include("../emoticon/emoticonf.php");
! }
! if(file_exists("../members/auth.php") == true) {
! // Set the type of encryption to use for members passwords.
!
! $encryption = "crypt"; // You should probably leave this
! // available values are:
! // md5, sha1, crypt, crc32
! include("../members/auth.php");
! }
!
! session_write_close();
?>
Index: headers.php
===================================================================
RCS file: /cvsroot/openfirst/config/headers.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** headers.php 29 May 2003 01:30:35 -0000 1.9
--- headers.php 1 Jun 2003 17:30:14 -0000 1.10
***************
*** 57,61 ****
| <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="s" href="http://openfirst.sourceforge.net/screens.php"><span style="text-decoration: underline;">S</span>creenshots</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
--- 57,61 ----
| <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
|
|
From: <xt...@us...> - 2003-06-01 17:07:53
|
Update of /cvsroot/openfirst/members
In directory sc8-pr-cvs1:/tmp/cvs-serv25195
Modified Files:
auth.php
Log Message:
Fix some authentication errors.
Index: auth.php
===================================================================
RCS file: /cvsroot/openfirst/members/auth.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** auth.php 1 Jun 2003 16:17:37 -0000 1.9
--- auth.php 1 Jun 2003 16:44:08 -0000 1.10
***************
*** 26,29 ****
--- 26,30 ----
*
*/
+ if(isset($encryption) == false) { $encryption = "crypt"; }
mysql_select_db($sqldatabase,$sqlconnection);
***************
*** 75,91 ****
$authcode = $_SESSION['authcode'];
$query = mysql_query("SELECT * FROM ofirst_members WHERE authcode='$authcode';");
! if(mysql_errno != 0) {
$user = mysql_fetch_object($query);
! }
} elseif(isset($_POST["login"]) == true && isset($_POST["password"]) == true) {
$query = mysql_query("SELECT * FROM ofirst_members WHERE user='" . $_POST["login"] . "';");
!
$user = mysql_fetch_object($query);
-
if(mysql_num_rows($query) == 1) {
if(cryptpassword($_POST["password"], $encryption, $user->password) == $user->password) {
session_register("authcode");
! $_SESSION["authcode"] = sha1(rand(1,50000000));
$aquery = mysql_query("UPDATE ofirst_members SET authcode='" . $_SESSION["authcode"] . "' WHERE user='" . $_POST["login"] . "';");
session_write_close();
--- 76,108 ----
$authcode = $_SESSION['authcode'];
$query = mysql_query("SELECT * FROM ofirst_members WHERE authcode='$authcode';");
! if(mysql_errno() == 0 && mysql_num_rows($query) == 1) {
$user = mysql_fetch_object($query);
! } else {
! unset($_SESSION['authcode']);
!
! $query = mysql_query("SELECT * FROM ofirst_members WHERE user='" . $_POST["login"] . "';");
! if(mysql_errno() == 0) {
! $user = mysql_fetch_object($query);
! if(mysql_num_rows($query) == 1) {
! if(cryptpassword($_POST["password"], $encryption, $user->password) == $user->password) {
! session_register("authcode");
! $_SESSION["authcode"] = rand(1,50000000);
! $aquery = mysql_query("UPDATE ofirst_members SET authcode='" . $_SESSION["authcode"] . "' WHERE user='" . $_POST["login"] . "';");
! session_write_close();
! } else {
! unset($user);
! }
! }}
!
! }
} elseif(isset($_POST["login"]) == true && isset($_POST["password"]) == true) {
$query = mysql_query("SELECT * FROM ofirst_members WHERE user='" . $_POST["login"] . "';");
! if(mysql_errno() == 0) {
$user = mysql_fetch_object($query);
if(mysql_num_rows($query) == 1) {
if(cryptpassword($_POST["password"], $encryption, $user->password) == $user->password) {
session_register("authcode");
! $_SESSION["authcode"] = rand(1,50000000);
$aquery = mysql_query("UPDATE ofirst_members SET authcode='" . $_SESSION["authcode"] . "' WHERE user='" . $_POST["login"] . "';");
session_write_close();
***************
*** 93,103 ****
unset($user);
}
}
}
! if(mysql_errno() == 0) {
!
! } else {
// There was an error, check if it's because they didn't create the
// members table.
--- 110,119 ----
unset($user);
}
+ }
}
}
! if(mysql_errno() != 0) {
// There was an error, check if it's because they didn't create the
// members table.
|
|
From: <xt...@us...> - 2003-06-01 16:17:40
|
Update of /cvsroot/openfirst/members
In directory sc8-pr-cvs1:/tmp/cvs-serv17076
Modified Files:
auth.php
Log Message:
Fix errors occuring at first access before tables are created.
Index: auth.php
===================================================================
RCS file: /cvsroot/openfirst/members/auth.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** auth.php 1 Jun 2003 14:46:28 -0000 1.8
--- auth.php 1 Jun 2003 16:17:37 -0000 1.9
***************
*** 44,48 ****
function membersmenu($membertype) {
! echo("<p><a href='../members'>Members Home</a> <a href='../members/profile.php'>Members Profiles</a> <a href='../members/updateprofile.php'>Update Profile</a> <a href='../members/skills.php'>Update Skills</a> ");
if($membertype == "administrator") {
echo("<a href='../members/sqlinstall.php'>Install SQL Tables</a>
--- 44,48 ----
function membersmenu($membertype) {
! echo("<p><a href='../members'>Members Home</a> <a href='../awards/manage.php'>Manage Awards</a> <a href='../members/profile.php'>Members Profiles</a> <a href='../members/updateprofile.php'>Update Profile</a> <a href='../members/skills.php'>Update Skills</a> ");
if($membertype == "administrator") {
echo("<a href='../members/sqlinstall.php'>Install SQL Tables</a>
***************
*** 75,79 ****
$authcode = $_SESSION['authcode'];
$query = mysql_query("SELECT * FROM ofirst_members WHERE authcode='$authcode';");
! $user = mysql_fetch_object($query);
} elseif(isset($_POST["login"]) == true && isset($_POST["password"]) == true) {
--- 75,81 ----
$authcode = $_SESSION['authcode'];
$query = mysql_query("SELECT * FROM ofirst_members WHERE authcode='$authcode';");
! if(mysql_errno != 0) {
! $user = mysql_fetch_object($query);
! }
} elseif(isset($_POST["login"]) == true && isset($_POST["password"]) == true) {
***************
*** 135,138 ****
--- 137,142 ----
echo("<p>Members table has been created. Please login as <b>admin</b> using the password <b>openfirst</b>.</p>");
+ showlogin();
+ die();
} else {
die(mysql_error());
|
|
From: <xt...@us...> - 2003-06-01 15:15:17
|
Update of /cvsroot/openfirst/members
In directory sc8-pr-cvs1:/tmp/cvs-serv27988
Modified Files:
sqlinstall.php
Log Message:
Make an actual attempt at having the SQL tables work... this appears to work fine for me, could someone please test this on Windows? Do the slashes need to be the other way around for it?
Index: sqlinstall.php
===================================================================
RCS file: /cvsroot/openfirst/members/sqlinstall.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** sqlinstall.php 24 May 2003 18:33:44 -0000 1.2
--- sqlinstall.php 1 Jun 2003 15:15:13 -0000 1.3
***************
*** 41,60 ****
<form method="post" action="sqlinstall.php">
<?php
! if($ostype == "unix") {
! $sqlfiles = `ls -w1 ../*/*.sql`;
! } else {
! $sqlfiles = `dir ../*/*.sql`;
! }
! $sqlfiles = split("\n", $sqlfiles);
! for ($i=0; $i + 1 < count($sqlfiles); $i++) {
! $sqlf = str_replace(".", "", str_replace(".sql", "", substr(strrchr($sqlfiles[$i], "/"), 1)));
! echo("<br /> <input type='checkbox' name='$sqlf'>$sqlf</input>");
! if($_POST[$sqlf] == "on") {
! // This doesn't quite work. I'm not sure why.
! $query = mysql_query(`cat $sqlfiles[$i]`);
! echo(" - <b>Submitted.</b>");
! }
- }
?>
<br /><input type="submit" value="Create Tables" />
--- 41,61 ----
<form method="post" action="sqlinstall.php">
<?php
! foreach (glob("../*/*.sql") 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>");
! }
! }
?>
<br /><input type="submit" value="Create Tables" />
|
|
From: <xt...@us...> - 2003-06-01 14:46:32
|
Update of /cvsroot/openfirst/members
In directory sc8-pr-cvs1:/tmp/cvs-serv18866
Modified Files:
auth.php
Added Files:
updateprofile.php
Log Message:
Add user-level profile management functionality.
--- NEW FILE: updateprofile.php ---
<?php
/*
* openFIRST.members - updateprofile.php
*
* Copyright (C) 2003,
* openFIRST Project
* Original Author: Tim Ginn <tim...@po...>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
include("../config/globals.php");
include($header);
if(isset($user->user)) {
membersmenu($user->membertype);
if (isset($_POST["firstname"]) == true) {
$query = "UPDATE ofirst_members SET firstname='" . $_POST["firstname"] . "', lastname='" . $_POST["lastname"] . "'
, division='" . $_POST["division"] . "', year='" . $_POST["year"] . "', email='" . $_POST["email"] .
"', icq='" . $_POST["icq"] . "', aim='" . $_POST["aim"] . "', msn='" . $_POST["msn"] . "', yim='" .
$_POST["yim"] . "', signature='" . $_POST["signature"] . "', description='" . $_POST["description"] .
"', picturelocation='" . $_POST["picturelocation"] . "' WHERE user='$user->user';";
$q = mysql_query($query);
if(isset($_POST["password"]) == true && isset($_POST["cpassword"]) == true) {
if($_POST["password"] == $_POST["cpassword"] && $_POST["password"] != "") {
$query = mysql_query("UPDATE ofirst_members SET password='" . cryptpassword($_POST["password"], $encryption) ."' WHERE user='$user->user';");
echo("Password Changed.");
} elseif ($_POST["password"] != $_POST["cpassword"]) {
echo("The password and confirm password fields do not match.");
}
}
echo("Profile updated.");
}
?>
<h1>Update Profile</h1>
<p>You may use this page to update your members profile. You should also: <a
href="updateskills.php">update your skills list</a>.</p>
<form action='updateprofile.php' method='post'>
<table>
<tr><th>Heading</th><th>Content</th></tr>
<?php
echo("<tr><td>Username</td><td>$user->user</td></tr>
<tr><td>First Name</td><td><input type='text' name='firstname' value='$user->firstname' /></td></tr>
<tr><td>Last Name</td><td><input type='text' name='lastname' value='$user->lastname' /></td></tr>
<tr><td>Password</td><td><input type='password' name='password' value='' /></td></tr>
<tr><td>Confirm Password</td><td><input type='password' name='cpassword' value='' /></td></tr>
<tr><td>Division</td><td><input type='text' name='division' value='$user->division'></td></tr>
<tr><td>Year</td><td><input type='text' name='year' value='$user->year'></td></tr>
<tr><td>E-mail Address</td><td><input type='text' name='email' value='$user->email'></td></tr>
<tr><td>ICQ Number</td><td><input type='text' name='icq' value='$user->icq'></td></tr>
<tr><td>AIM Screenname</td><td><input type='text' name='aim' value='$user->aim'></td></tr>
<tr><td>MSN Messenger Address</td><td><input type='text' name='msn' value='$user->msn'></td></tr>
<tr><td>Yahoo! Instant Messenger Address</td><td><input type='text' name='yim' value='$user->yim'></td></tr>
<tr><td>Freeform Description</td><td><textarea name='description'>$user->description</textarea></td></tr>
<tr><td>Signature</td><td><textarea name='signature'>$user->signature</textarea></td></tr>
<tr><td>Picture Location</td><td><input type='text' name='picturelocation' value='$user->picturelocation'></td></tr>
");
?>
<tr><td></td><td><input type="submit" value="Update Profile"> <input type="reset" value="Reset Profile">
</table>
</form>
<?php } else {
showlogin();
}
include($footer); ?>
Index: auth.php
===================================================================
RCS file: /cvsroot/openfirst/members/auth.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** auth.php 1 Jun 2003 05:59:14 -0000 1.7
--- auth.php 1 Jun 2003 14:46:28 -0000 1.8
***************
*** 44,48 ****
function membersmenu($membertype) {
! echo("<p><a href='../members'>Members Home</a> <a href='../members/profile.php'>Members Profiles</a> <a href='../members/skills.php'>Update Skills</a> ");
if($membertype == "administrator") {
echo("<a href='../members/sqlinstall.php'>Install SQL Tables</a>
--- 44,48 ----
function membersmenu($membertype) {
! echo("<p><a href='../members'>Members Home</a> <a href='../members/profile.php'>Members Profiles</a> <a href='../members/updateprofile.php'>Update Profile</a> <a href='../members/skills.php'>Update Skills</a> ");
if($membertype == "administrator") {
echo("<a href='../members/sqlinstall.php'>Install SQL Tables</a>
|
|
From: <xt...@us...> - 2003-06-01 06:20:57
|
Update of /cvsroot/openfirst/members
In directory sc8-pr-cvs1:/tmp/cvs-serv11371
Modified Files:
auth.php profile.php
Log Message:
Add skill processing to profile.
Index: auth.php
===================================================================
RCS file: /cvsroot/openfirst/members/auth.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** auth.php 31 May 2003 17:00:48 -0000 1.6
--- auth.php 1 Jun 2003 05:59:14 -0000 1.7
***************
*** 44,49 ****
function membersmenu($membertype) {
! echo("<p><a
! href='../members'>Members Home</a> <a href='../members/profile.php'>Members Profiles</a> ");
if($membertype == "administrator") {
echo("<a href='../members/sqlinstall.php'>Install SQL Tables</a>
--- 44,48 ----
function membersmenu($membertype) {
! echo("<p><a href='../members'>Members Home</a> <a href='../members/profile.php'>Members Profiles</a> <a href='../members/skills.php'>Update Skills</a> ");
if($membertype == "administrator") {
echo("<a href='../members/sqlinstall.php'>Install SQL Tables</a>
Index: profile.php
===================================================================
RCS file: /cvsroot/openfirst/members/profile.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** profile.php 31 May 2003 17:00:48 -0000 1.2
--- profile.php 1 Jun 2003 05:59:14 -0000 1.3
***************
*** 119,124 ****
<h3>Skills</h3>
! <p>
! $q->skills
</p>
--- 119,144 ----
<h3>Skills</h3>
! <p>");
! function status($n) {
! if($n == "1") {
! return("Minimal Skill");
! } elseif($n == "2") {
! return("Not quite mediocre");
! } elseif($n == "3") {
! return("Mediocre");
! } elseif($n == "4") {
! return("Competent");
! } elseif($n == "5") {
! return("Above Average");
! } elseif($n == "6") {
! return("Professional");
! }
! }
! $skill = explode(",", $user->skills);
! for($y = 0; $y < count($skill); $y++) {
! $det = explode("|",$skill[$y]);
! echo("<br />$det[0] - " . status($det[1]));
! }
! echo("
</p>
|
|
From: <xt...@us...> - 2003-06-01 05:59:59
|
Update of /cvsroot/openfirst/members
In directory sc8-pr-cvs1:/tmp/cvs-serv11531
Added Files:
skills.php
Log Message:
Add skills chart to members module.
--- NEW FILE: skills.php ---
<?php
/*
* openFIRST.members - skills.php
*
* Copyright (C) 2003,
* openFIRST Project
* Original Author: Tim Ginn <tim...@po...>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
include("../config/globals.php");
include($header);
if(isset($user->user)) {
?>
<?php
membersmenu($user->membertype);
$skills = array('Languages', 'Computer-Programming', 'Hands-on-Skills', 'Fundraising',
'Creativity', 'Organization', 'Time-Management', 'Research', 'Computer-Aided-Design', 'Teaching',
'Mentorship');
if(isset($_POST["$skills[0]"]) == true) {
for($x=0; $x < count($skills); $x++) {
if (isset($_POST["$skills[$x]"]) == true) {
if($_POST["$skills[$x]"] > 0) {
$skilled = $skilled . $skills[$x] . "|" . $_POST["$skills[$x]"] . ",";
}
}
}
$query = "UPDATE ofirst_members SET skills='$skilled' WHERE user='$user->user';";
$q = mysql_query($query);
unset($q);
$query = "SELECT * FROM ofirst_members WHERE user='$user->user';";
$q = mysql_query($query);
$user = mysql_fetch_object($q);
echo("Updated Skills");
}
?>
<h1>Skills</h1>
<p>You may use this page to customize the listing of skills that you have. Having skills from
this list allows those interested in starting a project to locate all the people with the required
skills. It also allows those members who are new to a team to quickly find out who it is they
should talk to regarding what.</p>
<form action='skills.php' method='post'>
<table>
<tr><th>Skill Name</th><th>Proficiency</th></tr>
<?php
if(isset($user->skills) == true) {
$skill = explode(",", $user->skills);
for($y = 0; $y < count($skills); $y++) {
$set = "n";
for($x = 0; $x < count($skill); $x++) {
$det = explode("|",$skill[$x]);
if($det[0] == $skills[$y]) {
echo("<tr><td>$det[0]</td>");
echo("<td><select name='$det[0]'><option value='0'>No skill</option>");
if ($det[1] == "1") {
echo("<option value='1' selected='selected'>Minimal skill</option>");
} else {
echo("<option value='1'>Minimal skill</option>");
}
if ($det[1] == "2") {
echo("<option value='2' selected='selected'>Not quite mediocre</option>");
} else {
echo("<option value='2'>Not quite mediocre</option>");
}
if ($det[1] == "3") {
echo("<option value='3' selected='selected'>Mediocre</option>");
} else {
echo("<option value='3'>Mediocre</option>");
}
if ($det[1] == "4") {
echo("<option value='4' selected='selected'>Competent</option>");
} else {
echo("<option value='4'>Competent</option>");
}
if ($det[1] == "5") {
echo("<option value='5' selected='selected'>Above Average</option>");
} else {
echo("<option value='5'>Above Average</option>");
}
if ($det[1] == "6") {
echo("<option value='6' selected='selected'>Professional</option>");
} else {
echo("<option value='6'>Professional</option>");
}
echo("</select></td></tr>");
$set = "y";
}
}
if($set == "n") {
echo("<tr><td>$skills[$y]</td><td><select name='$skills[$y]'>
<option value='0' selected='selected'>No skill</option>
<option value='1'>Minimal</option>
<option value='2'>Not quite mediocre</option>
<option value='3'>Mediocre</option>
<option value='4'>Competent</option>
<option value='5'>Above Average</option>
<option value='6'>Professional</option>
</select>
</td></tr>");
}
}
} else {
echo("You do not have any skills set up.");
for($y = 0; $y < count($skills); $y++) {
echo("<tr><td>$skills[$y]</td><td><select name='$skills[$y]'>
<option value='0' selected='selected'>No skill</option>
<option value='1'>Minimal</option>
<option value='2'>Not quite mediocre</option>
<option value='3'>Mediocre</option>
<option value='4'>Competent</option>
<option value='5'>Above Average</option>
<option value='6'>Professional</option>
</select>
</td></tr>");
}
}
?>
<tr><td></td><td><input type="submit" value="Set skills"> <input type="reset" value="Reset skills">
</table>
</form>
<?php } else {
showlogin();
}
include($footer); ?>
|
|
From: <xt...@us...> - 2003-05-31 19:04:56
|
Update of /cvsroot/openfirst/guestbook
In directory sc8-pr-cvs1:/tmp/cvs-serv4302
Modified Files:
emoticons.php sign.php signthanks.php view.php
Log Message:
Switch to new database methods, use emoticon functions for emoticon listing, switch to more efficient variable usage
Index: emoticons.php
===================================================================
RCS file: /cvsroot/openfirst/guestbook/emoticons.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** emoticons.php 13 Apr 2003 21:04:43 -0000 1.2
--- emoticons.php 31 May 2003 19:04:53 -0000 1.3
***************
*** 1,3 ****
--- 1,31 ----
<?php
+ /*
+ *
+ * openFIRST.guestbook - emoticons.php
+ *
+ * Copyright (C) 2003,
+ * openFIRST Project
+ * Original Author: Tim Ginn <tim...@po...>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
include("../config/globals.php");
include("$header");
***************
*** 9,21 ****
<br /><a href="<?php echo($home); ?>">Return to main page</a> <a href="sign.php">Sign Guest Book</a> <a href="view.php">View Guest Book</a></p>
<?php
! $equery = "SELECT * FROM emoticons;";
! $eresult = mysql_db_query("$sqldatabase",$equery);
! if ($eresult) {
! echo("<ul>");
! while ($er = mysql_fetch_array($eresult)) {
! echo("<li>" . $er["emoticon"] . " " . $er["substitution"] . "</li>");
! }
! echo("</ul>");
! }
include("$footer");
--- 37,45 ----
<br /><a href="<?php echo($home); ?>">Return to main page</a> <a href="sign.php">Sign Guest Book</a> <a href="view.php">View Guest Book</a></p>
<?php
! if(function_exists(emoticon_preview)) {
! emoticon_preview();
! } else {
! echo("<p>Emoticons (smilies) are disabled.</p>");
! }
include("$footer");
Index: sign.php
===================================================================
RCS file: /cvsroot/openfirst/guestbook/sign.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** sign.php 13 Apr 2003 21:04:44 -0000 1.2
--- sign.php 31 May 2003 19:04:53 -0000 1.3
***************
*** 1,3 ****
--- 1,31 ----
<?php
+ /*
+ *
+ * openFIRST.guestbook - sign.php
+ *
+ * Copyright (C) 2003,
+ * openFIRST Project
+ * Original Author: Tim Ginn <tim...@po...>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
include("../config/globals.php");
include("$header");
***************
*** 9,20 ****
</p>
<form method="post" action="signthanks.php">
! <p><b>New Feature</b>: The full compliment of emoticons from
! <a href="http://www.trillian.cc/">Trillian</a> may
! be used in the comment area. In addition to this, there are a few icons
! like (tux) (win) (lin) (dos) and (mac). To insert a flag, use the
! country code followed by a -c, example for the Canadian flag: (ca-c).
! See <a href="emoticons.php">a complete listing of emoticons usable in
! the guestbook</a> for more information.
! </p>
<p>
<br /><img src="person.png" alt="Name: " /> Name <input type="text" name="guest" style="width: 300px;" />
--- 37,48 ----
</p>
<form method="post" action="signthanks.php">
! <?php
! if(function_exists(emoticon_translate)) {
! echo("<p>Emoticons (smilies) are enabled in your message. See <a href='emoticons.php'>a complete listing of
! emoticons usable in the guestbook</a> for more information. about the emoticons you may use.</p>");
! } else {
! echo("<p>Emoticons (smilies) are disabled in your message.</p>");
! }
! ?>
<p>
<br /><img src="person.png" alt="Name: " /> Name <input type="text" name="guest" style="width: 300px;" />
Index: signthanks.php
===================================================================
RCS file: /cvsroot/openfirst/guestbook/signthanks.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** signthanks.php 4 May 2003 12:19:28 -0000 1.3
--- signthanks.php 31 May 2003 19:04:53 -0000 1.4
***************
*** 1,3 ****
--- 1,31 ----
<?php
+ /*
+ *
+ * openFIRST.guestbook - signthanks.php
+ *
+ * Copyright (C) 2003,
+ * openFIRST Project
+ * Original Author: Tim Ginn <tim...@po...>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
include("../config/globals.php");
include("$header");
***************
*** 27,44 ****
}
- $guest = $_POST["guest"];
- $email = $_POST["email"];
- $icq = $_POST["icq"];
- $aim = $_POST["aim"];
- $msn = $_POST["msn"];
- $yim = $_POST["yim"];
- $irc = $_POST["irc"];
- $webpage = $_POST["webpage"];
- $location = $_POST["location"];
- $comment = $_POST["comment"];
- $now = date("D M j G:i:s T Y");
$deletecode = RandomPassword(16);
! $query = "INSERT INTO ofirst_guestbook VALUES('$guest', '$email', '$icq', '$aim', '$msn', '$yim', '$irc', '$webpage', '$location', '$comment', '$now', '$deletecode');";
$result = mysql_db_query("$sqldatabase",$query);
--- 55,61 ----
}
$deletecode = RandomPassword(16);
! $query = "INSERT INTO ofirst_guestbook VALUES('" . $_POST["guest"] . "', '" . $_POST["email"] . "', '" . $_POST["icq"] . "', '" . $_POST["aim"] . "', '" . $_POST["msn"] . "', '" . $_POST["yim"] . "', '" . $_POST["irc"] . "', '" . $_POST["webpage"] . "', '" . $_POST["location"] . "', '" . $_POST["comment"] . "', '" . date("D M j G:i:s T Y") . "', '$deletecode');";
$result = mysql_db_query("$sqldatabase",$query);
***************
*** 47,68 ****
deletecode=$deletecode
! Guest: $guest
! Now: $now
! E-mail: $email
! ICQ: $icq
! AIM: $aim
! MSN: $msn
! YIM: $yim
! IRC: $irc
! Webpage: $webpage
! Location:$location
Delete Code: $deletecode
! $comment",
"From: $mailfrom\r\n"
! ."Reply-To: $email\r\n"
);
! mail("$email", "Your Guestbook Posting", "Dear Guest,
Thank you for visiting our site and signing our guestbook. We hope you enjoyed it!
--- 64,85 ----
deletecode=$deletecode
! Guest: " . $_POST["guest"] . "
! Now: " . date("D M j G:i:s T Y") . "
! E-mail: " . $_POST["email"] . "
! ICQ: " . $_POST["icq"] . "
! AIM: " . $_POST["aim"] . "
! MSN: " . $_POST["msn"] . "
! YIM: " . $_POST["yim"] . "
! IRC: " . $_POST["irc"] . "
! Webpage: " . $_POST["webpage"] . "
! Location:" . $_POST["location"] . "
Delete Code: $deletecode
! " . $_POST["comment"] . "",
"From: $mailfrom\r\n"
! ."Reply-To: " . $_POST["email"] . "\r\n"
);
! mail("" . $_POST["email"] . "", "Your Guestbook Posting", "Dear Guest,
Thank you for visiting our site and signing our guestbook. We hope you enjoyed it!
***************
*** 72,76 ****
realize, or just want to delete your post, you can do so by going to the following address:
! http://$domain/guestbook/deleteentry.php?email=$email&deletecode=$deletecode
Thank you once again, and be sure to check in often as we are constantly making updates
--- 89,93 ----
realize, or just want to delete your post, you can do so by going to the following address:
! http://$domain/guestbook/deleteentry.php?email=" . $_POST["email"] . "&deletecode=$deletecode
Thank you once again, and be sure to check in often as we are constantly making updates
Index: view.php
===================================================================
RCS file: /cvsroot/openfirst/guestbook/view.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** view.php 4 May 2003 16:18:33 -0000 1.7
--- view.php 31 May 2003 19:04:53 -0000 1.8
***************
*** 1,6 ****
<?php
/*
! * Original author: Tim Ginn <tim...@po...>
! * GNU GPL Licensed.
*/
--- 1,29 ----
<?php
/*
! *
! * openFIRST.guestbook - view.php
! *
! * Copyright (C) 2003,
! * openFIRST Project
! * Original Author: Tim Ginn <tim...@po...>
! *
! * This program is free software; you can redistribute it and/or modify
! * it under the terms of the GNU General Public License as published by
! * the Free Software Foundation; either version 2 of the License, or
! * (at your option) any later version.
! *
! * This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY; without even the implied warranty of
! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! * GNU General Public License for more details.
! * This program is distributed in the hope that it will be useful,
! * but WITHOUT ANY WARRANTY; without even the implied warranty of
! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! * GNU General Public License for more details.
! *
! * You should have received a copy of the GNU General Public License
! * along with this program; if not, write to the Free Software
! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
! *
*/
***************
*** 12,47 ****
responsible for the content contained in this guestbook. The comments and
opinions expressed throughout the guestbook are those of the poster, and
! do not necessarily reflect those of Port Perry FIRST Robotics.
<br /><a href="<?php echo($home); ?>">Return to main page</a>
<a href="sign.php">Sign Guest Book</a></p>
<?php
$query = "SELECT * FROM ofirst_guestbook ORDER BY guest;";
! $result = mysql_db_query("$sqldatabase",$query);
if ($result) {
! while ($r = mysql_fetch_array($result)) {
! echo("<hr /><p>" . $r["date"]);
! echo("<br /><img src=\"person.png\" alt=\"Guest: \" /> Guest: " . $r["guest"]);
! echo("<br /><img src=\"email.png\" alt=\"E-mail Address: \" /> E-mail: <a href=\"mailto: " . $r["email"] . "\">" . $r["email"] . "</a>");
! echo("<br /><img src=\"icq.png\" alt=\"ICQ UIN: \" /> ICQ: " . $r["ICQ"]);
! if ($r["ICQ"] != "") {
! echo("<img src=\"http://wwp.icq.com/scripts/online.dll?icq=".$r["ICQ"] . "&img=5\" alt=\"User status\" />");
}
! echo("<br /><img src=\"aim.png\" alt=\"AIM Screen name: \" /> AIM: " . $r["AIM"]);
! echo("<br /><img src=\"msmsgs.png\" alt=\"MSN Messenger Address: \" /> MSN: " . $r["MSN"]);
! echo("<br /><img src=\"yahoo.png\" alt=\"Yahoo! Messenger Address: \" /> YIM: " . $r["YIM"]);
! if ($r["YIM"] != "") {
! echo("<img src=\"http://opi.yahoo.com/online?u=" . $r["YIM"] . "&m=g&t=1\" alt=\"User Status\" />");
}
! echo("<br /><img src=\"irc.png\" alt=\"IRC: \" /> IRC:" . $r["IRC"]);
! echo("<br /><img src=\"webpage.png\" alt=\"Web Page\" /> Web Page: <a href=\"" . $r["webpage"] . "\">" . $r["webpage"] . "</a>");
! echo("<br /><img src=\"world.png\" alt=\"Location: \" /> Location: " . $r["location"]);
if (function_exists('emoticon_translate')) {
! $comment = emoticon_translate($r["comment"]);
} else {
! $comment = $r["comment"];
}
--- 35,73 ----
responsible for the content contained in this guestbook. The comments and
opinions expressed throughout the guestbook are those of the poster, and
! do not necessarily reflect those of our robotics team.
<br /><a href="<?php echo($home); ?>">Return to main page</a>
<a href="sign.php">Sign Guest Book</a></p>
<?php
+ mysql_select_db("$sqldatabase");
$query = "SELECT * FROM ofirst_guestbook ORDER BY guest;";
! $result = mysql_query($query);
if ($result) {
! while ($r = mysql_fetch_object($result)) {
! echo("<hr /><p>$r->date
! <br /><img src='person.png' alt='Guest: ' /> Guest: $r->guest
! <br /><img src='email.png' alt='E-mail Address: ' /> E-mail: <a href='mailto: $r->email'>$r->email</a>
! <br /><img src='icq.png' alt='ICQ UIN: ' /> ICQ: $r->ICQ");
!
! if ($r->ICQ != "") {
! echo("<img src='http://wwp.icq.com/scripts/online.dll?icq=".$r->ICQ . "&img=5' alt='User status' />");
}
! echo("<br /><img src='aim.png' alt='AIM Screen name: ' /> AIM: $r->AIM
! <br /><img src='msmsgs.png' alt='MSN Messenger Address: ' /> MSN: $r->MSN
! <br /><img src='yahoo.png' alt='Yahoo! Messenger Address: ' /> YIM: $r->YIM");
! if ($r->YIM != "") {
! echo("<img src='http://opi.yahoo.com/online?u=$r->YIM &m=g&t=1' alt='User Status' />");
}
!
! echo("<br /><img src='irc.png' alt='IRC: ' /> IRC:$r->IRC
! <br /><img src='webpage.png' alt='Web Page' /> Web Page: <a href='$r->webpage'>$r->webpage</a>
! <br /><img src='world.png' alt='Location: ' /> Location: $r->location");
if (function_exists('emoticon_translate')) {
! $comment = emoticon_translate($r->comment);
} else {
! $comment = $r->comment;
}
|
Update of /cvsroot/openfirst/members
In directory sc8-pr-cvs1:/tmp/cvs-serv18695
Modified Files:
auth.php profile.php
Added Files:
aim.png email.png icq.png irc.png msmsgs.png person.png
webpage.png world.png yahoo.png
Log Message:
Fancy up the members profiles, with new graphics, status indicators, and begin keeping track of last seen date.
--- NEW FILE: aim.png ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: email.png ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: icq.png ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: irc.png ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: msmsgs.png ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: person.png ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: webpage.png ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: world.png ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: yahoo.png ---
(This appears to be a binary file; contents omitted.)
Index: auth.php
===================================================================
RCS file: /cvsroot/openfirst/members/auth.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** auth.php 31 May 2003 01:57:19 -0000 1.5
--- auth.php 31 May 2003 17:00:48 -0000 1.6
***************
*** 141,144 ****
}
}
!
?>
--- 141,148 ----
}
}
! if(isset($user->user)) {
! $query = "UPDATE ofirst_members SET lastseen='" . date("h:m:s M d, Y") . "' WHERE user='$user->user';";
! $q = mysql_query($query);
! unset($q);
! }
?>
Index: profile.php
===================================================================
RCS file: /cvsroot/openfirst/members/profile.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** profile.php 31 May 2003 01:57:19 -0000 1.1
--- profile.php 31 May 2003 17:00:48 -0000 1.2
***************
*** 53,56 ****
--- 53,60 ----
while($q = mysql_fetch_object($query)) {
+ if (function_exists('emoticon_translate')) {
+ $q->description = emoticon_translate($q->description);
+ }
+
echo("<table><tr><td style='vertical-align: top;'>");
if($q->picturelocation == "") {
***************
*** 59,66 ****
echo("<img src='$q->picturelocation' alt='$q->firstname $q->lastname' />");
}
echo("</td><td><h2>$q->user of $q->team</h2>
<sub>Real Name: $q->firstname $q->lastname
<br />Member since: $q->dateregistered
! <br />Last logged in: $q->lastseen</sub>
<p>
Division: $q->division
--- 63,80 ----
echo("<img src='$q->picturelocation' alt='$q->firstname $q->lastname' />");
}
+ if ($q->skills == "") { $q->skills = "No skills entered."; }
+ if ($q->description == "") { $q->description = "No description entered."; }
+ if ($q->division == "") { $q->division = "No division given."; }
+ if ($q->year == "") { $q->year = "Year unavailable."; }
+ if ($q->firstname == "") { $q->firstname = "None"; }
+ if ($q->lastname == "") { $q->lastname = "None"; }
+ if ($q->team == "") { $q->team = "no particular team"; }
+ if ($q->dateregistered == "") { $q->dateregistered = "creation"; }
+ if ($q->lastseen == "") { $q->lastseen = "$q->firstname has never logged in."; }
+
echo("</td><td><h2>$q->user of $q->team</h2>
<sub>Real Name: $q->firstname $q->lastname
<br />Member since: $q->dateregistered
! <br />Last seen logged in: $q->lastseen</sub>
<p>
Division: $q->division
***************
*** 71,79 ****
<p>
E-mail address: <a href='mailto: $q->email'>$q->email</a>
! <br />ICQ: $q->icq
! <br />MSN: $q->msn
! <br />AIM: $q->aim
! <br />YIM: $q->yim
! </p>
<h3>Description</h3>
--- 85,115 ----
<p>
E-mail address: <a href='mailto: $q->email'>$q->email</a>
! <br /><img src='icq.png' alt='I Seek You (ICQ) Number' />: $q->icq
! ");
! if ($q->icq != "") {
! echo("<img src=\"http://wwp.icq.com/scripts/online.dll?icq=$q->icq&img=5\" alt=\"User status\" />");
! } else {
! echo("none");
! }
! echo("
! <br /><img src='msmsgs.png' alt='Microsoft Network: Messenger address' />: $q->msn");
! if($q->msn == "") {
! echo("none");
! }
! echo("<br /><img src='aim.png' alt='AOL Instant Messenger address' />: ");
! if ($q->aim != "") {
! echo("<a href='aim:goim?screenname=$q->aim&message=Hello+$q->firstname+$q->lastname,+I+was+just+browsing+your+profile+when+I+noticed+you+had+AIM.'>$q->aim</a>");
! } else {
! echo("none");
! }
! echo("
! <br /><img src='yahoo.png' alt='Yahoo! Messenger address' />:
! <a href='http://edit.yahoo.com/config/send_webmesg?.target=$q->yim&.src=pg'>$q->yim</a> ");
! if ($q->yim != "") {
! echo("<img src=\"http://opi.yahoo.com/online?u=$q->yim&m=g&t=1\" alt=\"User status\" />");
! } else {
! echo("none");
! }
! echo("</p>
<h3>Description</h3>
|
|
From: <xt...@us...> - 2003-05-31 01:57:23
|
Update of /cvsroot/openfirst/members
In directory sc8-pr-cvs1:/tmp/cvs-serv13572
Modified Files:
auth.php
Added Files:
profile.php
Log Message:
Add profile viewer to members area, and to members links
--- NEW FILE: profile.php ---
<?php
/*
* openFIRST.members - profile.php
*
* Copyright (C) 2003,
* openFIRST Project
* Original Author: Tim Ginn <tim...@po...>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
include("../config/globals.php");
include($header);
if(isset($user->user)) {
membersmenu($user->membertype);
}
?>
<h1>Members Profiles</h1>
<?php
if(isset($_GET["id"]) == false) {
?>
<table>
<tr><th>User Name</th><th>Team</th><th>MSN</th><th>ICQ</th><th>AIM</th></tr>
<?php
$query = mysql_query("SELECT user, team, msn, icq, aim FROM ofirst_members;");
while($q = mysql_fetch_object($query)) {
echo("<tr><td><a href='profile.php?id=$q->user'>$q->user</a></td><td>$q->team</td><td>$q->msn</td><td>$q->icq</td><td>$q->aim</td></tr>");
}
?>
</table>
<?php
} else {
$query = mysql_query("SELECT * FROM ofirst_members WHERE user='" . $_GET["id"] . "';");
while($q = mysql_fetch_object($query)) {
echo("<table><tr><td style='vertical-align: top;'>");
if($q->picturelocation == "") {
echo("<img src='nophoto.png' alt='No photograph provided' />");
} else {
echo("<img src='$q->picturelocation' alt='$q->firstname $q->lastname' />");
}
echo("</td><td><h2>$q->user of $q->team</h2>
<sub>Real Name: $q->firstname $q->lastname
<br />Member since: $q->dateregistered
<br />Last logged in: $q->lastseen</sub>
<p>
Division: $q->division
<br />Year $q->year
</p>
<h3>Contact Information</h3>
<p>
E-mail address: <a href='mailto: $q->email'>$q->email</a>
<br />ICQ: $q->icq
<br />MSN: $q->msn
<br />AIM: $q->aim
<br />YIM: $q->yim
</p>
<h3>Description</h3>
<p>
$q->description
</p>
<h3>Skills</h3>
<p>
$q->skills
</p>
</td></tr></table>
");
}
}
?>
<?php
include($footer); ?>
?>
Index: auth.php
===================================================================
RCS file: /cvsroot/openfirst/members/auth.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** auth.php 24 May 2003 18:46:47 -0000 1.4
--- auth.php 31 May 2003 01:57:19 -0000 1.5
***************
*** 44,48 ****
function membersmenu($membertype) {
! echo("<p><a href='../members'>Members Home</a> ");
if($membertype == "administrator") {
echo("<a href='../members/sqlinstall.php'>Install SQL Tables</a>
--- 44,49 ----
function membersmenu($membertype) {
! echo("<p><a
! href='../members'>Members Home</a> <a href='../members/profile.php'>Members Profiles</a> ");
if($membertype == "administrator") {
echo("<a href='../members/sqlinstall.php'>Install SQL Tables</a>
|
|
From: <ste...@us...> - 2003-05-31 00:32:14
|
Update of /cvsroot/openfirst/config In directory sc8-pr-cvs1:/tmp/cvs-serv17478 Modified Files: README.txt Log Message: Add README file with basic information to config module. Index: README.txt =================================================================== RCS file: /cvsroot/openfirst/config/README.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** README.txt 31 May 2003 00:14:31 -0000 1.1 --- README.txt 31 May 2003 00:26:19 -0000 1.2 *************** *** 13,17 **** ========== - ! openFIRST.component-name is distributed under the GNU GPL. For more information, see http://openfirst.sourceforge.net --- 13,17 ---- ========== - ! openFIRST.config is distributed under the GNU GPL. For more information, see http://openfirst.sourceforge.net |
|
From: <ste...@us...> - 2003-05-31 00:16:02
|
Update of /cvsroot/openfirst/config In directory sc8-pr-cvs1:/tmp/cvs-serv13201 Added Files: README.txt Log Message: Add README file with basic information to config module. --- NEW FILE: README.txt --- openFIRST.config ======================== This module allows the configuration of all modules and of the appearance of the openFIRST software. Configuration =========== - Tables Used ========== - openFIRST.component-name is distributed under the GNU GPL. For more information, see http://openfirst.sourceforge.net |
Update of /cvsroot/openfirst/projects
In directory sc8-pr-cvs1:/tmp/cvs-serv13884
Modified Files:
groups.php index.php mytasks.php notes.php preferences.php
projects.php tasks.php updates.php
Log Message:
Added header condense feature which was just implemented the header files. Made sure that the files align properly.
Index: groups.php
===================================================================
RCS file: /cvsroot/openfirst/projects/groups.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** groups.php 26 May 2003 21:36:16 -0000 1.1
--- groups.php 29 May 2003 01:32:54 -0000 1.2
***************
*** 1,2 ****
--- 1,7 ----
+ <?php
+ include("../config/globals.php");
+ $header_condense = true;
+ include($header);
+ ?>
<h2><font face="Verdana, Arial, Helvetica, sans-serif">Groups</font></h2>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">[ <a href="projects.php">Home</a>
***************
*** 76,77 ****
--- 81,83 ----
</tr>
</table>
+ <?php include($footer); ?>
Index: index.php
===================================================================
RCS file: /cvsroot/openfirst/projects/index.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** index.php 26 May 2003 21:36:16 -0000 1.2
--- index.php 29 May 2003 01:32:54 -0000 1.3
***************
*** 1,2 ****
--- 1,7 ----
+ <?php
+ include("../config/globals.php");
+ $header_condense = true;
+ include($header);
+ ?>
<h2><font face="Verdana, Arial, Helvetica, sans-serif">Groups</font></h2>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Welcome to the
***************
*** 56,57 ****
--- 61,63 ----
</table>
<p> </p>
+ <?php include($footer); ?>
Index: mytasks.php
===================================================================
RCS file: /cvsroot/openfirst/projects/mytasks.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** mytasks.php 26 May 2003 21:36:16 -0000 1.1
--- mytasks.php 29 May 2003 01:32:54 -0000 1.2
***************
*** 1,2 ****
--- 1,7 ----
+ <?php
+ include("../config/globals.php");
+ $header_condense = true;
+ include($header);
+ ?>
<h2><font face="Verdana, Arial, Helvetica, sans-serif">My Tasks Summarized</font></h2>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">[ <a href="projects.php">Home</a>
***************
*** 50,52 ****
</tr>
</table>
! <p> </p>
--- 55,57 ----
</tr>
</table>
! <?php include($footer); ?>
\ No newline at end of file
Index: notes.php
===================================================================
RCS file: /cvsroot/openfirst/projects/notes.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** notes.php 26 May 2003 21:36:16 -0000 1.1
--- notes.php 29 May 2003 01:32:54 -0000 1.2
***************
*** 1,2 ****
--- 1,7 ----
+ <?php
+ include("../config/globals.php");
+ $header_condense = true;
+ include($header);
+ ?>
<h2><font face="Verdana, Arial, Helvetica, sans-serif">Notes</font></h2>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">[ <a href="projects.php">Home</a>
***************
*** 139,141 ****
</tr>
</table>
! <p> </p>
--- 144,146 ----
</tr>
</table>
! <?php include($footer); ?>
\ No newline at end of file
Index: preferences.php
===================================================================
RCS file: /cvsroot/openfirst/projects/preferences.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** preferences.php 26 May 2003 21:36:16 -0000 1.1
--- preferences.php 29 May 2003 01:32:54 -0000 1.2
***************
*** 1,2 ****
--- 1,7 ----
+ <?php
+ include("../config/globals.php");
+ $header_condense = true;
+ include($header);
+ ?>
<h2><font face="Verdana, Arial, Helvetica, sans-serif">Preferences</font></h2>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">[ <a href="projects.php">Home</a>
***************
*** 94,95 ****
--- 99,101 ----
</table>
<p> </p>
+ <?php include($footer); ?>
\ No newline at end of file
Index: projects.php
===================================================================
RCS file: /cvsroot/openfirst/projects/projects.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** projects.php 26 May 2003 21:36:16 -0000 1.1
--- projects.php 29 May 2003 01:32:55 -0000 1.2
***************
*** 1,2 ****
--- 1,7 ----
+ <?php
+ include("../config/globals.php");
+ $header_condense = true;
+ include($header);
+ ?>
<h2><font face="Verdana, Arial, Helvetica, sans-serif">Projects</font></h2>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">[ <a href="projects.php">Home</a>
***************
*** 69,71 ****
</tr>
</table>
! <p> </p>
--- 74,76 ----
</tr>
</table>
! <?php include($footer); ?>
\ No newline at end of file
Index: tasks.php
===================================================================
RCS file: /cvsroot/openfirst/projects/tasks.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** tasks.php 26 May 2003 21:36:16 -0000 1.1
--- tasks.php 29 May 2003 01:32:55 -0000 1.2
***************
*** 1,2 ****
--- 1,7 ----
+ <?php
+ include("../config/globals.php");
+ $header_condense = true;
+ include($header);
+ ?>
<h2><font face="Verdana, Arial, Helvetica, sans-serif">Tasks</font></h2>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">[ <a href="projects.php">Home</a>
***************
*** 67,69 ****
</tr>
</table>
! <p> </p>
--- 72,74 ----
</tr>
</table>
! <?php include($footer); ?>
\ No newline at end of file
Index: updates.php
===================================================================
RCS file: /cvsroot/openfirst/projects/updates.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** updates.php 26 May 2003 21:36:16 -0000 1.1
--- updates.php 29 May 2003 01:32:55 -0000 1.2
***************
*** 1,2 ****
--- 1,7 ----
+ <?php
+ include("../config/globals.php");
+ $header_condense = true;
+ include($header);
+ ?>
<h2><font face="Verdana, Arial, Helvetica, sans-serif">Update Viewer</font></h2>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">[ <a href="projects.php">Home</a>
***************
*** 111,112 ****
--- 116,118 ----
</tr>
</table>
+ <?php include($footer); ?>
\ No newline at end of file
|
|
From: <dav...@us...> - 2003-05-29 01:30:38
|
Update of /cvsroot/openfirst/config
In directory sc8-pr-cvs1:/tmp/cvs-serv13271
Modified Files:
headers.php
Log Message:
Added the condense header feature which is activated by setting the $header_condense variable before including the header file.
Index: headers.php
===================================================================
RCS file: /cvsroot/openfirst/config/headers.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** headers.php 14 May 2003 11:32:44 -0000 1.8
--- headers.php 29 May 2003 01:30:35 -0000 1.9
***************
*** 44,48 ****
<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"></div></td>
</tr>
<tr>
--- 44,54 ----
<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>
***************
*** 60,64 ****
</table>
<table width="100%" border="0" summary="sidebar" cellspacing="0" cellpadding="3">
! <tr>
<td style="background-color: #f0f0f0; vertical-align: top; width: 22%">
<h3>What is openFIRST?</h3>
--- 66,71 ----
</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>
***************
*** 86,88 ****
--- 93,96 ----
</p>
</td>
+ <?php } ?>
<td width="78%" valign="top"><div align="left">
|
Update of /cvsroot/openfirst/projects
In directory sc8-pr-cvs1:/tmp/cvs-serv31524
Modified Files:
index.php
Added Files:
book2_5.gif computer1.gif computer2.gif groups.php
keijiban.gif keijiban_s.gif looseleaf_b.gif looseleaf_g.gif
looseleaf_r.gif looseleaf_v.gif mg_p.gif mg_s.gif mytasks.php
notes.php pencil1_b.gif pencil1_g.gif pencil1_o.gif
pencil1_r.gif preferences.php projects.php tasks.php
updates.php
Log Message:
Basic design template has been completed. Note is is very rough and I await minor design changes by other developers. After I get the ok I will proceed to cleaning up the code and working on the basic development options.
--- NEW FILE: book2_5.gif ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: computer1.gif ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: computer2.gif ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: groups.php ---
<h2><font face="Verdana, Arial, Helvetica, sans-serif">Groups</font></h2>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">[ <a href="projects.php">Home</a>
] [ <a href="updates.php">List Todays Updates</a> ] [ <a href="groups.php">Groups</a>
] [ <a href="mytasks.php">My Tasks</a> ]</font></p>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><em>Location:</em>
Groups /</font></p>
<table width="100%" border="0" cellspacing="0" cellpadding="6">
<tr>
<td bgcolor="#666666"> <div align="center"><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">Project
System Information</font></div></td>
</tr>
</table>
<table width="100%" border="1" cellpadding="6" cellspacing="0" bordercolor="#999999">
<tr>
<td width="29%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Project
System Admin: <a href="../members/profile.php">David Di Biase</a></font></td>
<td width="28%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Next
E-Mail Update: 25 hours</font></td>
<td width="43%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Administrator
Note: Seems like everything is functioning with within the system and development
is going well. I urge everyone to check their updates daily.</font></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="6">
<tr>
<td bgcolor="#666666"> <div align="center"><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">Groups
Listings</font></div></td>
</tr>
</table>
<table width="100%" border="1px" cellpadding="6" cellspacing="0" bordercolor="#999999">
<tr bgcolor="#999999">
<td width="7%"> </td>
<td width="18%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Group
Name</font></td>
<td width="6%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Projects</font></td>
<td width="35%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Description</font></td>
<td width="9%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Moderators</font></td>
<td width="25%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Members</font></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="projects.php"><img src="keijiban_s.gif" width="55" height="50"></a></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Build Team</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">5</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">The build
team is in charge of basic robot construction and modifications. The team
consists of core engineers and developers.</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Peter Luca</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="../members/profiles.php">Brian
Skinner</a>, <a href="../members/profiles.php">Paul Giampuzzi</a>, <a href="../members/profiles.php">Michael
Sgamballuri</a>, <a href="../members/profiles.php">Matt Viola</a></font></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="projects.php"><img src="keijiban_s.gif" width="55" height="50"></a></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Design Team</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">2</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">The design
team is responsible for designing the robots functionallity and planning
strategies.</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">David Di Biase</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="../members/profiles.php">Brian
Skinner</a>, <a href="../members/profiles.php">Paul Giampuzzi</a>, <a href="../members/profiles.php">Michael
Sgamballuri</a>, <a href="../members/profiles.php">Matt Viola</a>, <a href="../members/profiles.php">Paul
Di Biase</a>, <a href="../members/profiles.php">David Di Biase</a></font></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="projects.php"><img src="keijiban_s.gif" width="55" height="50"></a></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Webdesign
Team</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">1</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">The webdesign
teams function is to develop the teams website and keep it constantly up
to date with information about robotics and webdesign in general. </font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">David Di Biase</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="../members/profiles.php">David
Di Biase</a></font></td>
</tr>
</table>
--- NEW FILE: keijiban.gif ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: keijiban_s.gif ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: looseleaf_b.gif ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: looseleaf_g.gif ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: looseleaf_r.gif ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: looseleaf_v.gif ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: mg_p.gif ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: mg_s.gif ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: mytasks.php ---
<h2><font face="Verdana, Arial, Helvetica, sans-serif">My Tasks Summarized</font></h2>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">[ <a href="projects.php">Home</a>
] [ <a href="updates.php">List Todays Updates</a> ] [ <a href="groups.php">Groups</a>
] [ <a href="mytasks.php">My Tasks</a> ] [ <a href="projects.php?list=all">List
All Projects</a> ]</font></p>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><em>Location:</em>
<a href="groups.php">My Task</a></font></p>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">The information
listed below is a list of summarized tasks that you have been assigned to.</font></p>
<table width="100%" border="0" cellspacing="0" cellpadding="6">
<tr>
<td bgcolor="#666666"> <div align="center"><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">Your
Current Tasks </font></div></td>
</tr>
</table>
<table width="100%" border="1px" cellpadding="6" cellspacing="0" bordercolor="#999999">
<tr>
<td width="6%" bgcolor="#999999"> </td>
<td width="17%" bgcolor="#999999"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Task
Name</font></td>
<td width="9%" bgcolor="#999999"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Completion</font></td>
<td width="13%" bgcolor="#999999"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">#
of Notes</font></td>
<td width="55%" bgcolor="#999999"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Description</font></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="tasks.php"><img src="looseleaf_r.gif" width="45" height="60" border="0"></a></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Gearbox</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">40%</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">6 Notes</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">The gearbox
is a vital component to develop...</font></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="tasks.php"><img src="looseleaf_v.gif" width="45" height="60" border="0"></a></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Wire Components</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">PENDING</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">0 Notes</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Pending
For Project:</strong> Gearbox<strong> </strong></font></td>
</tr>
</table>
<br>
<table width="100%" border="1" cellpadding="6" cellspacing="0" bordercolor="#999999" bgcolor="#999999">
<tr>
<td bgcolor="#CCCCCC"><font color="#00CC00" size="2" face="Verdana, Arial, Helvetica, sans-serif">Green</font><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
= Complete | <font color="#FF6699">Red</font> = Important | <font color="#0066FF">Blue</font>
= Pending | <font color="#CC33FF">Purple</font> = Waiting | <font color="#999999">Highlighted
Cell</font> = New Commit</font></td>
</tr>
</table>
<p> </p>
--- NEW FILE: notes.php ---
<h2><font face="Verdana, Arial, Helvetica, sans-serif">Notes</font></h2>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">[ <a href="projects.php">Home</a>
] [ <a href="updates.php">List Todays Updates</a> ] [ <a href="groups.php">Groups</a>
] [ <a href="mytasks.php">My Tasks</a> ]</font></p>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><em>Location:</em>
<a href="groups.php">Groups</a> / <a href="viewgroup.php">Projects :: Build
Team</a> / <a href="tasks.php">Tasks</a> / Notes</font></p>
<table width="100%" border="0" cellspacing="0" cellpadding="6">
<tr>
<td bgcolor="#666666"> <div align="center"><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">Project
<strong>Chasis Construction</strong> Information</font></div></td>
</tr>
</table>
<table width="100%" border="1px" cellpadding="6" cellspacing="0" bordercolor="#999999">
<tr bgcolor="#999999">
<td width="7%"> </td>
<td width="17%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Project
Competion</font></td>
<td width="23%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Amount
of Tasks</font></td>
<td width="29%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Description</font></td>
<td width="24%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Assigned</font></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><img src="keijiban_s.gif" width="55" height="50"></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">100% Completed</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">1 Completed,
0 Pending</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Construction
of the chasis is vital to the base...</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="../members/profiles.php">Brian
Skinner</a>, <a href="../members/profiles.php">Paul Giampuzzi</a></font></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="6">
<tr>
<td bgcolor="#666666"> <div align="center"><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">Task<strong>
Framework on Base</strong></font></div></td>
</tr>
</table>
<table width="100%" border="1px" cellpadding="6" cellspacing="0" bordercolor="#999999">
<tr bgcolor="#999999">
<td width="24%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Task
Completion</font></td>
<td width="52%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Amount
of Notes</font></td>
<td width="24%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Assigned</font></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">30% Completed</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">3 Notes Recorded</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="../members/profiles.php">Brian
Skinner</a>, <a href="../members/profiles.php">Paul Giampuzzi</a></font></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="6">
<tr>
<td bgcolor="#666666"> <div align="center"><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">Notes
for <strong>Task Framework on Base</strong></font></div></td>
</tr>
</table>
<table width="100%" border="1px" cellpadding="6" cellspacing="0" bordercolor="#999999">
<tr bgcolor="#999999">
<td width="6%"> </td>
<td width="14%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Date</font></td>
<td width="24%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Note
Name</font></td>
<td width="36%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Note
Write Up</font></td>
<td width="20%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Commiter</font></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><img src="pencil1_b.gif" width="40" height="40"></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">23/04/03 12:00PM</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Started Metallic
Structure</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">We were able
to set in a basic metallic structure for the framework. We are now going
to complete it.</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="../members/profiles.php">Brian
Skinner</a></font></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><img src="pencil1_b.gif" width="40" height="40"></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">23/04/03 12:00PM</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Completed
Metallic Structure</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">The metallic
structure is now completed.</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="../members/profiles.php">Brian
Skinner</a></font></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><img src="pencil1_r.gif" width="40" height="40"></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">23/04/03 12:00PM</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Completion
Changed To:</strong> 70%</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">--</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="../members/profiles.php">Brian
Skinner</a></font></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><img src="pencil1_b.gif" width="40" height="40"></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">23/04/03 12:00PM</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Adding Gusset
Holes</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">I just completed
adding the new gusset holes for the gearbox.</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="../members/profiles.php">Paul
Giampuzzi</a></font></td>
</tr>
<tr bgcolor="#CCCCCC">
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><img src="pencil1_g.gif" width="40" height="40"></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">23/04/03 12:00PM</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Completion
Changed To:</strong> 100%</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">--</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="../members/profiles.php">Paul
Giampuzzi</a></font></td>
</tr>
<tr bgcolor="#CCCCCC">
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><img src="pencil1_o.gif" width="40" height="40"></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">23/04/03 12:00PM</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Changing Gusset
Places</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">The gusset
holes had to be changed or else we would have problems in the future. </font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="../members/profiles.php">Brian
Skinner</a></font></td>
</tr>
</table>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif"></font></p>
<table width="100%" border="1" cellpadding="6" cellspacing="0" bordercolor="#999999" bgcolor="#999999">
<tr>
<td bgcolor="#CCCCCC"><font color="#0099FF" size="2" face="Verdana, Arial, Helvetica, sans-serif">Blue</font><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
= Regular Note | <font color="#CC0033">Red</font> = Completion Update |
<font color="#00CC00">Green</font> = Completed Task | <font color="#CC9900">Orange</font>
= Extra Notes | <font color="#999999">Highlighted Cell</font> = New Commit</font></td>
</tr>
</table>
<p> </p>
--- NEW FILE: pencil1_b.gif ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: pencil1_g.gif ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: pencil1_o.gif ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: pencil1_r.gif ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: preferences.php ---
<h2><font face="Verdana, Arial, Helvetica, sans-serif">Preferences</font></h2>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">[ <a href="projects.php">Home</a>
] [ <a href="updates.php">List Todays Updates</a> ] [ <a href="groups.php">Groups</a>
] [ <a href="mytasks.php">My Tasks</a> ] [ <a href="projects.php?list=all">List
All Projects</a> ]</font></p>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><em>Location:</em>
<a href="groups.php">Preferences</a></font></p>
<table width="100%" border="1" align="center" cellpadding="6" cellspacing="0" bordercolor="#999999">
<tr>
<td bgcolor="#CCCCCC"><div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">E-Mail
Updates</font></div></td>
</tr>
<tr>
<td><p align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Your
E-Mail Address: <strong>dav...@ea...</strong></font></p>
<p align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Would
you like to be sent daily commits?
<select name="select">
<option selected>Yes</option>
<option>No</option>
</select>
</font></p>
<p align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">When
would you like them to be sent?
<select name="select2">
<option selected>Daily</option>
<option>Every 2 Days</option>
<option>Every 3 Days</option>
<option>Every 4 Days</option>
<option>Every 5 Days</option>
<option>Every 6 Days</option>
<option>Every Week</option>
</select>
</font></p>
<p align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Which
projects would you like to be updated on?</font></p>
<table width="45%" border="1" align="center" cellpadding="4" cellspacing="0" bordercolor="#999999">
<tr bgcolor="#666666">
<td width="38%"><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">Group</font></td>
<td width="47%"><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">Project</font></td>
<td width="15%"><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">Option</font></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Build
Team</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Chasis
Construction</font></td>
<td><input type="checkbox" name="checkbox" value="checkbox"></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Build
Team</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Gearbox</font></td>
<td><input type="checkbox" name="checkbox2" value="checkbox"></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Build
Team</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Finding
Components </font></td>
<td><input type="checkbox" name="checkbox3" value="checkbox"></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Build
Team</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Wire
Components </font></td>
<td><input type="checkbox" name="checkbox4" value="checkbox"></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Design
Team </font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">CAD
Project </font></td>
<td><input type="checkbox" name="checkbox5" value="checkbox"></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Design
Team </font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Robot
Updates </font></td>
<td><input type="checkbox" name="checkbox6" value="checkbox"></td>
</tr>
</table>
<p align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="save" type="submit" id="save" value="Save Preferences">
<br>
<br>
(Next update sent in: 3 hours 4 minutes)</font><br>
<br>
</p>
</td>
</tr>
</table>
<p> </p>
--- NEW FILE: projects.php ---
<h2><font face="Verdana, Arial, Helvetica, sans-serif">Projects</font></h2>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">[ <a href="projects.php">Home</a>
] [ <a href="updates.php">List Todays Updates</a> ] [ <a href="groups.php">Groups</a>
] [ <a href="mytasks.php">My Tasks</a> ] [ <a href="projects.php?list=all">List
All Projects</a> ]</font></p>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><em>Location:</em>
<a href="groups.php">Groups</a> / <a href="viewgroup.php">Projects :: Build
Team</a> /</font></p>
<table width="100%" border="0" cellspacing="0" cellpadding="6">
<tr>
<td bgcolor="#666666"> <div align="center"><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">Project
Listings for <strong>Build Team</strong></font></div></td>
</tr>
</table>
<table width="100%" border="1px" cellpadding="6" cellspacing="0" bordercolor="#999999">
<tr bgcolor="#999999">
<td width="5%"> </td>
<td width="20%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Project
Name</font></td>
<td width="9%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Completion</font></td>
<td width="35%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Description</font></td>
<td width="31%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Assigned</font></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="tasks.php"><img src="looseleaf_g.gif" border="0"></a></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Chasis Construction</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">100%</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Construction
of the chasis is vital to the base...</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="../members/profiles.php">Brian
Skinner</a>, <a href="../members/profiles.php">Paul Giampuzzi</a></font></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="tasks.php"><img src="looseleaf_r.gif" width="45" height="60" border="0"></a></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Gearbox</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">40%</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">The gearbox
is a vital component to develop...</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="../members/profiles.php">Michael
Sgamballuri</a>, <a href="../members/profiles.php">Matt Viola</a>, <a href="../members/profiles.php">Paul
Di Biase</a></font></td>
</tr>
<tr bgcolor="#CCCCCC">
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="tasks.php"><img src="looseleaf_b.gif" width="45" height="60" border="0"></a></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Finding Components</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">10%</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">This project
is for finding proper components.</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="../members/profiles.php">David
Di Biase</a></font></td>
</tr>
<tr bgcolor="#CCCCCC">
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="tasks.php"><img src="looseleaf_v.gif" width="45" height="60" border="0"></a></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Wire Components</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">PENDING</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Pending
For Project:</strong> Gearbox<strong> </strong></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="../members/profiles.php">Brian
Skinner</a>, <a href="../members/profiles.php">Paul Giampuzzi</a></font></td>
</tr>
</table>
<br>
<table width="100%" border="1" cellpadding="6" cellspacing="0" bordercolor="#999999" bgcolor="#999999">
<tr>
<td bgcolor="#CCCCCC"><font color="#00CC00" size="2" face="Verdana, Arial, Helvetica, sans-serif">Green</font><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
= Complete | <font color="#FF6699">Red</font> = Important | <font color="#0066FF">Blue</font>
= Pending | <font color="#CC33FF">Purple</font> = Waiting | <font color="#999999">Highlighted
Cell</font> = New Commit</font></td>
</tr>
</table>
<p> </p>
--- NEW FILE: tasks.php ---
<h2><font face="Verdana, Arial, Helvetica, sans-serif">Tasks</font></h2>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">[ <a href="projects.php">Home</a>
] [ <a href="updates.php">List Todays Updates</a> ] [ <a href="groups.php">Groups</a>
] [ <a href="mytasks.php">My Tasks</a> ]</font></p>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><em>Location:</em>
<a href="groups.php">Groups</a> / <a href="viewgroup.php">Projects :: Build
Team</a> / Tasks</font></p>
<table width="100%" border="0" cellspacing="0" cellpadding="6">
<tr>
<td bgcolor="#666666"> <div align="center"><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">Project
<strong>Chasis Construction</strong> Information</font></div></td>
</tr>
</table>
<table width="100%" border="1px" cellpadding="6" cellspacing="0" bordercolor="#999999">
<tr bgcolor="#999999">
<td width="7%"> </td>
<td width="17%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Project
Competion</font></td>
<td width="23%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Amount
of Tasks</font></td>
<td width="29%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Description</font></td>
<td width="24%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Assigned</font></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><img src="keijiban_s.gif" width="55" height="50"></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">100% Completed</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">1 Completed,
0 Pending</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Construction
of the chasis is vital to the base...</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="../members/profiles.php">Brian
Skinner</a>, <a href="../members/profiles.php">Paul Giampuzzi</a></font></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="6">
<tr>
<td bgcolor="#666666"> <div align="center"><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">Task
Listings for <strong>Project Chasis Construction</strong></font></div></td>
</tr>
</table>
<table width="100%" border="1px" cellpadding="6" cellspacing="0" bordercolor="#999999">
<tr bgcolor="#999999">
<td width="5%"> </td>
<td width="21%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Task
Name</font></td>
<td width="14%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Date
Assigned</font></td>
<td width="33%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Description</font></td>
<td width="27%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Assigned</font></td>
</tr>
<tr bgcolor="#CCCCCC">
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="notes.php"><img src="mg_s.gif" width="31" height="31" border="0"></a></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Framework
on Base (30%)</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">23/04/03 12:00PM</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Construction
of the chasis is vital to the base...</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="../members/profiles.php">Brian
Skinner</a></font></td>
</tr>
</table>
<br>
<table width="100%" border="1" cellpadding="6" cellspacing="0" bordercolor="#999999" bgcolor="#999999">
<tr>
<td bgcolor="#CCCCCC"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><font color="#999999">Highlighted
Cell</font> = New Commit</font></td>
</tr>
</table>
<p> </p>
--- NEW FILE: updates.php ---
<h2><font face="Verdana, Arial, Helvetica, sans-serif">Update Viewer</font></h2>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">[ <a href="projects.php">Home</a>
] [ <a href="updates.php">List Todays Updates</a> ] [ <a href="groups.php">Groups</a>
] [ <a href="mytasks.php">My Tasks</a> ] [ <a href="projects.php?list=all">List
All Projects</a> ]</font></p>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><em>Location:</em>
<a href="groups.php">Update Viewer</a></font></p>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">The information
listed below is a list of summarized tasks that you have been assigned to.</font></p>
<form method="post" action="updates.php">
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">View Updates For:
<input name="textfield" type="text" value="<?php echo date("d"); ?>" size="2" maxlength="2">
/
<input name="textfield2" type="text" value="<?php echo date("m"); ?>" size="2" maxlength="2">
/
<input name="textfield3" type="text" value="<?php echo date("Y"); ?>" size="4" maxlength="4">
<input name="view" type="submit" id="view" value="View Date">
</font></p>
</form>
<table width="100%" border="0" cellspacing="0" cellpadding="6">
<tr>
<td bgcolor="#666666"> <div align="center"><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">Notes
commited on <strong>Monday February 10th 2003</strong></font></div></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="6">
<tr>
<td bgcolor="#CCCCCC">
<div align="center"><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Build
Team</strong></font></div></td>
</tr>
</table>
<table width="100%" border="1px" cellpadding="6" cellspacing="0" bordercolor="#999999">
<tr bgcolor="#999999">
<td width="6%"> </td>
<td width="16%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Project</font></td>
<td width="13%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Task</font></td>
<td width="18%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Note
Name</font></td>
<td width="30%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Note
Write Up</font></td>
<td width="17%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Commiter</font></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><img src="pencil1_b.gif" width="40" height="40"></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="projects.php">Chasis
Construction</a></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="tasks.php">Framework
on Base</a></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Started Metallic
Structure</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">We were able
to set in a basic metallic structure for the framework. We are now going
to complete it.</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="../members/profiles.php">Brian
Skinner</a></font></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="6">
<tr>
<td bgcolor="#CCCCCC"> <div align="center"><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Webdesign
Team</strong></font></div></td>
</tr>
</table>
<table width="100%" border="1px" cellpadding="6" cellspacing="0" bordercolor="#999999">
<tr bgcolor="#999999">
<td width="6%"> </td>
<td width="16%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Project</font></td>
<td width="13%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Task</font></td>
<td width="18%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Note
Name</font></td>
<td width="30%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Note
Write Up</font></td>
<td width="17%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Commiter</font></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><img src="pencil1_b.gif" width="40" height="40"></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="projects.php">Chasis
Construction</a></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="tasks.php">Framework
on Base</a></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Started Metallic
Structure</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">We were able
to set in a basic metallic structure for the framework. We are now going
to complete it.</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="../members/profiles.php">Brian
Skinner</a></font></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><img src="pencil1_r.gif" width="40" height="40"></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="projects.php">Chasis
Construction</a></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="tasks.php">Framework
on Base</a></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Completion
Changed To:</strong> 70%</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">--</font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="../members/profiles.php">Brian
Skinner</a></font></td>
</tr>
</table>
<br>
<table width="100%" border="1" cellpadding="6" cellspacing="0" bordercolor="#999999" bgcolor="#999999">
<tr>
<td bgcolor="#CCCCCC"><font color="#0099FF" size="2" face="Verdana, Arial, Helvetica, sans-serif">Blue</font><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
= Regular Note | <font color="#CC0033">Red</font> = Completion Update |
<font color="#00CC00">Green</font> = Completed Task | <font color="#CC9900">Orange</font>
= Extra Notes</font></td>
</tr>
</table>
Index: index.php
===================================================================
RCS file: /cvsroot/openfirst/projects/index.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** index.php 24 May 2003 16:12:58 -0000 1.1.1.1
--- index.php 26 May 2003 21:36:16 -0000 1.2
***************
*** 1,59 ****
! <?php
! mysql_select_db($sqldatabase,
! $sqlconnection);
!
! if($_GET["module"] == "") {
! $query = mysql_query("SELECT * FROM
! ofirst_projects ORDER BY language, name;");
!
! echo("<h1>openFIRST.modules</h1>
! <table>
! <tr>
! <th>Module
! Name</th><th>Language</th>
! <th>Maintainer</th>
! <th>Demo</th><th>Screen Shots</th>
! </tr>
! ");
! while($projects = mysql_fetch_object($query)) {
!
! echo("<tr><td><a
! href='index.php?module=$projects->name'>$projects->name</a>
! </td>
! <td>$projects->language</td>
! <td>$projects->maintainer</td>");
! if ($projects->demolocation != "") {
! echo("<td><a
! href='$projects->demolocation'>Live
! Demo</a></td>");
! } else {
! echo("<td>No demo</td>");
! }
! echo("<td><a
! href='screens.php?module=$projects->name'>Available</a></tr>");
! }
! echo("</table>");
! } else {
!
! $query = mysql_query("SELECT * FROM
! ofirst_projects WHERE name='" . $_GET["module"] . "';");
!
! $projects = mysql_fetch_object($query);
!
! echo("<h1>$projects->name</h1>");
! echo("<p>Original Author:
! $projects->author
! <br />Maintainer:
! $projects->maintainer
! <br />Language: $projects->language");
!
! if ($projects->demolocation != "") {
! echo("<br />Demo:
! <a href='$projects->demolocation'>$projects->demolocation</a>");
! }
! echo("
! <br />Date: $projects->date
! <br />Description:
! $projects->description");
! }
! ?>
--- 1,57 ----
! <h2><font face="Verdana, Arial, Helvetica, sans-serif">Groups</font></h2>
! <p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Welcome to the
! groups viewer, select a group to preview:</font></p>
! <table width="100%" border="0" cellspacing="0" cellpadding="6">
! <tr>
! <td bgcolor="#666666"> <div align="center"><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">Groups
! Listings</font></div></td>
! </tr>
! </table>
! <table width="100%" border="1px" cellpadding="6" cellspacing="0" bordercolor="#999999">
! <tr bgcolor="#999999">
! <td width="4%"> </td>
! <td width="18%">Group Name</td>
! <td width="8%">Projects</td>
! <td width="37%">Description</td>
! <td width="10%">Moderators</td>
! <td width="23%">Members</td>
! </tr>
! <tr>
! <td><img src="book2_5.gif" width="51" height="52"></td>
! <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Build Team</font></td>
! <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">5 concurrent</font></td>
! <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">The build
! team is in charge of basic robot construction and modifications. The team
! consists of core engineers and developers.</font></td>
! <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Peter Luca</font></td>
! <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="../members/profiles.php">Brian
! Skinner</a>, <a href="../members/profiles.php">Paul Giampuzzi</a>, <a href="../members/profiles.php">Michael
! Sgamballuri</a>, <a href="../members/profiles.php">Matt Viola</a></font></td>
! </tr>
! <tr>
! <td><img src="book2_5.gif" width="51" height="52"></td>
! <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Design Team</font></td>
! <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">2 concurrent</font></td>
! <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">The design
! team is responsible for designing the robots functionallity and planning
! strategies.</font></td>
! <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">David Di Biase</font></td>
! <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="../members/profiles.php">Brian
! Skinner</a>, <a href="../members/profiles.php">Paul Giampuzzi</a>, <a href="../members/profiles.php">Michael
! Sgamballuri</a>, <a href="../members/profiles.php">Matt Viola</a>, <a href="../members/profiles.php">Paul
! Di Biase</a>, <a href="../members/profiles.php">David Di Biase</a></font></td>
! </tr>
! <tr>
! <td><img src="book2_5.gif" width="51" height="52"></td>
! <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Webdesign
! Team</font></td>
! <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">1 concurrent</font></td>
! <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">The webdesign
! teams function is to develop the teams website and keep it constantly up
! to date with information about robotics and webdesign in general. </font></td>
! <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">David Di Biase</font></td>
! <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="../members/profiles.php">David
! Di Biase</a></font></td>
! </tr>
! </table>
! <p> </p>
|
|
From: <dav...@us...> - 2003-05-24 21:31:21
|
Update of /cvsroot/openfirst/config/functions In directory sc8-pr-cvs1:/tmp/cvs-serv16761 Modified Files: forms.php Log Message: Changed the original author field. Index: forms.php =================================================================== RCS file: /cvsroot/openfirst/config/functions/forms.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** forms.php 24 May 2003 20:54:47 -0000 1.1 --- forms.php 24 May 2003 21:31:18 -0000 1.2 *************** *** 7,11 **** * Copyright (C) 2003, * openFIRST Project ! * Original Author: Tim Ginn <tim...@po...> * * This program is free software; you can redistribute it and/or modify --- 7,11 ---- * Copyright (C) 2003, * openFIRST Project ! * Original Author: David Di Biase <dav...@ea...> * * This program is free software; you can redistribute it and/or modify |
|
From: <dav...@us...> - 2003-05-24 20:54:50
|
Update of /cvsroot/openfirst/config/functions
In directory sc8-pr-cvs1:/tmp/cvs-serv4312
Added Files:
forms.php
Log Message:
Created functions folder and added forms.php within the folder. forms.php contains two functions for checking and displaying errors within the openFIRST modules.
--- NEW FILE: forms.php ---
<?php
/*
* openFIRST globals.php
* Last Modified:
* David Di Biase, April 13, 2003
*
* Copyright (C) 2003,
* openFIRST Project
* Original Author: Tim Ginn <tim...@po...>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
// Set function information
function checkform($field){
$error = array();
// Loop through every single array in the function
foreach($field as $fields=>$checkwith){
// While looping use one of these cases to perform the proper checking
switch($checkwith){
// If field is a password then check as password and respond
case "password":
if(strlen($_POST[$fields]) < 5){
$error[] = "Password is too short, must be 5-6 characters in length. You entered: ".$_POST[$fields];
}
break;
// If field is an email address then check as email and respond
case "email":
if( ! eregi("^[a-z0-9]+([_\\.-][a-z0-9]+)*"."@([a-z0-9]+([\.-][a-z0-9]+))*$",$_POST[$fields])){
$error[] = "E-mail field contains illegal characters. You entered: ".$_POST[$fields];
} else {
$item = explode("@", $_POST[$fields]);
if( gethostbyname($item["1"]) == $item["1"]) {
$error[] = "Domain in e-mail address is illegal. You entered: ".$_POST[$fields];
}
}
break;
// If field is set as ifempty then check if its empty and respond
case "ifempty":
if(empty($_POST[$fields])){
$error[] = "Empty field on form. You entered: ".$_POST[$fields];
}
}
}
return $error;
}
// Set function values
function formerrors($error){
// Check if requires error response
if (! empty($error)){
// Create errors table
echo "<table width=400 border=1 align=center cellpadding=1 cellspacing=0 bordercolor=#333333 bgcolor=#CCCCCC><tr><td><b>You have errors within your form:</b><br>";
// Display errors in form
foreach($error as $value){
echo "- ".$value."<br>";
}
// Close errors table
echo "</td></tr></table>";
}
}
?>
|
|
From: <dav...@us...> - 2003-05-24 20:53:46
|
Update of /cvsroot/openfirst/config/functions In directory sc8-pr-cvs1:/tmp/cvs-serv3867/functions Log Message: Directory /cvsroot/openfirst/config/functions added to the repository |
|
From: <xt...@us...> - 2003-05-24 18:48:58
|
Update of /cvsroot/openfirst/news
In directory sc8-pr-cvs1:/tmp/cvs-serv27885
Modified Files:
addnews.php
Log Message:
Add member menus to add news section
Index: addnews.php
===================================================================
RCS file: /cvsroot/openfirst/news/addnews.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** addnews.php 15 May 2003 11:00:04 -0000 1.1.1.1
--- addnews.php 24 May 2003 18:48:55 -0000 1.2
***************
*** 29,32 ****
--- 29,34 ----
include($header);
+ membersmenu($user->membertype);
+
echo("<h1>Add News</h1>");
|
|
From: <xt...@us...> - 2003-05-24 18:46:50
|
Update of /cvsroot/openfirst/members
In directory sc8-pr-cvs1:/tmp/cvs-serv27093
Modified Files:
adduser.php auth.php
Log Message:
Fix various menu errors.
Index: adduser.php
===================================================================
RCS file: /cvsroot/openfirst/members/adduser.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** adduser.php 24 May 2003 18:37:01 -0000 1.1
--- adduser.php 24 May 2003 18:46:47 -0000 1.2
***************
*** 50,53 ****
--- 50,54 ----
$_POST["picturelocation"] . "', '" . $_POST["team"] . "', '" .
date("Y-m-d") . "');");
+ echo("Added user: " . $_POST["user"]);
} else {
echo("Password does not match confirm password.");
Index: auth.php
===================================================================
RCS file: /cvsroot/openfirst/members/auth.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** auth.php 24 May 2003 18:33:43 -0000 1.3
--- auth.php 24 May 2003 18:46:47 -0000 1.4
***************
*** 44,51 ****
function membersmenu($membertype) {
! echo("<p><a href='index.php'>Members Home</a> ");
if($membertype == "administrator") {
! echo("<a href='sqlinstall.php'>Install SQL Tables</a>
! <a href='adduser.php'>Add User</a>");
}
echo("</p>");
--- 44,54 ----
function membersmenu($membertype) {
! echo("<p><a href='../members'>Members Home</a> ");
if($membertype == "administrator") {
! echo("<a href='../members/sqlinstall.php'>Install SQL Tables</a>
! <a href='../members/adduser.php'>Add User</a>");
! if(is_readable("../news/addnews.php") == true) {
! echo(" <a href='../news/addnews.php'>Add news</a>");
! }
}
echo("</p>");
|
|
From: <xt...@us...> - 2003-05-24 18:37:04
|
Update of /cvsroot/openfirst/members
In directory sc8-pr-cvs1:/tmp/cvs-serv24131
Added Files:
adduser.php nophoto.png
Log Message:
Add adduser functionality to members area.
--- NEW FILE: adduser.php ---
<?php
/*
* openFIRST.members - adduser.php
*
* Copyright (C) 2003,
* openFIRST Project
* Original Author: Tim Ginn <tim...@po...>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
include("../config/globals.php");
include($header);
membersmenu($user->membertype);
if($user->membertype == "administrator") {
if(isset($_POST["team"]) == true) {
$user = $_POST["user"]; $firstname=$_POST["firstname"];
$lastname = $_POST["lastname"];
if($_POST["password"] == $_POST["password2"]) {
$q = mysql_query("INSERT INTO ofirst_members (user, firstname,
lastname, password, membertype, division, year, email, icq, aim, msn,
yim, description, signature, picturelocation, team, dateregistered)
VALUES ('".
$_POST["user"] ."', '" .
$_POST["firstname"] . "',
'" . $_POST["lastname"] . "', '" . cryptpassword($_POST["password"],
$encryption) . "', '" . $_POST["membertype"] ."', '" .
$_POST["division"] . "', '" . $_POST["year"] . "', '" .
$_POST["email"] . "', '" . $_POST["icq"] . "', '" . $_POST["aim"] .
"', '" . $_POST["msn"] . "', '". $_POST["yim"] ."', '" .
$_POST["description"] . "', '" . $_POST["signature"] . "', '" .
$_POST["picturelocation"] . "', '" . $_POST["team"] . "', '" .
date("Y-m-d") . "');");
} else {
echo("Password does not match confirm password.");
}
}
?>
<h1>Add Users</h1>
<p>This utility will add users to the members area.</p>
<table>
<form method="post" action="adduser.php">
<tr><td>
Team Number:
</td><td>
<input type="text" name="team" /></td></tr>
<tr><td>
User Name:
</td><td>
<input type="text" name="user" />
</td></tr>
<tr><td>
First Name:
</td><td>
<input type="text" name="firstname" />
</td></tr>
<tr><td>
Last Name:
</td><td>
<input type="text" name="lastname" />
</td></tr>
<tr><td>
Password:
</td><td>
<input type="password" name="password" />
</td></tr>
<tr><td>
Confirm Password:
</td><td>
<input type="password" name="password2" />
</td></tr>
<tr><td>
Member Type:
</td><td>
<select name="membertype">
<option value="administrator">Administrator</option>
<option value="user" selected="selected">User</option>
</select>
</td></tr>
<tr><td>
Division:
</td><td>
<input type="text" name="division" />
</td></tr>
<tr><td>
Year:
</td><td>
<input type="text" name="year" value="<?php echo(date("Y")); ?>" />
</td></tr>
<tr><td>
E-mail:
</td><td>
<input type="text" name="email" />
</td></tr>
<tr><td>
ICQ:
</td><td>
<input type="text" name="icq" />
</td></tr>
<tr><td>
AIM:
</td><td>
<input type="text" name="aim" />
</td></tr>
<tr><td>
MSN:
</td><td>
<input type="text" name="msn" />
</td></tr>
<tr><td>
YIM:
</td><td>
<input type="text" name="yim" />
</td></tr>
<tr><td>
Description:
</td><td>
<textarea name="description">I have not yet updated my profile.</textarea>
</td></tr>
<tr><td>
Signature:
</td><td>
<textarea name="signature">--
Team Member</textarea>
</td></tr>
<tr><td>
Picture Location
</td><td>
<input type="text" name="picture" value="nophoto.png" />
</td></tr>
<tr><td>
<input type="submit" value="Add User" />
<input type="reset" value="Clear Details" />
</td>
</tr>
</form>
</table>
<?php } else {
showlogin();
}
include($footer); ?>
--- NEW FILE: nophoto.png ---
(This appears to be a binary file; contents omitted.)
|
|
From: <xt...@us...> - 2003-05-24 18:33:47
|
Update of /cvsroot/openfirst/members
In directory sc8-pr-cvs1:/tmp/cvs-serv23151
Modified Files:
auth.php index.php sqlinstall.php
Log Message:
Update members area to have common menu.
Index: auth.php
===================================================================
RCS file: /cvsroot/openfirst/members/auth.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** auth.php 11 May 2003 22:15:05 -0000 1.2
--- auth.php 24 May 2003 18:33:43 -0000 1.3
***************
*** 43,46 ****
--- 43,56 ----
}
+ function membersmenu($membertype) {
+ echo("<p><a href='index.php'>Members Home</a> ");
+ if($membertype == "administrator") {
+ echo("<a href='sqlinstall.php'>Install SQL Tables</a>
+ <a href='adduser.php'>Add User</a>");
+ }
+ echo("</p>");
+ return(0);
+ }
+
function showlogin () {
echo("<form action='".$_SERVER["PHP_SELF"] . "' method='post'>
***************
*** 90,94 ****
echo("<p>Members table does not exist, therefore I am creating it.</p>");
$query = mysql_query("CREATE TABLE ofirst_members (
! user TEXT,
firstname TINYTEXT,
lastname TINYTEXT,
--- 100,105 ----
echo("<p>Members table does not exist, therefore I am creating it.</p>");
$query = mysql_query("CREATE TABLE ofirst_members (
! UNIQUE(user),
! user CHAR(128),
firstname TINYTEXT,
lastname TINYTEXT,
***************
*** 126,130 ****
}
}
- // $msg = mysql_fetch_object($query);
?>
--- 137,140 ----
Index: index.php
===================================================================
RCS file: /cvsroot/openfirst/members/index.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** index.php 11 May 2003 23:53:44 -0000 1.3
--- index.php 24 May 2003 18:33:43 -0000 1.4
***************
*** 31,43 ****
if(isset($user->user)) {
?>
<h1>Members Area</h1>
<p>This is the openFIRST members area. You are logged in as: <?php
echo($user->user . " the " . $user->membertype . "."); ?></p>
- <ul>
- <?php if($user->membertype == "administrator") {
- echo("<li><a href='sqlinstall.php'>Install SQL Tables</a></li>");
- } ?>
- </ul>
<?php } else {
showlogin();
--- 31,41 ----
if(isset($user->user)) {
?>
+ <?php
+ membersmenu($user->membertype);
+ ?>
<h1>Members Area</h1>
<p>This is the openFIRST members area. You are logged in as: <?php
echo($user->user . " the " . $user->membertype . "."); ?></p>
<?php } else {
showlogin();
Index: sqlinstall.php
===================================================================
RCS file: /cvsroot/openfirst/members/sqlinstall.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** sqlinstall.php 12 May 2003 00:29:02 -0000 1.1
--- sqlinstall.php 24 May 2003 18:33:44 -0000 1.2
***************
*** 29,32 ****
--- 29,34 ----
include($header);
+ membersmenu($user->membertype);
+
if($user->membertype == "administrator") {
?>
|
|
From: <xt...@us...> - 2003-05-19 22:35:23
|
Update of /cvsroot/openfirst/guestbook In directory sc8-pr-cvs1:/tmp/cvs-serv12509 Modified Files: yahoo.png Log Message: Change icons to have white background. Index: yahoo.png =================================================================== RCS file: /cvsroot/openfirst/guestbook/yahoo.png,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 Binary files /tmp/cvs2hH5l0 and /tmp/cvsYBFAuQ differ |