Ignore:
Timestamp:
02/28/06 21:24:09 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/db/queryrbk.php

    r7546 r7548  
    1919        ini_set("mysql.trace_mode", "Off");
    2020        ini_set("display_errors", "Off");
     21
     22        printf("Night&nbsp;(yyyy-mm-dd)&nbsp;<input name=\"fNight\" type=\"text\" size=\"10\" maxlength=\"10\" value=\"");
     23        printf("%s\">&nbsp;&nbsp;&nbsp;\n", $_GET["fNight"]);
    2124
    2225        printf("<input class='Width' type='submit' value='Query Table'>&nbsp;&nbsp;&nbsp;\n");
     
    4851        if (!empty($_GET["fRegexp"]))
    4952            $query0 .= "AND fRunBookText REGEXP '" . $_GET["fRegexp"] . "' ";
     53
     54        if (!empty($_GET["fNight"]))
     55            $query0 .= "AND fRunBookDate < '" . $_GET["fNight"] . " 13:00:00' AND fRunBookDate > ADDDATE( '" . $_GET["fNight"] . " 13:00:00', INTERVAL -1 DAY) ";
    5056
    5157        $query0 .= "ORDER BY fRunBookDate";
Note: See TracChangeset for help on using the changeset viewer.