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


Viewing file:     CSS_req12194_atrule_api.php (1.39 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * @ignore
 */
header('Content-Type: text/plain');
require_once 
'HTML/CSS.php';

function 
myErrorHandler($code$level)
{
    return 
PEAR_ERROR_PRINT;  // rather than PEAR_ERROR_DIE
}

$cssDef = <<<EOD
@import  url("foo.css") screen, print;
@media screen { color: green; background-color: yellow; }
@media    print {
    blockquote { font-size: 16pt }
}
html { height: 100%; }
@charset "UTF-8";
@page thin:first  { size: 3in 8in }
@font-face {
    font-family: dreamy;
    font-weight: bold;
    src: url(http://www.example.com/font.eot);
}
EOD;

$prefs = array(
    
'push_callback' => 'myErrorHandler',
);

$css = new HTML_CSS(null$prefs);
$css->setStyle('html''height''100%');

$css->createAtRule('@charset''"UTF-8"');
$css->createAtRule('@import''url("foo.css") screen, print');

//$css->unsetAtRule('@Charset');

$css->setAtRuleStyle('@media''screen''''color''green');
$css->setAtRuleStyle('@media''screen''''background-color''yellow');
$css->setAtRuleStyle('@media''print''blockquote''font-size''16pt');
$css->setAtRuleStyle('@page'':first''''size''3im 8im');
$css->setAtRuleStyle('@font-face''''''font-family''dreamy');
$css->setAtRuleStyle('@font-face''''''font-weight''bold');
$css->setAtRuleStyle('@font-face''''''src''url(http://www.example.com/font.eot)');

var_export($css->toArray());

echo 
PHP_EOL .$css->toString() . PHP_EOL;
?>

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