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


Viewing file:     reciboN_view.php (4.23 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<div>
    <h1><?= $titulo ?></h1>

    <div id="buscador">
        <br>
     <form action="<?php echo base_url()?>recibo/indexN/" method="post">
        <input type="text" name="buscando" id="buscando" />&nbsp;&nbsp;&nbsp;
        <input type="submit" class="btn btn-primary btn-lg" value="Buscar" />
    </form>
    </div>
    
    <form action="<?php echo base_url()?>recibo/hacerReciboN/" method="post"  name="recibo" >

            <?php

            $this
->table->set_heading'Nombre','Razon social''Direccion','localidad','Mail' ,'Telefono','Accion'); //crea la primera fila de la tabla con el encabezado
            
$tmp = array ( 'table_open'  => '<table class="table table-bordered table-striped" id="busquedaRecibo" width="100%">' ); //modifica el espaciado
                
            
$this->table->set_template($tmp); //aplico los cambios de modificacion anterior
            
            
foreach($results->result() as $dato):
            
$this->table->add_row($dato->nombre,$dato->razon_social,$dato->direccion,$dato->localidad,$dato->mail,$dato->telefono,'<input class="btn btn-primary btn-lg" type="submit"  name="botonDetalle" id="botonDetalle" class="btnBoton" value="Nuevo Recibo" onclick="generarRecibo('$dato->id.')">'); //agregamos la celda a la tabla por cada iteracion
            
endforeach;
            
            echo 
$this->table->generate(); //cuando termina generamos la tabla a partir del vector
            
            
echo $this->pagination->create_links(); 
            
             
?>
            <br>
        
           <input type="hidden" name="numeroClienteRecibo" id="numeroClienteRecibo" value=""> </input>
    </form>
</div>

    
     <script type="text/javascript"> 

             function doSearch() {
                 var tableReg = document.getElementById('busquedaRecibo');
                 var searchText = document.getElementById('busquedaNombre').value.toLowerCase();
                 for (var i = 1; i < tableReg.rows.length; i++) {
                     var cellsOfRow = tableReg.rows[i].getElementsByTagName('td');
                     var found = false;
                     for (var j = 0; j < cellsOfRow.length && !found; j++) {
                         var compareWith = cellsOfRow[j].innerHTML.toLowerCase();
                         if (searchText.length == 0 || (compareWith.indexOf(searchText) > -1)) {
                             found = true;
                         }
                     }
                     if (found) {
                         tableReg.rows[i].style.display = '';
                     } else {
                         tableReg.rows[i].style.display = 'none';
                     }
                 }
             }

             
             function generarRecibo(numeroCliente){
                 document.getElementById("numeroClienteRecibo").value=numeroCliente;
                 location.href='<?php echo base_url()?>recibo/hacerRecibo?var='+numeroCliente;
             }
             
             $('form').keypress(function(e){   
                 if(e == 13){
                   return false;
                 }
         });

         $('input').keypress(function(e){
                 if(e.which == 13){
                   return false;
                 }
         });


        document.onkeydown = function(){ 
            if (window.event && (window.event.keyCode == 8)) 
            { 
            valor = document.activeElement.value; 
            if (valor==undefined) { return false; } //Evita Back en página. 
            else 
            { 
            if (document.activeElement.getAttribute('type')=='sel ect-one') 
            { return false; } //Evita Back en select. 
            if (document.activeElement.getAttribute('type')=='but ton') 
            { return false; } //Evita Back en button. 
            if (document.activeElement.getAttribute('type')=='rad io') 
            { return false; } //Evita Back en radio. 
            if (document.activeElement.getAttribute('type')=='che ckbox') 
            { return false; } //Evita Back en checkbox. 
            if (document.activeElement.getAttribute('type')=='fil e') 
            { return false; } //Evita Back en file. 
            if (document.activeElement.getAttribute('type')=='res et') 
            { return false; } //Evita Back en reset. 
            if (document.activeElement.getAttribute('type')=='sub mit') 
            { return false; } //Evita Back en submit. 
            else //Text, textarea o password 
            { 
            if (document.activeElement.value.length==0) 
            { return false; } //No realiza el backspace(largo igual a 0). 
            else 
            { document.activeElement.value.keyCode = 8; } //Realiza el backspace. 
            } 
            } 
            
            }
        if(window.event && window.event.keyCode == 505){ 
             window.event.keyCode = 505; 
        } 
       }
 
       </script>

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