"open","p" => "pending","c" => "closed"); $prior = array("e" => "emergency","vh" => "very high","h" => "high","m" => "medium","l" => "low","vl" => "very low"); if (!$mode) { include "includes/db.php"; print "
"; $multi = array(); $open = array(); $pending = array(); $closed = array(); $data = @mysql_query("SELECT id, pname, priority, percent, status FROM projects GROUP BY status, priority, percent") or die("Invalid query: " . mysql_error()); while ($row = @mysql_fetch_array($data, MYSQL_ASSOC)) { array_push ($multi,array("id" => $row["id"],"pname" => $row["pname"],"priority" => $row["priority"],"percent" => $row["percent"],"status" => $row["status"])); } foreach ($multi as $array) { if ($array["status"] == $stat["o"]) { array_push ($open,$array); } elseif ($array["status"] == $stat["p"]) { array_push ($pending,$array); } elseif ($array["status"] == $stat["c"]) { array_push ($closed,$array); } } ?>

Projects -



"; ?>

Projects -

NamePriority%CompleteOptions
" />
" />
" />
" />
" />
" />


"; ?>

Projects -

NamePriority%CompleteOptions
" />
" />
" />
" />
" />
" />


"; ?>
NamePriority%CompleteOptions
" />
" />
" />
" />
" />
" />
Project Leader Squirrley5
Project Name
Priority
Target Completion Date
Status & % Complete
Programmer Assigned
Description
Back to Projects
29) { $warning .= "You have selected an invalid date.
"; } if ($month == "04" or $month == "06" or $month == "09" or $month == "11") { if ($day > 30) { $warning .= "You have selected an invalid date.
"; } } $date = @mysql_escape_string($_POST["datey"] . "-" . $_POST["datem"] . "-" . $_POST["dated"]); $status = @mysql_escape_string(strtolower($_POST["status"])); $percent = round($_POST["percent"], 0); if ($percent > 100) { $percent = 100; } $percent = @mysql_escape_string($percent); $programmer = @mysql_escape_string($_POST["programmer"]); if (!$programmer) { $programmer = "None"; } $description = @mysql_escape_string(str_replace ("\n", "
", $_POST["description"])); if (!$pname) { $warning .= "You must set a project name.
"; } if ($percent !== "0" and (!$percent or !is_numeric($percent))) { $warning .= "You must express the completion percentage as a number between 0 and 100.
"; } if ($warning) { ?>
The following error(s) have occurred:

Please go back and correct the errors.
Project Added

View Projects

", "\n", $row["description"]); ?>
Project Leader Squirrley5
Project Name " />
Priority
Target Completion Date
Status & " /> % Complete
Programmer Assigned " />
Description
Back to Projects
29) { $warning .= "You have selected an invalid date.
"; } if ($month == "04" or $month == "06" or $month == "09" or $month == "11") { if ($day > 30) { $warning .= "You have selected an invalid date.
"; } } $date = @mysql_escape_string($_POST["datey"] . "-" . $_POST["datem"] . "-" . $_POST["dated"]); $status = @mysql_escape_string(strtolower($_POST["status"])); $percent = @mysql_escape_string($_POST["percent"]); $programmer = @mysql_escape_string($_POST["programmer"]); if (!$programmer) { $programmer = "None"; } $description = @mysql_escape_string(str_replace ("\n", "
", $_POST["description"])); if (!$pname) { $warning .= "You must set a project name.
"; } if ($percent !== "0" and (!$percent or !is_numeric($percent))) { $warning .= "You must express the completion percentage as a number between 0 and 100.
"; } if ($warning) { ?>
The following error(s) have occurred:

Please go back and correct the errors.
Project Saved

View Projects

Are you sure you want to delete this project?

Project Deleted

View Projects

You have decided not to delete this project.

View Projects

Project Leader Squirrley5
Project Name
Priority
Target Completion Date
Status & % Complete
Programmer Assigned
Description
View Projects
$row["id"],"tname" => $row["tname"],"percent" => $row["percent"],"status" => $row["status"])); } foreach ($tasks as $array) { if ($array["status"] == $stat["o"]) { array_push($topen,$array); } elseif ($array["status"] == $stat["p"]) { array_push($tpending,$array); } elseif ($array["status"] == $stat["c"]) { array_push($tclosed,$array); } } ?>

Tasks -

Name%CompleteOptions
" />


Tasks -

Name%CompleteOptions
" />


Tasks -

Name%CompleteOptions
" />


Project Notes

Posted by: On: