Changeset 8797 for trunk/MagicSoft/Mars/datacenter/db
- Timestamp:
- 12/21/07 17:15:19 (17 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/db
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/menu.php
r8791 r8797 25 25 CheckBox("fMeanTriggerRate", "Mean Trigger rate"); 26 26 CheckBox("fSequenceFirst", "Sequence Number"); 27 28 printf(" </tr><tr>\n"); 29 27 30 CheckBox("fTest", "incl. TestSources"); 31 CheckBox("fLinks", "Links"); 28 32 29 33 printf(" </tr>\n"); … … 282 286 CheckBox("fUnsuitable50", "Unsuitable (50%)"); 283 287 CheckBox("fUnsuitable01", "Unsuitable (1%)"); 284 CheckBox("fUnsuitableMax", "Unsuitable (99.9%)");288 CheckBox("fUnsuitableMax", "UnsuitableMax"); 285 289 CheckBox("fDeadMax", "DeadMax"); 286 290 … … 680 684 InitFailInfo($_GET, $first); 681 685 686 if (empty($_GET["fLinks"])) 687 $_GET["fLinks"]=$first?"On":""; 688 682 689 if (empty($_GET["fFormatVersion"])) 683 690 $_GET["fFormatVersion"]="Off"; -
trunk/MagicSoft/Mars/datacenter/db/runinfo-aio.php
r8768 r8797 50 50 $query0 .= " RunData.fRunNumber as 'Run#' "; 51 51 52 if (empty($_GET["fSendTxt"]) && !empty($_GET["fLinks"])) 53 { 54 $query0 .= ", CONCAT('<A&ws;HREF=\"queryrbk.php?fNight=', date_format(adddate(fRunStart, interval +13 HOUR), '%Y-%m-%d') , '&fDate=2\">rbk</A>') "; 55 $query0 .= " as 'Links'"; 56 } 57 52 58 foreach ($_GET as $key => $element) 53 if ($ _GET[$key]=="On" && $key!="fTest")59 if ($key!="fLinks" && $_GET[$key]=="On" && $key!="fTest") 54 60 if (empty($checkwhere[$key]) || $checkwhere[$key]==0) 55 61 $query0 .= ", " . $key . " as '" . $alias[$key] . "' "; … … 177 183 $query0 .= "DESC"; 178 184 } 185 else 186 $query0 .=" ORDER BY RunData.fRunNumber DESC"; 179 187 180 188 if (empty($_GET["fNumStart"])) -
trunk/MagicSoft/Mars/datacenter/db/sequinfo-aio.php
r8792 r8797 60 60 $query0 .= ", ' <A&ws;HREF=\"http://www.astro.uni-wuerzburg.de/datacenter/star/' , LEFT(LPAD(CONCAT(Sequences.fSequenceFirst, '.'), 9,'0'),4), '/', LPAD(CONCAT(Sequences.fSequenceFirst, '/'), 9,'0'), '\">s</A>'"; 61 61 $query0 .= ", ' <A&ws;HREF=\"http://www.astro.uni-wuerzburg.de/datacenter/sequences/' , LEFT(LPAD(CONCAT(Sequences.fSequenceFirst, '.'), 9,'0'),4), '/sequence', LPAD(CONCAT(Sequences.fSequenceFirst , '.txt'), 12,'0') , '\">', 'f </A>' "; 62 $query0 .= ", ' <A&ws;HREF=\"sequence.php?fSequenceNo=', Sequences.fSequenceFirst , '&fAll=On\">i</A>') "; 62 $query0 .= ", ' <A&ws;HREF=\"sequence.php?fSequenceNo=', Sequences.fSequenceFirst , '&fAll=On\">i</A>'"; 63 $query0 .= ", ' <A&ws;HREF=\"queryrbk.php?fNight=', date_format(adddate(fRunStart, interval +13 HOUR), '%Y-%m-%d') , '&fDate=2\">rbk</A>') "; 63 64 $query0 .= " as 'Links'"; 64 65 }
Note:
See TracChangeset
for help on using the changeset viewer.