HRDIODB
[ class tree: HRDIODB ] [ index: HRDIODB ] [ all elements ]

Source for file day.php

Documentation is available at day.php

  1. <?php
  2. /**
  3.  * UARS Day display and edit interface.
  4.  * This file displays a viewable and an editable version of a given UARS day.
  5.  * @package HRDIODB
  6.  */
  7.  
  8. /**
  9.  * This file is part of HRDIODB.
  10.  *
  11.  * HRDIODB is free software; you can redistribute it and/or modify
  12.  * it under the terms of the GNU General Public License as published by
  13.  * the Free Software Foundation; either version 2 of the License, or
  14.  * (at your option) any later version.
  15.  *
  16.  * HRDIODB is distributed in the hope that it will be useful,
  17.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  19.  * GNU General Public License for more details.
  20.  *
  21.  * You should have received a copy of the GNU General Public License
  22.  * along with HRDIODB; if not, write to the Free Software
  23.  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  24.  */
  25.  
  26. /** Configuration file */
  27. require_once("conf.php");
  28. /** Debugging functions */
  29. require_once("debugging.php");
  30. /** UARS day class */
  31. require_once("uars_day_class.php");
  32. /** HRDI database class */
  33. require_once("hrdi_db_class.php");
  34. /** PHP session class */
  35. require_once("session_class.php");
  36. /** User class */
  37. require_once("user_class.php");
  38. /** Common classs */
  39. require_once("common_class.php");
  40.  
  41. // Figure out if we're interactive or offline
  42. $offline common::offline();
  43.  
  44. // HRDI database instance
  45. $hdb new hrdi_db ($dsn);
  46.  
  47. // Create class instances based on current running mode
  48. if ($offline{
  49.   $user new user($hdb);
  50. else {
  51.   $session new session();
  52.   $user new user($hdb$session);
  53. }
  54.     
  55. // Page title
  56. $page_title "Day View";
  57.  
  58. if ($offline{
  59.   // Get the UARS day from the argument
  60.     $uars_day $argv[1];
  61.   // We can't edit in offline mode
  62.     $edit FALSE;
  63. else {
  64.   // See if we're in edit mode
  65.     $edit @$_GET['edit'];
  66.  
  67.   // If we're in edit mode, make sure we're authenticated
  68.     if ($edit && !$user->authenticated()) {
  69.     $session->set_var("page"$_SERVER['REQUEST_URI']);
  70.     // Redirect to user login
  71.         common::redirect("login.php");
  72.   }
  73.  
  74.   // If we're in edit mode, make sure we're an admin user
  75.     if ($edit && !$user->is_admin()) {
  76.     require_once("header.php");
  77.     error("You need to be an admin to edit day data");
  78.     require_once("footer.php");
  79.     exit(1);
  80.   }
  81.  
  82.   // Get the UARS day from the GET or POST data
  83.     $uars_day = isset($_POST['UARS_Day']$_POST['UARS_Day'@$_GET['uars_day'];
  84. }
  85.  
  86. // Validate the UARS day
  87. if (!is_numeric($uars_day|| ($uars_day 1)) {
  88.   if ($offline{
  89.     print "Error: UARS day is not valid";
  90.   else {
  91.     require_once("header.php");
  92.     error("UARS Day is not valid");
  93.     require_once("footer.php");
  94.   }
  95.   exit(0);
  96. }
  97.  
  98. // Create a UARS day class instance
  99. $day new uars_day ($hdb$uars_day);
  100.  
  101. $show_planned @$_GET['show_planned'];
  102.  
  103. // Check to see if we're updating day data
  104. if (isset($_POST['save'])) {
  105.   unset($_POST['save']);
  106.  
  107.   // Save the data
  108.     if ($day->save($_POST)) {
  109.     // Redirect to view the day
  110.         common::redirect("day.php?uars_day={$day->day}");
  111.   }
  112. }
  113.  
  114. // Include the correct header
  115. if ($offline{
  116.   require_once("offline_header.php");
  117. else {
  118.   require_once("header.php");
  119. }
  120.  
  121. // Print out any errors
  122. if ($day->error{
  123.   error($day->error);
  124. }
  125.  
  126. /* Figure out the PHP version. This is important since in version 4.3.8 there
  127.  * is a nasty padding bug in the printf() family of functions. We determine
  128.  * the padding based on the version, since only 4.3.8 should be affected.
  129.  */
  130. if (phpversion(== "4.3.8"{
  131.   $padding "3";
  132. else {
  133.   $padding "6";
  134. }
  135.  
  136. // Print the Previous / Next day links
  137. print "<div class=\"prev_next\">";
  138.  
  139. if ($day->day 1{
  140.   $pday $day->day 1;
  141.  
  142.   if ($offline{
  143.     $link "day_$pday.html";
  144.   else 
  145.     $link "day.php?uars_day=$pday";
  146.   }
  147.  
  148.   print "<a href=\"$link\">&larrDay $pday</a>";
  149. }
  150.  
  151. if ($day->day $day->newest{
  152.   print "&nbsp;&nbsp;&nbsp;";
  153.  
  154.   $nday $day->day 1;
  155.  
  156.   if ($offline{
  157.     $link "day_$nday.html";
  158.   else {
  159.     $link "day.php?uars_day=$nday";
  160.   }
  161.  
  162.   print  "<a href=\"$link\">Day $nday &rarr;</a>";
  163. }
  164.  
  165. print "</div>";
  166.  
  167. // Display the day table, taking into account edit mode
  168. ?>
  169. <table class="main">
  170.   <tr>
  171.     <td id="left">
  172.       <table class="hrdi" id="day">
  173.       <?php if ($edit?>
  174.       <form method="post" action="<?php print "{$_SERVER['PHP_SELF']}?uars_day={$day->day}"?>">
  175.       <input type="hidden" name="UARS_Day" value="<?php print $day->day?>">
  176.       <?php ?>
  177.         <tr>
  178.           <td class="label" colspan="3">HRDI Observational Database</td>
  179.           <td class="label_nb" colspan="2" align="right">
  180.             <?php
  181.               // Display correct week view link
  182.                             if ($offline{
  183.                 $link "week_".floor(($day->day 37).".html";
  184.               else {
  185.                 $link "week.php?uars_day={$day->day}";
  186.               }
  187.  
  188.               print "<a href=\"$link\">View week for day {$day->day}</a>";
  189.  
  190.               // Display Edit / View link if appropriate
  191.                             if (!$offline && $user->authenticated(&& $user->is_admin()) {
  192.                 if ($edit{
  193.                   print " | <a href=\"day.php?uars_day={$day->day}\">View</a>";
  194.                 else {
  195.                   print " | <a href=\"day.php?uars_day={$day->day}&edit=1\">Edit</a>";
  196.                 }
  197.               
  198.             ?>
  199.           </td>
  200.         </tr>
  201.         <tr>
  202.           <td class="label"><?php print common::deflink("Year - Day of Year""YDoY")?></td>
  203.           <td class="data" colspan="2" nowrap><?php print $day->data['Year']?> - <?php print $day->data['Day_Of_Year']?></td>
  204.           <td colspan="2" rowspan="3" class="label" style="white-space: normal">
  205.             <?php print common::deflink("Data Composition of Day""Composition")?><br/>
  206.             Percentages relative to 24 hours of possible data collection. Percentage of:
  207.           </td>
  208.         </tr>
  209.         <tr>
  210.           <td class="label"><?php print common::deflink("UARS Day""UARS_Day")?></td>
  211.           <td class="data" colspan="2" align="center"><?php print @$day->data['UARS_Day']?></td>
  212.         </tr>
  213.         <tr>
  214.           <td class="label"><?php print common::deflink("Date""Date")?></td>
  215.           <td class="data" colspan="2" align="center" nowrap><?php print $day->data['Date']?></td>
  216.         </tr>
  217.         <tr>
  218.           <td class="label"><?php print common::deflink("Flight Direction""Flight")?></td>
  219.           <td class="data" colspan="2" align="center" nowrap>
  220.             <?php if ($edit?>
  221.               <input id="fdf" type="radio" name="Flight_Direction" value="F" <?php print (common::get_value('Flight_Direction'$_POST$day->data== "F""checked" ""?>> <label for="fdf">Forward</label><br/>
  222.               <input id="fdb" type="radio" name="Flight_Direction" value="B" <?php print (common::get_value('Flight_Direction'$_POST$day->data== "B""checked" ""?>> <label for="fdb">Backward</label><br/>
  223.               <input id="fdm" type="radio" name="Flight_Direction" value="M" <?php print (common::get_value('Flight_Direction'$_POST$day->data== "M""checked" ""?>> <label for="fdm">Maneuver</label>
  224.             <?php else {
  225.               print @$day->display_data['Flight_Direction'];
  226.             ?>
  227.           </td>
  228.           <td class="label"><?php print common::deflink("Mesosphere Lower Thermosphere Data""Therm")?></td>
  229.           <td class="data" nowrap align=right><?php print @$day->data['pcnt_Day_Mes_Low_Therm']?></td>
  230.         </tr>
  231.         <tr>
  232.           <td class="label"><?php print common::deflink("Day Of Week""DoW")?></td>
  233.           <td class="data" colspan="2" align="center" ><?php print $day->data['Day_Of_Week']?></td>
  234.           <td class="label"><?php print common::deflink("Stratosphere Data""Strat")?></td>
  235.           <td class="data" nowrap align=right><?php print @$day->data['pcnt_Day_Strat']?></td>
  236.         </tr>
  237.         <tr>
  238.           <td class="label"><?php print common::deflink("Beta Angle (Noon UT) (degrees)""Beta")?></td>
  239.           <td class="data" colspan="2" align="right">
  240.             <?php if ($edit?>
  241.             <input type="text" name="Beta_Angle" size="7" maxlength="7" value="<?php print common::get_value('Beta_Angle'$_POST$day->data)?>">
  242.             <?php else 
  243.               print @$day->data['Beta_Angle'];
  244.             ?>
  245.           </td>
  246.           <td class="label"><?php print common::deflink("Other Science Data""Other")?></td>
  247.           <td class="data" nowrap align=right><?php print @$day->data['pcnt_Day_Other_Sci']?></td>
  248.         </tr>
  249.         <tr>
  250.           <td class="label"><?php print common::deflink("Data Quality""Quality")?></td>
  251.           <td class="data" colspan="2" align="center" nowrap>
  252.             <?php if ($edit{
  253.               /** 
  254.               * Care must be taken to differentiate between a value of 0 and
  255.               * a value of NULL for the data valid flag. PHP understands them
  256.               * to be different, but both ($valid == NULL) and ($valid == 0)
  257.               * would return TRUE if $foo was NULL. To get the right result,
  258.               * still use ($foo == NULL) but use ($foo === "0") for the second
  259.               * case.
  260.                */
  261.               $valid common::get_value('Data_Valid'$_POST$day->data);
  262.               ?>
  263.               <input id="unspecified" type="radio" name="Data_Valid" value="NULL"
  264.               <?php print (($valid == "NULL"|| ($valid == NULL)) "checked" ""?>
  265.               > <label for="unspecified">Unspecified</label><br/>
  266.               <input id="valid" type="radio" name="Data_Valid" value="1"
  267.               <?php print ($valid == 1"checked" ""?>
  268.               > <label for="valid">Valid</label><br/>
  269.               <input id="not_valid" type="radio" name="Data_Valid" value="0"
  270.               <?php print ($valid === "0""checked" ""?>
  271.               > <label for="not_valid">Not Valid</label>
  272.             <?php else {
  273.               if (@$day->data['Data_Valid'== NULL{
  274.                 print "Unspecified";
  275.               elseif (@$day->data['Data_Valid'== 1{
  276.                 print "Valid";
  277.               else if (@$day->data['Data_Valid'=== "0"{
  278.                 print "Not Valid";
  279.               }
  280.             ?>
  281.           </td>
  282.           <td class="label"><?php print common::deflink("Daytime Data""Daytime")?></td>
  283.           <td class="data" nowrap align=right><?php print @$day->data['pcnt_Day_Day']?></td>
  284.         </tr>
  285.         <tr>
  286.           <td class="label"><?php print common::deflink("Coefficient Version""Coefficient")?></td>
  287.           <td class="data" align="center" colspan="2">
  288.             <?php if ($edit?>
  289.               <input type="text" name="Coeff_Ver" size="2" maxlength="2" value="<?php print common::get_value('Coeff_Ver'$_POST$day->data)?>">
  290.             <?php else {
  291.               print @$day->data['Coeff_Ver'];
  292.             ?>
  293.           </td>
  294.           <td class="label"><?php print common::deflink("Nighttime Data""Nighttime")?></td>
  295.           <td class="data" nowrap align=right><?php print @$day->data['pcnt_Day_Night']?></td>
  296.         </tr>
  297.         <tr>
  298.           <td class="label"><?php print common::deflink("Yaw Period""Yaw")?></td>
  299.           <td class="data" colspan="2" align="center">
  300.             <?php if ($edit?>
  301.               <input type="text" name="Yaw_Period" size="3" maxlength="3" value="<?php print common::get_value('Yaw_Period'$_POST$day->data)?>">
  302.             <?php else {
  303.               print @$day->data['Yaw_Period'];
  304.             ?>
  305.           </td>
  306.           <td class="label"><?php print common::deflink("Calibration Data""Calibration")?></td>
  307.           <td class="data" nowrap align=right><?php print @$day->data['pcnt_Day_Calib']?></td>
  308.         </tr>
  309.         <tr>
  310.           <td class="label" colspan="3"><?php print common::deflink("Instrument Temperature (&deg;C)""Temp")?></td>
  311.           <td class="label"><?php print common::deflink("Science or Calibration Data""Science")?></td>
  312.           <td class="data" nowrap align=right><?php print @$day->data['pcnt_Day_Sci_Calib']?></td>
  313.         </tr>
  314.         <tr>
  315.           <td class="label"><?php print common::deflink("Mean &plusmn; Std. Deviation""Temp")?></td>
  316.           <td class="data" align=right><?php printf("%.2f"@$day->data['Inst_Temp_Mean']?></td>
  317.           <td class="data" align=right><?php printf("%.2f"@$day->data['Inst_Temp_Std_Dev']?></td>
  318.           <td class="label"><?php print common::deflink("Time Powered On""Time")?></td>
  319.           <td class="data" nowrap align=right><?php print @$day->data['pcnt_Day_On']?></td>
  320.         </tr>
  321.         <tr>
  322.           <td class="label"><?php print common::deflink("Minimum/Maximum""Temp")?></td>
  323.           <td class="data" align=right><?php printf("%.2f"@$day->data['Inst_Temp_Min']?></td>
  324.           <td class="data" align=right><?php printf("%.2f"@$day->data['Inst_Temp_Max']?></td>
  325.           <td class="label"><?php print common::deflink("Total Possible Data Collected""Total")?></td>
  326.           <td class="data" nowrap align=right><?php print @$day->data['pcnt_Day_Poss_Collect']?></td>
  327.         </tr>
  328.         <tr>
  329.           <td class="label"><?php print common::deflink("Telescope Slew Rate""Telescope")?> (deg/s)</td>
  330.           <td class="data" align=right><?php printf("%.2f"@$day->data['Telescope_Slew_Rate']?></td>
  331.           <td class="label">&nbsp;</td>
  332.           <td class="label"><?php print common::deflink("Idle Mode""Idle")?></td>
  333.           <td class="data" nowrap align=right><?php print @$day->data['pcnt_Day_Idle']?></td>
  334.         </tr>
  335.         <tr>
  336.           <td class="label" id="comments"><?php print common::deflink("Comments""Comments")?></td>
  337.           <td class="data" colspan="4">
  338.             <textarea name="Comments" cols="50" rows="3"
  339.             <?php 
  340.               if (!$edit{
  341.                 print "readonly";
  342.               }
  343.             ?> 
  344.             ><?php print stripslashes(common::get_value('Comments'$_POST$day->data))?></textarea>
  345.           </td>
  346.         </tr>
  347.         <?php if ($edit?>
  348.           <tr>
  349.             <td colspan="5" class="label" align="right">
  350.               <input type="button" value="Cancel" onClick="location.href='day.php?uars_day=<?php print $day->day?>'">
  351.               <input type="submit" name="save" value="Save">
  352.             </td>
  353.           </tr>
  354.           </form>
  355.         <?php ?>
  356.       </table>
  357.     </td>
  358.     <td rowspan="2">
  359.       <table class="hrdi" id="modes">
  360.         <tr>
  361.           <td class="label" colspan="6"><?php print common::deflink("Modes""Modes")?></td>
  362.           <td class="label_nb" align="right">
  363.           <?php
  364.             if (!$offline && $user->authenticated(&& $user->is_admin()) {
  365.               print "<a href=\"editmodes.php?uars_day={$day->day}\">Edit</a>";
  366.             }
  367.           ?>
  368.           </td>
  369.         </tr>
  370.         <tr class="label">
  371.           <td><?php print common::deflink("Pid""Pid")?></td>
  372.           <td><?php print common::deflink("A1""Azimuth")?></td>
  373.           <td><?php print common::deflink("A2""Azimuth")?></td>
  374.           <td><?php print common::deflink("A3""Azimuth")?></td>
  375.           <td><?php print common::deflink("A4""Azimuth")?></td>
  376.           <td width="49%"><?php print common::deflink("Description""Description")?></td>
  377.           <td><?php print common::deflink("Plan""Planned")?></td>
  378.         </tr>
  379.         <?php
  380.           // The link for showing/hiding Pids in Case 1 below
  381.                     $pid_message_link "<a href=\""
  382.                             . $_SERVER['PHP_SELF']
  383.                             . "?uars_day="
  384.                             . $day->day
  385.                             . ($edit "&edit=1" "");
  386.  
  387.           if ($show_planned{
  388.             $pid_message_link .= "\">hide planned pids</a>";
  389.           else {
  390.             $pid_message_link .= "&show_planned=1\">display planned pids</a>";
  391.           }
  392.  
  393.           /**
  394.            * Pid messages.
  395.            * These are the messages displayed at the bottom of the Pids table.
  396.            * This was designed per the original e-mail.
  397.            * 
  398.            * Case 1: If there is at least one 'No' value, display only the PID
  399.            * lines containing 'No' values by default, since the presence of
  400.            * an un-planned PID indicates non-nominal information
  401.            *
  402.            * Case 2: If the current calendar day is <= the day being shown
  403.            *
  404.            * Case 3: If all PIDs for the day are marked 'Yes' in the Planned field, the
  405.            * current calendar day is > the day being shown, and the data valid flag is
  406.            * 'NULL'
  407.            * 
  408.            * Case 4: If all PIDs for the day are marked 'Yes' in the Planned field, the
  409.            * current calendar day is > the day being shown, and the data valid flag is
  410.            * 'True'
  411.            *
  412.            * Case 5: If all PIDs for the day are marked 'Yes' in the Planned field, the
  413.            * current calendar day is > the day being shown, and the data valid flag is
  414.            * 'False'
  415.            */
  416.           $pid_messages[0""// This message should never show up
  417.                     $pid_messages[1"HRDI did not operate as planned today.";
  418.           
  419.           if (!$offline{
  420.             $pid_messages[1.= " ($pid_message_link)";
  421.           }
  422.  
  423.           $pid_messages[2"These modes are planned for execution.";
  424.           $pid_messages[3"Data for this day is not yet validated.";
  425.           $pid_messages[4"HRDI operated as planned on this day.";
  426.           $pid_messages[5"HRDI operated as planned on this day but the data is not valid.";
  427.  
  428.           $all_planned TRUE;
  429.           $case 0;
  430.  
  431.           foreach ($day->modes as $mode
  432.             if (!$mode['Planned']{
  433.               $all_planned FALSE;
  434.               break;
  435.             }
  436.           }
  437.  
  438.           $shown_modes 0;
  439.  
  440.           foreach ($day->modes as $mode
  441.             if ($mode['Planned'&& !$all_planned && !$show_planned{
  442.               continue;
  443.             }
  444.             ?>
  445.             <tr class="data">
  446.               <td><?php print $mode['Process_ID']?></td>
  447.               <td nowrap><?php print $mode['Azimuth1']?></td>
  448.               <td nowrap><?php print $mode['Azimuth2']?></td>
  449.               <td nowrap><?php print $mode['Azimuth3']?></td>
  450.               <td nowrap><?php print $mode['Azimuth4']?></td>
  451.               <td><?php print $mode['Description']?></td>
  452.               <td><?php print ($mode['Planned'"Yes" "No")?></td>
  453.             </tr>
  454.             <?php 
  455.             $shown_modes++;
  456.           }
  457.  
  458.           /**
  459.            * Add any necessary mode rows to meet the "minimum" number
  460.            */
  461.            for ($i $shown_modes$i $min_mode_rows$i++{
  462.              print "<tr class=\"data\">
  463.                       <td>&nbsp;</td>
  464.                       <td>&nbsp;</td>
  465.                       <td>&nbsp;</td>
  466.                       <td>&nbsp;</td>
  467.                       <td>&nbsp;</td>
  468.                       <td>&nbsp;</td>
  469.                       <td>&nbsp;</td>
  470.                     </tr>";
  471.             }
  472.         
  473.           /**
  474.            * Please see the comment block further up regarding comparing the
  475.            * values to NULL and to 0.
  476.            */
  477.           if (!$all_planned{
  478.             $case 1;
  479.           else if (time(<= $day->day_ts{
  480.             $case 2;
  481.           else if ($all_planned && (time($day->day_ts&& (@$day->data['Data_Valid'== NULL)) {
  482.             $case 3;
  483.           else if ($all_planned && (time($day->day_ts&& (@$day->data['Data_Valid'== 1)) {
  484.             $case 4;
  485.           else if ($all_planned && (time($day->day_ts&& (@$day->data['Data_Valid'=== "0")) {
  486.             $case 5;
  487.           }
  488.  
  489.           ?>
  490.           <tr>
  491.             <td colspan="7"><?php print $pid_messages[$case]?></td>
  492.           </tr>
  493.       </table>
  494.       <table class="hrdi" id="files">
  495.         <tr class="label">
  496.           <td><?php print common::deflink("Downloadable Data (D) and Plots (P)""Files")?></td>
  497.         </tr>
  498.         <?php
  499.         foreach ($day->files as $file{
  500.         ?>
  501.           <tr class="data">
  502.             <td><a href="<?php print $file['Filename']?>"><?php print $file['Description']?></a></td>
  503.           </tr>
  504.         <?php 
  505.         
  506.  
  507.         /**
  508.          * Add any necessary file rows to meet the "minimum" number
  509.          */
  510.         for ($i count($day->files)$i $min_file_rows$i++{
  511.           print "<tr class=\"data\">
  512.                    <td>&nbsp;</td>
  513.                  </tr>";
  514.         
  515.         ?>
  516.       </table>
  517.     <td>
  518.   </tr>
  519.   <tr>
  520.     <td>
  521.       <table class="hrdi" id="coverage">
  522.         <tr>
  523.           <td class="label" rowspan="2"><?php print common::deflink("Coverage""Coverage")?></td>
  524.           <td class="c_label" colspan="4"><?php print common::deflink("Warm Side""Warm")?></td>
  525.           <td class="c_label" colspan="4"><?php print common::deflink("Cold Side""Cold")?></td>
  526.         </tr>
  527.         <tr>
  528.           <td class="c_label" colspan="2"><?php print common::deflink("Day""Day")?></td>
  529.           <td class="c_label" colspan="2"><?php print common::deflink("Night""Night")?></td>
  530.           <td class="c_label" colspan="2"><?php print common::deflink("Day""Day")?></td>
  531.           <td class="c_label" colspan="2"><?php print common::deflink("Night""Night")?></td>
  532.         </tr>
  533.         <tr>
  534.           <td class="label"><?php print common::deflink("Node""Node")?></td>
  535.           <td class="c_label"><?php print common::deflink("Asc""Asc")?></td>
  536.           <td class="c_label"><?php print common::deflink("Desc""Desc")?></td>
  537.           <td class="c_label"><?php print common::deflink("Asc""Asc")?></td>
  538.           <td class="c_label"><?php print common::deflink("Desc""Desc")?></td>
  539.           <td class="c_label"><?php print common::deflink("Asc""Asc")?></td>
  540.           <td class="c_label"><?php print common::deflink("Desc""Desc")?></td>
  541.           <td class="c_label"><?php print common::deflink("Asc""Asc")?></td>
  542.           <td class="c_label"><?php print common::deflink("Desc""Desc")?></td>
  543.         </tr>
  544.         <tr>
  545.           <td class="label"><?php print common::deflink("Local Time""Local")?> (60&deg; North) (hours)</td>
  546.           <?php print common::coverage($day,"LT_60N")?>
  547.         </tr>
  548.         <tr>
  549.           <td class="label"><?php print common::deflink("Local Time""Local")?> (30&deg; North) (hours)</td>
  550.           <?php print common::coverage($day,"LT_30N")?>
  551.         </tr>
  552.         <tr>
  553.           <td class="label"><?php print common::deflink("Local Time""Local")?> (Equator) (hours)</td>
  554.           <?php print common::coverage($day,"LT_Eq")?>
  555.         </tr>
  556.         <tr>
  557.           <td class="label"><?php print common::deflink("Local Time""Local")?> (30&deg; South) (hours)</td>
  558.           <?php print common::coverage($day,"LT_30S")?>
  559.         </tr>
  560.         <tr>
  561.           <td class="label"><?php print common::deflink("Local Time""Local")?> (60&deg; South) (hours)</td>
  562.           <?php print common::coverage($day,"LT_60S")?>
  563.         </tr>
  564.         <tr>
  565.           <td class="label"><?php print common::deflink("Latitude Minimum""Lmin")?> (degrees)</td>
  566.           <?php print common::coverage($day,"LAT_Min")?>
  567.         </tr>
  568.         <tr>
  569.           <td class="label"><?php print common::deflink("Latitude Maximum""Lmax")?> (degrees)</td>
  570.           <?php print common::coverage($day,"LAT_Max")?>
  571.         </tr>
  572.       </table>
  573.     </td>
  574.   </tr>
  575. </table>
  576.  
  577. <?php
  578. // Include the footer
  579. require_once("footer.php");
  580. ?>

Documentation generated on Tue, 23 Jan 2007 22:57:46 -0500 by phpDocumentor 1.3.0RC6