Index: trunk/MagicSoft/Mars/datacenter/db/runinfo-aio.php
===================================================================
--- trunk/MagicSoft/Mars/datacenter/db/runinfo-aio.php	(revision 8421)
+++ trunk/MagicSoft/Mars/datacenter/db/runinfo-aio.php	(revision 8467)
@@ -299,5 +299,5 @@
         mysql_close($db_id);
 
-        PrintSubmittedQuery($query0, $html, $db);
+        PrintSubmittedQuery($query0, $html, $db, "");
     }
 
@@ -319,5 +319,6 @@
     else
     {
-        echo (file_get_contents("index-header.html"));
+        if (empty($_GET["fPrintTable"]))
+            echo (file_get_contents("index-header.html"));
 
         $environment = sizeof($_GET);
@@ -337,5 +338,6 @@
         }
 
-        echo (file_get_contents("index-footer.html"));
+        if (empty($_GET["fPrintTable"]))
+            echo (file_get_contents("index-footer.html"));
     }
 
