} echo "<br/>"; if (isset($_GET['table_info'])) { echo "<br/>"; echo translate("Extended Table Info:") . "<br/><table>"; foreach ($info['info']['tables'] as $res => $tblinfo) { $output = false; echo "<tr><td> " . sprintf("% 5u", $res) . ":</td><td>"; if ($tblinfo['dbsize']) { if ($output) echo ", "; else $output = true; echo dsPrintSize($tblinfo['dbsize']); } if ($tblinfo['records']) { if ($output) echo ", "; else $output = true; echo translate("%s records", $tblinfo['records']); } if (($tblinfo['first'])&&($tblinfo['last'])) { if ($output) echo ", "; else $output = true; echo date("c", $tblinfo['first']) . ' - ' . date("c", $tblinfo['last']+$res); $output = true;
echo "<pre>"; print_r(LOGGER::DecodeObject($info['object'])); echo "</pre>"; } if ($info['result']) { echo "<h4>" . translate("Result: ") . "</h4>"; if (preg_match("/(getimage|getlogo)/", $info['source'])) { $data = pack("H*", $info['result']); $image = new Imagick(); if ($image) { $image->readImageBlob($data); $format = $image->getImageFormat(); $geometry = $image->getImageGeometry(); $size = $image->getImageSize(); echo translate("Image Information: %s, %dx%d, %s", $format, $geometry['width'], $geometry['height'], dsPrintSize($size)) . "<br/>"; # print_r($image->identifyImage()); } //PNG print_r($image->getImageFormat()); echo "<img src=\"logimage.php?logfile=$logfile&logpos=$logpos\"/>"; } else { $data = pack("H*", $info['result']); echo "<pre>"; echo htmlentities($data); echo "</pre>"; } } if ($info['exception']) { echo "<h4>" . translate("Backtrace: ") . "</h4>";