// sent echo " <td id=" . $class2 . " align=\"right\">" . $myrow[4] . "</td>\n"; // recd if ($Dbo == 0) { echo " <td id=" . $class2 . " align=\"right\">" . $myrow[5] . "</td>\n"; } else { echo " <td id=" . $class2 . " align=\"right\"><b>" . $myrow[5] . "</b></td>\n"; } // deld if ($Tbo == 0) { echo " <td id=" . $class2 . " align=\"right\">" . $myrow[1] . "</td>\n"; } else { echo " <td id=" . $class2 . " align=\"right\"><b>" . $myrow[1] . "</b></td>\n"; } // Total echo " </tr>\n"; } echo "</table>\n"; echo "<P>\n"; dateLinks($period, "bpl", $db); echo "</center>\n"; ?> </div> <?php sectLeaders($db); footer($starttime, $maxdate, "\$Revision: 1.16 \$ - \$Date: 2008-01-22 19:28:25-05 \$"); ?> </div> </body> </html>
$class2 = "OsRow3"; $rownum = 0; } else { $class1 = "OsRow2"; $class2 = "OsRow4"; $rownum = 1; } // Now display the data echo " <tr id=" . $class1 . ">\n"; echo " <td id=" . $class2 . ">" . $callrow . "</td>\n"; // Call echo " <td id=" . $class2 . " align=\"right\">" . $myrow[1] . "</td>\n"; // Total echo " <td id=" . $class2 . ">" . $myrow[2] . "</td>\n"; // Comments echo " </tr>\n"; } echo "</table>\n"; echo "<P>\n"; dateLinks($period, "sar", $db); echo "</center>\n"; ?> </div> <?php sectLeaders($db); footer($starttime, $maxdate, "\$Revision: 1.14 \$ - \$Date: 2007/08/31 19:15:05 \$"); ?> </div> </body> </html>
$rownum = 1; } // Calculate a link to the individual's reports $callrow = '<a id="OsRowL" href="pshri.php?call=' . $myrow[0] . '">' . $myrow[0] . '</A>'; // Now display the row echo " <tr id=\"" . $class1 . "\">\n"; echo ' <td id="' . $class2 . '">' . $callrow . "</td>\n"; echo ' <td id="' . $class2 . '" align="right">' . $myrow[1] . "</td>\n"; echo ' <td id="' . $class2 . '" align="right">' . $myrow[2] . "</td>\n"; echo ' <td id="' . $class2 . '" align="right">' . $myrow[3] . "</td>\n"; echo ' <td id="' . $class2 . '" align="right">' . $myrow[4] . "</td>\n"; echo ' <td id="' . $class2 . '" align="right">' . $myrow[5] . "</td>\n"; echo ' <td id="' . $class2 . '" align="right">' . $myrow[6] . "</td>\n"; echo ' <td id="' . $class2 . '" align="right">' . $myrow[7] . "</td>\n"; echo ' <td id=' . $class2 . '>' . $myrow[8] . "</td>\n"; echo " </tr>\n"; } echo " </table>\n"; echo " <p>\n"; dateLinks($period, "pshr", $db); echo " </center>\n"; ?> </div> <?php sectLeaders($db); footer($starttime, $maxdate, "\$Revision: 1.7 \$ - \$Date: 2007-10-07 16:21:42-04 \$"); ?> </div> </body> </html>
$myr2 = getRow($rs2, $db); $netname = substr($myr2[1], 0, 25); echo " <th>" . $myr2[0] . "</th>\n"; echo " <td>" . $netname . "</td>\n"; echo " <th>" . $myr1[1] . "</th>\n"; for ($p = 0; $p < 12; $p++) { $thisp = $startp + $p; $SQ3 = "SELECT COUNT(*) FROM `netreport` " . "WHERE `netid`=" . $myr1[0] . " AND `period`=" . $thisp; $rs3 = singleResult($SQ3, $db); if ($rs3 == 1) { echo " <td>X</td>\n"; } else { echo " <td style=\"background-color: red;\">-</td>\n"; } } echo " </tr>\n"; } echo " </table>\n"; echo "<p></p>\n"; dateLinks($period, "netsummary", $db); echo "</center>\n"; ?> </div> <?php sectLeaders($db); footer($starttime, $maxdate, "\$Revision: 1.11 \$ - \$Date: 2010-01-31 07:19:48-05 \$"); ?> </div> </body> </html>
$value = $hours * $hourvalue; echo "\t\t<td " . $s1 . ">Staff</td>\n"; echo "\t\t<td " . $s1 . ">" . round($hours) . "</td>\n"; echo "\t\t<td " . $s1 . ">\$" . round($value) . "</td>\n"; echo "\t\t<td " . $s1 . ">" . $row5[0] . " </td>\n"; echo "\t\t<td " . $s1 . ">" . " " . "</td>\n"; echo "\t\t<td " . $s1 . ">" . $row5[1] . " </td>\n"; echo "\t\t<td " . $s1 . ">" . $row5[2] . " </td>\n"; echo "\t\t<td " . $s1 . ">" . $row5[3] . " </td>\n"; echo "\t\t<td " . $s1 . ">" . $row5[4] . " </td>\n"; echo "\t\t<td " . $s1 . ">" . $row5[5] . " </td>\n"; echo "\t\t<td " . $s1 . ">" . $row5[6] . " </td>\n"; echo "\t</tr>\n"; } } //echo "<br>\n"; } // echo "</p>\n"; echo "</table>\n"; echo "<P>\n"; echo "<center>\n"; dateLinks($period, "arpsc_ecrept", $db); echo "</center>\n"; echo " </div>\n"; sectLeaders($db); footer($starttime, $maxdate, "\$Revision: 1.3 \$ - \$Date: 2010-12-13 08:53:48-04 \$"); ?> </div> </body> </html>
$TSess = $TSess + $myrow[4]; // For manhours, use reported if available if ($myrow[6] > 0) { echo ' <td ' . $id . ' align="right">' . $myrow[6] . "</td>\n"; $TMH = $TMH + $myrow[6]; } else { if ($myrow[4] > 0 && $myrow[3] > 0) { $manhours = $myrow[3] / $myrow[4] * $myrow[1]; $manhours = floor(100 * $manhours + 0.005) / 100; echo ' <td ' . $id . ' align="right"><font color=#bbbbbb>' . $manhours . "</font></td>\n"; $TMH = $TMH + $manhours; } } echo " </tr>\n"; } // Display totals echo "<tr><th>Total<td align=\"right\">" . $TQNI . "<td align=\"right\">" . $TQTC . "<td align=\"right\">" . $TQTR . "<td align=\"right\">" . $TSess . "<td align=\"right\">" . $TMH . "</tr>\n"; echo "</table>\n"; echo "<p></p>\n"; dateLinks($period, "netreport", $db); echo "</center>\n"; ?> </div> <?php sectLeaders($db); footer($starttime, $maxdate, "\$Revision: 1.8 \$ - \$Date: 2007/08/31 21:33:40 \$"); ?> </div> </body> </html>