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.119.112.208
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 /
results /
gach /
tarka_pdf /
tutorial /
[ HOME SHELL ]
Name
Size
Permission
Action
20k_c1.txt
5.37
KB
-rwxr-xr-x
20k_c2.txt
7.11
KB
-rwxr-xr-x
calligra.afm
12.2
KB
-rwxr-xr-x
calligra.php
3.27
KB
-rwxr-xr-x
calligra.ttf
39.18
KB
-rwxr-xr-x
calligra.z
25
KB
-rwxr-xr-x
countries.txt
427
B
-rwxr-xr-x
index.htm
932
B
-rwxr-xr-x
logo.png
2.32
KB
-rwxr-xr-x
logo_pb.png
2.59
KB
-rwxr-xr-x
makefont.php
145
B
-rwxr-xr-x
tuto1.htm
4.65
KB
-rwxr-xr-x
tuto1.php
149
B
-rwxr-xr-x
tuto2.htm
5.41
KB
-rwxr-xr-x
tuto2.php
732
B
-rwxr-xr-x
tuto3.htm
8.75
KB
-rwxr-xr-x
tuto3.php
1.66
KB
-rwxr-xr-x
tuto4.htm
9.59
KB
-rwxr-xr-x
tuto4.php
2.06
KB
-rwxr-xr-x
tuto5.htm
11.81
KB
-rwxr-xr-x
tuto5.php
2.1
KB
-rwxr-xr-x
tuto6.htm
12.22
KB
-rwxr-xr-x
tuto6.php
2.4
KB
-rwxr-xr-x
tuto7.htm
14.21
KB
-rwxr-xr-x
tuto7.php
247
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : tuto5.php
<?php require('../fpdf.php'); class PDF extends FPDF { //Load data function LoadData($file) { //Read file lines $lines=file($file); $data=array(); foreach($lines as $line) $data[]=explode(';',chop($line)); return $data; } //Simple table function BasicTable($header,$data) { //Header foreach($header as $col) $this->Cell(40,7,$col,1); $this->Ln(); //Data foreach($data as $row) { foreach($row as $col) $this->Cell(40,6,$col,1); $this->Ln(); } } //Better table function ImprovedTable($header,$data) { //Column widths $w=array(40,35,40,45); //Header for($i=0;$i<count($header);$i++) $this->Cell($w[$i],7,$header[$i],1,0,'C'); $this->Ln(); //Data foreach($data as $row) { $this->Cell($w[0],6,$row[0],'LR'); $this->Cell($w[1],6,$row[1],'LR'); $this->Cell($w[2],6,number_format($row[2]),'LR',0,'R'); $this->Cell($w[3],6,number_format($row[3]),'LR',0,'R'); $this->Ln(); } //Closure line $this->Cell(array_sum($w),0,'','T'); } //Colored table function FancyTable($header,$data) { //Colors, line width and bold font $this->SetFillColor(255,0,0); $this->SetTextColor(255); $this->SetDrawColor(128,0,0); $this->SetLineWidth(.3); $this->SetFont('','B'); //Header $w=array(40,35,40,45); for($i=0;$i<count($header);$i++) $this->Cell($w[$i],7,$header[$i],1,0,'C',true); $this->Ln(); //Color and font restoration $this->SetFillColor(224,235,255); $this->SetTextColor(0); $this->SetFont(''); //Data $fill=false; foreach($data as $row) { $this->Cell($w[0],6,$row[0],'LR',0,'L',$fill); $this->Cell($w[1],6,$row[1],'LR',0,'L',$fill); $this->Cell($w[2],6,number_format($row[2]),'LR',0,'R',$fill); $this->Cell($w[3],6,number_format($row[3]),'LR',0,'R',$fill); $this->Ln(); $fill=!$fill; } $this->Cell(array_sum($w),0,'','T'); } } $pdf=new PDF(); //Column titles $header=array('Country','Capital','Area (sq km)','Pop. (thousands)'); //Data loading $data=$pdf->LoadData('countries.txt'); $pdf->SetFont('Arial','',14); $pdf->AddPage(); $pdf->BasicTable($header,$data); $pdf->AddPage(); $pdf->ImprovedTable($header,$data); $pdf->AddPage(); $pdf->FancyTable($header,$data); $pdf->Output(); ?>
Close