$fmax ) $fmax = strlen( $f[ $i ] ); if( strlen( $op[ $i ] ) > $opmax ) $opmax = strlen( $op[ $i ] ); } for( $i = 0; $i < count( $_bt ); $i++ ) { $f[ $i ] .= str_repeat( ' ', $fmax - strlen( $f[ $i ] ) ); $op[ $i ] .= str_repeat( ' ', $opmax - strlen( $op[ $i ] ) ); } for( $i = 0; $i < count( $_bt ); $i++ ) { $rett .= $f[ $i ] . ' => ' . $op[ $i ] . "\n"; } return $rett; } function e( $data, $backtrace = 0 ) { print '
';
            $bt = debug_backtrace();
            $caller = $bt[ 0 ];
            print "[ File : " . self::short( $caller[ 'file' ] ) . " ][ Line : " . $caller[ 'line' ] . " ]\n";
            print "--------------------------------------------------------------\n";
			if( $backtrace ) {
				print self::bt( $bt );
				print "--------------------------------------------------------------\n";
			}
			print_r( $data );
			print "
"; } function dump( $data ) { print '
';
            $bt = debug_backtrace();
            $caller = array_shift($bt);
            print "[ File : " . self::short( $caller[ 'file' ] ) . " ][ Line : " . $caller[ 'line' ] . " ]\n";
            print "--------------------------------------------------------------\n";
			var_dump( $data );
			print "
"; } function html( $data ) { print '
';
            $bt = debug_backtrace();
            $caller = array_shift($bt);
            print "[ File : " . self::short( $caller[ 'file' ] ) . " ][ Line : " . $caller[ 'line' ] . " ]\n";
            print "--------------------------------------------------------------\n";
			print htmlspecialchars( $data );
			print "
"; } function post() { print '
';
            $bt = debug_backtrace();
            $caller = array_shift($bt);
            print "[ File : " . self::short( $caller[ 'file' ] ) . " ][ Line : " . $caller[ 'line' ] . " ]\n";
            print "--------------------------------------------------------------\n";
			print_r( $_POST ) ;
			print "
"; } function get() { print '
';
            $bt = debug_backtrace();
            $caller = array_shift($bt);
            print "[ File : " . self::short( $caller[ 'file' ] ) . " ][ Line : " . $caller[ 'line' ] . " ]\n";
            print "--------------------------------------------------------------\n";
			print_r( $_GET ) ;
			print "
"; } function request() { print '
';
            $bt = debug_backtrace();
            $caller = array_shift($bt);
            print "[ File : " . self::short( $caller[ 'file' ] ) . " ][ Line : " . $caller[ 'line' ] . " ]\n";
            print "--------------------------------------------------------------\n";
			print_r( $_REQUEST ) ;
			print "
"; } function server() { print '
';
            $bt = debug_backtrace();
            $caller = array_shift($bt);
            print "[ File : " . self::short( $caller[ 'file' ] ) . " ][ Line : " . $caller[ 'line' ] . " ]\n";
            print "--------------------------------------------------------------\n";
			print_r( $_SERVER ) ;
			print "
"; } function short( $str ) { if( MYTHEMES_SHORT_PATH ){ $theme = wp_get_theme(); $str = $theme[ 'Name' ] . ':' . str_replace( str_replace( '/' , '\\' , get_template_directory() ) , '' , $str ); } return $str; } } ?>