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 /
unittest /
Delete
Unzip
Name
Size
Permission
Date
Action
fetcher.memory.php
651
B
-rw-r--r--
2013-05-22 07:58
generic.test.php
1.1
KB
-rw-r--r--
2013-05-22 07:58
index.php
667
B
-rw-r--r--
2013-05-22 07:58
sample css.css
23
B
-rw-r--r--
2013-05-22 07:58
test.autofix.url.php
4.24
KB
-rw-r--r--
2013-05-22 07:58
test.block.absolute.php
507
B
-rw-r--r--
2013-05-22 07:58
test.border-bottom.1.html
192
B
-rw-r--r--
2013-05-22 07:58
test.border-bottom.php
1.51
KB
-rw-r--r--
2013-05-22 07:58
test.border-left.1.html
184
B
-rw-r--r--
2013-05-22 07:58
test.border-left.php
1.5
KB
-rw-r--r--
2013-05-22 07:58
test.border-right.1.html
188
B
-rw-r--r--
2013-05-22 07:58
test.border-right.php
1.5
KB
-rw-r--r--
2013-05-22 07:58
test.border-top.1.html
180
B
-rw-r--r--
2013-05-22 07:58
test.border-top.php
1.49
KB
-rw-r--r--
2013-05-22 07:58
test.containing.block.absolute.php
738
B
-rw-r--r--
2013-05-22 07:58
test.css.background.attachment.php
1005
B
-rw-r--r--
2013-05-22 07:58
test.css.content.1.html
239
B
-rw-r--r--
2013-05-22 07:58
test.css.content.php
4.1
KB
-rw-r--r--
2013-05-22 07:58
test.css.content.string.php
2.62
KB
-rw-r--r--
2013-05-22 07:58
test.css.margin.boxes.php
2.41
KB
-rw-r--r--
2013-05-22 07:58
test.css.page.break.after.1.html
139
B
-rw-r--r--
2013-05-22 07:58
test.css.page.break.after.2.html
218
B
-rw-r--r--
2013-05-22 07:58
test.css.page.break.after.php
926
B
-rw-r--r--
2013-05-22 07:58
test.css.page.break.before.1.html
139
B
-rw-r--r--
2013-05-22 07:58
test.css.page.break.before.php
327
B
-rw-r--r--
2013-05-22 07:58
test.css.page.break.inside.php
416
B
-rw-r--r--
2013-05-22 07:58
test.css.parse.atrules.php
2.04
KB
-rw-r--r--
2013-05-22 07:58
test.css.parse.php
6.24
KB
-rw-r--r--
2013-05-22 07:58
test.css.priority.php
1.07
KB
-rw-r--r--
2013-05-22 07:58
test.float.php
861
B
-rw-r--r--
2013-05-22 07:58
test.font-size.php
441
B
-rw-r--r--
2013-05-22 07:58
test.font.inherit.php
1.68
KB
-rw-r--r--
2013-05-22 07:58
test.html.mode.1.html
44
B
-rw-r--r--
2013-05-22 07:58
test.html.mode.php
227
B
-rw-r--r--
2013-05-22 07:58
test.iframe.src.empty.php
301
B
-rw-r--r--
2013-05-22 07:58
test.iframe.src.missing.php
280
B
-rw-r--r--
2013-05-22 07:58
test.img.align.php
4.18
KB
-rw-r--r--
2013-05-22 07:58
test.input.select.height.php
651
B
-rw-r--r--
2013-05-22 07:58
test.input.text.height.php
651
B
-rw-r--r--
2013-05-22 07:58
test.input.text.php
3.55
KB
-rw-r--r--
2013-05-22 07:58
test.left.percentage.php
2.94
KB
-rw-r--r--
2013-05-22 07:58
test.line-box.nested.php
1.63
KB
-rw-r--r--
2013-05-22 07:58
test.line-box.top.php
627
B
-rw-r--r--
2013-05-22 07:58
test.line-height.100.php
1.63
KB
-rw-r--r--
2013-05-22 07:58
test.link.1.html
157
B
-rw-r--r--
2013-05-22 07:58
test.link.2.html
155
B
-rw-r--r--
2013-05-22 07:58
test.link.php
696
B
-rw-r--r--
2013-05-22 07:58
test.note-call.width.php
2.21
KB
-rw-r--r--
2013-05-22 07:58
test.orphans.inherit.php
679
B
-rw-r--r--
2013-05-22 07:58
test.orphans.php
4.06
KB
-rw-r--r--
2013-05-22 07:58
test.page.margins.fixed.html
613
B
-rw-r--r--
2013-05-22 07:58
test.page.margins.fixed.subproperties.html
683
B
-rw-r--r--
2013-05-22 07:58
test.page.margins.percentage.html
626
B
-rw-r--r--
2013-05-22 07:58
test.page.pixels.html
622
B
-rw-r--r--
2013-05-22 07:58
test.pagebreak.border.php
2.51
KB
-rw-r--r--
2013-05-22 07:58
test.pagebreak.br.php
1.13
KB
-rw-r--r--
2013-05-22 07:58
test.pagebreak.fixed.height.1.html
243
B
-rw-r--r--
2013-05-22 07:58
test.pagebreak.fixed.height.php
871
B
-rw-r--r--
2013-05-22 07:58
test.pagebreak.php
6.64
KB
-rw-r--r--
2013-05-22 07:58
test.pagebreak.table.br.php
878
B
-rw-r--r--
2013-05-22 07:58
test.pagebreak.table.lines.php
1.93
KB
-rw-r--r--
2013-05-22 07:58
test.pagebreak.table.php
2.09
KB
-rw-r--r--
2013-05-22 07:58
test.pagebreak.text.1.html
339
B
-rw-r--r--
2013-05-22 07:58
test.pagebreak.text.2.html
540
B
-rw-r--r--
2013-05-22 07:58
test.position.horizontal.absolute.positioned.1.html
1.8
KB
-rw-r--r--
2013-05-22 07:58
test.position.horizontal.absolute.positioned.php
1.68
KB
-rw-r--r--
2013-05-22 07:58
test.radio.png.php
1.16
KB
-rw-r--r--
2013-05-22 07:59
test.relative.php
563
B
-rw-r--r--
2013-05-22 07:59
test.size.flow.html
612
B
-rw-r--r--
2013-05-22 07:59
test.size.length.html
63
B
-rw-r--r--
2013-05-22 07:59
test.size.lengths.html
69
B
-rw-r--r--
2013-05-22 07:59
test.size.predefined.html
60
B
-rw-r--r--
2013-05-22 07:59
test.size.predefined.landscape.html
70
B
-rw-r--r--
2013-05-22 07:59
test.size.predefined.portrait.html
69
B
-rw-r--r--
2013-05-22 07:59
test.table.absolute.php
561
B
-rw-r--r--
2013-05-22 07:59
test.table.border.nested.php
988
B
-rw-r--r--
2013-05-22 07:59
test.table.border.php
5.24
KB
-rw-r--r--
2013-05-22 07:59
test.table.column.width.1.html
392
B
-rw-r--r--
2013-05-22 07:59
test.table.column.width.2.html
393
B
-rw-r--r--
2013-05-22 07:59
test.table.column.width.3.html
346
B
-rw-r--r--
2013-05-22 07:59
test.table.column.width.4.html
345
B
-rw-r--r--
2013-05-22 07:59
test.table.column.width.php
3.53
KB
-rw-r--r--
2013-05-22 07:59
test.table.top-boundary.php
2.02
KB
-rw-r--r--
2013-05-22 07:59
test.tag.ol.type.html
313
B
-rw-r--r--
2013-05-22 07:59
test.tag.ol.type.php
805
B
-rw-r--r--
2013-05-22 07:59
test.tag.ul.type.html
214
B
-rw-r--r--
2013-05-22 07:59
test.tag.ul.type.php
547
B
-rw-r--r--
2013-05-22 07:59
test.text-transform.php
566
B
-rw-r--r--
2013-05-22 07:59
test.textarea.content.php
1.67
KB
-rw-r--r--
2013-05-22 07:59
test.textarea.height.php
339
B
-rw-r--r--
2013-05-22 07:59
test.textarea.width.php
335
B
-rw-r--r--
2013-05-22 07:59
test.textarea.wrap.php
1.52
KB
-rw-r--r--
2013-05-22 07:59
test.toc.find.html
1009
B
-rw-r--r--
2013-05-22 07:59
test.toc.unicode.html
2.15
KB
-rw-r--r--
2013-05-22 07:59
test.white-space.1.html
3.71
KB
-rw-r--r--
2013-05-22 07:59
test.white-space.2.html
1.91
KB
-rw-r--r--
2013-05-22 07:59
test.white-space.php
4.7
KB
-rw-r--r--
2013-05-22 07:59
test.widows.php
3.89
KB
-rw-r--r--
2013-05-22 07:59
test.width.absolute.positioned.1.html
3.94
KB
-rw-r--r--
2013-05-22 07:59
test.width.absolute.positioned.php
2.87
KB
-rw-r--r--
2013-05-22 07:59
test.width.percentage.php
560
B
-rw-r--r--
2013-05-22 07:59
Save
Rename
<?php class TestPagebreak extends GenericTest { // Page break between text lines function testPagebreakText1() { $media = new Media(array('width' => 100, 'height' => 100), array('top'=>0, 'bottom'=>0, 'left'=>0, 'right'=>0)); $tree = $this->runPipeline(file_get_contents('test.pagebreak.text.1.html'), $media); /** * Calculate page heights */ $page_heights = PageBreakLocator::getPages($tree, mm2pt($media->real_height()), mm2pt($media->height() - $media->margins['top'])); $first_div = $tree->get_element_by_id('first'); $second_div = $tree->get_element_by_id('second'); $this->assertEqual(count($page_heights), 2, sprintf("Two pages expected, got %s", count($page_heights))); $this->assertTrue($page_heights[0] <= mm2pt($media->real_height()), sprintf("Page height (%s) is greater than media height (%s)", $page_heights[0], mm2pt($media->real_height()))); $this->assertEqual($page_heights[1], mm2pt($media->real_height()), sprintf("Second page height (%s) should be equal to media height (%s)", $page_heights[1], mm2pt($media->real_height()))); $this->assertWithinMargin($page_heights[0], $first_div->get_full_height(), 0.01, sprintf("First page (height %s) should contain 'first' DIV (height %s); media height is %s", $page_heights[0], $first_div->get_full_height(), mm2pt($media->real_height()))); $this->assertEqual($page_heights[1] >= $second_div->get_full_height(), sprintf("Second page (height %s) should contain 'second' DIV (height %s)", $page_heights[1], $second_div->get_full_height())); } // page-break-inside: avoid function testPagebreakText2() { $media = new Media(array('width' => 100, 'height' => 300), array('top'=>0, 'bottom'=>0, 'left'=>0, 'right'=>0)); $tree = $this->runPipeline(file_get_contents('test.pagebreak.text.2.html'), $media); /** * Calculate page heights */ $page_heights = PageBreakLocator::getPages($tree, mm2pt($media->real_height()), mm2pt($media->height() - $media->margins['top'])); $first_div = $tree->get_element_by_id('first'); $second_div = $tree->get_element_by_id('second'); $third_div = $tree->get_element_by_id('third'); $this->assertEqual(count($page_heights), 2, sprintf("2 pages expected, got %s", count($page_heights))); $this->assertWithinMargin($page_heights[0], $first_div->get_full_height(), 0.01, sprintf("First page (height %s) should contain only 'first' DIV (height %s); media height is %s", $page_heights[0], $first_div->get_full_height(), mm2pt($media->real_height()))); } // page-break-after: avoid function testPagebreakText3() { $media = new Media(array('width' => 100, 'height' => 300), array('top'=>0, 'bottom'=>0, 'left'=>0, 'right'=>0)); $tree = $this->runPipeline(' <html> <head> <style type="text/css"> body { font-size: 20mm; line-height: 1; width: 4em; padding: 0; margin: 0; orphans: 0; widows: 0; } #wrap { width: 2em; } #first { line-height: 1; page-break-after: avoid; } #second { line-height: 1; page-break-inside: avoid; } #third { line-height: 1; } </style> </head> <body> <div id="wrap"> <div id="first"> LINE1 LINE2 LINE3 LINE4 LINE5 LINE6 LINE7 LINE8 LINE9 LINE10 LINE11 LINE12 LINE13 </div><!--Page break should be here--> <div id="second"> LINE1 LINE2 LINE3 </div> <div id="third"> LINE1 LINE2 LINE3 </div> </div> </body> </html> ', $media); /** * Calculate page heights */ $page_heights = PageBreakLocator::getPages($tree, mm2pt($media->real_height()), mm2pt($media->height() - $media->margins['top'])); $first_div = $tree->get_element_by_id('first'); $second_div = $tree->get_element_by_id('second'); $third_div = $tree->get_element_by_id('third'); $this->assertEqual(count($page_heights), 2, sprintf("2 pages expected, got %s", count($page_heights))); $this->assertWithinMargin($page_heights[0], $first_div->get_full_height() - mm2pt(20), 0.01); } // page-break-before: avoid function testPagebreakText4() { $media = new Media(array('width' => 100, 'height' => 300), array('top'=>0, 'bottom'=>0, 'left'=>0, 'right'=>0)); $tree = $this->runPipeline(' <html> <head> <style type="text/css"> body { font-size: 20mm; line-height: 1; padding: 0; margin: 0; orphans: 0; widows: 0; } #wrap { width: 2em; } #first { line-height: 1; } #second { line-height: 1; page-break-before: avoid; page-break-inside: avoid; } #third { line-height: 1; } </style> </head> <body> <div id="wrap"> <div id="first"> LINE1 LINE2 LINE3 LINE4 LINE5 LINE6 LINE7 LINE8 LINE9 LINE10 LINE11 LINE12 LINE13 </div><!--Page break should be here--> <div id="second"> LINE1 LINE2 LINE3 </div> <div id="third"> LINE1 LINE2 LINE3 </div> </div> </body> </html> ', $media); /** * Calculate page heights */ $page_heights = PageBreakLocator::getPages($tree, mm2pt($media->real_height()), mm2pt($media->height() - $media->margins['top'])); $first_div = $tree->get_element_by_id('first'); $second_div = $tree->get_element_by_id('second'); $third_div = $tree->get_element_by_id('third'); $this->assertEqual(count($page_heights), 2, sprintf("2 pages expected, got %s", count($page_heights))); $this->assertWithinMargin($page_heights[0], $first_div->get_full_height() - mm2pt(20), 0.01); } } ?>