<?php get_header(); ?> <!-- content --> <div id="content"> <!-- page --> <div class="page"> <?php if (wp_get_option('plug_aagoog404') && function_exists("aa_google_404")) { ?> <?php aa_google_404(); ?> <?php } else { ?> <h1>We Can't Find the Droid You're Looking For</h1> <p>The page may have been removed or renamed. Be sure to check your spelling. If all else fails, you can <a href="javascript:history.back()">go back to the page you came from</a>, return to the <a href="<?php echo get_option('home'); ?> /">homepage</a>, or try searching.</p> <?php } ?> </div> <!-- /page --> </div>
$AA_REQUEST_METHOD = $_SERVER['REQUEST_METHOD']; $AA_THE_REQUEST = htmlentities(strip_tags($_SERVER['REQUEST_URI'])); $AA_REASON_PHRASE = $ASKAPACHE_S_C[$AA_STATUS_CODE][0]; $AA_M_SR=array(array('INTERROR','THEREQUESTURI','THEREQMETH'), array('The server encountered an internal error or misconfiguration '. 'and was unable to complete your request.',$AA_THE_REQUEST,$AA_REQUEST_METHOD)); $AA_MESSAGE=str_replace($AA_M_SR[0],$AA_M_SR[1],$ASKAPACHE_S_C[$AA_STATUS_CODE][1]); // begin the output buffer to send headers and resonse ob_start(); @header("HTTP/1.1 $AA_STATUS_CODE $AA_REASON_PHRASE",1); @header("Status: $AA_STATUS_CODE $AA_REASON_PHRASE",1); if(!aa_print_html($AA_STATUS_CODE)){ ?> <?php echo($AA_STATUS_CODE); ?> <?php get_header();?> <div id="content"> <div class="post"> <h1><?php _e("$AA_STATUS_CODE $AA_REASON_PHRASE"); ?></h1> <?php if(function_exists('aa_google_404')) aa_google_404(); ?> </div> </div> <?php get_sidebar(); ?> <?php get_footer(); ?> <?php } exit; exit(); ?>