$Date: 2006-02-03 14:28:22 +0000 (Fri, 03 Feb 2006) $ | > $Revision: 134 $ | > $Author: bfarber $ +--------------------------------------------------------------------------- | | > DISPLAY CLASS | > Module written by Matt Mecham | > Date started: 26th January 2004 | | > Module Version Number: 1.0.0 | > DBA Checked: Wed 19 May 2004 +-------------------------------------------------------------------------- */ class display { # Global var $ipsclass; var $to_print = ""; var $output = ""; var $macros = ""; //----------------------------------------- // CONSTRUCTOR //----------------------------------------- function display() { } //----------------------------------------- // Appends the parsed HTML to our class var //----------------------------------------- function add_output($to_add) { $this->to_print .= $to_add; //return 'true' on success return true; } /*-------------------------------------------------------------------------*/ // // Parses all the information and prints it. // /*-------------------------------------------------------------------------*/ function do_output($output_array) { global $Debug; //----------------------------------------- // Global //----------------------------------------- $components_links = ""; //----------------------------------------- // Are we IPSing? //----------------------------------------- $this->_check_ips_report(); //----------------------------------------- // UNPACK MACROS //----------------------------------------- $this->_unpack_macros(); //----------------------------------------- // END TIMER //----------------------------------------- $this->ex_time = sprintf( "%.4f",$Debug->endTimer() ); //----------------------------------------- // SQL DEBUG? //----------------------------------------- $this->_check_debug(); $stats = $this->_show_debug(); //----------------------------------------- // NAVIGATION //----------------------------------------- $nav = $this->ipsclass->compiled_templates['skin_global']->start_nav(); $nav .= "{$this->ipsclass->vars['board_name']}"; if ( empty($output_array['OVERRIDE']) ) { if (is_array( $output_array['NAV'] ) ) { foreach ($output_array['NAV'] as $n) { if ($n) { $nav .= "<{F_NAV_SEP}>" . $n; } } } } $nav .= $this->ipsclass->compiled_templates['skin_global']->end_nav(); //----------------------------------------- // CSS //----------------------------------------- $css = $this->_get_css(); //----------------------------------------- // REMOVAL OF THIS WITHOUT PURCHASING COPYRIGHT REMOVAL WILL VIOLATE THE LICENCE YOU AGREED // TO WHEN DOWNLOADING THIS PRODUCT. THIS COULD MEAN REMOVAL OF YOUR BOARD AND EVEN // CRIMINAL CHARGES //----------------------------------------- if ($this->ipsclass->vars['ipb_copy_number']) { $copyright = ""; } else if ( TRIAL_VERSION ) { $copyright = "