Index: trunk/MagicSoft/Mars/datacenter/db/include.php
===================================================================
--- trunk/MagicSoft/Mars/datacenter/db/include.php	(revision 9509)
+++ trunk/MagicSoft/Mars/datacenter/db/include.php	(revision 9548)
@@ -266,17 +266,14 @@
 }
 
-function PrintSubmittedQuery($query0, $html, $db, $old)
+function PrintSubmittedQuery($query0, $db, $old)
 {
     //diplay query on old websites
     if (empty($old))
-        printf("<tr class='Block' id='showquery' style='display:none'><td>");
-    else
-        printf("<tr class='Block' id='showquery' style='display:block'><td>");
-    if ($html=="1")
-    {
-        printf("<b>DB:</b> %s <br>", $db);
-        printf("<U><B>submitted query:</B></U><BR>%s<BR>", htmlspecialchars($query0));
-    }
-    printf("</td></tr>");
+        printf("<tr class='Block' id='showquery' style='display:none'><td>\n");
+    else
+        printf("<tr class='Block' id='showquery' style='display:block'><td>\n");
+    printf("<b>DB:</b> %s <br>\n", $db);
+    printf("<U><B>submitted query:</B></U><BR>%s<BR>\n", htmlspecialchars($query0));
+    printf("</td></tr>\n");
 }
 
