Changeset 9184 for trunk/MagicSoft
- Timestamp:
- 12/01/08 12:13:54 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9183 r9184 27 27 - added check if script is executed with the full path 28 28 - added check if rc-files are existing 29 30 * datacenter/db/menu.php: 31 - removed not needed lines 32 33 * datacenter/db/include.php: 34 - valign='top' for queryrbk.php 35 36 * datacenter/db/queryrbk.php: 37 - added print button 29 38 30 39 -
trunk/MagicSoft/Mars/datacenter/db/include.php
r9159 r9184 519 519 { 520 520 if (empty($rightalign[$key])) 521 printf(" <td align='left' >");521 printf(" <td align='left' valign='top'>"); 522 522 else 523 printf(" <td align='right' >");523 printf(" <td align='right' valign='top'>"); 524 524 525 525 $colour='#000000'; -
trunk/MagicSoft/Mars/datacenter/db/menu.php
r9168 r9184 595 595 // printf("<p>"); 596 596 if (strchr($_SERVER["REQUEST_URI"], '?')!=FALSE) 597 { 597 598 printf("<input class='Width' type='button' value='Get .txt' onClick='self.location.href=\"%s&fSendTxt=1\"'> \n", htmlspecialchars($_SERVER["REQUEST_URI"])); 598 if (strchr($_SERVER["REQUEST_URI"], '?')!=FALSE)599 {600 599 printf("<input class='Width' type='button' value='Print' onClick='self.location.href=\"%s&fPrintTable=1\"'> \n", htmlspecialchars($_SERVER["REQUEST_URI"])); 601 600 printf("MySqlQuery: <img id='showquerybutton' src='../plus.png' alt='+' onClick='showhide(\"showquery\")'>\n"); -
trunk/MagicSoft/Mars/datacenter/db/queryrbk.php
r8180 r9184 23 23 printf("%s\"> \n", $_GET["fNight"]); 24 24 25 25 26 printf("<input class='Width' type='submit' value='Query Table'> \n"); 26 27 printf("<input class='Width' type='button' value='Reset' onClick='self.location.href=\"queryrbk.php\"'> \n"); 27 28 if (strchr($_SERVER["REQUEST_URI"], '?')!=FALSE) 29 { 28 30 printf("<input class='Width' type='button' value='Get .txt' onClick='self.location.href=\"%s&fSendTxt=1\"'> \n", $_SERVER["REQUEST_URI"]); 31 printf("<input class='Width' type='button' value='Print' onClick='self.location.href=\"%s&fPrintTable=1\"'> \n", htmlspecialchars($_SERVER["REQUEST_URI"])); 32 } 33 29 34 printf("</form>\n"); 30 35 printf("</center>\n"); … … 61 66 if ($result0) 62 67 { 63 if ($html=="1" )68 if ($html=="1" || $html=="2") 64 69 { 65 70 $alias = array … … 98 103 else 99 104 { 100 echo (file_get_contents("index-header.html")); 105 if (empty($_GET["fPrintTable"])) 106 echo (file_get_contents("index-header.html")); 101 107 102 108 $environment = sizeof($_GET); 103 109 104 PrintForm($_GET); 110 if (empty($_GET["fPrintTable"])) 111 PrintForm($_GET); 105 112 106 113 if ($environment==0) 107 114 printf("No query submitted yet.<BR>"); 108 115 else 109 PrintPage("1", $host, $user, $pw, $db); 116 { 117 if (empty($_GET["fPrintTable"])) 118 PrintPage("1", $host, $user, $pw, $db); 119 else 120 PrintPage("2", $host, $user, $pw, $db); 121 } 110 122 111 echo (file_get_contents("index-footer.html")); 123 if (empty($_GET["fPrintTable"])) 124 echo (file_get_contents("index-footer.html")); 112 125 } 113 126
Note:
See TracChangeset
for help on using the changeset viewer.