HEX
Server: nginx/1.28.1
System: Linux 10-41-63-61 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User: www (1001)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/www.shopskh.com/新建文件夹/hara/404.php
<?php
/**
 * The template for displaying 404 pages (not found)
 *
 * @package WordPress
 * @subpackage Hara
 * @since Hara 1.0
 */
/*

*Template Name: 404 Page
*/
get_header();
$image = hara_tbay_get_config('img_404');
if (isset($image['url']) && !empty($image['url'])) {
    $image = $image['url'];
} else {
    $image = HARA_IMAGES . '/img-404.jpg';
}
?>

<section id="main-container" class=" container inner page-404">
	<div id="main-content" class="main-page">

		<section class="error-404">

			<h1 class="title-404"><?php esc_html_e('OOPS!', 'hara') ?></h1>
			<h2 class="subtitle-404"><?php esc_html_e('Error 404: Page Not Found', 'hara') ?></h2>

			<div class="hara-img-404">
				<img src="<?php echo esc_attr($image); ?>" alt="<?php esc_attr_e('Img 404', 'hara'); ?>">
			</div>
			<div class="hara-content-404">
				<p class="sub-title"><?php esc_html_e( 'We’re very sorry but the page you are looking for doesn’t exist or has been moved. Please back to', 'hara') ?> <a href="<?php echo esc_url(home_url( '/' )) ?>" class="back"><?php esc_html_e('home page', 'hara'); ?></a> <?php esc_html_e( 'if It’s mistake.', 'hara') ?></p>
			</div>
		</section><!-- .error-404 -->
	</div>
</section>

<?php get_footer(); ?>