Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 18.117.184.125
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
sdu /
libs /
dompdf /
include /
[ HOME SHELL ]
Name
Size
Permission
Action
absolute_positioner.cls.php
3.14
KB
-rwxr-xr-x
abstract_renderer.cls.php
22.41
KB
-rwxr-xr-x
attribute_translator.cls.php
14.87
KB
-rwxr-xr-x
autoload.inc.php
2.48
KB
-rwxr-xr-x
block_frame_decorator.cls.php
5.98
KB
-rwxr-xr-x
block_frame_reflower.cls.php
23.3
KB
-rwxr-xr-x
block_positioner.cls.php
1.4
KB
-rwxr-xr-x
block_renderer.cls.php
6.63
KB
-rwxr-xr-x
cached_pdf_decorator.cls.php
5.66
KB
-rwxr-xr-x
canvas.cls.php
9.16
KB
-rwxr-xr-x
canvas_factory.cls.php
1.49
KB
-rwxr-xr-x
cellmap.cls.php
19
KB
-rwxr-xr-x
cpdf_adapter.cls.php
24.47
KB
-rwxr-xr-x
css_color.cls.php
7.71
KB
-rwxr-xr-x
dompdf.cls.php
30.77
KB
-rwxr-xr-x
dompdf_exception.cls.php
551
B
-rwxr-xr-x
dompdf_image_exception.cls.php
553
B
-rwxr-xr-x
file.skel
228
B
-rwxr-xr-x
fixed_positioner.cls.php
2.73
KB
-rwxr-xr-x
font_metrics.cls.php
10.93
KB
-rwxr-xr-x
frame.cls.php
27.46
KB
-rwxr-xr-x
frame_decorator.cls.php
15.94
KB
-rwxr-xr-x
frame_factory.cls.php
6.59
KB
-rwxr-xr-x
frame_reflower.cls.php
12.66
KB
-rwxr-xr-x
frame_tree.cls.php
5.85
KB
-rwxr-xr-x
functions.inc.php
26.45
KB
-rwxr-xr-x
gd_adapter.cls.php
19.28
KB
-rwxr-xr-x
image_cache.cls.php
5.79
KB
-rwxr-xr-x
image_frame_decorator.cls.php
1.99
KB
-rwxr-xr-x
image_frame_reflower.cls.php
6.29
KB
-rwxr-xr-x
image_renderer.cls.php
3.36
KB
-rwxr-xr-x
inline_frame_decorator.cls.php
2.29
KB
-rwxr-xr-x
inline_frame_reflower.cls.php
1.84
KB
-rwxr-xr-x
inline_positioner.cls.php
1.86
KB
-rwxr-xr-x
inline_renderer.cls.php
7.28
KB
-rwxr-xr-x
javascript_embedder.cls.php
732
B
-rwxr-xr-x
line_box.cls.php
4.96
KB
-rwxr-xr-x
list_bullet_frame_decorator.cl...
2.01
KB
-rwxr-xr-x
list_bullet_frame_reflower.cls...
845
B
-rwxr-xr-x
list_bullet_image_frame_decora...
4.46
KB
-rwxr-xr-x
list_bullet_positioner.cls.php
2.57
KB
-rwxr-xr-x
list_bullet_renderer.cls.php
6.33
KB
-rwxr-xr-x
null_frame_decorator.cls.php
576
B
-rwxr-xr-x
null_frame_reflower.cls.php
475
B
-rwxr-xr-x
null_positioner.cls.php
452
B
-rwxr-xr-x
page_cache.cls.php
3.74
KB
-rwxr-xr-x
page_frame_decorator.cls.php
16.77
KB
-rwxr-xr-x
page_frame_reflower.cls.php
5.31
KB
-rwxr-xr-x
pdflib_adapter.cls.php
27.62
KB
-rwxr-xr-x
php_evaluator.cls.php
1.04
KB
-rwxr-xr-x
positioner.cls.php
1.08
KB
-rwxr-xr-x
renderer.cls.php
7.1
KB
-rwxr-xr-x
style.cls.php
70.98
KB
-rwxr-xr-x
stylesheet.cls.php
39.64
KB
-rwxr-xr-x
table_cell_frame_decorator.cls...
2.75
KB
-rwxr-xr-x
table_cell_frame_reflower.cls....
3.63
KB
-rwxr-xr-x
table_cell_positioner.cls.php
716
B
-rwxr-xr-x
table_cell_renderer.cls.php
4.92
KB
-rwxr-xr-x
table_frame_decorator.cls.php
8.35
KB
-rwxr-xr-x
table_frame_reflower.cls.php
16.47
KB
-rwxr-xr-x
table_row_frame_decorator.cls....
1.12
KB
-rwxr-xr-x
table_row_frame_reflower.cls.p...
1.48
KB
-rwxr-xr-x
table_row_group_frame_decorato...
1.53
KB
-rwxr-xr-x
table_row_group_frame_reflower...
1.53
KB
-rwxr-xr-x
table_row_group_renderer.cls.p...
1.11
KB
-rwxr-xr-x
table_row_positioner.cls.php
780
B
-rwxr-xr-x
tcpdf_adapter.cls.php
14.11
KB
-rwxr-xr-x
text_frame_decorator.cls.php
5.56
KB
-rwxr-xr-x
text_frame_reflower.cls.php
13.48
KB
-rwxr-xr-x
text_renderer.cls.php
4.89
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : list_bullet_renderer.cls.php
<?php /** * @package dompdf * @link http://dompdf.github.com/ * @author Benj Carson <benjcarson@digitaljunkies.ca> * @author Helmut Tischer <htischer@weihenstephan.org> * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License */ /** * Renders list bullets * * @access private * @package dompdf */ class List_Bullet_Renderer extends Abstract_Renderer { static function get_counter_chars($type) { static $cache = array(); if ( isset($cache[$type]) ) { return $cache[$type]; } $uppercase = false; $text = ""; switch ($type) { case "decimal-leading-zero": case "decimal": case "1": return "0123456789"; case "upper-alpha": case "upper-latin": case "A": $uppercase = true; case "lower-alpha": case "lower-latin": case "a": $text = "abcdefghijklmnopqrstuvwxyz"; break; case "upper-roman": case "I": $uppercase = true; case "lower-roman": case "i": $text = "ivxlcdm"; break; case "lower-greek": for($i = 0; $i < 24; $i++) { $text .= unichr($i+944); } break; } if ( $uppercase ) { $text = strtoupper($text); } return $cache[$type] = "$text."; } /** * @param integer $n * @param string $type * @param integer $pad * * @return string */ private function make_counter($n, $type, $pad = null){ $n = intval($n); $text = ""; $uppercase = false; switch ($type) { case "decimal-leading-zero": case "decimal": case "1": if ($pad) $text = str_pad($n, $pad, "0", STR_PAD_LEFT); else $text = $n; break; case "upper-alpha": case "upper-latin": case "A": $uppercase = true; case "lower-alpha": case "lower-latin": case "a": $text = chr( ($n % 26) + ord('a') - 1); break; case "upper-roman": case "I": $uppercase = true; case "lower-roman": case "i": $text = dec2roman($n); break; case "lower-greek": $text = unichr($n + 944); break; } if ( $uppercase ) { $text = strtoupper($text); } return "$text."; } function render(Frame $frame) { $style = $frame->get_style(); $font_size = $style->get_font_size(); $line_height = $style->length_in_pt($style->line_height, $frame->get_containing_block("w")); $this->_set_opacity( $frame->get_opacity( $style->opacity ) ); $li = $frame->get_parent(); // Don't render bullets twice if if was split if ($li->_splitted) { return; } // Handle list-style-image // If list style image is requested but missing, fall back to predefined types if ( $style->list_style_image !== "none" && !Image_Cache::is_broken($img = $frame->get_image_url())) { list($x,$y) = $frame->get_position(); //For expected size and aspect, instead of box size, use image natural size scaled to DPI. // Resample the bullet image to be consistent with 'auto' sized images // See also Image_Frame_Reflower::get_min_max_width // Tested php ver: value measured in px, suffix "px" not in value: rtrim unnecessary. //$w = $frame->get_width(); //$h = $frame->get_height(); list($width, $height) = dompdf_getimagesize($img, $this->_dompdf->get_http_context()); $dpi = $this->_dompdf->get_option("dpi"); $w = ((float)rtrim($width, "px") * 72) / $dpi; $h = ((float)rtrim($height, "px") * 72) / $dpi; $x -= $w; $y -= ($line_height - $font_size)/2; //Reverse hinting of list_bullet_positioner $this->_canvas->image( $img, $x, $y, $w, $h); } else { $bullet_style = $style->list_style_type; $fill = false; switch ($bullet_style) { default: case "disc": $fill = true; case "circle": list($x,$y) = $frame->get_position(); $r = ($font_size*(List_Bullet_Frame_Decorator::BULLET_SIZE /*-List_Bullet_Frame_Decorator::BULLET_THICKNESS*/ ))/2; $x -= $font_size*(List_Bullet_Frame_Decorator::BULLET_SIZE/2); $y += ($font_size*(1-List_Bullet_Frame_Decorator::BULLET_DESCENT))/2; $o = $font_size*List_Bullet_Frame_Decorator::BULLET_THICKNESS; $this->_canvas->circle($x, $y, $r, $style->color, $o, null, $fill); break; case "square": list($x, $y) = $frame->get_position(); $w = $font_size*List_Bullet_Frame_Decorator::BULLET_SIZE; $x -= $w; $y += ($font_size*(1-List_Bullet_Frame_Decorator::BULLET_DESCENT-List_Bullet_Frame_Decorator::BULLET_SIZE))/2; $this->_canvas->filled_rectangle($x, $y, $w, $w, $style->color); break; case "decimal-leading-zero": case "decimal": case "lower-alpha": case "lower-latin": case "lower-roman": case "lower-greek": case "upper-alpha": case "upper-latin": case "upper-roman": case "1": // HTML 4.0 compatibility case "a": case "i": case "A": case "I": $pad = null; if ( $bullet_style === "decimal-leading-zero" ) { $pad = strlen($li->get_parent()->get_node()->getAttribute("dompdf-children-count")); } $node = $frame->get_node(); if ( !$node->hasAttribute("dompdf-counter") ) { return; } $index = $node->getAttribute("dompdf-counter"); $text = $this->make_counter($index, $bullet_style, $pad); if ( trim($text) == "" ) { return; } $spacing = 0; $font_family = $style->font_family; $line = $li->get_containing_line(); list($x, $y) = array($frame->get_position("x"), $line->y); $x -= Font_Metrics::get_text_width($text, $font_family, $font_size, $spacing); // Take line-height into account $line_height = $style->line_height; $y += ($line_height - $font_size) / 4; // FIXME I thought it should be 2, but 4 gives better results $this->_canvas->text($x, $y, $text, $font_family, $font_size, $style->color, $spacing); case "none": break; } } } }
Close