Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 7637)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 7638)
@@ -23,4 +23,10 @@
    * datacenter/db/findoffdata.php:
      - implemented query for the inhomogeneity
+
+   * datacenter/db/runinfo.php:
+     - added checkboxes for start time, failed time and error codes
+
+   * datacenter/db/datacheck.php:
+     - fixed bug in StatusMenus for DataCheck and RawFile
 
 
Index: /trunk/MagicSoft/Mars/datacenter/db/datacheck.php
===================================================================
--- /trunk/MagicSoft/Mars/datacenter/db/datacheck.php	(revision 7637)
+++ /trunk/MagicSoft/Mars/datacenter/db/datacheck.php	(revision 7638)
@@ -261,5 +261,5 @@
 
         if (empty($_GET["fDataCheckDoneStatus"]))
-            $_GET["fDataCheckDoneStatus"]="1";
+            $_GET["fDataCheckDoneStatus"]=$first?"1":"";
 
         if (empty($_GET["fRawFileAvail"]))
@@ -267,5 +267,5 @@
 
         if (empty($_GET["fRawFileAvailStatus"]))
-            $_GET["fRawFileAvailStatus"]="1";
+            $_GET["fRawFileAvailStatus"]=$first?"1":"";
 
         if (empty($_GET["fStartTime"]))
Index: /trunk/MagicSoft/Mars/datacenter/db/runinfo.php
===================================================================
--- /trunk/MagicSoft/Mars/datacenter/db/runinfo.php	(revision 7637)
+++ /trunk/MagicSoft/Mars/datacenter/db/runinfo.php	(revision 7638)
@@ -317,4 +317,18 @@
             $_GET["fTimingCorrectionStatus"]="0";
 
+        if (empty($_GET["fStartTime"]))
+            $_GET["fStartTime"]="Off";
+
+        if (empty($_GET["fFailedTime"]))
+            $_GET["fFailedTime"]="Off";
+
+        if (empty($_GET["fReturnCode"]))
+            $_GET["fReturnCode"]="Off";
+
+        if (empty($_GET["fFailedCode"]))
+            $_GET["fFailedCode"]="Off";
+
+        if (empty($_GET["fFailedCodeAdd"]))
+            $_GET["fFailedCodeAdd"]="Off";
     }
 
@@ -366,4 +380,17 @@
 
         printf(" </td></tr></table>\n");
+        printf(" <p>\n");
+
+        printf(" <table>\n");
+        printf("  <tr>\n");
+
+        CheckBox("fStartTime",     "StartTime");
+        CheckBox("fFailedTime",    "FailedTime");
+        CheckBox("fReturnCode",    "ErrCode");
+        CheckBox("fFailedCode",    "RetCode");
+        CheckBox("fFailedCodeAdd", "CodeAdd");
+
+        printf("  </tr>\n");
+        printf(" </table>\n");
         printf(" <p>\n");
 
