/** * 数据展示 * * @access global * @return mixed */ function display() { if ($this->dbg_Enabled) { $this->dbg_FinishTime = time(); $this->DivSet = preg_split("/,/", $this->dbg_Show_default); echo "<Table width=99% cellspacing=0 border=0 style=\"font-family:arial;font-size:9pt; margin:auto; font-weight:normal;\"><tr><TD><DIV style=\"background:#F90;color:#000;padding:4px;font-size:12pt;font-weight:bold;\">Debug-控制器:</DIV>"; $this->PrintSummaryInfo($this->DivSet[0]); $this->PrintCollection("Variables", $this->dbg_Data, $this->DivSet[1], ""); $this->PrintCollection("Querystring", $_GET, $this->DivSet[2], ""); $this->PrintCollection("Form", $_POST, $this->DivSet[3], ""); if (isset($_SESSION)) { $this->PrintCollection("Session", $_SESSION, $this->DivSet[3], ""); } $this->PrintCollection("Cookie", $_COOKIE, $this->DivSet[6], ""); $this->PrintCollection("Server", $_SERVER, $this->DivSet[6], ""); $this->PrintCollection("Request", $_REQUEST, $this->DivSet[6], ""); $this->PrintCollection("SQL Info", Tiny::getSqlLog(), $this->DivSet[6], ""); echo "</Table>"; } }