Time | Activity |
---|---|
$time | \n";
// $colorPntr = 0;
// $colorList = array("red", "blue");
if (empty($event))
echo " \n"; else { $didNotBr = true; $tEnt = 0; $nResults = count($event); while ($tEnt < $nResults) { if (array_key_exists("link", $_REQUEST)) { //$click = "parent.location.href='../../../?p=orders&sjobNo=".$hDat['jobNo']."';"; $click = "parent.location.href='../../../?p=orders&jobRef=".$hDat['tid']."';"; } else $click = "parent.location.href='../../?schEdit=".$event[$tEnt]['schEdit']."';"; if ($event[$tEnt]['tid'] != $lastEvent or $lastEntType != $event[$tEnt]['eType']) { //if ($tEnt) echo " \n"; $time_in = displayDate($_REQUEST['d'].$event[$tEnt]['start']); $time_out = displayDate($_REQUEST['d'].$event[$tEnt]['end']); echo "".$event[$tEnt]['eType']; if (!empty($event[$tEnt]['fName'])) echo $event[$tEnt]['fName']." "; echo $event[$tEnt]['lName']; echo " (".$time_in['t']; if ($time_in['t'] != $time_out['t']) echo " - ".$time_out['t']; echo ")"; if (!empty($event[$tEnt]['role'])) echo " ".$event[$tEnt]['role']; echo ""; $lastEvent = $event[$tEnt]['tid']; $lastEntType = $event[$tEnt]['eType']; $tEnt += 1; if ($tEnt < $nResults) { echo " \n"; $didNotBr = false; } } else $tEnt += 1; } if ($didNotBr) echo " \n"; } echo " | \n";
echo "