Changeset 8467 for trunk/MagicSoft/Mars/datacenter/db/ganymed.php
- Timestamp:
- 04/28/07 23:07:56 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/ganymed.php
r8273 r8467 6 6 //datasets (0-3) 7 7 $query0 .= " DataSets.fDataSetNumber, fDataSetName, fComment, ";//0,1,2 8 $query0 .= " fSourceName, ";//39 //steps ( 4-7)10 $query0 .= " fDataSetInserted, fStarFilesAvail, ";// 4,511 $query0 .= " fGanymed, fFillGanymed, ";// 6,712 //ganymed ( 8-13)13 $query0 .= " fExcessEvents, fBackgroundEvents, fSignalEvents, ";// 8,9,1014 $query0 .= " fSignificance, fScaleFactor, fEffOnTime/3600 ";//1 1,12,138 $query0 .= " fSourceName, fObservationModeName, ";//3, 4 9 //steps (5-8) 10 $query0 .= " fDataSetInserted, fStarFilesAvail, ";//5,6 11 $query0 .= " fGanymed, fFillGanymed, ";//7,8 12 //ganymed (9-14) 13 $query0 .= " fExcessEvents, fBackgroundEvents, fSignalEvents, ";//9,10,11 14 $query0 .= " fSignificance, fScaleFactor, fEffOnTime/3600 ";//12,13, 14 15 15 16 16 $query0 .= " FROM DataSets "; 17 17 18 18 $query0 .= " LEFT JOIN Source ON DataSets.fSourceKEY=Source.fSourceKEY "; 19 $query0 .= " LEFT JOIN ObservationMode ON DataSets.fObservationModeKEY=ObservationMode.fObservationModeKEY "; 19 20 $query0 .= " LEFT JOIN DataSetProcessStatus ON DataSets.fDataSetNumber=DataSetProcessStatus.fDataSetNumber "; 20 21 $query0 .= " LEFT JOIN Ganymed ON DataSets.fDataSetNumber=Ganymed.fDataSetNumber "; … … 163 164 $comment=mysql_result($result0, $i, 2); 164 165 $source=mysql_result($result0, $i, 3); 165 $inserted=mysql_result($result0, $i, 4); 166 $filesavail=mysql_result($result0, $i, 5); 167 $ganymed=mysql_result($result0, $i, 6); 168 $fillganymed=mysql_result($result0, $i, 7); 169 $excess=mysql_result($result0, $i, 8); 170 $bg=mysql_result($result0, $i, 9); 171 $signal=mysql_result($result0, $i, 10); 172 $signif=mysql_result($result0, $i, 11); 173 $scale=mysql_result($result0, $i, 12); 174 $effontime=mysql_result($result0, $i, 13); 166 $wobble=mysql_result($result0, $i, 4); 167 $inserted=mysql_result($result0, $i, 5); 168 $filesavail=mysql_result($result0, $i, 6); 169 $ganymed=mysql_result($result0, $i, 7); 170 $fillganymed=mysql_result($result0, $i, 8); 171 $excess=mysql_result($result0, $i, 9); 172 $bg=mysql_result($result0, $i, 10); 173 $signal=mysql_result($result0, $i, 11); 174 $signif=mysql_result($result0, $i, 12); 175 $scale=mysql_result($result0, $i, 13); 176 $effontime=mysql_result($result0, $i, 14); 175 177 $num=sprintf("%08d",$datasetno); 176 178 $num2=substr($num,0,5); … … 184 186 printf(" <a href=\"%s\">%s</a>) </th>", $datasetfile, $datasetno); 185 187 printf(" </tr><tr BGCOLOR='#E0E0E0' ALIGN='left'>\n"); 186 printf(" <th colspan=\"6\"> %s ", $comment);188 printf(" <th colspan=\"6\"> <b>%s Mode</b>, %s ", $wobble, $comment); 187 189 printf(" </th></tr><tr>\n"); 188 190 … … 250 252 printf("<tr><td colspan=\"6\">\n Plots: "); 251 253 252 if ($wobble==' Y')254 if ($wobble=='Wobble') 253 255 $tabs=$ganymedtabsw; 254 256 else … … 323 325 else 324 326 { 325 echo (file_get_contents("index-header.html")); 327 if (empty($_GET["fPrintTable"])) 328 echo (file_get_contents("index-header.html")); 326 329 327 330 $environment = sizeof($_GET); … … 341 344 } 342 345 343 echo (file_get_contents("index-footer.html")); 346 if (empty($_GET["fPrintTable"])) 347 echo (file_get_contents("index-footer.html")); 344 348 } 345 349
Note:
See TracChangeset
for help on using the changeset viewer.