Changeset 7508
- Timestamp:
- 02/15/06 13:21:58 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7506 r7508 18 18 19 19 -*-*- END OF LINE -*-*- 20 2006/02/15 Daniel Hoehne 21 22 * datacenter/db/magicdefs.php, querycal.php, sequinfo.php: 23 - implemented query for mean signal inner/outer and mean pulsepos 24 * datacenter/db/sequence.php: 25 - implemented query for mean signal inner/outer, mean pulsepos 26 and inhomogeneity 27 28 29 20 30 2006/02/15 Daniela Dorner, Daniel Hoehne 21 31 -
trunk/MagicSoft/Mars/datacenter/db/findoffdata.php
r7484 r7508 155 155 } 156 156 157 if (!empty($_GET["fStarStart"])) 158 { 159 if (strpos(strrev($query0), " DNA ")!=0 || !strpos(strrev($query0), " DNA ")) 160 $query0 .= " AND "; 161 162 $starstart=substr($_GET["fStarStart"], 0, 10); 163 $query0 .=" fStar >= '" . $starstart . " 00:00:00' "; 164 } 165 166 if (!empty($_GET["fStarStop"])) 167 { 168 if (strpos(strrev($query0), " DNA ")!=0 || !strpos(strrev($query0), " DNA ")) 169 $query0 .= " AND "; 170 171 $starstop=substr($_GET["fStarStop"], 0, 10); 172 $query0 .= " fStar < '" . $starstop . " 00:00:00' "; 173 } 174 157 175 if ($groups>0) 158 176 { … … 467 485 printf(" <p>\n"); 468 486 469 printf(" <table>\n");470 printf(" <tr>\n");471 472 CheckBox("fLinks", "Links");473 CheckBox("fOff", "incl. offsources");474 CheckBox("fOnlyOff", "only offsources");475 476 printf(" </tr>\n");477 printf(" </table>\n");478 printf(" <p>\n");479 480 481 487 printf(" </td><td valign='top'>\n"); 482 488 … … 489 495 printf(" </td></tr><tr><td colspan='2' align='center'>\n"); 490 496 497 printf(" <p>\n"); 498 499 printf(" <table>\n"); 500 printf(" <tr><td>\n"); 501 502 if (empty($_GET["fStarStart"])) 503 $starmin = GetMin("fStar", "SequenceProcessStatus", $db); 504 else 505 $starmin = $_GET["fStarStart"]; 506 507 if (empty($_GET["fStarStop"])) 508 $starmax = GetMax("fStar", "SequenceProcessStatus", $db); 509 else 510 $starmax = $_GET["fStarStop"]; 511 512 printf("StarDone (yyyy-mm-dd) from <input name=\"fStarStart\" type=\"text\" size=\"10\" maxlength=\"10\" value=\"%s\">\n", $starmin); 513 printf("to <input name=\"fStarStop\" type=\"text\" size=\"10\" maxlength=\"10\" value=\"%s\"> \n", $starmax); 514 printf(" </td>\n"); 515 CheckBox("fLinks", "Links"); 516 CheckBox("fOff", "incl. offsources"); 517 CheckBox("fOnlyOff", "only offsources"); 518 519 printf(" </tr>\n"); 520 printf(" </table>\n"); 521 printf(" <p>\n"); 491 522 492 523 if (empty($_GET["fStartDate"]))
Note:
See TracChangeset
for help on using the changeset viewer.