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

Software: Apache/2.4.18 (Ubuntu). PHP/7.0.33-0ubuntu0.16.04.16 

uname -a: Linux digifus 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/almazenServer/application/libraries/   drwxr-xr-x
Free 10.02 GB of 29.4 GB (34.08%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     pdfFactB.php (3.61 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
    
// Incluimos el archivo fpdf
    
require_once APPPATH."/third_party/fpdf.php";
 
    
//Extendemos la clase Pdf de la clase fpdf para que herede todas sus variables y funciones
    
class PdfFactB extends FPDF {
        public function 
__construct() {
            
parent::__construct();
        }
        
        
       public function 
Code39($xpos$ypos$code$baseline=0.5$height=5){
        
            
$wide $baseline;
            
$narrow $baseline ;
            
$gap $narrow;
        
            
$barChar['0'] = 'nnnwwnwnn';
            
$barChar['1'] = 'wnnwnnnnw';
            
$barChar['2'] = 'nnwwnnnnw';
            
$barChar['3'] = 'wnwwnnnnn';
            
$barChar['4'] = 'nnnwwnnnw';
            
$barChar['5'] = 'wnnwwnnnn';
            
$barChar['6'] = 'nnwwwnnnn';
            
$barChar['7'] = 'nnnwnnwnw';
            
$barChar['8'] = 'wnnwnnwnn';
            
$barChar['9'] = 'nnwwnnwnn';
            
$barChar['A'] = 'wnnnnwnnw';
            
$barChar['B'] = 'nnwnnwnnw';
            
$barChar['C'] = 'wnwnnwnnn';
            
$barChar['D'] = 'nnnnwwnnw';
            
$barChar['E'] = 'wnnnwwnnn';
            
$barChar['F'] = 'nnwnwwnnn';
            
$barChar['G'] = 'nnnnnwwnw';
            
$barChar['H'] = 'wnnnnwwnn';
            
$barChar['I'] = 'nnwnnwwnn';
            
$barChar['J'] = 'nnnnwwwnn';
            
$barChar['K'] = 'wnnnnnnww';
            
$barChar['L'] = 'nnwnnnnww';
            
$barChar['M'] = 'wnwnnnnwn';
            
$barChar['N'] = 'nnnnwnnww';
            
$barChar['O'] = 'wnnnwnnwn';
            
$barChar['P'] = 'nnwnwnnwn';
            
$barChar['Q'] = 'nnnnnnwww';
            
$barChar['R'] = 'wnnnnnwwn';
            
$barChar['S'] = 'nnwnnnwwn';
            
$barChar['T'] = 'nnnnwnwwn';
            
$barChar['U'] = 'wwnnnnnnw';
            
$barChar['V'] = 'nwwnnnnnw';
            
$barChar['W'] = 'wwwnnnnnn';
            
$barChar['X'] = 'nwnnwnnnw';
            
$barChar['Y'] = 'wwnnwnnnn';
            
$barChar['Z'] = 'nwwnwnnnn';
            
$barChar['-'] = 'nwnnnnwnw';
            
$barChar['.'] = 'wwnnnnwnn';
            
$barChar[' '] = 'nwwnnnwnn';
            
$barChar['*'] = 'nwnnwnwnn';
            
$barChar['$'] = 'nwnwnwnnn';
            
$barChar['/'] = 'nwnwnnnwn';
            
$barChar['+'] = 'nwnnnwnwn';
            
$barChar['%'] = 'nnnwnwnwn';
        
            
$this->SetFont('Arial','',10);
            
$this->Text($xpos+10$ypos $height 4$code);
            
$this->SetFillColor(0);
        
            
$code '*'.strtoupper($code).'*';
            for(
$i=0$i<strlen($code); $i++){
                
$char $code[$i];
                if(!isset(
$barChar[$char])){
                    
$this->Error('Invalid character in barcode: '.$char);
                }
                
$seq $barChar[$char];
                for(
$bar=0$bar<9$bar++){
                    if(
$seq[$bar] == 'n'){
                        
$lineWidth $narrow;
                    }else{
                        
$lineWidth $wide;
                    }
                    if(
$bar == 0){
                        
$this->Rect($xpos$ypos$lineWidth$height'F');
                    }
                    
$xpos += $lineWidth;
                }
                
$xpos += $gap;
            }
        }
        
        
// El encabezado del PDF
        
public function Header(){
           
// $this->Image('/third_party/tutorial/logo.png',10,8,22);

            
$this->SetFont('Helvetica''B'18);
            
$this->Cell(85);
            
$this->Cell(20,10,'B',1,0,'C');
            
$this->Cell(85,7,"FACTURA",0,0,'R','0');
            
$this->Ln(9);
            
$this->SetFont('Helvetica','B',6);
            
$this->Cell(100,5,'Codigo 06',0,0,'R');


       }
       
// El pie del pdf
       
public function Footer(){
          
// $this->SetY(-15);
         //  $this->SetFont('Arial','I',8);
         // $this->Cell(0,10,'Pagina '.$this->PageNo().'/{nb}',0,0,'C');
      
}
    }
?>;

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

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