!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/lampp/lib/php/doc/HTML_Template_Xipe/docs/fullFeatured/   drwxr-xr-x
Free 11.61 GB of 61.93 GB (18.75%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     index.php (4.48 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
    
//
    // +----------------------------------------------------------------------+
    // | PHP Version 4                                                        |
    // +----------------------------------------------------------------------+
    // | Copyright (c) 1997, 1998, 1999, 2000, 2001, 2002, 2003 The PHP Group |
    // +----------------------------------------------------------------------+
    // | This source file is subject to version 2.02 of the PHP license,      |
    // | that is bundled with this package in the file LICENSE, and is        |
    // | available at through the world-wide-web at                           |
    // | http://www.php.net/license/2_02.txt.                                 |
    // | If you did not receive a copy of the PHP license and are unable to   |
    // | obtain it through the world-wide-web, please send a note to          |
    // | license@php.net so we can mail you a copy immediately.               |
    // +----------------------------------------------------------------------+
    // | Authors: Wolfram Kriesing <wolfram@kriesing.de>                      |
    // +----------------------------------------------------------------------+
    //  $Id: index.php,v 1.1 2003/02/10 22:19:08 cain Exp $              

//ini_set('include_path',realpath(dirname(__FILE__).'/../../../../../').':'.realpath(dirname(__FILE__).'/../../../../../../includes').':'.ini_get('include_path'));
//ini_set('error_reporting',E_ALL);

    //
    //   make template class instance
    //
    
require_once('HTML/Template/Xipe.php');

    
$options = array(   'templateDir'   => dirname(__FILE__)
                        
//,'debug'=>true
//,'forceCompile'=>true
                        
);

    
$tpl = new HTML_Template_Xipe($options);

    
//
    //   apply translating filters to the template
    //
    // this is in PEAR, get the newest version from the cvs
    // for more info see: http://www.php.net/anoncvs.php
    // source is at: http://cvs.php.net/cvs.php/pear/I18N
    
require_once('I18N/Messages/Translate.php');
    require_once(
'HTML/Template/Xipe/Filter/Translate.php');
                                                     
    
$DB_DSN 'mysql://root@localhost/test';
    
$translator = new I18N_Messages_Translate($DB_DSN,array('tablePrefix'=>'translate_'));

    function 
translateAndPrint$string )
    {
        global 
$translator,$lang;
        
$translated $translator->simpleTranslate($string,$lang);  // only translate exact matches
        
echo $translated;
    }

    if (@
$_REQUEST['lang']) {
        
$lang $_REQUEST['lang'];
    } else {
        
$lang 'en';
    }

    
$tpl->setOption('locale',$lang);
    
$tpl->registerPostfilter(array(&$translator,'translateMarkUpString'), $lang );

    
// this filter translates PHP-generated text
    // it simply does out of < ? =$text ? >  this < ? =translateAndPrint($text) ? >
    // but only within the $translator->possibleMarkUpDelimiters, so not every
    // < ?= is translated !!! since that is not wanted anyway,
    // i.e. think of "<td colspan={$colspan}>" - doesnt need translation
    
$translateFilter = new HTML_Template_Xipe_Filter_Translate($tpl->getOptions());
    
// this filter will only translate PHP-variables that start with 'T_', i.e. $T_foo
    // but not $foo as the method above would
    
$tpl->registerPostfilter(   array(&$translateFilter,'translateMarkedOnly'),
                                array(
'translateAndPrint','T_') );



    
//
    //   fill variables used in the template
    //   no assign-method necessary
    //
    
$repeatValue 3;
    
$trimValue 'Hi guys, how is it going?';
    
$loop = array('one','two','three');

    
$url 'http://www.kriesing.de/showsource.php?domain=wolfram.kriesing.de&file=/libs/php/SimpleTemplate/examples/';
    
$viewSourceCodeUrl $url.'fullFeatured/index.php';
    
$viewTemplateCodeUrl $url.'fullFeatured/index.tpl';
    
$viewCompiledTemplate $url.'fullFeatured/tmp/index.tpl.en.php';
    
$viewCompiledTemplateDe $url.'fullFeatured/tmp/index.tpl.de.php';
    
$viewTemplateLog $url.'fullFeatured/tmp/index.tpl.log';
    
$viewDbFile $url.'translate.sql';

    
$url 'http://www.kriesing.de/showsource.php?domain=wolfram.kriesing.de&file=/libs/php/SimpleTemplate/';
    
$viewClassCodeUrl $url.'Engine.php';
    
$viewFilterCodeUrl $url.'Filter/Basic.php';
    
$viewTagLibCodeUrl $url.'Filter/TagLib.php';

    
$languages = array('german','english');

    
//
    //   show the template
    //
    
$tpl->compile('index.tpl');
    include(
$tpl->getCompiledTemplate());

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.2719 ]--