|
Server IP : 10.128.40.6 / Your IP : 216.73.216.74 Web Server : Apache System : Linux webd006.cluster128.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : logmcpe ( 111175) PHP Version : 7.3.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/logmcpe/www/TEST/www/wp-content/plugins/wp/../../themes/cleanmate/style/../ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
/*
Template Name: 404 page
*/
header("HTTP/1.1 404 Not Found");
header("Status: 404 Not Found");
get_header();
?>
<div class="theme-page padding-bottom-115">
<div class="clearfix top-border">
<?php
if(function_exists("vc_map"))
{
/*get page with 404 page template set*/
$not_found_template_page_array = get_pages(array(
'post_type' => 'page',
'post_status' => 'publish',
'number' => 1,
'meta_key' => '_wp_page_template',
'meta_value' => '404.php'
));
if(count($not_found_template_page_array))
{
$not_found_template_page = $not_found_template_page_array[0];
if(count($not_found_template_page_array) && isset($not_found_template_page))
{
echo wpb_js_remove_wpautop(apply_filters('the_content', $not_found_template_page->post_content));
global $post;
$post = $not_found_template_page;
setup_postdata($post);
}
else
echo wpb_js_remove_wpautop(apply_filters('the_content', '[vc_row top_margin="page-margin-top-section"][vc_column][box_header title="404" type="h1" bottom_border="0"][box_header title="OOPS... PAGE NOT FOUND" type="h3" bottom_border="0" class="margin-top-37"][vc_column_text el_class="description align-center"]Sorry, the page you are looking for cannot be found. Return to the <a title="Go to home" href="#">homepage</a> or use the search below.[/vc_column_text][vc_wp_search el_class="page-margin-top"][/vc_column][/vc_row]'));
}
else
{
echo wpb_js_remove_wpautop(apply_filters('the_content', '[vc_row top_margin="page-margin-top-section"][vc_column][box_header title="404" type="h1" bottom_border="0"][box_header title="OOPS... PAGE NOT FOUND" type="h3" bottom_border="0" class="margin-top-37"][vc_column_text el_class="description align-center"]Sorry, the page you are looking for cannot be found. Return to the <a title="Go to home" href="#">homepage</a> or use the search below.[/vc_column_text][vc_wp_search el_class="page-margin-top"][/vc_column][/vc_row]'));
}
}
else
{
?>
<div class="vc_row wpb_row vc_row-fluid margin-top-70">
<div class="vc_col-sm-12 wpb_column vc_column_container">
<div class="wpb_wrapper">
<h1><?php _e("404", 'cleanmate'); ?></h1>
<h3 class="margin-top-37"><?php _e("OOPS... PAGE NOT FOUND", 'cleanmate'); ?></h3>
<div class="wpb_text_column wpb_content_element description align-center">
<div class="wpb_wrapper">
<p><?php echo sprintf(__("Sorry, the page you are looking for cannot be found. Return to the <a title='GO TO HOME' href='%s'>homepage</a> or use the search below.", 'cleanmate'), esc_url(get_home_url())); ?></p>
</div>
</div>
<div class="vc_wp_search wpb_content_element page-margin-top">
<div class="widget widget_search">
<form class="search-form" action="<?php echo esc_url(get_home_url()); ?>">
<input name="s" class="search-input hint" type="text" value="<?php esc_attr_e('Type and hit enter...', 'cleanmate'); ?>" placeholder="<?php esc_attr_e('Type and hit enter...', 'cleanmate'); ?>">
<fieldset class="search-submit-container">
<span class="template-search"></span>
<input type="submit" class="search-submit" value="">
</fieldset>
</form>
</div>
</div>
</div>
</div>
</div>
<?php
}
?>
</div>
</div>
<?php
get_footer();
?>
