!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:     paragraphs_fonts.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();

//Fonts
$fontHead = new PHPRtfLite_Font(12'Arial');
$fontSmall = new PHPRtfLite_Font(3);
$fontAnimated = new PHPRtfLite_Font(10);
$fontLink = new PHPRtfLite_Font(10'Helvetica''#0000cc');

$parBlack = new PHPRtfLite_ParFormat();
$parBlack->setIndentRight(12.5);
$parBlack->setBackgroundColor('#000000');
$parBlack->setSpaceBefore(12);

$parHead = new PHPRtfLite_ParFormat();
$parHead->setSpaceBefore(3);
$parHead->setSpaceAfter(8);

$parSimple = new PHPRtfLite_ParFormat();
$parSimple->setIndentLeft(5);
$parSimple->setIndentRight(0.5);

$parPhp = new PHPRtfLite_ParFormat();
$parPhp->setShading(5);
$border PHPRtfLite_Border::create(1'#000000''dash'0.3);
$parPhp->setBorder($border);
$parPhp->setIndentLeft(5);
$parPhp->setIndentRight(0.5);

//Rtf document
$rtf = new PHPRtfLite();
$rtf->setMargins(31,2);

//Section
$sect $rtf->addSection();
$sect->writeText('Paragraphs, fonts and other', new PHPRtfLite_Font(14'Arial'), $parHead);

$sect->emptyParagraph($fontSmall$parBlack);
$sect->writeText('Various fonts'$fontHead$parHead);

$sect->writeText('Times new Roman, 9pt, Red', new PHPRtfLite_Font(9'Times New Roman''#ff0000'), $parSimple);
$sect->writeText('Times new Roman, 10pt, Red, Pattern Yellow', new PHPRtfLite_Font(10'Times New Roman''#ff0000''#ffff00'), $parSimple);
$sect->writeText('Tahoma, 10pt, Blue', new PHPRtfLite_Font(10'Tahoma''#0000ff'), $parSimple);
$sect->writeText('Verdana, 8pt, Green', new PHPRtfLite_Font(8'Verdana''#00cc00'), $parSimple);

$sect->emptyParagraph($fontSmall$parBlack);
$sect->writeText('Various paragraphs'$fontHead$parHead);

$par = new PHPRtfLite_ParFormat('center');
$par->setIndentLeft(10);
$par->setBackgroundColor('#99ccff');
$par->setSpaceBetweenLines(2);

$sect->writeText('Alignment: center
Indent Left: 10
BackColor: #99ccff'
, new PHPRtfLite_Font(8'Verdana'), $par);

$par = new PHPRtfLite_ParFormat('right');
$par->setIndentLeft(5);
$par->setIndentRight(5);
$par->setBackgroundColor('#ffcc99');
$border PHPRtfLite_Border::create(1'#ff0000');
$par->setBorder($border);

$sect->writeText('', new PHPRtfLite_Font, new PHPRtfLite_ParFormat());

$sect->writeText('Alignment: right
Indent Left: 5
Indent Right: 10
BackColor: #ffcc99
Border: red'
, new PHPRtfLite_Font(8'Verdana'), $par);

$sect->emptyParagraph($fontSmall$parBlack);
$sect->writeText('Using hyperlinks'$fontHead$parHead);
$sect->writeHyperlink('http://www.php.lt''Official phpRtf site.'$fontLink$parSimple);

$sect->emptyParagraph($fontSmall$parBlack);
$sect->writeText('Using tags'$fontHead$parHead);

$sect->writeText('<b>Bold text.</b><i>Italic<u>Underline text.</u></i><tab>.Current date- <chdate>. Bullet <bullet><br>', new PHPRtfLite_Font(), $parSimple);
$sect->writeText('<b>Bold text.</b><i>Italic<u>Underline text.</u></i><tab>.Current date- <chdate>. Bullet <bullet>.<br>', new PHPRtfLite_Font(), $parSimplefalse);

$sect->emptyParagraph($fontSmall$parBlack);
$sect->writeText('PHP highlighting sample'$fontHead$parHead);

$sect->writeText('//sample php code<br/ >', new PHPRtfLite_Font(11'Courier New''#ff8800'), $parPhp);

$sect->writeText('$sum = $a + $b;<br/ >', new PHPRtfLite_Font(11'Courier New''#0000AA'), null);
$sect->writeText('echo ', new PHPRtfLite_Font(11'Courier New''#008800'), null);
$sect->writeText('"The sum is - "', new PHPRtfLite_Font(11'Courier New''#AA0000'), null);
$sect->writeText('.$sum.', new PHPRtfLite_Font(11'Courier New''#0000AA'), null);
$sect->writeText('" ."', new PHPRtfLite_Font(11'Courier New''#AA0000'), null);
$sect->writeText(';', new PHPRtfLite_Font(11'Courier New''#000000'), null);

// send to browser
$rtf->sendRtf('paragraph_fonts.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.0389 ]--