setTimeout(function(){ window.location.href = "' . $redirect_to . '"; }, 500); '; exit; }else{ $body = 'properties-all.php'; } break; } include('header.php'); if(!file_exists($body)){ include("404.php"); }else{ include($body); } include('footer.php');