Update of /cvsroot/openfirst/projects
In directory sc8-pr-cvs1:/tmp/cvs-serv24133
Modified Files:
index.php
Log Message:
Index page had a few errors after testing. Here are the fixes.
Index: index.php
===================================================================
RCS file: /cvsroot/openfirst/projects/index.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** index.php 1 Nov 2003 16:43:49 -0000 1.15
--- index.php 1 Nov 2003 18:05:27 -0000 1.16
***************
*** 45,49 ****
echo "<h2>Projects System</h2>Welcome <font color='green'>".$user->user."</font>, thank you for logging in!<br><br>";
?>
- <p>Welcome to the project system!</p>
<table width="400">
<tr>
--- 45,48 ----
***************
*** 119,123 ****
$tasknum = 0;
$taskquery = ofirst_dbquery("SELECT Dates FROM ofirst_projects_tasks;");
! while($task = ofirst_dbfetch_object($tasksuery)){
if($selectdate == date("F j, Y",$task->Dates)){
$tasknum++;
--- 118,122 ----
$tasknum = 0;
$taskquery = ofirst_dbquery("SELECT Dates FROM ofirst_projects_tasks;");
! while($task = ofirst_dbfetch_object($taskquery)){
if($selectdate == date("F j, Y",$task->Dates)){
$tasknum++;
***************
*** 148,152 ****
<td>
<?php
! $totel = $notenum + $tasknum + $projectnum;
echo $total;
?>
--- 147,151 ----
<td>
<?php
! $total = $notenum + $tasknum + $projnum;
echo $total;
?>
***************
*** 154,159 ****
</tr>
</table>
! <p>[ <a href="<?php echo $home.$basepath; ?>/manual/openfirst.projects/projects.php#howto">Project Help Manual</a>
! ]<br>
<?php
--- 153,158 ----
</tr>
</table>
! <p>[ <a href="<?php echo $home.$basepath; ?>/manual/openfirst.projects/projects.php#howto">Project
! Help Manual</a> ] [ <a href="today.php">View Today's Commits</a> ]<br>
<?php
|