!C99Shell v. 1.0 pre-release build #13!

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

E:\xampp\xampp\htdocs\portel_dama\administracion\Copia de clases_herramientas\   drwxrwxrwx
Free 7.96 GB of 239.26 GB (3.33%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     class_tree_2.php (4.39 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
class tree_2 {  
       
    function 
tree_2($patron$link$imagen_nivel_1$imagen_nivel_2$fuente$size)
    {
        
        
$this->PATRON $patron;
        
$this->LINK $link;
        
$this->IMAGEN_NIVEL_1 $imagen_nivel_1;
        
$this->IMAGEN_NIVEL_2 $imagen_nivel_2;
        
$this->FUENTE $fuente;
        
$this->SIZE $size;
        
        
// 2. Query constante
        
$seleccion "categoria_tema_id, categoria_tema_desc, categoria_id";
        
$desde "contenido_categoria";
        
$cuando "categoria_id != 0 order by categoria_tema_id";
        
$numero_campos 3;
        
$numero_paginacion 0;
        
                
// 2.1 Definir Query Real (encuentra los resultados deseados)
                
$query "select " $seleccion " from " $desde " where " $cuando;
                
$select = new Select($query$numero_campos$inicio ,$numero_paginacion);
        
                
// 2.3 Extrae los resultados en un arreglo de dos dimensiones
                
$resultados $select->RESULTADO;
        
        
// 3 Definir Variables que quiero imprimir, las cuales se deben sustituir por las que esten en $texto
        
$variables[0] = "(tema_id)";
        
$variables[1] = "(tema_desc)";
        
$variables[2] = "(carpeta)";
        
        
// 4 Uso $texto para imprimir cualquier formato y sustituyo los nombres de variables por aquellos dados en los nonmbres de variables
        // del numeral 3
        
        
for ($i 0$i $select->NUMERO_REGISTROS$i++) {
                
            
// 4.1 Buscar coincidencia en la categoria para destacarla
            
if ($resultados[$i][0] == $patron) {
                
$destacado_inicio "<b>";
                
$destacado_fin "</b>";
            }else{
                
$destacado_inicio "";
                
$destacado_fin "";
            }
            
            
// 4.2 Formato de cada nivel
                    
                    // 4.2.1 Largo 4, Categoria
                    
$tema_id_largo strlen($resultados[$i][0]);
                    
//echo $tema_id_largo;    
                    
if ($tema_id_largo <= 5) {
                        
$t "";
                        
$post "";
                        if (
$tema_id_largo == 5) {
                            
$t $t "<img src=\"../imagenes/tabulador_categorias.gif\" width=\"12\" height=\"6\">";
                        }
                        if (
$tema_id_largo == 3) {
                            
$post $post "</b><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"punteado\"><tr><td height=\"2\"></td></tr></table>";
                            if (
$i == ) {
                                
$t "<b>";
                            }else{
                                
$t "<br><b>";
                            }
                        }
                        
$a = new prevenir($resultados[$i][0],$resultados[$i][2],$link);
                        
$id $resultados[$i][2];
                        
$texto "$t<img src=\"$this->IMAGEN_NIVEL_1\" width=\"6\" height=\"6\"> <a href=\"$this->LINK?patron=(tema_id)\"><font size=\"$this->SIZE\" face=\"$this->FUENTE\">$destacado_inicio(tema_desc)$destacado_fin</font></a><br>$post";
                    }
                    
                    
// 4.2.2 Largo 6, SubCategoria    
                    
if ($tema_id_largo == or $tema_id_largo == 7) {
                        
$a = new prevenir($resultados[$i][0],$resultados[$i][2],$link);
                        
$id $resultados[$i][2];
                        
$texto "<ul class=\"nivel1\"><img src=\"$this->IMAGEN_NIVEL_2\" width=\"6\" height=\"6\"> <a href=\"$this->LINK?patron=(tema_id)\"><font size=\"$this->SIZE\" face=\"$this->FUENTE\">$destacado_inicio(tema_desc)$destacado_fin</font></a><br></ul>";
                    }
                    
                    
// 4.2.3 Largo 8, SubSubCategoria    
                    
if ($tema_id_largo == or $tema_id_largo == 9) {
                        
$a = new prevenir($resultados[$i][0],$resultados[$i][2],$link);
                        
$id $resultados[$i][2];
                        
$texto "<ul class=\"nivel2\"><img src=\"$this->IMAGEN_NIVEL_2\" width=\"6\" height=\"6\"> <a href=\"$this->LINK?patron=(tema_id)\"><font size=\"$this->SIZE\" face=\"$this->FUENTE\">$destacado_inicio(tema_desc)$destacado_fin</font></a><br></ul>";
                    }
                    
                    
// 4.2.4 Largo 10, SubSubSubCategoria    
                    
if ($tema_id_largo >= 11) {
                        
$t "";
                        
$t_i_l $tema_id_largo;
                        
$s $t_i_l 11;
                        if (
$s != 0) {
                            for (
$i_1 1$i_1 <= $s$i_1++) {
                                
$t $t "<img src=\"../imagenes/tabulador_categorias.gif\" width=\"12\" height=\"6\">";
                            }
                        }
                         
$a = new prevenir($resultados[$i][0],$resultados[$i][2],$link);
                         
$id $resultados[$i][2];
                        
$texto "<ul class=\"nivel3\">$t<img src=\"$this->IMAGEN_NIVEL_2\" width=\"6\" height=\"6\"> <a href=\"$this->LINK?patron=(tema_id)\"><font size=\"$this->SIZE\" face=\"$this->FUENTE\">$destacado_inicio(tema_desc)$destacado_fin</font></a><br></ul>";
                    }
            
            
// 4.3 Imprimir cada uno
            
$resultados_1[0][0] = $resultados[$i][0];
            
$resultados_1[0][1] = $resultados[$i][1];
            
$resultados_1[0][2] = $resultados[$i][2];
            
            
$pagina = new listar(1$texto$resultados_1$variables);
        }
    }
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0312 ]--