Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
lib /
php /
HTML /
Progress /
generator /
[ HOME SHELL ]
Name
Size
Permission
Action
default.php
3.8
KB
-rw-r--r--
HTMLPage.php
4.07
KB
-rw-r--r--
ITDynamic.php
3.07
KB
-rw-r--r--
pages.php
14.23
KB
-rw-r--r--
preview.php
2.9
KB
-rw-r--r--
process.php
8.21
KB
-rw-r--r--
SmartyDynamic.php
3.12
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : preview.php
<?php /** * The ActionPreview class provides a live demonstration * of the progress bar built by HTML_Progress_Generator. * * PHP versions 4 and 5 * * LICENSE: This source file is subject to version 3.0 of the PHP license * that is available through the world-wide-web at the following URI: * http://www.php.net/license/3_0.txt. If you did not receive a copy of * the PHP License and are unable to obtain it through the web, please * send a note to license@php.net so we can mail you a copy immediately. * * @category HTML * @package HTML_Progress * @subpackage Progress_UI * @author Laurent Laville <pear@laurent-laville.org> * @copyright 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 * @version CVS: $Id: preview.php,v 1.5 2005/07/25 13:00:05 farell Exp $ * @link http://pear.php.net/package/HTML_Progress */ /** * The ActionPreview class provides a live demonstration * of the progress bar built by HTML_Progress_Generator. * * PHP versions 4 and 5 * * LICENSE: This source file is subject to version 3.0 of the PHP license * that is available through the world-wide-web at the following URI: * http://www.php.net/license/3_0.txt. If you did not receive a copy of * the PHP License and are unable to obtain it through the web, please * send a note to license@php.net so we can mail you a copy immediately. * * @category HTML * @package HTML_Progress * @subpackage Progress_UI * @author Laurent Laville <pear@laurent-laville.org> * @copyright 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 * @version Release: 1.2.6 * @link http://pear.php.net/package/HTML_Progress */ class ActionPreview extends HTML_QuickForm_Action { function perform(&$page, $actionName) { // like in Action_Next $page->isFormBuilt() or $page->buildForm(); $page->handle('display'); $strings = $page->controller->exportValue('page4','strings'); $bar = $page->controller->createProgressBar(); do { $percent = $bar->getPercentComplete(); if ($bar->isStringPainted()) { if (substr($strings, -1) == ";") { $str = explode(";", $strings); } else { $str = explode(";", $strings.";"); } for ($i=0; $i<count($str)-1; $i++) { list ($p, $s) = explode(",", $str[$i]); if ($percent == floatval($p)/100) { $bar->setString(trim($s)); } } } $bar->display(); if ($percent == 1) { break; // the progress bar has reached 100% } $bar->sleep(); $bar->incValue(); } while(1); } } ?>
Close