Changeset 8467
- Timestamp:
- 04/28/07 23:07:56 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/db
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/datasetinfo-aio.php
r8420 r8467 249 249 else 250 250 { 251 echo (file_get_contents("index-header.html")); 251 if (empty($_GET["fPrintTable"])) 252 echo (file_get_contents("index-header.html")); 252 253 253 254 $environment = sizeof($_GET); … … 267 268 } 268 269 269 echo (file_get_contents("index-footer.html")); 270 if (empty($_GET["fPrintTable"])) 271 echo (file_get_contents("index-footer.html")); 270 272 } 271 273 -
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 -
trunk/MagicSoft/Mars/datacenter/db/include.php
r8333 r8467 270 270 else 271 271 printf("<tr class='Block' id='showquery' style='display:block'><td>"); 272 printf("<b>DB:</b> %s <br>", $db);273 272 if ($html=="1") 273 { 274 printf("<b>DB:</b> %s <br>", $db); 274 275 printf("<U><B>submitted query:</B></U><BR>%s<BR>", htmlspecialchars($query0)); 276 } 275 277 printf("</td></tr>"); 276 278 } -
trunk/MagicSoft/Mars/datacenter/db/magicdefs.php
r8334 r8467 228 228 "fMeanSignalInner" => "Sign<br>In", 229 229 "fMeanSignalOuter" => "Sign<br>Out", 230 "fMeanPulsePosInner" => "Pulse<br>PosIn", 230 231 "fPulsePosMean" => "Puls<br>Pos", 231 232 "fConvFactorInner" => "Conv<br>In", -
trunk/MagicSoft/Mars/datacenter/db/runinfo-aio.php
r8421 r8467 299 299 mysql_close($db_id); 300 300 301 PrintSubmittedQuery($query0, $html, $db );301 PrintSubmittedQuery($query0, $html, $db, ""); 302 302 } 303 303 … … 319 319 else 320 320 { 321 echo (file_get_contents("index-header.html")); 321 if (empty($_GET["fPrintTable"])) 322 echo (file_get_contents("index-header.html")); 322 323 323 324 $environment = sizeof($_GET); … … 337 338 } 338 339 339 echo (file_get_contents("index-footer.html")); 340 if (empty($_GET["fPrintTable"])) 341 echo (file_get_contents("index-footer.html")); 340 342 } 341 343 -
trunk/MagicSoft/Mars/datacenter/db/sequinfo-aio.php
r8421 r8467 375 375 else 376 376 { 377 echo (file_get_contents("index-header.html")); 377 if (empty($_GET["fPrintTable"])) 378 echo (file_get_contents("index-header.html")); 378 379 379 380 $environment = sizeof($_GET); … … 393 394 } 394 395 395 echo (file_get_contents("index-footer.html")); 396 if (empty($_GET["fPrintTable"])) 397 echo (file_get_contents("index-footer.html")); 396 398 } 397 399
Note:
See TracChangeset
for help on using the changeset viewer.