Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
fpdf /
features /
Delete
Unzip
Name
Size
Permission
Date
Action
_factory.php
1017
B
-rw-r--r--
2013-05-22 07:52
automargins.php
1.98
KB
-rw-r--r--
2013-05-22 07:52
toc.php
6.62
KB
-rw-r--r--
2013-05-22 07:52
watermark.php
664
B
-rw-r--r--
2013-05-22 07:52
Save
Rename
<?php class FeatureAutomargins { var $_top_margin; var $_bottom_margin; function FeatureAutomargins() { $this->_top_margin = 0; $this->_bottom_margin = 0; } function handle_before_page_heights($params) { $pipeline =& $params['pipeline']; $document =& $params['document']; $media =& $params['media']; $boxes = $pipeline->reflow_margin_boxes(0, $media); $this->_top_margin = max($boxes[CSS_MARGIN_BOX_SELECTOR_TOP]->get_real_full_height(), $boxes[CSS_MARGIN_BOX_SELECTOR_TOP_LEFT_CORNER]->get_real_full_height(), $boxes[CSS_MARGIN_BOX_SELECTOR_TOP_LEFT]->get_real_full_height(), $boxes[CSS_MARGIN_BOX_SELECTOR_TOP_CENTER]->get_real_full_height(), $boxes[CSS_MARGIN_BOX_SELECTOR_TOP_RIGHT]->get_real_full_height(), $boxes[CSS_MARGIN_BOX_SELECTOR_TOP_RIGHT_CORNER]->get_real_full_height()); $this->_bottom_margin = max($boxes[CSS_MARGIN_BOX_SELECTOR_BOTTOM]->get_real_full_height(), $boxes[CSS_MARGIN_BOX_SELECTOR_BOTTOM_LEFT_CORNER]->get_real_full_height(), $boxes[CSS_MARGIN_BOX_SELECTOR_BOTTOM_LEFT]->get_real_full_height(), $boxes[CSS_MARGIN_BOX_SELECTOR_BOTTOM_CENTER]->get_real_full_height(), $boxes[CSS_MARGIN_BOX_SELECTOR_BOTTOM_RIGHT]->get_real_full_height(), $boxes[CSS_MARGIN_BOX_SELECTOR_BOTTOM_RIGHT_CORNER]->get_real_full_height()); $media->margins['top'] = $this->_top_margin / mm2pt(1); $media->margins['bottom'] = $this->_bottom_margin / mm2pt(1); $pipeline->output_driver->update_media($media); $pipeline->_setupScales($media); } function install(&$pipeline, $params) { $dispatcher =& $pipeline->get_dispatcher(); $dispatcher->add_observer('before-page-heights', array(&$this, 'handle_before_page_heights')); } } ?>