Esempio n. 1
0
 function printPage()
 {
     if ($this->makeLog == TRUE) {
         require_once CLASSE_LOGS;
         $logs = new logs("Visita de Página", $GLOBALS["PHP_SELF"]);
         $logs->insertLog();
     }
     if (!$this->makeCache) {
         /*
         header("Expires: ".gmdate("D, d M Y H:i:s", time() + (60)) . " GMT");
         header("Cache-Control: must-revalidate, proxy-revalidate" );
         header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
         header("Pragma: no-cache");
         header("Expires: Tue, 1 Jan 1980 12:00:00 GMT");
         */
         header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
         // header ("Content-type: image/png");
         // header("Content-type: image/jpeg");
         // header("Content-type: image/gif");
         header("Cache-Control: no-cache");
         header("Pragma: no-cache");
     }
     $this->_printHeader();
     $this->_printBody();
     $this->_printFooter();
 }