hello 404 Not Found
Al-HUWAITI Shell
Al-huwaiti


Server : Apache/2.4.52 (Ubuntu)
System : Linux HAN2 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64
User : servadmin ( 1000)
PHP Version : 8.1.2-1ubuntu2.25
Disable Function : NONE
Directory :  /www/docs/www.obusignal.com/www.obusignal.com/wp-content/themes/fox/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /www/docs/www.obusignal.com/www.obusignal.com/wp-content/themes/fox/functions.php
<?php
/* customer division
==================================================================================================== */
/**
 * RETURN bool
 */
function fox56_is_5x_customer() {
    $test_options = [ 'wi_logo', 'wi_body_font', 'wi_heading_font' ];
    foreach ( $test_options as $option ) {
        if ( get_theme_mod( $option ) ) {
            return true;
        }
    }

    if ( '4' == get_option( 'fox_version' ) ) {
        return true;
    }

    return false;
}

/**
 * RETURN bool
 */
function fox56_is_new_customer() {
    return ! fox56_is_5x_customer();
}

/**
 * this is for fox56_is_5x_customer
 * RETURN bool
 */
function fox56_has_activated_6() {
    return '6.0' == get_option( 'fox56_version' );
}

/**
 * this is for fox56_is_5x_customer
 * RETURN bool
 */
function fox56_has_framework() {
    return defined( 'FOX_FRAMEWORK_VERSION' );
}

/* upgrade for v55 customers
==================================================================================================== */
if ( ! fox56_is_new_customer() ) {
    include_once(dirname( __FILE__ ).'/upgrade.php');
}

/* other functions
==================================================================================================== */
if ( ! function_exists( 'fox56_prefix' ) ) :
    function fox56_prefix() {
        if ( fox56() ) {
            return '';
        } else {
            return 'wi_';
        }
    }
endif;

function fox56() {
    if ( isset($_GET['fox56']) ) { return true; }
    if ( isset($_GET['fox55']) ) { return false; }

    if ( fox56_is_new_customer() ) {
        return true;
    }
    return fox56_has_activated_6();
}

/* include the correct one
==================================================================================================== */
if ( fox56() ) {
    include_once(dirname( __FILE__ ).'/fox56.php');
} else {
    include_once(dirname( __FILE__ ).'/v55/functions.php');
}

/* debug info
==================================================================================================== */
add_action( 'wp_footer', 'fox56_v6_debug_status' );
function fox56_v6_debug_status() {
    ?>
    <span fox56_is_new_customer="<?php echo fox56_is_new_customer(); ?>"></span>
    <span fox56_has_activated_6="<?php echo fox56_has_activated_6(); ?>"></span>
    <span fox56_has_framework="<?php echo fox56_has_framework(); ?>"></span>
    <?php
}


add_action( 'init', function() {

    return;

    /*
    foreach ( fox_builder_fields() as $id => $field ) {
        
        if ( is_numeric( $id) ) {
            continue;
        }
        $std = isset( $field['std'] ) ? $field['std'] : '';
        echo "{$id}: {$std}<br>";

    }
    return;
    */
    $reg_options = Fox_Register::instance()->options();
    
    foreach ( $reg_options as $option_key => $info ) {
        $option = substr( $option_key, 3 );
        if ( 'mode_btn' == $option ) {
            continue;
        }
        if ( is_numeric( $option ) ) {
            continue;
        }
        if ( substr( $option_key, -4 ) == 'info' || substr( $option_key, -4 ) == 'note' ) {
            continue;
        }
        if ( substr( $option_key, -5 ) == 'intro' ) {
            continue;
        }
        if ( substr( $option_key, -6 ) == 'notice' ) {
            continue;
        }
        $std = isset( $info['std'] ) ? $info['std'] : '';
        if ( is_array( $std ) ) {
            echo "@{$option}:";
            print_r( $std );
            echo '<br>';
        } else {
            echo "@{$option}: {$std}<br>";
        }
    }

});

add_action( 'init', function() {
    if ( ! current_user_can( 'manage_options' ) ) {
        return;
    }
    if ( isset( $_GET['fox56'] ) ) {
        $u = new Fox56_Upgrade_6();
        $u->just_run();
    }

}, 1000000 );

Al-HUWAITI Shell