HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vmi1674223.contaboserver.net 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: root (0)
PHP: 7.4.3-4ubuntu2.22
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/ruby/wp-content/themes/echooling/404.php
<?php

wp_head();  
global $echooling_option; ?>
<div class="page-error">
    <div class="container">
        <div id="content">
            <div id="primary" class="content-area">
                <main id="main" class="site-main">    
                    <section class="error-404 not-found">    
                        <div class="page-content">
                            <?php if(!empty($echooling_option['404_bg']['url'])){ ?> 
                            <img class="error-image"  src="<?php echo esc_url( $echooling_option['404_bg']['url']); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>">
                            <?php } ?>
                            <h2>
                                <span>                                    
                                    <?php
                                        if(!empty($echooling_option['title_404'])){
                                            echo esc_html($echooling_option['title_404']);
                                        }
                                        else{
                                            echo esc_html__( '404', 'echooling' ); 
                                        }
                                    ?>
                                </span>                      
                                <?php
                                 if(!empty($echooling_option['text_404'])){
                                      echo esc_html($echooling_option['text_404']);
                                 }
                                 else{
                                  echo esc_html__( 'oops! page not found', 'echooling' ); }
                                 ?>
                            </h2>
                            <a class="reacbutton" href="<?php echo esc_url( home_url('/') ); ?>"> 
                                <?php
                                 if(!empty($echooling_option['back_home'])){
                                     echo esc_html($echooling_option['back_home']);
                                 }
                                 else{
                                     esc_html_e('Or back to homepage', 'echooling'); 
                                  }
                                ?>
                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-right"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg></a>
                        </div><!-- .page-content -->
                    </section><!-- .error-404 -->    
                </main><!-- #main -->
            </div><!-- #primary -->
        </div>
    </div>   
</div> <!-- .page-error -->
<?php
wp_footer();