Changeset 9105 for trunk/MagicSoft/Mars/datacenter/db/sequinfo-aio.php
- Timestamp:
- 08/06/08 16:13:23 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/sequinfo-aio.php
r8797 r9105 51 51 //$query0 .= " CONCAT('<A&ws;HREF=\"runinfo-aio.php?', 'fRunStart=On', '&fZenithDistance=On', '&fRunMin=', Sequences.fSequenceFirst, '&fMeanTriggerRate=On', '&fTest=On', '&fRunTypeName=On', '&fRunMax=', fSequenceLast, '&fNumEvents=On', '&fSourceName=On&', 'fExcludedFDAKEY=1', '&fSequenceFirst=On', '&fRawFileAvail=On', '&fCCFileAvail=On', '&fCaCoFileAvail=On', '&fNumResults=500\">', Sequences.fSequenceFirst, '</A>') "; 52 52 //new version using fSequenceNo 53 $query0 .= " CONCAT('<A&ws;HREF=\"runinfo-aio.php?', 'fRunStart=On', '&fZenithDistance=On', '&fSequenceNo=', Sequences.fSequenceFirst, '&fMeanTriggerRate=On', '&fTest=On', '&fRunTypeName=On', '&fNumEvents=On', '&fSourceName=On&', 'fExcludedFDAKEY=1', '&fSequenceFirst=On', '&fRawFileAvail=On', '&fCCFileAvail=On', '&fCaCoFileAvail=On', '&fNumResults=500\">', Sequences.fSequenceFirst, '</A>') "; 54 $query0 .= " as " . $alias["fSequenceFirst"]; 53 $query0 .= " CONCAT('<A&ws;HREF=\"runinfo-aio.php?', 'fRunStart=On', '&fZenithDistance=On', '&fSequenceNo=', Sequences.fSequenceFirst, '&fMeanTriggerRate=On', '&fTest=On', '&fRunTypeName=On', '&fNumEvents=On', '&fSourceName=On&', 'fExcludedFDAKEY=1', '&fSequenceFirst=On', '&fRawFileAvail=On', '&fCCFileAvail=On', '&fCaCoFileAvail=On', '&fNumResults=500\">', Sequences.fTelescopeNumber, ':', Sequences.fSequenceFirst, '</A>') "; 54 // $query0 .= " as " . $alias["fSequenceFirst"]; 55 $query0 .= " as 'Tel:Sequ'"; 55 56 if (!empty($_GET["fLinks"])) 56 57 { … … 76 77 $query0 .= " FROM " . $fromtable; 77 78 78 $query0 .= " LEFT JOIN SequenceProcessStatus ON Sequences.fSequenceFirst=SequenceProcessStatus.fSequenceFirst";79 $query0 .= " LEFT JOIN Calibration ON Sequences.fSequenceFirst=Calibration.fSequenceFirst";80 $query0 .= " LEFT JOIN Star ON Sequences.fSequenceFirst=Star.fSequenceFirst";79 $query0 .= " LEFT JOIN SequenceProcessStatus USING(fSequenceFirst,fTelescopeNumber) "; 80 $query0 .= " LEFT JOIN Calibration USING(fSequenceFirst,fTelescopeNumber) "; 81 $query0 .= " LEFT JOIN Star USING(fSequenceFirst,fTelescopeNumber) "; 81 82 82 83 foreach ($_GET as $key => $element) … … 87 88 { 88 89 if ($_GET["fSourceName"]!="On") 89 $query0 .= " LEFT JOIN Source ON Sequences.fSourceKEY=Source.fSourceKEY";90 $query0 .= " LEFT JOIN Source ON USING(fSourceKEY) "; 90 91 $query0 .= " WHERE fTest='no'"; 91 92 } … … 319 320 printf(" <P>\n"); 320 321 321 PrintNumResPullDown();322 322 323 323 ini_set("mysql.trace_mode", "Off"); 324 324 ini_set("display_errors", "Off"); 325 325 326 PrintNumResPullDown(); 326 327 PrintButtons("sequinfo-aio.php"); 327 328
Note:
See TracChangeset
for help on using the changeset viewer.